Class: GetScimV2UsersResponse429
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetScimV2UsersResponse429
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
15633 15634 15635 15636 15637 15638 15639 15640 |
# File 'lib/schemas.rb', line 15633 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
15642 15643 15644 |
# File 'lib/schemas.rb', line 15642 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
15646 15647 15648 15649 15650 15651 15652 |
# File 'lib/schemas.rb', line 15646 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
15654 15655 15656 |
# File 'lib/schemas.rb', line 15654 def to_json( = nil) JSON.generate(to_dynamic, ) end |