Class: Dodopayments::Models::LicenseKeyUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::LicenseKeyUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/dodopayments/models/license_key_update_params.rb
Overview
Instance Attribute Summary collapse
-
#activations_limit ⇒ Integer?
The updated activation limit for the license key.
-
#disabled ⇒ Boolean?
Indicates whether the license key should be disabled.
-
#expires_at ⇒ Time?
The updated expiration timestamp for the license key in UTC.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(activations_limit: nil, disabled: nil, expires_at: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see LicenseKeyUpdateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(activations_limit: nil, disabled: nil, expires_at: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Dodopayments::Models::LicenseKeyUpdateParams for more details.
|
|
# File 'lib/dodopayments/models/license_key_update_params.rb', line 31
|
Instance Attribute Details
#activations_limit ⇒ Integer?
The updated activation limit for the license key. Use ‘null` to remove the limit, or omit this field to leave it unchanged.
15 |
# File 'lib/dodopayments/models/license_key_update_params.rb', line 15 optional :activations_limit, Integer, nil?: true |
#disabled ⇒ Boolean?
Indicates whether the license key should be disabled. A value of ‘true` disables the key, while `false` enables it. Omit this field to leave it unchanged.
22 |
# File 'lib/dodopayments/models/license_key_update_params.rb', line 22 optional :disabled, Dodopayments::Internal::Type::Boolean, nil?: true |
#expires_at ⇒ Time?
The updated expiration timestamp for the license key in UTC. Use ‘null` to remove the expiration date, or omit this field to leave it unchanged.
29 |
# File 'lib/dodopayments/models/license_key_update_params.rb', line 29 optional :expires_at, Time, nil?: true |