Class: GetScimV2UsersUserIDResponse403
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetScimV2UsersUserIDResponse403
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
15906 15907 15908 15909 15910 15911 15912 15913 |
# File 'lib/schemas.rb', line 15906 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
15915 15916 15917 |
# File 'lib/schemas.rb', line 15915 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
15919 15920 15921 15922 15923 15924 15925 |
# File 'lib/schemas.rb', line 15919 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
15927 15928 15929 |
# File 'lib/schemas.rb', line 15927 def to_json( = nil) JSON.generate(to_dynamic, ) end |