Sha256: 2eab4d6e56d29571fd4a755497e67f12a52a19c8e0beb02d2f9fe9ced283e789

Contents?: true

Size: 1.31 KB

Versions: 9

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 CreateCustomerRequestBody < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig

      # Unique identifier for the customer in the client's app.
      field :external_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } }
      # Avatar URL of the customer in the client's app.
      field :avatar, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('avatar') } }
      # Email of the customer in the client's app.
      field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email') } }
      # Name of the customer in the client's app. If not provided, a random name will be generated.
      field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }


      sig { params(external_id: ::String, avatar: T.nilable(::String), email: T.nilable(::String), name: T.nilable(::String)).void }
      def initialize(external_id: nil, avatar: nil, email: nil, name: nil)
        @external_id = external_id
        @avatar = avatar
        @email = email
        @name = name
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dub-0.2.2.pre.alpha.40 lib/open_api_sdk/models/operations/createcustomer_requestbody.rb
dub-0.2.2.pre.alpha.39 lib/open_api_sdk/models/operations/createcustomer_requestbody.rb
dub-0.2.2.pre.alpha.38 lib/open_api_sdk/models/operations/createcustomer_requestbody.rb
dub-0.2.2.pre.alpha.37 lib/open_api_sdk/models/operations/createcustomer_requestbody.rb
dub-0.2.2.pre.alpha.36 lib/open_api_sdk/models/operations/createcustomer_requestbody.rb
dub-0.2.2.pre.alpha.35 lib/open_api_sdk/models/operations/createcustomer_requestbody.rb
dub-0.2.2.pre.alpha.34 lib/open_api_sdk/models/operations/createcustomer_requestbody.rb
dub-0.2.2.pre.alpha.33 lib/open_api_sdk/models/operations/createcustomer_requestbody.rb
dub-0.2.2.pre.alpha.32 lib/open_api_sdk/models/operations/createcustomer_requestbody.rb