Sha256: 1d84d6467111cd525b076efcbedd79d2ee1b0822c94a8835f19dce7454e4df50

Contents?: true

Size: 1.16 KB

Versions: 170

Compression:

Stored size: 1.16 KB

Contents

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

      attr_accessor :name
      attr_accessor :created_date
      attr_accessor :is_internal_group
      attr_accessor :public_link_enabled
      attr_accessor :public_link_id
      attr_accessor :public_link_limit_enabled
      attr_accessor :public_link_limit
      attr_accessor :public_link

      attr_mapping({
        "name" => "name",
        "createdDate" => "created_date",
        "isInternalGroup" => "is_internal_group",
        "publicLinkEnabled" => "public_link_enabled",
        "publicLinkId" => "public_link_id",
        "publicLinkLimitEnabled" => "public_link_limit_enabled",
        "publicLinkLimit" => "public_link_limit",
        "publicLink" => "public_link"
      })

      def self.type
        return "betaGroups"
      end

      #
      # API
      #

      # beta_testers - [{email: "", firstName: "", lastName: ""}]
      def post_bulk_beta_tester_assignments(beta_testers: nil)
        return Spaceship::ConnectAPI.post_bulk_beta_tester_assignments(beta_group_id: id, beta_testers: beta_testers)
      end
    end
  end
end

Version data entries

170 entries across 170 versions & 2 rubygems

Version Path
fastlane-2.148.1 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.148.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.147.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.146.1 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.146.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.145.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.144.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.143.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.142.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.141.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.140.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.139.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.138.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.137.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.136.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.135.2 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.135.1 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.135.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.134.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb
fastlane-2.133.0 spaceship/lib/spaceship/connect_api/models/beta_group.rb