Sha256: 2a976f624f7a9e50ee3244db869b16090d1a147a86a7458dbc131e8318ac4bec

Contents?: true

Size: 1.14 KB

Versions: 57

Compression:

Stored size: 1.14 KB

Contents

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

57 entries across 57 versions & 2 rubygems

Version Path
fastlane-2.129.0.beta.20190811200106 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190810200059 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190809200051 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190808200013 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190807200122 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190806200055 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190805200019 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190804200053 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190803200103 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190802200057 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190731200035 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190730200040 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190729200106 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190728200052 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190727200032 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190726200041 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.128.1 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190725200033 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.129.0.beta.20190723200012 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
fastlane-2.128.0 spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb