class Ittybit::FileResponse

def initialize(meta: OMIT, data: OMIT, error: OMIT, links: OMIT, additional_properties: nil)

Returns:
  • (Ittybit::FileResponse) -

Parameters:
  • additional_properties (OpenStruct) -- Additional properties unmapped to the current class definition
  • links (Ittybit::Links) --
  • error (Ittybit::Error) --
  • data (Ittybit::File) --
  • meta (Ittybit::META) --
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