Class: Stigg::Models::V1Beta::Customers::AssignmentListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1Beta::Customers::AssignmentListResponse
- Defined in:
- lib/stigg/models/v1_beta/customers/assignment_list_response.rb
Overview
Defined Under Namespace
Modules: Cadence
Instance Attribute Summary collapse
-
#cadence ⇒ Symbol, Stigg::Models::V1Beta::Customers::AssignmentListResponse::Cadence
Usage-reset cadence.
-
#created_at ⇒ Time
Timestamp of when the record was created.
-
#currency_id ⇒ String?
Currency refId this assignment grants (present for credit capabilities).
-
#entity_id ⇒ String
The entity refId this assignment is attached to.
-
#feature_id ⇒ String?
Feature refId this assignment grants (present for feature capabilities).
-
#id ⇒ String
Synthetic UUID identifier — also the cursor anchor for paginated lists.
-
#parent_id ⇒ String?
Parent entity refId in the hierarchy, or ‘null` for a root.
-
#scope_entity_ids ⇒ Array<String>
Dimension-scoped sub-budget key: the set of entity refIds this budget applies to.
-
#updated_at ⇒ Time
Timestamp of when the record was last updated.
-
#usage_limit ⇒ Float
Maximum usage allowed within one cadence window.
Instance Method Summary collapse
-
#initialize(id:, cadence:, created_at:, entity_id:, parent_id:, scope_entity_ids:, updated_at:, usage_limit:, currency_id: nil, feature_id: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see AssignmentListResponse for more details.
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:, cadence:, created_at:, entity_id:, parent_id:, scope_entity_ids:, updated_at:, usage_limit:, currency_id: nil, feature_id: nil) ⇒ Object
Some parameter documentations has been truncated, see Stigg::Models::V1Beta::Customers::AssignmentListResponse for more details.
A capability assignment for an entity belonging to a customer. Defines how much of the capability the entity may consume (‘usageLimit`) and how often the counter resets (`cadence`).
|
|
# File 'lib/stigg/models/v1_beta/customers/assignment_list_response.rb', line 72
|
Instance Attribute Details
#cadence ⇒ Symbol, Stigg::Models::V1Beta::Customers::AssignmentListResponse::Cadence
Usage-reset cadence. Currently only ‘MONTH` is supported
19 |
# File 'lib/stigg/models/v1_beta/customers/assignment_list_response.rb', line 19 required :cadence, enum: -> { Stigg::Models::V1Beta::Customers::AssignmentListResponse::Cadence } |
#created_at ⇒ Time
Timestamp of when the record was created
25 |
# File 'lib/stigg/models/v1_beta/customers/assignment_list_response.rb', line 25 required :created_at, Time, api_name: :createdAt |
#currency_id ⇒ String?
Currency refId this assignment grants (present for credit capabilities).
64 |
# File 'lib/stigg/models/v1_beta/customers/assignment_list_response.rb', line 64 optional :currency_id, String, api_name: :currencyId |
#entity_id ⇒ String
The entity refId this assignment is attached to
31 |
# File 'lib/stigg/models/v1_beta/customers/assignment_list_response.rb', line 31 required :entity_id, String, api_name: :entityId |
#feature_id ⇒ String?
Feature refId this assignment grants (present for feature capabilities).
70 |
# File 'lib/stigg/models/v1_beta/customers/assignment_list_response.rb', line 70 optional :feature_id, String, api_name: :featureId |
#id ⇒ String
Synthetic UUID identifier — also the cursor anchor for paginated lists
13 |
# File 'lib/stigg/models/v1_beta/customers/assignment_list_response.rb', line 13 required :id, String |
#parent_id ⇒ String?
Parent entity refId in the hierarchy, or ‘null` for a root.
37 |
# File 'lib/stigg/models/v1_beta/customers/assignment_list_response.rb', line 37 required :parent_id, String, api_name: :parentId, nil?: true |
#scope_entity_ids ⇒ Array<String>
Dimension-scoped sub-budget key: the set of entity refIds this budget applies to. Empty is the node-wide budget that always matches; a non-empty set only applies when every listed entity is present in the resolved set (order-insensitive).
46 |
# File 'lib/stigg/models/v1_beta/customers/assignment_list_response.rb', line 46 required :scope_entity_ids, Stigg::Internal::Type::ArrayOf[String], api_name: :scopeEntityIds |
#updated_at ⇒ Time
Timestamp of when the record was last updated
52 |
# File 'lib/stigg/models/v1_beta/customers/assignment_list_response.rb', line 52 required :updated_at, Time, api_name: :updatedAt |
#usage_limit ⇒ Float
Maximum usage allowed within one cadence window
58 |
# File 'lib/stigg/models/v1_beta/customers/assignment_list_response.rb', line 58 required :usage_limit, Float, api_name: :usageLimit |