com.tencentcloudapi.mps.v20190612.models.AiSampleWord 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.mps.v20190612.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 AiSampleWord extends AbstractModel {
/**
* Keyword.
*/
@SerializedName("Keyword")
@Expose
private String Keyword;
/**
* Keyword tag.
*/
@SerializedName("TagSet")
@Expose
private String [] TagSet;
/**
* Keyword use case.
*/
@SerializedName("UsageSet")
@Expose
private String [] UsageSet;
/**
* Creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* Last modified time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
*/
@SerializedName("UpdateTime")
@Expose
private String UpdateTime;
/**
* Get Keyword.
* @return Keyword Keyword.
*/
public String getKeyword() {
return this.Keyword;
}
/**
* Set Keyword.
* @param Keyword Keyword.
*/
public void setKeyword(String Keyword) {
this.Keyword = Keyword;
}
/**
* Get Keyword tag.
* @return TagSet Keyword tag.
*/
public String [] getTagSet() {
return this.TagSet;
}
/**
* Set Keyword tag.
* @param TagSet Keyword tag.
*/
public void setTagSet(String [] TagSet) {
this.TagSet = TagSet;
}
/**
* Get Keyword use case.
* @return UsageSet Keyword use case.
*/
public String [] getUsageSet() {
return this.UsageSet;
}
/**
* Set Keyword use case.
* @param UsageSet Keyword use case.
*/
public void setUsageSet(String [] UsageSet) {
this.UsageSet = UsageSet;
}
/**
* Get Creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
* @return CreateTime Creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set Creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
* @param CreateTime Creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get Last modified time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
* @return UpdateTime Last modified time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
*/
public String getUpdateTime() {
return this.UpdateTime;
}
/**
* Set Last modified time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
* @param UpdateTime Last modified time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
*/
public void setUpdateTime(String UpdateTime) {
this.UpdateTime = UpdateTime;
}
public AiSampleWord() {
}
/**
* 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 AiSampleWord(AiSampleWord source) {
if (source.Keyword != null) {
this.Keyword = new String(source.Keyword);
}
if (source.TagSet != null) {
this.TagSet = new String[source.TagSet.length];
for (int i = 0; i < source.TagSet.length; i++) {
this.TagSet[i] = new String(source.TagSet[i]);
}
}
if (source.UsageSet != null) {
this.UsageSet = new String[source.UsageSet.length];
for (int i = 0; i < source.UsageSet.length; i++) {
this.UsageSet[i] = new String(source.UsageSet[i]);
}
}
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.UpdateTime != null) {
this.UpdateTime = new String(source.UpdateTime);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Keyword", this.Keyword);
this.setParamArraySimple(map, prefix + "TagSet.", this.TagSet);
this.setParamArraySimple(map, prefix + "UsageSet.", this.UsageSet);
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
}
}