Class: Stigg::Models::V1::AddonUpdateParams::Charges::OveragePricingModel::Entitlement
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::AddonUpdateParams::Charges::OveragePricingModel::Entitlement
- Defined in:
- lib/stigg/models/v1/addon_update_params.rb
Overview
Defined Under Namespace
Modules: ResetPeriod Classes: MonthlyResetPeriodConfiguration, WeeklyResetPeriodConfiguration, YearlyResetPeriodConfiguration
Instance Attribute Summary collapse
-
#feature_id ⇒ String
The feature ID for the entitlement.
-
#has_soft_limit ⇒ Boolean?
Whether the limit is soft (allows overage).
-
#has_unlimited_usage ⇒ Boolean?
Whether usage is unlimited.
-
#monthly_reset_period_configuration ⇒ Stigg::Models::V1::AddonUpdateParams::Charges::OveragePricingModel::Entitlement::MonthlyResetPeriodConfiguration?
Monthly reset configuration.
-
#reset_period ⇒ Symbol, ...
The usage reset period.
-
#usage_limit ⇒ Float?
The usage limit before overage kicks in.
-
#weekly_reset_period_configuration ⇒ Stigg::Models::V1::AddonUpdateParams::Charges::OveragePricingModel::Entitlement::WeeklyResetPeriodConfiguration?
Weekly reset configuration.
-
#yearly_reset_period_configuration ⇒ Stigg::Models::V1::AddonUpdateParams::Charges::OveragePricingModel::Entitlement::YearlyResetPeriodConfiguration?
Yearly reset configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(feature_id:, has_soft_limit: nil, has_unlimited_usage: nil, monthly_reset_period_configuration: nil, reset_period: nil, usage_limit: nil, weekly_reset_period_configuration: nil, yearly_reset_period_configuration: nil) ⇒ Object
constructor
Entitlement configuration for the overage feature.
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(feature_id:, has_soft_limit: nil, has_unlimited_usage: nil, monthly_reset_period_configuration: nil, reset_period: nil, usage_limit: nil, weekly_reset_period_configuration: nil, yearly_reset_period_configuration: nil) ⇒ Object
Entitlement configuration for the overage feature
|
|
# File 'lib/stigg/models/v1/addon_update_params.rb', line 1134
|
Instance Attribute Details
#feature_id ⇒ String
The feature ID for the entitlement
1074 |
# File 'lib/stigg/models/v1/addon_update_params.rb', line 1074 required :feature_id, String, api_name: :featureId |
#has_soft_limit ⇒ Boolean?
Whether the limit is soft (allows overage)
1080 |
# File 'lib/stigg/models/v1/addon_update_params.rb', line 1080 optional :has_soft_limit, Stigg::Internal::Type::Boolean, api_name: :hasSoftLimit |
#has_unlimited_usage ⇒ Boolean?
Whether usage is unlimited
1086 |
# File 'lib/stigg/models/v1/addon_update_params.rb', line 1086 optional :has_unlimited_usage, Stigg::Internal::Type::Boolean, api_name: :hasUnlimitedUsage |
#monthly_reset_period_configuration ⇒ Stigg::Models::V1::AddonUpdateParams::Charges::OveragePricingModel::Entitlement::MonthlyResetPeriodConfiguration?
Monthly reset configuration
1092 1093 1094 1095 1096 |
# File 'lib/stigg/models/v1/addon_update_params.rb', line 1092 optional :monthly_reset_period_configuration, -> { Stigg::V1::AddonUpdateParams::Charges::OveragePricingModel::Entitlement::MonthlyResetPeriodConfiguration }, api_name: :monthlyResetPeriodConfiguration |
#reset_period ⇒ Symbol, ...
The usage reset period
1102 1103 1104 1105 1106 |
# File 'lib/stigg/models/v1/addon_update_params.rb', line 1102 optional :reset_period, enum: -> { Stigg::V1::AddonUpdateParams::Charges::OveragePricingModel::Entitlement::ResetPeriod }, api_name: :resetPeriod |
#usage_limit ⇒ Float?
The usage limit before overage kicks in
1112 |
# File 'lib/stigg/models/v1/addon_update_params.rb', line 1112 optional :usage_limit, Float, api_name: :usageLimit |
#weekly_reset_period_configuration ⇒ Stigg::Models::V1::AddonUpdateParams::Charges::OveragePricingModel::Entitlement::WeeklyResetPeriodConfiguration?
Weekly reset configuration
1118 1119 1120 1121 1122 |
# File 'lib/stigg/models/v1/addon_update_params.rb', line 1118 optional :weekly_reset_period_configuration, -> { Stigg::V1::AddonUpdateParams::Charges::OveragePricingModel::Entitlement::WeeklyResetPeriodConfiguration }, api_name: :weeklyResetPeriodConfiguration |
#yearly_reset_period_configuration ⇒ Stigg::Models::V1::AddonUpdateParams::Charges::OveragePricingModel::Entitlement::YearlyResetPeriodConfiguration?
Yearly reset configuration
1128 1129 1130 1131 1132 |
# File 'lib/stigg/models/v1/addon_update_params.rb', line 1128 optional :yearly_reset_period_configuration, -> { Stigg::V1::AddonUpdateParams::Charges::OveragePricingModel::Entitlement::YearlyResetPeriodConfiguration }, api_name: :yearlyResetPeriodConfiguration |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/stigg/models/v1/addon_update_params.rb', line 1179
|