class Ittybit::TaskListResponse
def initialize(meta: OMIT, data: OMIT, error: OMIT, links: OMIT, additional_properties: nil)
-
(Ittybit::TaskListResponse)
-
Parameters:
-
additional_properties
(OpenStruct
) -- Additional properties unmapped to the current class definition -
links
(Ittybit::LinksList
) -- -
error
(Ittybit::Error
) -- -
data
(Array
) -- -
meta
(Ittybit::MetaList
) --
def initialize(meta: OMIT, data: OMIT, error: OMIT, links: OMIT, additional_properties: nil) @meta = meta if meta != OMIT @data = data if data != OMIT @error = error if error != OMIT @links = links if links != OMIT @additional_properties = additional_properties @_field_set = { "meta": meta, "data": data, "error": error, "links": links }.reject do |_k, v| v == OMIT end end