<?php

/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
namespace Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdminV1alpha;

class GoogleAnalyticsAdminV1alphaAudienceSequenceFilter extends \Google\Site_Kit_Dependencies\Google\Collection
{
    /**
     * Scope is not specified.
     */
    public const SCOPE_AUDIENCE_FILTER_SCOPE_UNSPECIFIED = 'AUDIENCE_FILTER_SCOPE_UNSPECIFIED';
    /**
     * User joins the Audience if the filter condition is met within one event.
     */
    public const SCOPE_AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT = 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT';
    /**
     * User joins the Audience if the filter condition is met within one session.
     */
    public const SCOPE_AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION = 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION';
    /**
     * User joins the Audience if the filter condition is met by any event across
     * any session.
     */
    public const SCOPE_AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS = 'AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS';
    protected $collection_key = 'sequenceSteps';
    /**
     * Required. Immutable. Specifies the scope for this filter.
     *
     * @var string
     */
    public $scope;
    /**
     * Optional. Defines the time period in which the whole sequence must occur.
     *
     * @var string
     */
    public $sequenceMaximumDuration;
    protected $sequenceStepsType = \Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdminV1alpha\GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep::class;
    protected $sequenceStepsDataType = 'array';
    /**
     * Required. Immutable. Specifies the scope for this filter.
     *
     * Accepted values: AUDIENCE_FILTER_SCOPE_UNSPECIFIED,
     * AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT,
     * AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION,
     * AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS
     *
     * @param self::SCOPE_* $scope
     */
    public function setScope($scope)
    {
        $this->scope = $scope;
    }
    /**
     * @return self::SCOPE_*
     */
    public function getScope()
    {
        return $this->scope;
    }
    /**
     * Optional. Defines the time period in which the whole sequence must occur.
     *
     * @param string $sequenceMaximumDuration
     */
    public function setSequenceMaximumDuration($sequenceMaximumDuration)
    {
        $this->sequenceMaximumDuration = $sequenceMaximumDuration;
    }
    /**
     * @return string
     */
    public function getSequenceMaximumDuration()
    {
        return $this->sequenceMaximumDuration;
    }
    /**
     * Required. An ordered sequence of steps. A user must complete each step in
     * order to join the sequence filter.
     *
     * @param GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep[] $sequenceSteps
     */
    public function setSequenceSteps($sequenceSteps)
    {
        $this->sequenceSteps = $sequenceSteps;
    }
    /**
     * @return GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep[]
     */
    public function getSequenceSteps()
    {
        return $this->sequenceSteps;
    }
}
// Adding a class alias for backwards compatibility with the previous class name.
\class_alias(\Google\Site_Kit_Dependencies\Google\Service\GoogleAnalyticsAdminV1alpha\GoogleAnalyticsAdminV1alphaAudienceSequenceFilter::class, 'Google\\Site_Kit_Dependencies\\Google_Service_GoogleAnalyticsAdminV1alpha_GoogleAnalyticsAdminV1alphaAudienceSequenceFilter');
