Class: Stigg::Models::V1::CouponUpdateCouponParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::CouponUpdateCouponParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/stigg/models/v1/coupon_update_coupon_params.rb
Overview
Instance Attribute Summary collapse
-
#description ⇒ String?
Description of the coupon.
- #id ⇒ String
-
#metadata ⇒ Hash{Symbol=>String}?
Metadata associated with the entity.
-
#name ⇒ String?
Name of the coupon.
- #x_account_id ⇒ String?
- #x_environment_id ⇒ String?
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
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, metadata: nil, name: nil, x_account_id: nil, x_environment_id: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/stigg/models/v1/coupon_update_coupon_params.rb', line 44
|
Instance Attribute Details
#description ⇒ String?
Description of the coupon
20 |
# File 'lib/stigg/models/v1/coupon_update_coupon_params.rb', line 20 optional :description, String, nil?: true |
#id ⇒ String
14 |
# File 'lib/stigg/models/v1/coupon_update_coupon_params.rb', line 14 required :id, String |
#metadata ⇒ Hash{Symbol=>String}?
Metadata associated with the entity
26 |
# File 'lib/stigg/models/v1/coupon_update_coupon_params.rb', line 26 optional :metadata, Stigg::Internal::Type::HashOf[String], nil?: true |
#name ⇒ String?
Name of the coupon
32 |
# File 'lib/stigg/models/v1/coupon_update_coupon_params.rb', line 32 optional :name, String |
#x_account_id ⇒ String?
37 |
# File 'lib/stigg/models/v1/coupon_update_coupon_params.rb', line 37 optional :x_account_id, String |
#x_environment_id ⇒ String?
42 |
# File 'lib/stigg/models/v1/coupon_update_coupon_params.rb', line 42 optional :x_environment_id, String |