lib/ultracart_api/models/report.rb in ultracart_api-4.0.147 vs lib/ultracart_api/models/report.rb in ultracart_api-4.0.148
- old
+ new
@@ -21,12 +21,10 @@
attr_accessor :default_dataset_id
attr_accessor :default_project_id
- attr_accessor :filters
-
attr_accessor :merchant_id
attr_accessor :name
attr_accessor :pages
@@ -64,11 +62,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'
@@ -85,11 +82,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'
@@ -133,16 +129,10 @@
if attributes.key?(:'default_project_id')
self.default_project_id = attributes[:'default_project_id']
end
- if attributes.key?(:'filters')
- if (value = attributes[:'filters']).is_a?(Array)
- self.filters = value
- end
- end
-
if attributes.key?(:'merchant_id')
self.merchant_id = attributes[:'merchant_id']
end
if attributes.key?(:'name')
@@ -196,11 +186,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
@@ -213,10 +202,10 @@
end
# Calculates hash code according to all attributes.
# @return [Integer] 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