Class: GetScimV2GroupsGroupIDResponse429
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetScimV2GroupsGroupIDResponse429
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
14396 14397 14398 14399 14400 14401 14402 14403 |
# File 'lib/schemas.rb', line 14396 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
14405 14406 14407 |
# File 'lib/schemas.rb', line 14405 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
14409 14410 14411 14412 14413 14414 14415 |
# File 'lib/schemas.rb', line 14409 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
14417 14418 14419 |
# File 'lib/schemas.rb', line 14417 def to_json( = nil) JSON.generate(to_dynamic, ) end |