Sha256: c6ba200fcc8a05e5cbdd6f77951d1d15dc1ca0f41cd45ae48ae8ce558cf3afcd

Contents?: true

Size: 1.15 KB

Versions: 48

Compression:

Stored size: 1.15 KB

Contents

require_relative '../model'

module Spaceship
  class ConnectAPI
    class ReviewSubmissionItem
      include Spaceship::ConnectAPI::Model

      attr_accessor :state

      attr_accessor :app_store_version_experiment
      attr_accessor :app_store_version
      attr_accessor :app_store_product_page_version
      attr_accessor :app_event

      attr_mapping({
         "state" =>  "state",

         "appStoreVersionExperiment" => "app_store_version_experiment",
         "appStoreVersion" => "app_store_version",
         "appCustomProductPageVersion" => "app_store_product_page_version",
         "appEvent" => "app_event",
       })

      def self.type
        return "reviewSubmissionItems"
      end

      #
      # API
      #

      # appCustomProductPageVersion,appEvent,appStoreVersion,appStoreVersionExperiment
      def self.all(client: nil, review_submission_id:, includes: nil, limit: nil, sort: nil)
        client ||= Spaceship::ConnectAPI
        resps = client.get_review_submission_items(review_submission_id: review_submission_id, includes: includes, limit: limit, sort: sort).all_pages
        return resps.flat_map(&:to_models)
      end
    end
  end
end

Version data entries

48 entries across 48 versions & 4 rubygems

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