--[[
  OpenAPI Petstore
 
  This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
 
  The version of the OpenAPI document: 1.0.0
  
  Generated by: https://openapi-generator.tech
]]

-- inline_object class
local inline_object = {}
local inline_object_mt = {
	__name = "inline_object";
	__index = inline_object;
}

local function cast_inline_object(t)
	return setmetatable(t, inline_object_mt)
end

local function new_inline_object(name, status)
	return cast_inline_object({
		["name"] = name;
		["status"] = status;
	})
end

return {
	cast = cast_inline_object;
	new = new_inline_object;
}
