Class: Pago::V2026_04::Models::BenefitLicenseKeysProperties
- Inherits:
-
Model
- Object
- Model
- Pago::V2026_04::Models::BenefitLicenseKeysProperties
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 =
["prefix", "expires", "activations", "limit_usage"].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:, expires:, activations:, limit_usage:) ⇒ BenefitLicenseKeysProperties
Returns a new instance of BenefitLicenseKeysProperties.
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
|
# File 'lib/pago/v2026_04/models.rb', line 7041
def initialize(
prefix:,
expires:,
activations:,
limit_usage:
)
super()
assign(:prefix, prefix)
assign(:expires, expires)
assign(:activations, activations)
assign(:limit_usage, limit_usage)
end
|
Instance Attribute Details
7036
7037
7038
|
# File 'lib/pago/v2026_04/models.rb', line 7036
def activations
@activations
end
|
7033
7034
7035
|
# File 'lib/pago/v2026_04/models.rb', line 7033
def expires
@expires
end
|
#limit_usage ⇒ Integer?
7039
7040
7041
|
# File 'lib/pago/v2026_04/models.rb', line 7039
def limit_usage
@limit_usage
end
|
#prefix ⇒ String?
7030
7031
7032
|
# File 'lib/pago/v2026_04/models.rb', line 7030
def prefix
@prefix
end
|