Class: PostScimV2UsersResponse500
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- PostScimV2UsersResponse500
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
27064 27065 27066 27067 27068 27069 27070 27071 |
# File 'lib/schemas.rb', line 27064 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
27073 27074 27075 |
# File 'lib/schemas.rb', line 27073 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
27077 27078 27079 27080 27081 27082 27083 |
# File 'lib/schemas.rb', line 27077 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
27085 27086 27087 |
# File 'lib/schemas.rb', line 27085 def to_json( = nil) JSON.generate(to_dynamic, ) end |