Method: LinodeOpenapiClient::PostAllocateIpRequest#==

Defined in:
lib/linode_openapi_client/models/post_allocate_ip_request.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



156
157
158
159
160
161
162
# File 'lib/linode_openapi_client/models/post_allocate_ip_request.rb', line 156

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      type == o.type &&
      public == o.public &&
      linode_id == o.linode_id
end