Class: PatchScimV2GroupsGroupIDResponse400
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- PatchScimV2GroupsGroupIDResponse400
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
18596 18597 18598 18599 18600 18601 18602 18603 18604 |
# File 'lib/schemas.rb', line 18596 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], scim_type: d["scimType"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
18606 18607 18608 |
# File 'lib/schemas.rb', line 18606 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
18610 18611 18612 18613 18614 18615 18616 18617 |
# File 'lib/schemas.rb', line 18610 def to_dynamic { "detail" => detail, "schemas" => schemas, "scimType" => scim_type, "status" => status, } end |
#to_json(options = nil) ⇒ Object
18619 18620 18621 |
# File 'lib/schemas.rb', line 18619 def to_json( = nil) JSON.generate(to_dynamic, ) end |