Class: OpenApiSDK::Models::Operations::RejectPartnerApplicationRequestBody
- Inherits:
-
Object
- Object
- OpenApiSDK::Models::Operations::RejectPartnerApplicationRequestBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/open_api_sdk/models/operations/rejectpartnerapplication_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(partner_id:, rejection_reason: nil, rejection_note: nil, flag_for_fraud: nil, flag_for_fraud_reason: nil, reapplication_timeframe: Models::Operations::ReapplicationTimeframe::STANDARD) ⇒ RejectPartnerApplicationRequestBody
constructor
A new instance of RejectPartnerApplicationRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(partner_id:, rejection_reason: nil, rejection_note: nil, flag_for_fraud: nil, flag_for_fraud_reason: nil, reapplication_timeframe: Models::Operations::ReapplicationTimeframe::STANDARD) ⇒ RejectPartnerApplicationRequestBody
Returns a new instance of RejectPartnerApplicationRequestBody.
29 30 31 32 33 34 35 36 |
# File 'lib/open_api_sdk/models/operations/rejectpartnerapplication_requestbody.rb', line 29 def initialize(partner_id:, rejection_reason: nil, rejection_note: nil, flag_for_fraud: nil, flag_for_fraud_reason: nil, reapplication_timeframe: Models::Operations::ReapplicationTimeframe::STANDARD) @partner_id = partner_id @rejection_reason = rejection_reason @rejection_note = rejection_note @flag_for_fraud = flag_for_fraud @flag_for_fraud_reason = flag_for_fraud_reason @reapplication_timeframe = reapplication_timeframe end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/open_api_sdk/models/operations/rejectpartnerapplication_requestbody.rb', line 39 def ==(other) return false unless other.is_a? self.class return false unless @partner_id == other.partner_id return false unless @rejection_reason == other.rejection_reason return false unless @rejection_note == other.rejection_note return false unless @flag_for_fraud == other.flag_for_fraud return false unless @flag_for_fraud_reason == other.flag_for_fraud_reason return false unless @reapplication_timeframe == other.reapplication_timeframe true end |