Class: GetMocksMockIDCallLogsResponseMeta
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetMocksMockIDCallLogsResponseMeta
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
10799 10800 10801 10802 10803 10804 |
# File 'lib/schemas.rb', line 10799 def self.from_dynamic!(d) d = Types::Hash[d] new( next_cursor: d["nextCursor"], ) end |
.from_json!(json) ⇒ Object
10806 10807 10808 |
# File 'lib/schemas.rb', line 10806 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
10810 10811 10812 10813 10814 |
# File 'lib/schemas.rb', line 10810 def to_dynamic { "nextCursor" => next_cursor, } end |
#to_json(options = nil) ⇒ Object
10816 10817 10818 |
# File 'lib/schemas.rb', line 10816 def to_json( = nil) JSON.generate(to_dynamic, ) end |