Class: Pago::V2026_04::Models::BenefitGrantDownloadablesProperties
- Defined in:
- lib/pago/v2026_04/models.rb,
sig/pago/v2026_04/generated.rbs
Constant Summary collapse
- JSON_KEYS =
{ files: "files" }.freeze
- REQUIRED_KEYS =
[].freeze
Instance Attribute Summary collapse
- #files ⇒ Array<String> readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(files: ::Pago::UNSET) ⇒ BenefitGrantDownloadablesProperties
constructor
A new instance of BenefitGrantDownloadablesProperties.
Methods inherited from Model
#==, #[], #field_set?, #hash, #inspect, json_keys, required_json_keys, #to_json, #to_json_hash, wrap_raw
Constructor Details
#initialize(files: ::Pago::UNSET) ⇒ BenefitGrantDownloadablesProperties
Returns a new instance of BenefitGrantDownloadablesProperties.
5163 5164 5165 5166 5167 5168 |
# File 'lib/pago/v2026_04/models.rb', line 5163 def initialize( files: ::Pago::UNSET ) super() assign(:files, files) end |
Instance Attribute Details
#files ⇒ Array<String> (readonly)
5161 5162 5163 |
# File 'lib/pago/v2026_04/models.rb', line 5161 def files @files end |
Class Method Details
.from_json(data) ⇒ BenefitGrantDownloadablesProperties?
5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 |
# File 'lib/pago/v2026_04/models.rb', line 5172 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( files: (data.key?("files") ? data["files"] : ::Pago::UNSET) ), data ) end |