Class: PatchScimV2GroupsGroupIDResponse500
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- PatchScimV2GroupsGroupIDResponse500
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
18783 18784 18785 18786 18787 18788 18789 18790 |
# File 'lib/schemas.rb', line 18783 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
18792 18793 18794 |
# File 'lib/schemas.rb', line 18792 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
18796 18797 18798 18799 18800 18801 18802 |
# File 'lib/schemas.rb', line 18796 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
18804 18805 18806 |
# File 'lib/schemas.rb', line 18804 def to_json( = nil) JSON.generate(to_dynamic, ) end |