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



1038
1039
1040
1041
# File 'lib/vers_sdk/models.rb', line 1038

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



1043
1044
1045
1046
1047
# File 'lib/vers_sdk/models.rb', line 1043

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

#to_json(*args) ⇒ Object



1049
1050
1051
# File 'lib/vers_sdk/models.rb', line 1049

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