--[[
  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
]]

-- tag class
local tag = {}
local tag_mt = {
	__name = "tag";
	__index = tag;
}

local function cast_tag(t)
	return setmetatable(t, tag_mt)
end

local function new_tag(id, name)
	return cast_tag({
		["id"] = id;
		["name"] = name;
	})
end

return {
	cast = cast_tag;
	new = new_tag;
}
