Class: VersSdk::DeleteDomainResponse

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

Overview

Response body for DELETE /api/v1/domains/domain_id

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_json(json_str) ⇒ Object



750
751
752
753
# File 'lib/vers_sdk/models.rb', line 750

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



755
756
757
758
759
# File 'lib/vers_sdk/models.rb', line 755

def to_h
  {
    "domain_id" => @delete_domain_response,
  }
end

#to_json(*args) ⇒ Object



761
762
763
# File 'lib/vers_sdk/models.rb', line 761

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