Class: Pago::V2026_04::Models::BenefitLicenseKeysCreateProperties
- Inherits:
-
Model
- Object
- Model
- Pago::V2026_04::Models::BenefitLicenseKeysCreateProperties
show all
- Defined in:
- lib/pago/v2026_04/models.rb,
sig/pago/v2026_04/generated.rbs
Constant Summary
collapse
- JSON_KEYS =
{
prefix: "prefix",
expires: "expires",
activations: "activations",
limit_usage: "limit_usage"
}.freeze
- REQUIRED_KEYS =
[].freeze
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Model
#==, #[], #field_set?, #hash, #inspect, json_keys, required_json_keys, #to_json, #to_json_hash, wrap_raw
Constructor Details
#initialize(prefix: ::Pago::UNSET, expires: ::Pago::UNSET, activations: ::Pago::UNSET, limit_usage: ::Pago::UNSET) ⇒ BenefitLicenseKeysCreateProperties
Returns a new instance of BenefitLicenseKeysCreateProperties.
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
|
# File 'lib/pago/v2026_04/models.rb', line 6988
def initialize(
prefix: ::Pago::UNSET,
expires: ::Pago::UNSET,
activations: ::Pago::UNSET,
limit_usage: ::Pago::UNSET
)
super()
assign(:prefix, prefix)
assign(:expires, expires)
assign(:activations, activations)
assign(:limit_usage, limit_usage)
end
|
Instance Attribute Details
6983
6984
6985
|
# File 'lib/pago/v2026_04/models.rb', line 6983
def activations
@activations
end
|
6980
6981
6982
|
# File 'lib/pago/v2026_04/models.rb', line 6980
def expires
@expires
end
|
#limit_usage ⇒ Integer?
6986
6987
6988
|
# File 'lib/pago/v2026_04/models.rb', line 6986
def limit_usage
@limit_usage
end
|
#prefix ⇒ String?
6977
6978
6979
|
# File 'lib/pago/v2026_04/models.rb', line 6977
def prefix
@prefix
end
|