lib/purecloud/models/external_organization.rb in purecloud-0.44.1 vs lib/purecloud/models/external_organization.rb in purecloud-0.45.1

- old
+ new

@@ -43,10 +43,12 @@ attr_accessor :websites attr_accessor :tickers + attr_accessor :twitter_id + # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ attr_accessor :modify_date # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ attr_accessor :create_date @@ -85,10 +87,12 @@ :'websites' => :'websites', :'tickers' => :'tickers', + :'twitter_id' => :'twitterId', + :'modify_date' => :'modifyDate', :'create_date' => :'createDate', :'external_data_sources' => :'externalDataSources', @@ -112,10 +116,11 @@ :'employee_count' => :'Integer', :'revenue' => :'Integer', :'tags' => :'Array<String>', :'websites' => :'Array<String>', :'tickers' => :'Array<Ticker>', + :'twitter_id' => :'TwitterId', :'modify_date' => :'DateTime', :'create_date' => :'DateTime', :'external_data_sources' => :'Array<ExternalDataSource>', :'self_uri' => :'String' @@ -185,10 +190,14 @@ if (value = attributes[:'tickers']).is_a?(Array) self.tickers = value end end + if attributes[:'twitterId'] + self.twitter_id = attributes[:'twitterId'] + end + if attributes[:'modifyDate'] self.modify_date = attributes[:'modifyDate'] end if attributes[:'createDate'] @@ -222,10 +231,11 @@ employee_count == o.employee_count && revenue == o.revenue && tags == o.tags && websites == o.websites && tickers == o.tickers && + twitter_id == o.twitter_id && modify_date == o.modify_date && create_date == o.create_date && external_data_sources == o.external_data_sources && self_uri == o.self_uri end @@ -235,10 +245,10 @@ self == o end # Calculate hash code according to all attributes. def hash - [id, name, company_type, industry, primary_contact_id, address, phone_number, fax_number, employee_count, revenue, tags, websites, tickers, modify_date, create_date, external_data_sources, self_uri].hash + [id, name, company_type, industry, primary_contact_id, address, phone_number, fax_number, employee_count, revenue, tags, websites, tickers, twitter_id, modify_date, create_date, external_data_sources, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)