Class: Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data
- Defined in:
- lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb
Overview
Defined Under Namespace
Modules: Period, ResetPeriod, ResetPeriodConfiguration, Status
Instance Attribute Summary collapse
-
#created_at ⇒ Time
Timestamp of when the record was created.
-
#description ⇒ String?
The description of the entitlement.
-
#end_date ⇒ Time?
The end date of the promotional entitlement.
-
#enum_values ⇒ Array<String>?
The enum values of the entitlement.
-
#environment_id ⇒ String
The unique identifier for the environment.
-
#feature_group_ids ⇒ Array<String>?
Feature group IDs associated with this entitlement.
-
#feature_id ⇒ String
The unique identifier of the entitlement feature.
-
#has_soft_limit ⇒ Boolean?
Whether the entitlement has a soft limit.
-
#has_unlimited_usage ⇒ Boolean?
Whether the entitlement has an unlimited usage.
-
#id ⇒ String
Unique identifier for the entity.
-
#is_visible ⇒ Boolean
Whether the entitlement is visible.
-
#period ⇒ Symbol, Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::Period
The grant period of the promotional entitlement.
-
#reset_period ⇒ Symbol, ...
The reset period of the entitlement.
-
#reset_period_configuration ⇒ Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::ResetPeriodConfiguration::YearlyResetPeriodConfig, ...
The reset period configuration of the entitlement.
-
#start_date ⇒ Time
The start date of the entitlement.
-
#status ⇒ Symbol, Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::Status
The status of the entitlement.
-
#updated_at ⇒ Time
Timestamp of when the record was last updated.
-
#usage_limit ⇒ Float?
The usage limit of the entitlement.
Class Method Summary collapse
- .values ⇒ Array<Symbol>
- .variants ⇒ Array(Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::ResetPeriodConfiguration::YearlyResetPeriodConfig, Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::ResetPeriodConfiguration::MonthlyResetPeriodConfig, Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::ResetPeriodConfiguration::WeeklyResetPeriodConfig)
Instance Method Summary collapse
-
#initialize(id:, created_at:, description:, end_date:, enum_values:, environment_id:, feature_group_ids:, feature_id:, has_soft_limit:, has_unlimited_usage:, is_visible:, period:, reset_period:, reset_period_configuration:, start_date:, status:, updated_at:, usage_limit:) ⇒ Object
constructor
Granted feature entitlement.
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:, created_at:, description:, end_date:, enum_values:, environment_id:, feature_group_ids:, feature_id:, has_soft_limit:, has_unlimited_usage:, is_visible:, period:, reset_period:, reset_period_configuration:, start_date:, status:, updated_at:, usage_limit:) ⇒ Object
Granted feature entitlement
|
|
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 144
|
Instance Attribute Details
#created_at ⇒ Time
Timestamp of when the record was created
32 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 32 required :created_at, Time, api_name: :createdAt |
#description ⇒ String?
The description of the entitlement
38 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 38 required :description, String, nil?: true |
#end_date ⇒ Time?
The end date of the promotional entitlement
44 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 44 required :end_date, Time, api_name: :endDate, nil?: true |
#enum_values ⇒ Array<String>?
The enum values of the entitlement
50 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 50 required :enum_values, Stigg::Internal::Type::ArrayOf[String], api_name: :enumValues, nil?: true |
#environment_id ⇒ String
The unique identifier for the environment
56 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 56 required :environment_id, String, api_name: :environmentId |
#feature_group_ids ⇒ Array<String>?
Feature group IDs associated with this entitlement
62 63 64 65 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 62 required :feature_group_ids, Stigg::Internal::Type::ArrayOf[String], api_name: :featureGroupIds, nil?: true |
#feature_id ⇒ String
The unique identifier of the entitlement feature
71 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 71 required :feature_id, String, api_name: :featureId |
#has_soft_limit ⇒ Boolean?
Whether the entitlement has a soft limit
77 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 77 required :has_soft_limit, Stigg::Internal::Type::Boolean, api_name: :hasSoftLimit, nil?: true |
#has_unlimited_usage ⇒ Boolean?
Whether the entitlement has an unlimited usage
83 84 85 86 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 83 required :has_unlimited_usage, Stigg::Internal::Type::Boolean, api_name: :hasUnlimitedUsage, nil?: true |
#id ⇒ String
Unique identifier for the entity
26 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 26 required :id, String |
#is_visible ⇒ Boolean
Whether the entitlement is visible
92 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 92 required :is_visible, Stigg::Internal::Type::Boolean, api_name: :isVisible |
#period ⇒ Symbol, Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::Period
The grant period of the promotional entitlement
98 99 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 98 required :period, enum: -> { Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::Period } |
#reset_period ⇒ Symbol, ...
The reset period of the entitlement
105 106 107 108 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 105 required :reset_period, enum: -> { Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::ResetPeriod }, api_name: :resetPeriod, nil?: true |
#reset_period_configuration ⇒ Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::ResetPeriodConfiguration::YearlyResetPeriodConfig, ...
The reset period configuration of the entitlement
114 115 116 117 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 114 required :reset_period_configuration, union: -> { Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::ResetPeriodConfiguration }, api_name: :resetPeriodConfiguration, nil?: true |
#start_date ⇒ Time
The start date of the entitlement
123 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 123 required :start_date, Time, api_name: :startDate |
#status ⇒ Symbol, Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::Status
The status of the entitlement
129 130 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 129 required :status, enum: -> { Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::Status } |
#updated_at ⇒ Time
Timestamp of when the record was last updated
136 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 136 required :updated_at, Time, api_name: :updatedAt |
#usage_limit ⇒ Float?
The usage limit of the entitlement
142 |
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 142 required :usage_limit, Float, api_name: :usageLimit, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 196
|
.variants ⇒ Array(Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::ResetPeriodConfiguration::YearlyResetPeriodConfig, Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::ResetPeriodConfiguration::MonthlyResetPeriodConfig, Stigg::Models::V1::Customers::PromotionalEntitlementRevokeResponse::Data::ResetPeriodConfiguration::WeeklyResetPeriodConfig)
|
|
# File 'lib/stigg/models/v1/customers/promotional_entitlement_revoke_response.rb', line 320
|