Sha256: 6ece428945eaf2958f31814b43158212db1320057ad29a0b7c85885e3c699a3a

Contents?: true

Size: 1.16 KB

Versions: 9

Compression:

Stored size: 1.16 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Operations
  

    class UpdateCustomerRequest < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig

      # The unique identifier of the customer in Dub.
      field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
      # Whether to include expanded fields on the customer (`link`, `partner`, `discount`).
      field :include_expanded_fields, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'includeExpandedFields', 'style': 'form', 'explode': true } }

      field :request_body, T.nilable(::OpenApiSDK::Operations::UpdateCustomerRequestBody), { 'request': { 'media_type': 'application/json' } }


      sig { params(id: ::String, include_expanded_fields: T.nilable(T::Boolean), request_body: T.nilable(::OpenApiSDK::Operations::UpdateCustomerRequestBody)).void }
      def initialize(id: nil, include_expanded_fields: nil, request_body: nil)
        @id = id
        @include_expanded_fields = include_expanded_fields
        @request_body = request_body
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dub-0.2.2.pre.alpha.58 lib/open_api_sdk/models/operations/updatecustomer_request.rb
dub-0.2.2.pre.alpha.57 lib/open_api_sdk/models/operations/updatecustomer_request.rb
dub-0.2.2.pre.alpha.56 lib/open_api_sdk/models/operations/updatecustomer_request.rb
dub-0.2.2.pre.alpha.55 lib/open_api_sdk/models/operations/updatecustomer_request.rb
dub-0.2.2.pre.alpha.54 lib/open_api_sdk/models/operations/updatecustomer_request.rb
dub-0.2.2.pre.alpha.53 lib/open_api_sdk/models/operations/updatecustomer_request.rb
dub-0.2.2.pre.alpha.52 lib/open_api_sdk/models/operations/updatecustomer_request.rb
dub-0.2.2.pre.alpha.51 lib/open_api_sdk/models/operations/updatecustomer_request.rb
dub-0.2.2.pre.alpha.50 lib/open_api_sdk/models/operations/updatecustomer_request.rb