Class: DingSDK::Models::Operations::LookupRequest
- Inherits:
-
Object
- Object
- DingSDK::Models::Operations::LookupRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/ding_sdk/models/operations/lookup_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(customer_uuid: nil, phone_number: nil, type: nil) ⇒ LookupRequest
constructor
A new instance of LookupRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(customer_uuid: nil, phone_number: nil, type: nil) ⇒ LookupRequest
Returns a new instance of LookupRequest.
25 26 27 28 29 |
# File 'lib/ding_sdk/models/operations/lookup_request.rb', line 25 def initialize(customer_uuid: nil, phone_number: nil, type: nil) @customer_uuid = customer_uuid @phone_number = phone_number @type = type end |
Instance Method Details
#==(other) ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/ding_sdk/models/operations/lookup_request.rb', line 31 def ==(other) return false unless other.is_a? self.class return false unless @customer_uuid == other.customer_uuid return false unless @phone_number == other.phone_number return false unless @type == other.type true end |