Sha256: a29c4e6683878df992d702d237c93edc22ed54775f55bf8b2993056fb2cb1fe1

Contents?: true

Size: 1.31 KB

Versions: 36

Compression:

Stored size: 1.31 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Operations
  

    class UpdateTagRequestBody < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig

      # The color of the tag. If not provided, a random color will be used from the list: red, yellow, green, blue, purple, pink, brown.
      field :color, T.nilable(::OpenApiSDK::Operations::UpdateTagColor), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('color'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::UpdateTagColor, true) } }
      # The name of the tag to create.
      field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
      # The name of the tag to create.
      # 
      # @deprecated  true: This will be removed in a future release, please migrate away from it as soon as possible.
      field :tag, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tag') } }


      sig { params(color: T.nilable(::OpenApiSDK::Operations::UpdateTagColor), name: T.nilable(::String), tag: T.nilable(::String)).void }
      def initialize(color: nil, name: nil, tag: nil)
        @color = color
        @name = name
        @tag = tag
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
dub-0.2.2.pre.alpha.40 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.39 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.38 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.37 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.36 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.35 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.34 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.33 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.32 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.31 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.30 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.29 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.28 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.27 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.26 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.25 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.24 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.23 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.22 lib/open_api_sdk/models/operations/updatetag_requestbody.rb
dub-0.2.2.pre.alpha.21 lib/open_api_sdk/models/operations/updatetag_requestbody.rb