Class: DingSDK::Models::Shared::FeedbackRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
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.



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

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



31
32
33
34
35
36
37
# File 'lib/ding_sdk/models/shared/feedbackrequest.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 @status == other.status
  true
end