Class: Stigg::Models::V1::Events::Credits::GrantListParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/stigg/models/v1/events/credits/grant_list_params.rb

Overview

Defined Under Namespace

Classes: CreatedAt

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Method Summary

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, #initialize, 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

This class inherits a constructor from Stigg::Internal::Type::BaseModel

Instance Attribute Details

#afterString?

Return items that come after this cursor

Returns:

  • (String, nil)


23
# File 'lib/stigg/models/v1/events/credits/grant_list_params.rb', line 23

optional :after, String

#beforeString?

Return items that come before this cursor

Returns:

  • (String, nil)


29
# File 'lib/stigg/models/v1/events/credits/grant_list_params.rb', line 29

optional :before, String

#created_atStigg::Models::V1::Events::Credits::GrantListParams::CreatedAt?

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



35
# File 'lib/stigg/models/v1/events/credits/grant_list_params.rb', line 35

optional :created_at, -> { Stigg::V1::Events::Credits::GrantListParams::CreatedAt }

#currency_idString?

Filter by currency ID

Returns:

  • (String, nil)


41
# File 'lib/stigg/models/v1/events/credits/grant_list_params.rb', line 41

optional :currency_id, String

#customer_idString

Filter by customer ID (required)

Returns:

  • (String)


17
# File 'lib/stigg/models/v1/events/credits/grant_list_params.rb', line 17

required :customer_id, String

#limitInteger?

Maximum number of items to return

Returns:

  • (Integer, nil)


47
# File 'lib/stigg/models/v1/events/credits/grant_list_params.rb', line 47

optional :limit, Integer

#resource_idString?

Filter by resource ID. When omitted, only grants without a resource are returned

Returns:

  • (String, nil)


53
# File 'lib/stigg/models/v1/events/credits/grant_list_params.rb', line 53

optional :resource_id, String