Class: GetScimV2GroupsResponse500
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetScimV2GroupsResponse500
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
14775 14776 14777 14778 14779 14780 14781 14782 |
# File 'lib/schemas.rb', line 14775 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
14784 14785 14786 |
# File 'lib/schemas.rb', line 14784 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
14788 14789 14790 14791 14792 14793 14794 |
# File 'lib/schemas.rb', line 14788 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
14796 14797 14798 |
# File 'lib/schemas.rb', line 14796 def to_json( = nil) JSON.generate(to_dynamic, ) end |