Sha256: a1bd7adcf6f817e53efe985710b536c73bc0412c80fb1c4ebf8468c180eccd5e
Contents?: true
Size: 953 Bytes
Versions: 7
Compression:
Stored size: 953 Bytes
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true module OpenApiSDK module Operations class CreateTagRequestBody < ::OpenApiSDK::Utils::FieldAugmented extend T::Sig # The name of the tag to create. field :tag, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tag') } } # 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::Color), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('color'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::Color, true) } } sig { params(tag: ::String, color: T.nilable(::OpenApiSDK::Operations::Color)).void } def initialize(tag: nil, color: nil) @tag = tag @color = color end end end end
Version data entries
7 entries across 7 versions & 1 rubygems