Sha256: 7886d21edc5efdcd092b41afd87a380917a664c2892e4548af89a301bfd6e888
Contents?: true
Size: 953 Bytes
Versions: 10
Compression:
Stored size: 953 Bytes
Contents
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared # Type of the answer class CreateAnswerType < ::StackOne::Utils::FieldAugmented extend T::Sig # The source value of the answer type. field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } } # The type of the answer. field :value, T.nilable(::StackOne::Shared::CreateAnswerValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CreateAnswerValue, true) } } sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::CreateAnswerValue)).void } def initialize(source_value: nil, value: nil) @source_value = source_value @value = value end end end end
Version data entries
10 entries across 10 versions & 1 rubygems