Sha256: a7954dc6fc3d6beceab0244d9fe59808400fcf53c514ee2eaf87fa44bce9d933

Contents?: true

Size: 1.23 KB

Versions: 16

Compression:

Stored size: 1.23 KB

Contents

require_relative '../../model'
module Spaceship
  module ConnectAPI
    module TestFlight
      class BetaTesterMetric
        include Spaceship::ConnectAPI::Model

        attr_accessor :install_count
        attr_accessor :crash_count
        attr_accessor :session_count
        attr_accessor :beta_tester_state
        attr_accessor :last_modified_date
        attr_accessor :installed_cf_bundle_short_version_string
        attr_accessor :installed_cf_bundle_version

        attr_mapping({
          "installCount" => "install_count",
          "crashCount" => "crash_count",
          "sessionCount" => "session_count",
          "betaTesterState" => "beta_tester_state",
          "lastModifiedDate" => "last_modified_date",
          "installedCfBundleShortVersionString" => "installed_cf_bundle_short_version_string",
          "installedCfBundleVersion" => "installed_cf_bundle_version"
        })

        module BetaTesterState
          INSTALLED = "INSTALLED"
          NO_BUILDS = "NO_BUILDS"
        end

        def self.type
          return "betaTesterMetrics"
        end

        #
        # Helpers
        #

        def installed?
          return beta_tester_state == BetaTesterState::INSTALLED
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
fastlane-2.126.0.beta.20190623200100 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190622200100 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190621200104 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190620200055 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190619200046 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190618200051 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190617200114 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190616200045 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190615200013 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190614200105 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190613200017 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190611200027 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190610200032 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190609200013 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190608200023 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190607200028 spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb