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

com.tencentcloudapi.bma.v20210624.models.ModifyCRWhiteListRequest Maven / Gradle / Ivy

There is a newer version: 3.1.978
Show newest version
/*
 * 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.bma.v20210624.models;

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

public class ModifyCRWhiteListRequest extends AbstractModel{

    /**
    * 该字段已废弃,白名单ID
    */
    @SerializedName("WhiteListId")
    @Expose
    private Long WhiteListId;

    /**
    * 该字段已废弃,平台名称
    */
    @SerializedName("PlatForm")
    @Expose
    private String PlatForm;

    /**
    * 该字段已废弃,平台站点链接
    */
    @SerializedName("PlatUrl")
    @Expose
    private String PlatUrl;

    /**
    * 该字段已废弃,作者ID
    */
    @SerializedName("AuthorId")
    @Expose
    private String AuthorId;

    /**
    * 该字段已废弃,作品ID
    */
    @SerializedName("WorksId")
    @Expose
    private Long WorksId;

    /**
    * 作品ID
    */
    @SerializedName("WorkId")
    @Expose
    private Long WorkId;

    /**
    * 白名单列表,以\n分割
    */
    @SerializedName("WhiteSites")
    @Expose
    private String WhiteSites;

    /**
     * Get 该字段已废弃,白名单ID 
     * @return WhiteListId 该字段已废弃,白名单ID
     */
    public Long getWhiteListId() {
        return this.WhiteListId;
    }

    /**
     * Set 该字段已废弃,白名单ID
     * @param WhiteListId 该字段已废弃,白名单ID
     */
    public void setWhiteListId(Long WhiteListId) {
        this.WhiteListId = WhiteListId;
    }

    /**
     * Get 该字段已废弃,平台名称 
     * @return PlatForm 该字段已废弃,平台名称
     */
    public String getPlatForm() {
        return this.PlatForm;
    }

    /**
     * Set 该字段已废弃,平台名称
     * @param PlatForm 该字段已废弃,平台名称
     */
    public void setPlatForm(String PlatForm) {
        this.PlatForm = PlatForm;
    }

    /**
     * Get 该字段已废弃,平台站点链接 
     * @return PlatUrl 该字段已废弃,平台站点链接
     */
    public String getPlatUrl() {
        return this.PlatUrl;
    }

    /**
     * Set 该字段已废弃,平台站点链接
     * @param PlatUrl 该字段已废弃,平台站点链接
     */
    public void setPlatUrl(String PlatUrl) {
        this.PlatUrl = PlatUrl;
    }

    /**
     * Get 该字段已废弃,作者ID 
     * @return AuthorId 该字段已废弃,作者ID
     */
    public String getAuthorId() {
        return this.AuthorId;
    }

    /**
     * Set 该字段已废弃,作者ID
     * @param AuthorId 该字段已废弃,作者ID
     */
    public void setAuthorId(String AuthorId) {
        this.AuthorId = AuthorId;
    }

    /**
     * Get 该字段已废弃,作品ID 
     * @return WorksId 该字段已废弃,作品ID
     */
    public Long getWorksId() {
        return this.WorksId;
    }

    /**
     * Set 该字段已废弃,作品ID
     * @param WorksId 该字段已废弃,作品ID
     */
    public void setWorksId(Long WorksId) {
        this.WorksId = WorksId;
    }

    /**
     * Get 作品ID 
     * @return WorkId 作品ID
     */
    public Long getWorkId() {
        return this.WorkId;
    }

    /**
     * Set 作品ID
     * @param WorkId 作品ID
     */
    public void setWorkId(Long WorkId) {
        this.WorkId = WorkId;
    }

    /**
     * Get 白名单列表,以\n分割 
     * @return WhiteSites 白名单列表,以\n分割
     */
    public String getWhiteSites() {
        return this.WhiteSites;
    }

    /**
     * Set 白名单列表,以\n分割
     * @param WhiteSites 白名单列表,以\n分割
     */
    public void setWhiteSites(String WhiteSites) {
        this.WhiteSites = WhiteSites;
    }

    public ModifyCRWhiteListRequest() {
    }

    /**
     * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
     *       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
     */
    public ModifyCRWhiteListRequest(ModifyCRWhiteListRequest source) {
        if (source.WhiteListId != null) {
            this.WhiteListId = new Long(source.WhiteListId);
        }
        if (source.PlatForm != null) {
            this.PlatForm = new String(source.PlatForm);
        }
        if (source.PlatUrl != null) {
            this.PlatUrl = new String(source.PlatUrl);
        }
        if (source.AuthorId != null) {
            this.AuthorId = new String(source.AuthorId);
        }
        if (source.WorksId != null) {
            this.WorksId = new Long(source.WorksId);
        }
        if (source.WorkId != null) {
            this.WorkId = new Long(source.WorkId);
        }
        if (source.WhiteSites != null) {
            this.WhiteSites = new String(source.WhiteSites);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "WhiteListId", this.WhiteListId);
        this.setParamSimple(map, prefix + "PlatForm", this.PlatForm);
        this.setParamSimple(map, prefix + "PlatUrl", this.PlatUrl);
        this.setParamSimple(map, prefix + "AuthorId", this.AuthorId);
        this.setParamSimple(map, prefix + "WorksId", this.WorksId);
        this.setParamSimple(map, prefix + "WorkId", this.WorkId);
        this.setParamSimple(map, prefix + "WhiteSites", this.WhiteSites);

    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy