Class: PatchScimV2UsersUserIDResponse401
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- PatchScimV2UsersUserIDResponse401
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
19075 19076 19077 19078 19079 19080 19081 19082 |
# File 'lib/schemas.rb', line 19075 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
19084 19085 19086 |
# File 'lib/schemas.rb', line 19084 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
19088 19089 19090 19091 19092 19093 19094 |
# File 'lib/schemas.rb', line 19088 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
19096 19097 19098 |
# File 'lib/schemas.rb', line 19096 def to_json( = nil) JSON.generate(to_dynamic, ) end |