Class: Clerk::Models::Operations::UpdateDomainRequestBody
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::UpdateDomainRequestBody
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/updatedomain_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name: nil, proxy_url: nil, is_secondary: nil) ⇒ UpdateDomainRequestBody
constructor
A new instance of UpdateDomainRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(name: nil, proxy_url: nil, is_secondary: nil) ⇒ UpdateDomainRequestBody
Returns a new instance of UpdateDomainRequestBody.
28 29 30 31 32 |
# File 'lib/clerk/models/operations/updatedomain_requestbody.rb', line 28 def initialize(name: nil, proxy_url: nil, is_secondary: nil) @name = name @proxy_url = proxy_url @is_secondary = is_secondary end |
Instance Method Details
#==(other) ⇒ Object
35 36 37 38 39 40 41 |
# File 'lib/clerk/models/operations/updatedomain_requestbody.rb', line 35 def ==(other) return false unless other.is_a? self.class return false unless @name == other.name return false unless @proxy_url == other.proxy_url return false unless @is_secondary == other.is_secondary true end |