Class: Spaceship::ConnectAPI::AppDataUsageCategory
- Inherits:
-
Object
- Object
- Spaceship::ConnectAPI::AppDataUsageCategory
- Includes:
- Model
- Defined in:
- spaceship/lib/spaceship/connect_api/models/app_data_usage_category.rb
Defined Under Namespace
Modules: ID
Instance Attribute Summary collapse
-
#deleted ⇒ Object
Returns the value of attribute deleted.
-
#grouping ⇒ Object
Returns the value of attribute grouping.
Attributes included from Model
Class Method Summary collapse
Methods included from Model
#attr_mapping, included, #initialize, #reverse_attr_mapping, #to_json, #update_attributes
Instance Attribute Details
#deleted ⇒ Object
Returns the value of attribute deleted.
7 8 9 |
# File 'spaceship/lib/spaceship/connect_api/models/app_data_usage_category.rb', line 7 def deleted @deleted end |
#grouping ⇒ Object
Returns the value of attribute grouping.
8 9 10 |
# File 'spaceship/lib/spaceship/connect_api/models/app_data_usage_category.rb', line 8 def grouping @grouping end |
Class Method Details
.all(filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object
API
59 60 61 62 |
# File 'spaceship/lib/spaceship/connect_api/models/app_data_usage_category.rb', line 59 def self.all(filter: {}, includes: nil, limit: nil, sort: nil) resps = Spaceship::ConnectAPI.get_app_data_usage_categories(filter: filter, includes: includes, limit: limit, sort: sort).all_pages return resps.flat_map(&:to_models) end |
.type ⇒ Object
51 52 53 |
# File 'spaceship/lib/spaceship/connect_api/models/app_data_usage_category.rb', line 51 def self.type return "appDataUsageCategories" end |