Sha256: 56997df190f0771e363de36e025bb1dc7fea511f407b00e75f904f5336cb5649

Contents?: true

Size: 967 Bytes

Versions: 54

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

54 entries across 54 versions & 1 rubygems

Version Path
dub-0.2.2.pre.alpha.18 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.17 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.16 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.15 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.14 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.13 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.12 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.11 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.10 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.9 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.8 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.7 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.6 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.5 lib/open_api_sdk/models/shared/tagschema.rb