Class: GetScimV2UsersUserIDResponse429
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetScimV2UsersUserIDResponse429
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
15979 15980 15981 15982 15983 15984 15985 15986 |
# File 'lib/schemas.rb', line 15979 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
15988 15989 15990 |
# File 'lib/schemas.rb', line 15988 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
15992 15993 15994 15995 15996 15997 15998 |
# File 'lib/schemas.rb', line 15992 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
16000 16001 16002 |
# File 'lib/schemas.rb', line 16000 def to_json( = nil) JSON.generate(to_dynamic, ) end |