Class: GetScimV2ServiceProviderConfigResponseChangePassword

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/schemas.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_dynamic!(d) ⇒ Object



15060
15061
15062
15063
15064
15065
# File 'lib/schemas.rb', line 15060

def self.from_dynamic!(d)
  d = Types::Hash[d]
  new(
    supported: d["supported"],
  )
end

.from_json!(json) ⇒ Object



15067
15068
15069
# File 'lib/schemas.rb', line 15067

def self.from_json!(json)
  from_dynamic!(JSON.parse(json))
end

Instance Method Details

#to_dynamicObject



15071
15072
15073
15074
15075
# File 'lib/schemas.rb', line 15071

def to_dynamic
  {
    "supported" => supported,
  }
end

#to_json(options = nil) ⇒ Object



15077
15078
15079
# File 'lib/schemas.rb', line 15077

def to_json(options = nil)
  JSON.generate(to_dynamic, options)
end