Class: Stigg::Models::V1::SubscriptionListParams::CreatedAt

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/stigg/models/v1/subscription_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(after: nil, before: nil, created_at: nil, customer_id: nil, limit: nil, plan_id: nil, pricing_type: nil, resource_id: nil, status: nil, x_account_id: nil, x_environment_id: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Stigg::Models::V1::SubscriptionListParams for more details.

Parameters:

  • after (String) (defaults to: nil)

    Return items that come after this cursor

  • before (String) (defaults to: nil)

    Return items that come before this cursor

  • created_at (Stigg::Models::V1::SubscriptionListParams::CreatedAt) (defaults to: nil)

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

  • customer_id (String) (defaults to: nil)

    Filter by customer ID

  • limit (Integer) (defaults to: nil)

    Maximum number of items to return

  • plan_id (String) (defaults to: nil)

    Filter by plan ID

  • pricing_type (Array<Symbol, Stigg::Models::V1::SubscriptionListParams::PricingType>) (defaults to: nil)

    Filter by pricing type. Supports comma-separated values for multiple types

  • resource_id (String) (defaults to: nil)

    Filter by resource ID

  • status (Array<Symbol, Stigg::Models::V1::SubscriptionListParams::Status>) (defaults to: nil)

    Filter by subscription status. Supports comma-separated values for multiple stat

  • x_account_id (String) (defaults to: nil)
  • x_environment_id (String) (defaults to: nil)
  • request_options (Stigg::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# File 'lib/stigg/models/v1/subscription_list_params.rb', line 105

class CreatedAt < Stigg::Internal::Type::BaseModel
  # @!attribute gt
  #   Greater than the specified createdAt value
  #
  #   @return [Time, nil]
  optional :gt, Time

  # @!attribute gte
  #   Greater than or equal to the specified createdAt value
  #
  #   @return [Time, nil]
  optional :gte, Time

  # @!attribute lt
  #   Less than the specified createdAt value
  #
  #   @return [Time, nil]
  optional :lt, Time

  # @!attribute lte
  #   Less than or equal to the specified createdAt value
  #
  #   @return [Time, nil]
  optional :lte, Time

  # @!method initialize(gt: nil, gte: nil, lt: nil, lte: nil)
  #   Filter by creation date using range operators: gt, gte, lt, lte
  #
  #   @param gt [Time] Greater than the specified createdAt value
  #
  #   @param gte [Time] Greater than or equal to the specified createdAt value
  #
  #   @param lt [Time] Less than the specified createdAt value
  #
  #   @param lte [Time] Less than or equal to the specified createdAt value
end

Instance Attribute Details

#gtTime?

Greater than the specified createdAt value

Returns:

  • (Time, nil)


110
# File 'lib/stigg/models/v1/subscription_list_params.rb', line 110

optional :gt, Time

#gteTime?

Greater than or equal to the specified createdAt value

Returns:

  • (Time, nil)


116
# File 'lib/stigg/models/v1/subscription_list_params.rb', line 116

optional :gte, Time

#ltTime?

Less than the specified createdAt value

Returns:

  • (Time, nil)


122
# File 'lib/stigg/models/v1/subscription_list_params.rb', line 122

optional :lt, Time

#lteTime?

Less than or equal to the specified createdAt value

Returns:

  • (Time, nil)


128
# File 'lib/stigg/models/v1/subscription_list_params.rb', line 128

optional :lte, Time