Class: PostScimV2UsersResponseName
- Inherits:
- 
      Dry::Struct
      
        - Object
- Dry::Struct
- PostScimV2UsersResponseName
 
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
| 26778 26779 26780 26781 26782 26783 26784 | # File 'lib/schemas.rb', line 26778 def self.from_dynamic!(d) d = Types::Hash[d] new( family_name: d["familyName"], given_name: d["givenName"], ) end | 
.from_json!(json) ⇒ Object
| 26786 26787 26788 | # File 'lib/schemas.rb', line 26786 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end | 
Instance Method Details
#to_dynamic ⇒ Object
| 26790 26791 26792 26793 26794 26795 | # File 'lib/schemas.rb', line 26790 def to_dynamic { "familyName" => family_name, "givenName" => given_name, } end | 
#to_json(options = nil) ⇒ Object
| 26797 26798 26799 | # File 'lib/schemas.rb', line 26797 def to_json( = nil) JSON.generate(to_dynamic, ) end |