Method: PureCloud::Script#==

Defined in:
lib/purecloud/models/script.rb

#==(o) ⇒ Object

Check equality by comparing each attribute.



179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# File 'lib/purecloud/models/script.rb', line 179

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      version_id == o.version_id &&
      created_date == o.created_date &&
      modified_date == o.modified_date &&
      published_date == o.published_date &&
      version_date == o.version_date &&
      start_page_id == o.start_page_id &&
      start_page_name == o.start_page_name &&
      features == o.features &&
      variables == o.variables &&
      custom_actions == o.custom_actions &&
      pages == o.pages &&
      self_uri == o.self_uri
end