Sha256: 56997df190f0771e363de36e025bb1dc7fea511f407b00e75f904f5336cb5649
Contents?: true
Size: 967 Bytes
Versions: 51
Compression:
Stored size: 967 Bytes
Contents
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module OpenApiSDK module Shared class TagSchema < ::OpenApiSDK::Utils::FieldAugmented extend T::Sig # The color of the tag. field :color, ::OpenApiSDK::Shared::Color, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('color'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::Color, false) } } # The unique ID of the tag. field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } } # The name of the tag. field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } } sig { params(color: ::OpenApiSDK::Shared::Color, id: ::String, name: ::String).void } def initialize(color: nil, id: nil, name: nil) @color = color @id = id @name = name end end end end
Version data entries
51 entries across 51 versions & 1 rubygems