Class: GetScimV2GroupsResponse400
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetScimV2GroupsResponse400
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
14627 14628 14629 14630 14631 14632 14633 14634 |
# File 'lib/schemas.rb', line 14627 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
14636 14637 14638 |
# File 'lib/schemas.rb', line 14636 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
14640 14641 14642 14643 14644 14645 14646 |
# File 'lib/schemas.rb', line 14640 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
14648 14649 14650 |
# File 'lib/schemas.rb', line 14648 def to_json( = nil) JSON.generate(to_dynamic, ) end |