lib/ultracart_api/models/report.rb in ultracart_api-3.10.130 vs lib/ultracart_api/models/report.rb in ultracart_api-3.10.131
- old
+ new
@@ -20,12 +20,10 @@
attr_accessor :default_dataset_id
attr_accessor :default_project_id
- attr_accessor :filters
-
attr_accessor :merchant_id
attr_accessor :name
attr_accessor :pages
@@ -63,11 +61,10 @@
{
:'active' => :'active',
:'data_sources' => :'data_sources',
:'default_dataset_id' => :'default_dataset_id',
:'default_project_id' => :'default_project_id',
- :'filters' => :'filters',
:'merchant_id' => :'merchant_id',
:'name' => :'name',
:'pages' => :'pages',
:'report_oid' => :'report_oid',
:'security_level' => :'security_level'
@@ -79,11 +76,10 @@
{
:'active' => :'BOOLEAN',
:'data_sources' => :'Array<ReportDataSource>',
:'default_dataset_id' => :'String',
:'default_project_id' => :'String',
- :'filters' => :'Array<ReportFilter>',
:'merchant_id' => :'String',
:'name' => :'String',
:'pages' => :'Array<ReportPage>',
:'report_oid' => :'Integer',
:'security_level' => :'String'
@@ -114,16 +110,10 @@
if attributes.has_key?(:'default_project_id')
self.default_project_id = attributes[:'default_project_id']
end
- if attributes.has_key?(:'filters')
- if (value = attributes[:'filters']).is_a?(Array)
- self.filters = value
- end
- end
-
if attributes.has_key?(:'merchant_id')
self.merchant_id = attributes[:'merchant_id']
end
if attributes.has_key?(:'name')
@@ -177,11 +167,10 @@
self.class == o.class &&
active == o.active &&
data_sources == o.data_sources &&
default_dataset_id == o.default_dataset_id &&
default_project_id == o.default_project_id &&
- filters == o.filters &&
merchant_id == o.merchant_id &&
name == o.name &&
pages == o.pages &&
report_oid == o.report_oid &&
security_level == o.security_level
@@ -194,10 +183,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [active, data_sources, default_dataset_id, default_project_id, filters, merchant_id, name, pages, report_oid, security_level].hash
+ [active, data_sources, default_dataset_id, default_project_id, merchant_id, name, pages, report_oid, security_level].hash
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself