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