Class: Increase::Models::AccountListParams::CreatedAt

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/account_list_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initialize(created_at: nil, cursor: nil, entity_id: nil, idempotency_key: nil, informational_entity_id: nil, limit: nil, program_id: nil, status: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::AccountListParams for more details.

Parameters:

  • created_at (Increase::Models::AccountListParams::CreatedAt) (defaults to: nil)
  • cursor (String) (defaults to: nil)

    Return the page of entries after this one.

  • entity_id (String) (defaults to: nil)

    Filter Accounts for those belonging to the specified Entity.

  • idempotency_key (String) (defaults to: nil)

    Filter records to the one with the specified ‘idempotency_key` you chose for tha

  • informational_entity_id (String) (defaults to: nil)

    Filter Accounts for those belonging to the specified Entity as informational.

  • limit (Integer) (defaults to: nil)

    Limit the size of the list that is returned. The default (and maximum) is 100 ob

  • program_id (String) (defaults to: nil)

    Filter Accounts for those in a specific Program.

  • status (Increase::Models::AccountListParams::Status) (defaults to: nil)
  • request_options (Increase::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'lib/increase/models/account_list_params.rb', line 82

class CreatedAt < Increase::Internal::Type::BaseModel
  # @!attribute after
  #   Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
  #   timestamp.
  #
  #   @return [Time, nil]
  optional :after, Time

  # @!attribute before
  #   Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
  #   timestamp.
  #
  #   @return [Time, nil]
  optional :before, Time

  # @!attribute on_or_after
  #   Return results on or after this
  #   [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
  #
  #   @return [Time, nil]
  optional :on_or_after, Time

  # @!attribute on_or_before
  #   Return results on or before this
  #   [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
  #
  #   @return [Time, nil]
  optional :on_or_before, Time

  # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil)
  #   Some parameter documentations has been truncated, see
  #   {Increase::Models::AccountListParams::CreatedAt} for more details.
  #
  #   @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim
  #
  #   @param before [Time] Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) ti
  #
  #   @param on_or_after [Time] Return results on or after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_860
  #
  #   @param on_or_before [Time] Return results on or before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_86
end

Instance Attribute Details

#afterTime?

Return results after this [ISO 8601](en.wikipedia.org/wiki/ISO_8601) timestamp.

Returns:

  • (Time, nil)


88
# File 'lib/increase/models/account_list_params.rb', line 88

optional :after, Time

#beforeTime?

Return results before this [ISO 8601](en.wikipedia.org/wiki/ISO_8601) timestamp.

Returns:

  • (Time, nil)


95
# File 'lib/increase/models/account_list_params.rb', line 95

optional :before, Time

#on_or_afterTime?

Return results on or after this [ISO 8601](en.wikipedia.org/wiki/ISO_8601) timestamp.

Returns:

  • (Time, nil)


102
# File 'lib/increase/models/account_list_params.rb', line 102

optional :on_or_after, Time

#on_or_beforeTime?

Return results on or before this [ISO 8601](en.wikipedia.org/wiki/ISO_8601) timestamp.

Returns:

  • (Time, nil)


109
# File 'lib/increase/models/account_list_params.rb', line 109

optional :on_or_before, Time