Sha256: 8f4c34219b9bebd005b4aac5b6247777ced4280230b4e276a356d0fcd7ce993f
Contents?: true
Size: 1013 Bytes
Versions: 86
Compression:
Stored size: 1013 Bytes
Contents
require_relative '../model' module Spaceship class ConnectAPI class AppDataUsagePurpose include Spaceship::ConnectAPI::Model attr_accessor :deleted attr_mapping({ "deleted" => "deleted" }) # Found at https://appstoreconnect.apple.com/iris/v1/appDataUsagePurposes module ID THIRD_PARTY_ADVERTISING = "THIRD_PARTY_ADVERTISING" DEVELOPERS_ADVERTISING = "DEVELOPERS_ADVERTISING" ANALYTICS = "ANALYTICS" PRODUCT_PERSONALIZATION = "PRODUCT_PERSONALIZATION" APP_FUNCTIONALITY = "APP_FUNCTIONALITY" OTHER_PURPOSES = "OTHER_PURPOSES" end def self.type return "appDataUsagePurposes" end # # API # def self.all(filter: {}, includes: nil, limit: nil, sort: nil) resps = Spaceship::ConnectAPI.get_app_data_usage_purposes(filter: filter, includes: includes, limit: limit, sort: sort).all_pages return resps.flat_map(&:to_models) end end end end
Version data entries
86 entries across 86 versions & 4 rubygems