Class: Dodopayments::Models::EntitlementUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::EntitlementUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/dodopayments/models/entitlement_update_params.rb
Overview
Instance Attribute Summary collapse
- #description ⇒ String?
- #id ⇒ String
-
#integration_config ⇒ Dodopayments::Models::IntegrationConfig::GitHubConfig, ...
Platform-specific configuration for an entitlement.
- #metadata ⇒ Hash{Symbol=>String}?
- #name ⇒ String?
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(id:, description: nil, integration_config: nil, metadata: nil, name: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see EntitlementUpdateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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:, description: nil, integration_config: nil, metadata: nil, name: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Dodopayments::Models::EntitlementUpdateParams for more details.
|
|
# File 'lib/dodopayments/models/entitlement_update_params.rb', line 37
|
Instance Attribute Details
#description ⇒ String?
18 |
# File 'lib/dodopayments/models/entitlement_update_params.rb', line 18 optional :description, String, nil?: true |
#id ⇒ String
13 |
# File 'lib/dodopayments/models/entitlement_update_params.rb', line 13 required :id, String |
#integration_config ⇒ Dodopayments::Models::IntegrationConfig::GitHubConfig, ...
Platform-specific configuration for an entitlement. Each variant uses unique field names so ‘#[serde(untagged)]` can disambiguate correctly.
25 |
# File 'lib/dodopayments/models/entitlement_update_params.rb', line 25 optional :integration_config, union: -> { Dodopayments::IntegrationConfig }, nil?: true |
#metadata ⇒ Hash{Symbol=>String}?
30 |
# File 'lib/dodopayments/models/entitlement_update_params.rb', line 30 optional :metadata, Dodopayments::Internal::Type::HashOf[String], nil?: true |
#name ⇒ String?
35 |
# File 'lib/dodopayments/models/entitlement_update_params.rb', line 35 optional :name, String, nil?: true |