All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.cdn.v20180606.models.ScdnAclGroup Maven / Gradle / Ivy

/*
 * 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.
 */
package com.tencentcloudapi.cdn.v20180606.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class ScdnAclGroup extends AbstractModel{

    /**
    * 规则名称
    */
    @SerializedName("RuleName")
    @Expose
    private String RuleName;

    /**
    * 具体配置
    */
    @SerializedName("Configure")
    @Expose
    private ScdnAclRule [] Configure;

    /**
    * 规则行为,一般为refuse
    */
    @SerializedName("Result")
    @Expose
    private String Result;

    /**
    * 规则是否生效中active|inactive
    */
    @SerializedName("Status")
    @Expose
    private String Status;

    /**
     * Get 规则名称 
     * @return RuleName 规则名称
     */
    public String getRuleName() {
        return this.RuleName;
    }

    /**
     * Set 规则名称
     * @param RuleName 规则名称
     */
    public void setRuleName(String RuleName) {
        this.RuleName = RuleName;
    }

    /**
     * Get 具体配置 
     * @return Configure 具体配置
     */
    public ScdnAclRule [] getConfigure() {
        return this.Configure;
    }

    /**
     * Set 具体配置
     * @param Configure 具体配置
     */
    public void setConfigure(ScdnAclRule [] Configure) {
        this.Configure = Configure;
    }

    /**
     * Get 规则行为,一般为refuse 
     * @return Result 规则行为,一般为refuse
     */
    public String getResult() {
        return this.Result;
    }

    /**
     * Set 规则行为,一般为refuse
     * @param Result 规则行为,一般为refuse
     */
    public void setResult(String Result) {
        this.Result = Result;
    }

    /**
     * Get 规则是否生效中active|inactive 
     * @return Status 规则是否生效中active|inactive
     */
    public String getStatus() {
        return this.Status;
    }

    /**
     * Set 规则是否生效中active|inactive
     * @param Status 规则是否生效中active|inactive
     */
    public void setStatus(String Status) {
        this.Status = Status;
    }

    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "RuleName", this.RuleName);
        this.setParamArrayObj(map, prefix + "Configure.", this.Configure);
        this.setParamSimple(map, prefix + "Result", this.Result);
        this.setParamSimple(map, prefix + "Status", this.Status);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy