Sha256: c20b0aaf47c36dcf3f01f41cf272e96f100d460171aba85d1432afddd682ac5c

Contents?: true

Size: 924 Bytes

Versions: 8

Compression:

Stored size: 924 Bytes

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  
    # The type of the custom field.
    class ContactsCustomFieldsType < ::StackOne::Utils::FieldAugmented
      extend T::Sig


      field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }

      field :value, T.nilable(::StackOne::Shared::ContactsCustomFieldsValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::ContactsCustomFieldsValue, true) } }


      sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::ContactsCustomFieldsValue)).void }
      def initialize(source_value: nil, value: nil)
        @source_value = source_value
        @value = value
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
stackone_client-0.2.33 lib/stack_one/models/shared/contactscustomfields_type.rb
stackone_client-0.2.32 lib/stack_one/models/shared/contactscustomfields_type.rb
stackone_client-0.2.31 lib/stack_one/models/shared/contactscustomfields_type.rb
stackone_client-0.2.30 lib/stack_one/models/shared/contactscustomfields_type.rb
stackone_client-0.2.29 lib/stack_one/models/shared/contactscustomfields_type.rb
stackone_client-0.2.28 lib/stack_one/models/shared/contactscustomfields_type.rb
stackone_client-0.2.27 lib/stack_one/models/shared/contactscustomfields_type.rb
stackone_client-0.2.26 lib/stack_one/models/shared/contactscustomfields_type.rb