Class: GetScimV2UsersResponse401
- Inherits:
- 
      Dry::Struct
      
        - Object
- Dry::Struct
- GetScimV2UsersResponse401
 
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
| 15565 15566 15567 15568 15569 15570 15571 15572 | # File 'lib/schemas.rb', line 15565 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end | 
.from_json!(json) ⇒ Object
| 15574 15575 15576 | # File 'lib/schemas.rb', line 15574 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end | 
Instance Method Details
#to_dynamic ⇒ Object
| 15578 15579 15580 15581 15582 15583 15584 | # File 'lib/schemas.rb', line 15578 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end | 
#to_json(options = nil) ⇒ Object
| 15586 15587 15588 | # File 'lib/schemas.rb', line 15586 def to_json( = nil) JSON.generate(to_dynamic, ) end |