Class: PutScimV2UsersUserIDResponse500
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- PutScimV2UsersUserIDResponse500
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
34740 34741 34742 34743 34744 34745 34746 34747 |
# File 'lib/schemas.rb', line 34740 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
34749 34750 34751 |
# File 'lib/schemas.rb', line 34749 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
34753 34754 34755 34756 34757 34758 34759 |
# File 'lib/schemas.rb', line 34753 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
34761 34762 34763 |
# File 'lib/schemas.rb', line 34761 def to_json( = nil) JSON.generate(to_dynamic, ) end |