Class: Stigg::Models::V1::CouponListParams::CreatedAt
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::CouponListParams::CreatedAt
- Defined in:
- lib/stigg/models/v1/coupon_list_params.rb,
sig/stigg/models/v1/coupon_list_params.rbs
Instance Attribute Summary collapse
-
#gt ⇒ Time?
Greater than the specified createdAt value.
-
#gte ⇒ Time?
Greater than or equal to the specified createdAt value.
-
#lt ⇒ Time?
Less than the specified createdAt value.
-
#lte ⇒ Time?
Less than or equal to the specified createdAt value.
Instance Method Summary collapse
-
#initialize(id: nil, after: nil, before: nil, created_at: nil, limit: nil, status: nil, type: nil, x_account_id: nil, x_environment_id: nil, request_options: {}) ⇒ CreatedAt
constructor
A new instance of CreatedAt.
- #to_hash ⇒ { gt: Time, gte: Time, lt: Time, lte: Time }
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(id: nil, after: nil, before: nil, created_at: nil, limit: nil, status: nil, type: nil, x_account_id: nil, x_environment_id: nil, request_options: {}) ⇒ CreatedAt
Returns a new instance of CreatedAt.
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 |
# File 'lib/stigg/models/v1/coupon_list_params.rb', line 84 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
#gt ⇒ Time?
Greater than the specified createdAt value
89 |
# File 'lib/stigg/models/v1/coupon_list_params.rb', line 89 optional :gt, Time |
#gte ⇒ Time?
Greater than or equal to the specified createdAt value
95 |
# File 'lib/stigg/models/v1/coupon_list_params.rb', line 95 optional :gte, Time |
#lt ⇒ Time?
Less than the specified createdAt value
101 |
# File 'lib/stigg/models/v1/coupon_list_params.rb', line 101 optional :lt, Time |
#lte ⇒ Time?
Less than or equal to the specified createdAt value
107 |
# File 'lib/stigg/models/v1/coupon_list_params.rb', line 107 optional :lte, Time |
Instance Method Details
#to_hash ⇒ { gt: Time, gte: Time, lt: Time, lte: Time }
111 |
# File 'sig/stigg/models/v1/coupon_list_params.rbs', line 111
def to_hash: -> { gt: Time, gte: Time, lt: Time, lte: Time }
|