Class: GetScimV2ServiceProviderConfigResponseEtag
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetScimV2ServiceProviderConfigResponseEtag
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
15085 15086 15087 15088 15089 15090 |
# File 'lib/schemas.rb', line 15085 def self.from_dynamic!(d) d = Types::Hash[d] new( supported: d["supported"], ) end |
.from_json!(json) ⇒ Object
15092 15093 15094 |
# File 'lib/schemas.rb', line 15092 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
15096 15097 15098 15099 15100 |
# File 'lib/schemas.rb', line 15096 def to_dynamic { "supported" => supported, } end |
#to_json(options = nil) ⇒ Object
15102 15103 15104 |
# File 'lib/schemas.rb', line 15102 def to_json( = nil) JSON.generate(to_dynamic, ) end |