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

com.tencentcloudapi.rum.v20210622.models.ModifyProjectRequest 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.rum.v20210622.models;

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

public class ModifyProjectRequest extends AbstractModel{

    /**
    * 项目 id
    */
    @SerializedName("ID")
    @Expose
    private Long ID;

    /**
    * 项目名(可选,不为空且最长为 200)
    */
    @SerializedName("Name")
    @Expose
    private String Name;

    /**
    * 项目网页地址(可选,最长为 256)
    */
    @SerializedName("URL")
    @Expose
    private String URL;

    /**
    * 项目仓库地址(可选,最长为 256)
    */
    @SerializedName("Repo")
    @Expose
    private String Repo;

    /**
    * 项目需要转移到的实例 id(可选)
    */
    @SerializedName("InstanceID")
    @Expose
    private String InstanceID;

    /**
    * 项目采样率(可选)
    */
    @SerializedName("Rate")
    @Expose
    private String Rate;

    /**
    * 是否开启聚类(可选)
    */
    @SerializedName("EnableURLGroup")
    @Expose
    private Long EnableURLGroup;

    /**
    * 项目类型(可接受值为 "web", "mp", "android", "ios", "node", "hippy", "weex", "viola", "rn")
    */
    @SerializedName("Type")
    @Expose
    private String Type;

    /**
    * 项目描述(可选,最长为 1000)
    */
    @SerializedName("Desc")
    @Expose
    private String Desc;

    /**
     * Get 项目 id 
     * @return ID 项目 id
     */
    public Long getID() {
        return this.ID;
    }

    /**
     * Set 项目 id
     * @param ID 项目 id
     */
    public void setID(Long ID) {
        this.ID = ID;
    }

    /**
     * Get 项目名(可选,不为空且最长为 200) 
     * @return Name 项目名(可选,不为空且最长为 200)
     */
    public String getName() {
        return this.Name;
    }

    /**
     * Set 项目名(可选,不为空且最长为 200)
     * @param Name 项目名(可选,不为空且最长为 200)
     */
    public void setName(String Name) {
        this.Name = Name;
    }

    /**
     * Get 项目网页地址(可选,最长为 256) 
     * @return URL 项目网页地址(可选,最长为 256)
     */
    public String getURL() {
        return this.URL;
    }

    /**
     * Set 项目网页地址(可选,最长为 256)
     * @param URL 项目网页地址(可选,最长为 256)
     */
    public void setURL(String URL) {
        this.URL = URL;
    }

    /**
     * Get 项目仓库地址(可选,最长为 256) 
     * @return Repo 项目仓库地址(可选,最长为 256)
     */
    public String getRepo() {
        return this.Repo;
    }

    /**
     * Set 项目仓库地址(可选,最长为 256)
     * @param Repo 项目仓库地址(可选,最长为 256)
     */
    public void setRepo(String Repo) {
        this.Repo = Repo;
    }

    /**
     * Get 项目需要转移到的实例 id(可选) 
     * @return InstanceID 项目需要转移到的实例 id(可选)
     */
    public String getInstanceID() {
        return this.InstanceID;
    }

    /**
     * Set 项目需要转移到的实例 id(可选)
     * @param InstanceID 项目需要转移到的实例 id(可选)
     */
    public void setInstanceID(String InstanceID) {
        this.InstanceID = InstanceID;
    }

    /**
     * Get 项目采样率(可选) 
     * @return Rate 项目采样率(可选)
     */
    public String getRate() {
        return this.Rate;
    }

    /**
     * Set 项目采样率(可选)
     * @param Rate 项目采样率(可选)
     */
    public void setRate(String Rate) {
        this.Rate = Rate;
    }

    /**
     * Get 是否开启聚类(可选) 
     * @return EnableURLGroup 是否开启聚类(可选)
     */
    public Long getEnableURLGroup() {
        return this.EnableURLGroup;
    }

    /**
     * Set 是否开启聚类(可选)
     * @param EnableURLGroup 是否开启聚类(可选)
     */
    public void setEnableURLGroup(Long EnableURLGroup) {
        this.EnableURLGroup = EnableURLGroup;
    }

    /**
     * Get 项目类型(可接受值为 "web", "mp", "android", "ios", "node", "hippy", "weex", "viola", "rn") 
     * @return Type 项目类型(可接受值为 "web", "mp", "android", "ios", "node", "hippy", "weex", "viola", "rn")
     */
    public String getType() {
        return this.Type;
    }

    /**
     * Set 项目类型(可接受值为 "web", "mp", "android", "ios", "node", "hippy", "weex", "viola", "rn")
     * @param Type 项目类型(可接受值为 "web", "mp", "android", "ios", "node", "hippy", "weex", "viola", "rn")
     */
    public void setType(String Type) {
        this.Type = Type;
    }

    /**
     * Get 项目描述(可选,最长为 1000) 
     * @return Desc 项目描述(可选,最长为 1000)
     */
    public String getDesc() {
        return this.Desc;
    }

    /**
     * Set 项目描述(可选,最长为 1000)
     * @param Desc 项目描述(可选,最长为 1000)
     */
    public void setDesc(String Desc) {
        this.Desc = Desc;
    }

    public ModifyProjectRequest() {
    }

    /**
     * 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 ModifyProjectRequest(ModifyProjectRequest source) {
        if (source.ID != null) {
            this.ID = new Long(source.ID);
        }
        if (source.Name != null) {
            this.Name = new String(source.Name);
        }
        if (source.URL != null) {
            this.URL = new String(source.URL);
        }
        if (source.Repo != null) {
            this.Repo = new String(source.Repo);
        }
        if (source.InstanceID != null) {
            this.InstanceID = new String(source.InstanceID);
        }
        if (source.Rate != null) {
            this.Rate = new String(source.Rate);
        }
        if (source.EnableURLGroup != null) {
            this.EnableURLGroup = new Long(source.EnableURLGroup);
        }
        if (source.Type != null) {
            this.Type = new String(source.Type);
        }
        if (source.Desc != null) {
            this.Desc = new String(source.Desc);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "ID", this.ID);
        this.setParamSimple(map, prefix + "Name", this.Name);
        this.setParamSimple(map, prefix + "URL", this.URL);
        this.setParamSimple(map, prefix + "Repo", this.Repo);
        this.setParamSimple(map, prefix + "InstanceID", this.InstanceID);
        this.setParamSimple(map, prefix + "Rate", this.Rate);
        this.setParamSimple(map, prefix + "EnableURLGroup", this.EnableURLGroup);
        this.setParamSimple(map, prefix + "Type", this.Type);
        this.setParamSimple(map, prefix + "Desc", this.Desc);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy