<?php
/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * 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 TencentCloud\Gs\V20191118\Models;
use TencentCloud\Common\AbstractModel;

/**
 * ModifyWorkers请求参数结构体
 *
 * @method array getInstanceIds() 获取批量机器ID，最多不超过100个
 * @method void setInstanceIds(array $InstanceIds) 设置批量机器ID，最多不超过100个
 * @method integer getSetNo() 获取资源池编号，修改有效范围为[1,100]，在idle状态下才能修改成功
 * @method void setSetNo(integer $SetNo) 设置资源池编号，修改有效范围为[1,100]，在idle状态下才能修改成功
 */
class ModifyWorkersRequest extends AbstractModel
{
    /**
     * @var array 批量机器ID，最多不超过100个
     */
    public $InstanceIds;

    /**
     * @var integer 资源池编号，修改有效范围为[1,100]，在idle状态下才能修改成功
     */
    public $SetNo;

    /**
     * @param array $InstanceIds 批量机器ID，最多不超过100个
     * @param integer $SetNo 资源池编号，修改有效范围为[1,100]，在idle状态下才能修改成功
     */
    function __construct()
    {

    }

    /**
     * For internal only. DO NOT USE IT.
     */
    public function deserialize($param)
    {
        if ($param === null) {
            return;
        }
        if (array_key_exists("InstanceIds",$param) and $param["InstanceIds"] !== null) {
            $this->InstanceIds = $param["InstanceIds"];
        }

        if (array_key_exists("SetNo",$param) and $param["SetNo"] !== null) {
            $this->SetNo = $param["SetNo"];
        }
    }
}
