
com.tencentcloudapi.waf.v20180125.models.AccessValueInfo 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.waf.v20180125.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class AccessValueInfo extends AbstractModel{
/**
* 字段类型,目前支持的类型有:long、text、double
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Type")
@Expose
private String Type;
/**
* 字段的分词符,只有当字段类型为text时才有意义;输入字符串中的每个字符代表一个分词符
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Tokenizer")
@Expose
private String Tokenizer;
/**
* 字段是否开启分析功能
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("SqlFlag")
@Expose
private Boolean SqlFlag;
/**
* 是否包含中文
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ContainZH")
@Expose
private Boolean ContainZH;
/**
* Get 字段类型,目前支持的类型有:long、text、double
注意:此字段可能返回 null,表示取不到有效值。
* @return Type 字段类型,目前支持的类型有:long、text、double
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getType() {
return this.Type;
}
/**
* Set 字段类型,目前支持的类型有:long、text、double
注意:此字段可能返回 null,表示取不到有效值。
* @param Type 字段类型,目前支持的类型有:long、text、double
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setType(String Type) {
this.Type = Type;
}
/**
* Get 字段的分词符,只有当字段类型为text时才有意义;输入字符串中的每个字符代表一个分词符
注意:此字段可能返回 null,表示取不到有效值。
* @return Tokenizer 字段的分词符,只有当字段类型为text时才有意义;输入字符串中的每个字符代表一个分词符
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getTokenizer() {
return this.Tokenizer;
}
/**
* Set 字段的分词符,只有当字段类型为text时才有意义;输入字符串中的每个字符代表一个分词符
注意:此字段可能返回 null,表示取不到有效值。
* @param Tokenizer 字段的分词符,只有当字段类型为text时才有意义;输入字符串中的每个字符代表一个分词符
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setTokenizer(String Tokenizer) {
this.Tokenizer = Tokenizer;
}
/**
* Get 字段是否开启分析功能
注意:此字段可能返回 null,表示取不到有效值。
* @return SqlFlag 字段是否开启分析功能
注意:此字段可能返回 null,表示取不到有效值。
*/
public Boolean getSqlFlag() {
return this.SqlFlag;
}
/**
* Set 字段是否开启分析功能
注意:此字段可能返回 null,表示取不到有效值。
* @param SqlFlag 字段是否开启分析功能
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setSqlFlag(Boolean SqlFlag) {
this.SqlFlag = SqlFlag;
}
/**
* Get 是否包含中文
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
* @return ContainZH 是否包含中文
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
*/
public Boolean getContainZH() {
return this.ContainZH;
}
/**
* Set 是否包含中文
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
* @param ContainZH 是否包含中文
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setContainZH(Boolean ContainZH) {
this.ContainZH = ContainZH;
}
public AccessValueInfo() {
}
/**
* 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 AccessValueInfo(AccessValueInfo source) {
if (source.Type != null) {
this.Type = new String(source.Type);
}
if (source.Tokenizer != null) {
this.Tokenizer = new String(source.Tokenizer);
}
if (source.SqlFlag != null) {
this.SqlFlag = new Boolean(source.SqlFlag);
}
if (source.ContainZH != null) {
this.ContainZH = new Boolean(source.ContainZH);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Type", this.Type);
this.setParamSimple(map, prefix + "Tokenizer", this.Tokenizer);
this.setParamSimple(map, prefix + "SqlFlag", this.SqlFlag);
this.setParamSimple(map, prefix + "ContainZH", this.ContainZH);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy