Class: Pago::V2026_04::Models::CustomerBenefitGrantGitHubRepositoryPropertiesUpdate
- Inherits:
-
Model
- Object
- Model
- Pago::V2026_04::Models::CustomerBenefitGrantGitHubRepositoryPropertiesUpdate
- Defined in:
- lib/pago/v2026_04/models.rb,
sig/pago/v2026_04/generated.rbs
Constant Summary collapse
- JSON_KEYS =
{ account_id: "account_id" }.freeze
- REQUIRED_KEYS =
["account_id"].freeze
Instance Attribute Summary collapse
- #account_id ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(account_id:) ⇒ CustomerBenefitGrantGitHubRepositoryPropertiesUpdate
constructor
A new instance of CustomerBenefitGrantGitHubRepositoryPropertiesUpdate.
Methods inherited from Model
#==, #[], #field_set?, #hash, #inspect, json_keys, required_json_keys, #to_json, #to_json_hash, wrap_raw
Constructor Details
#initialize(account_id:) ⇒ CustomerBenefitGrantGitHubRepositoryPropertiesUpdate
Returns a new instance of CustomerBenefitGrantGitHubRepositoryPropertiesUpdate.
15591 15592 15593 15594 15595 15596 |
# File 'lib/pago/v2026_04/models.rb', line 15591 def initialize( account_id: ) super() assign(:account_id, account_id) end |
Instance Attribute Details
#account_id ⇒ String? (readonly)
15589 15590 15591 |
# File 'lib/pago/v2026_04/models.rb', line 15589 def account_id @account_id end |
Class Method Details
.from_json(data) ⇒ CustomerBenefitGrantGitHubRepositoryPropertiesUpdate?
15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 |
# File 'lib/pago/v2026_04/models.rb', line 15600 def self.from_json(data) data = ::JSON.parse(data) if data.is_a?(String) data = ::Pago::Serde.object(data) return nil if data.nil? wrap_raw( new( account_id: (data.key?("account_id") ? data["account_id"] : ::Pago::UNSET) ), data ) end |