Sha256: 3bf7fef7c5d4297a8e7fbc8bf4f869d1834a047bd196f026f3694eb5db5904bd
Contents?: true
Size: 970 Bytes
Versions: 17
Compression:
Stored size: 970 Bytes
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). 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
17 entries across 17 versions & 1 rubygems