lib/purecloudplatformclientv2/models/external_contact.rb in purecloudplatformclientv2-22.0.0 vs lib/purecloudplatformclientv2/models/external_contact.rb in purecloudplatformclientv2-23.0.0

- old
+ new

@@ -59,10 +59,12 @@ attr_accessor :external_organization attr_accessor :survey_opt_out + attr_accessor :external_system_url + # Links to the sources of data (e.g. one source might be a CRM) that contributed data to this record. Read-only, and only populated when requested via expand param. attr_accessor :external_data_sources # The URI for this object attr_accessor :self_uri @@ -107,10 +109,12 @@ :'external_organization' => :'externalOrganization', :'survey_opt_out' => :'surveyOptOut', + :'external_system_url' => :'externalSystemUrl', + :'external_data_sources' => :'externalDataSources', :'self_uri' => :'selfUri' } @@ -156,10 +160,12 @@ :'external_organization' => :'ExternalOrganization', :'survey_opt_out' => :'BOOLEAN', + :'external_system_url' => :'String', + :'external_data_sources' => :'Array<ExternalDataSource>', :'self_uri' => :'String' } @@ -343,10 +349,19 @@ end + if attributes.has_key?(:'externalSystemUrl') + + + self.external_system_url = attributes[:'externalSystemUrl'] + + + end + + if attributes.has_key?(:'externalDataSources') if (value = attributes[:'externalDataSources']).is_a?(Array) self.external_data_sources = value end @@ -472,10 +487,14 @@ + + + + end @@ -580,10 +599,15 @@ + + + + + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) return true if self.equal?(o) self.class == o.class && @@ -604,10 +628,11 @@ twitter_id == o.twitter_id && modify_date == o.modify_date && create_date == o.create_date && external_organization == o.external_organization && survey_opt_out == o.survey_opt_out && + external_system_url == o.external_system_url && external_data_sources == o.external_data_sources && self_uri == o.self_uri end # @see the `==` method @@ -617,10 +642,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [id, first_name, middle_name, last_name, salutation, title, work_phone, cell_phone, home_phone, other_phone, work_email, personal_email, other_email, address, twitter_id, modify_date, create_date, external_organization, survey_opt_out, external_data_sources, self_uri].hash + [id, first_name, middle_name, last_name, salutation, title, work_phone, cell_phone, home_phone, other_phone, work_email, personal_email, other_email, address, twitter_id, modify_date, create_date, external_organization, survey_opt_out, external_system_url, external_data_sources, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)