Class: DingSDK::Models::Shared::CreateAuthenticationRequest
- Inherits:
-
Object
- Object
- DingSDK::Models::Shared::CreateAuthenticationRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/ding_sdk/models/shared/createauthenticationrequest.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(customer_uuid: nil, phone_number: nil, app_realm: nil, app_version: nil, callback_url: nil, correlation_id: nil, device_id: nil, device_model: nil, device_type: nil, ip: nil, is_returning_user: nil, locale: nil, os_version: nil, sender_id: nil, template_id: nil) ⇒ CreateAuthenticationRequest
constructor
A new instance of CreateAuthenticationRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(customer_uuid: nil, phone_number: nil, app_realm: nil, app_version: nil, callback_url: nil, correlation_id: nil, device_id: nil, device_model: nil, device_type: nil, ip: nil, is_returning_user: nil, locale: nil, os_version: nil, sender_id: nil, template_id: nil) ⇒ CreateAuthenticationRequest
Returns a new instance of CreateAuthenticationRequest.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/ding_sdk/models/shared/createauthenticationrequest.rb', line 49 def initialize(customer_uuid: nil, phone_number: nil, app_realm: nil, app_version: nil, callback_url: nil, correlation_id: nil, device_id: nil, device_model: nil, device_type: nil, ip: nil, is_returning_user: nil, locale: nil, os_version: nil, sender_id: nil, template_id: nil) @customer_uuid = customer_uuid @phone_number = phone_number @app_realm = app_realm @app_version = app_version @callback_url = callback_url @correlation_id = correlation_id @device_id = device_id @device_model = device_model @device_type = device_type @ip = ip @is_returning_user = is_returning_user @locale = locale @os_version = os_version @sender_id = sender_id @template_id = template_id end |
Instance Method Details
#==(other) ⇒ Object
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/ding_sdk/models/shared/createauthenticationrequest.rb', line 67 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 @app_realm == other.app_realm return false unless @app_version == other.app_version return false unless @callback_url == other.callback_url return false unless @correlation_id == other.correlation_id return false unless @device_id == other.device_id return false unless @device_model == other.device_model return false unless @device_type == other.device_type return false unless @ip == other.ip return false unless @is_returning_user == other.is_returning_user return false unless @locale == other.locale return false unless @os_version == other.os_version return false unless @sender_id == other.sender_id return false unless @template_id == other.template_id true end |