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

Version Path
fastlane-2.226.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.225.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.224.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.223.1 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.223.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.222.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.221.1 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.221.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.220.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.219.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.218.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-security-patched-2.216.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.217.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.216.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.215.1 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.215.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-mercafacil-2.214.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.214.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.213.0 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
fastlane-2.212.2 spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb