Class: DingSDK::Shared::FeedbackRequest

Inherits:
Crystalline::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/ding_sdk/models/shared/feedbackrequest.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(customer_uuid: nil, phone_number: nil, status: nil) ⇒ FeedbackRequest

Returns a new instance of FeedbackRequest.



23
24
25
26
27
# File 'lib/ding_sdk/models/shared/feedbackrequest.rb', line 23

def initialize(customer_uuid: nil, phone_number: nil, status: nil)
  @customer_uuid = customer_uuid
  @phone_number = phone_number
  @status = status
end

Instance Method Details

#==(other) ⇒ Object



29
30
31
32
33
34
35
# File 'lib/ding_sdk/models/shared/feedbackrequest.rb', line 29

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 @status == other.status
  true
end