Class: Stigg::Models::V1::CustomerListParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/stigg/models/v1/customer_list_params.rb,
sig/stigg/models/v1/customer_list_params.rbs

Overview

See Also:

  • Stigg::Resources::V1::Customers#list

Defined Under Namespace

Classes: CreatedAt

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initializeObject



55
# File 'sig/stigg/models/v1/customer_list_params.rbs', line 55

def initialize: (

Instance Attribute Details

#afterString?

Return items that come after this cursor

Parameters:

  • (String)

Returns:

  • (String, nil)


15
# File 'lib/stigg/models/v1/customer_list_params.rb', line 15

optional :after, String

#beforeString?

Return items that come before this cursor

Parameters:

  • (String)

Returns:

  • (String, nil)


21
# File 'lib/stigg/models/v1/customer_list_params.rb', line 21

optional :before, String

#created_atStigg::Models::V1::CustomerListParams::CreatedAt?

Filter by creation date using range operators: gt, gte, lt, lte



27
# File 'lib/stigg/models/v1/customer_list_params.rb', line 27

optional :created_at, -> { Stigg::V1::CustomerListParams::CreatedAt }

#emailString?

Filter by exact customer email address

Parameters:

  • (String)

Returns:

  • (String, nil)


33
# File 'lib/stigg/models/v1/customer_list_params.rb', line 33

optional :email, String

#limitInteger?

Maximum number of items to return

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


39
# File 'lib/stigg/models/v1/customer_list_params.rb', line 39

optional :limit, Integer

#nameString?

Filter by exact customer name

Parameters:

  • (String)

Returns:

  • (String, nil)


45
# File 'lib/stigg/models/v1/customer_list_params.rb', line 45

optional :name, String

#x_account_idString?

Parameters:

  • (String)

Returns:

  • (String, nil)


50
# File 'lib/stigg/models/v1/customer_list_params.rb', line 50

optional :x_account_id, String

#x_environment_idString?

Parameters:

  • (String)

Returns:

  • (String, nil)


55
# File 'lib/stigg/models/v1/customer_list_params.rb', line 55

optional :x_environment_id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


67
# File 'sig/stigg/models/v1/customer_list_params.rbs', line 67

def to_hash: -> {