Sha256: 6f5a105abbb3b5ab77497a3a385de72a60e3ed87d1acefb3542d30feec81f107

Contents?: true

Size: 1.71 KB

Versions: 118

Compression:

Stored size: 1.71 KB

Contents

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

      attr_accessor :auto_notify_enabled
      attr_accessor :did_notify
      attr_accessor :internal_build_state
      attr_accessor :external_build_state

      module InternalState
        PROCESSING_EXCEPTION = "PROCESSING_EXCEPTION"
        MISSING_EXPORT_COMPLIANCE = "MISSING_EXPORT_COMPLIANCE"
        READY_FOR_BETA_TESTING = "READY_FOR_BETA_TESTING"
        IN_BETA_TESTING = "IN_BETA_TESTING"
        EXPIRED = "EXPIRED"
        IN_EXPORT_COMPLIANCE_REVIEW = "IN_EXPORT_COMPLIANCE_REVIEW"
      end

      module ExternalState
        PROCESSING = "PROCESSING"
        PROCESSING_EXCEPTION = "PROCESSING_EXCEPTION"
        MISSING_EXPORT_COMPLIANCE = "MISSING_EXPORT_COMPLIANCE"
        READY_FOR_BETA_TESTING = "READY_FOR_BETA_TESTING"
        IN_BETA_TESTING = "IN_BETA_TESTING"
        EXPIRED = "EXPIRED"
        READY_FOR_BETA_SUBMISSION = "READY_FOR_BETA_SUBMISSION"
        IN_EXPORT_COMPLIANCE_REVIEW = "IN_EXPORT_COMPLIANCE_REVIEW"
        WAITING_FOR_BETA_REVIEW = "WAITING_FOR_BETA_REVIEW"
        IN_BETA_REVIEW = "IN_BETA_REVIEW"
        BETA_REJECTED = "BETA_REJECTED"
        BETA_APPROVED = "BETA_APPROVED"
      end

      attr_mapping({
        "autoNotifyEnabled" => "auto_notify_enabled",
        "didNotify" => "did_notify",
        "internalBuildState" => "internal_build_state",
        "externalBuildState" => "external_build_state"
      })

      def self.type
        return "buildBetaDetails"
      end

      #
      # Helpers
      #

      def ready_for_beta_submission?
        return external_build_state == ExternalState::READY_FOR_BETA_SUBMISSION
      end
    end
  end
end

Version data entries

118 entries across 118 versions & 2 rubygems

Version Path
fastlane-2.128.0 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.128.0.beta.20190722200021 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.128.0.beta.20190721200024 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.128.0.beta.20190720200049 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane_iac_publish-0.1.5 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.127.2 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.128.0.beta.20190719200019 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.128.0.beta.20190718200101 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.128.0.beta.20190717200026 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.128.0.beta.20190716200022 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.128.0.beta.20190715200056 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.128.0.beta.20190714200028 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.128.0.beta.20190713200107 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.128.0.beta.20190712200059 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.128.0.beta.20190711200117 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.127.1 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.128.0.beta.20190710200106 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.127.0 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.127.0.beta.20190709200015 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
fastlane-2.127.0.beta.20190708200031 spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb