Class: GetScimV2ServiceProviderConfigResponseBulk
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetScimV2ServiceProviderConfigResponseBulk
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
15031 15032 15033 15034 15035 15036 15037 15038 |
# File 'lib/schemas.rb', line 15031 def self.from_dynamic!(d) d = Types::Hash[d] new( max_operations: d["maxOperations"], max_payload_size: d["maxPayloadSize"], supported: d["supported"], ) end |
.from_json!(json) ⇒ Object
15040 15041 15042 |
# File 'lib/schemas.rb', line 15040 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
15044 15045 15046 15047 15048 15049 15050 |
# File 'lib/schemas.rb', line 15044 def to_dynamic { "maxOperations" => max_operations, "maxPayloadSize" => max_payload_size, "supported" => supported, } end |
#to_json(options = nil) ⇒ Object
15052 15053 15054 |
# File 'lib/schemas.rb', line 15052 def to_json( = nil) JSON.generate(to_dynamic, ) end |