<?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\PeopleService;

class ModifyContactGroupMembersRequest extends \Google\Site_Kit_Dependencies\Google\Collection
{
    protected $collection_key = 'resourceNamesToRemove';
    /**
     * Optional. The resource names of the contact people to add in the form of
     * `people/{person_id}`. The total number of resource names in
     * `resource_names_to_add` and `resource_names_to_remove` must be less than or
     * equal to 1000.
     *
     * @var string[]
     */
    public $resourceNamesToAdd;
    /**
     * Optional. The resource names of the contact people to remove in the form of
     * `people/{person_id}`. The total number of resource names in
     * `resource_names_to_add` and `resource_names_to_remove` must be less than or
     * equal to 1000.
     *
     * @var string[]
     */
    public $resourceNamesToRemove;
    /**
     * Optional. The resource names of the contact people to add in the form of
     * `people/{person_id}`. The total number of resource names in
     * `resource_names_to_add` and `resource_names_to_remove` must be less than or
     * equal to 1000.
     *
     * @param string[] $resourceNamesToAdd
     */
    public function setResourceNamesToAdd($resourceNamesToAdd)
    {
        $this->resourceNamesToAdd = $resourceNamesToAdd;
    }
    /**
     * @return string[]
     */
    public function getResourceNamesToAdd()
    {
        return $this->resourceNamesToAdd;
    }
    /**
     * Optional. The resource names of the contact people to remove in the form of
     * `people/{person_id}`. The total number of resource names in
     * `resource_names_to_add` and `resource_names_to_remove` must be less than or
     * equal to 1000.
     *
     * @param string[] $resourceNamesToRemove
     */
    public function setResourceNamesToRemove($resourceNamesToRemove)
    {
        $this->resourceNamesToRemove = $resourceNamesToRemove;
    }
    /**
     * @return string[]
     */
    public function getResourceNamesToRemove()
    {
        return $this->resourceNamesToRemove;
    }
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ModifyContactGroupMembersRequest::class, 'Google\Site_Kit_Dependencies\Google_Service_PeopleService_ModifyContactGroupMembersRequest');
