Method: PostScimV2UsersBody.from_dynamic!

Defined in:
lib/schemas.rb

.from_dynamic!(d) ⇒ Object



26699
26700
26701
26702
26703
26704
26705
26706
26707
26708
26709
26710
# File 'lib/schemas.rb', line 26699

def self.from_dynamic!(d)
  d = Types::Hash[d]
  new(
    active:                       d["active"],
    external_id:                  d["externalId"],
    groups:                       d["groups"],
    locale:                       d["locale"],
    post_scim_v2_users_body_name: d["name"] ? PostScimV2UsersBodyName.from_dynamic!(d["name"]) : nil,
    schemas:                      d["schemas"],
    user_name:                    d["userName"],
  )
end