Class: GetScimV2UsersResponse500
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetScimV2UsersResponse500
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
15670 15671 15672 15673 15674 15675 15676 15677 |
# File 'lib/schemas.rb', line 15670 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
15679 15680 15681 |
# File 'lib/schemas.rb', line 15679 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
15683 15684 15685 15686 15687 15688 15689 |
# File 'lib/schemas.rb', line 15683 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
15691 15692 15693 |
# File 'lib/schemas.rb', line 15691 def to_json( = nil) JSON.generate(to_dynamic, ) end |