Sha256: 4a6fd50dc7e9c9923e3065d599ba78b6662bb0787d4dca8de2174ff19917cf30

Contents?: true

Size: 1.14 KB

Versions: 9

Compression:

Stored size: 1.14 KB

Contents

require_relative './model'
module Spaceship
  module ConnectAPI
    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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fastlane-2.126.0.beta.20190606200048 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190605200119 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190604200017 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.125.2 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190603200020 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.125.1 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190602200102 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.126.0.beta.20190601200101 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.125.0 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb