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

Version Path
dub-0.2.2.pre.alpha.35 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.34 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.33 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.32 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.31 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.30 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.29 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.28 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.27 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.26 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.25 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.24 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.23 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.22 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.21 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.20 lib/open_api_sdk/models/shared/tagschema.rb
dub-0.2.2.pre.alpha.19 lib/open_api_sdk/models/shared/tagschema.rb
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