com.tencentcloudapi.tcmpp.v20240801.models.CreateMNPRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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.tcmpp.v20240801.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CreateMNPRequest extends AbstractModel {
/**
* Mini program type
*/
@SerializedName("MNPType")
@Expose
private String MNPType;
/**
* Mini program name
*/
@SerializedName("MNPName")
@Expose
private String MNPName;
/**
* Mini app icon
*/
@SerializedName("MNPIcon")
@Expose
private String MNPIcon;
/**
* Mini program introduction
*/
@SerializedName("MNPIntro")
@Expose
private String MNPIntro;
/**
* Mini program description
*/
@SerializedName("MNPDesc")
@Expose
private String MNPDesc;
/**
* Platform ID
*/
@SerializedName("PlatformId")
@Expose
private String PlatformId;
/**
* Team ID
*/
@SerializedName("TeamId")
@Expose
private String TeamId;
/**
* Get Mini program type
* @return MNPType Mini program type
*/
public String getMNPType() {
return this.MNPType;
}
/**
* Set Mini program type
* @param MNPType Mini program type
*/
public void setMNPType(String MNPType) {
this.MNPType = MNPType;
}
/**
* Get Mini program name
* @return MNPName Mini program name
*/
public String getMNPName() {
return this.MNPName;
}
/**
* Set Mini program name
* @param MNPName Mini program name
*/
public void setMNPName(String MNPName) {
this.MNPName = MNPName;
}
/**
* Get Mini app icon
* @return MNPIcon Mini app icon
*/
public String getMNPIcon() {
return this.MNPIcon;
}
/**
* Set Mini app icon
* @param MNPIcon Mini app icon
*/
public void setMNPIcon(String MNPIcon) {
this.MNPIcon = MNPIcon;
}
/**
* Get Mini program introduction
* @return MNPIntro Mini program introduction
*/
public String getMNPIntro() {
return this.MNPIntro;
}
/**
* Set Mini program introduction
* @param MNPIntro Mini program introduction
*/
public void setMNPIntro(String MNPIntro) {
this.MNPIntro = MNPIntro;
}
/**
* Get Mini program description
* @return MNPDesc Mini program description
*/
public String getMNPDesc() {
return this.MNPDesc;
}
/**
* Set Mini program description
* @param MNPDesc Mini program description
*/
public void setMNPDesc(String MNPDesc) {
this.MNPDesc = MNPDesc;
}
/**
* Get Platform ID
* @return PlatformId Platform ID
*/
public String getPlatformId() {
return this.PlatformId;
}
/**
* Set Platform ID
* @param PlatformId Platform ID
*/
public void setPlatformId(String PlatformId) {
this.PlatformId = PlatformId;
}
/**
* Get Team ID
* @return TeamId Team ID
*/
public String getTeamId() {
return this.TeamId;
}
/**
* Set Team ID
* @param TeamId Team ID
*/
public void setTeamId(String TeamId) {
this.TeamId = TeamId;
}
public CreateMNPRequest() {
}
/**
* 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 CreateMNPRequest(CreateMNPRequest source) {
if (source.MNPType != null) {
this.MNPType = new String(source.MNPType);
}
if (source.MNPName != null) {
this.MNPName = new String(source.MNPName);
}
if (source.MNPIcon != null) {
this.MNPIcon = new String(source.MNPIcon);
}
if (source.MNPIntro != null) {
this.MNPIntro = new String(source.MNPIntro);
}
if (source.MNPDesc != null) {
this.MNPDesc = new String(source.MNPDesc);
}
if (source.PlatformId != null) {
this.PlatformId = new String(source.PlatformId);
}
if (source.TeamId != null) {
this.TeamId = new String(source.TeamId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "MNPType", this.MNPType);
this.setParamSimple(map, prefix + "MNPName", this.MNPName);
this.setParamSimple(map, prefix + "MNPIcon", this.MNPIcon);
this.setParamSimple(map, prefix + "MNPIntro", this.MNPIntro);
this.setParamSimple(map, prefix + "MNPDesc", this.MNPDesc);
this.setParamSimple(map, prefix + "PlatformId", this.PlatformId);
this.setParamSimple(map, prefix + "TeamId", this.TeamId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy