Sha256: 55af9539d9fc07cb2c3f7be36bd74fbbcbf93d9de42c044194b3c3394447c7ce
Contents?: true
Size: 1.31 KB
Versions: 1
Compression:
Stored size: 1.31 KB
Contents
# Code generated by Speakeasy (https://speakeasyapi.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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dub-0.2.2.pre.alpha.4 | lib/open_api_sdk/models/operations/updatetag_requestbody.rb |