Class: VersSdk::ListBaseImagesResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/vers_sdk/models.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_json(json_str) ⇒ Object



1861
1862
1863
1864
# File 'lib/vers_sdk/models.rb', line 1861

def self.from_json(json_str)
  obj = json_str.is_a?(String) ? JSON.parse(json_str) : json_str
  new(obj)
end

Instance Method Details

#to_hObject



1866
1867
1868
1869
1870
1871
1872
1873
# File 'lib/vers_sdk/models.rb', line 1866

def to_h
  {
    "images" => @list_base_images_response,
    "limit" => @list_base_images_response,
    "offset" => @list_base_images_response,
    "total" => @list_base_images_response,
  }
end

#to_json(*args) ⇒ Object



1875
1876
1877
# File 'lib/vers_sdk/models.rb', line 1875

def to_json(*args)
  to_h.to_json(*args)
end