@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class CrowdConstraintInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CrowdConstraintInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CROWD_CONDITION |
static String |
SERIALIZED_NAME_CROWD_NAME |
static String |
SERIALIZED_NAME_CROWD_RESTRICTION |
| 构造器和说明 |
|---|
CrowdConstraintInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
CrowdConstraintInfo |
crowdCondition(String crowdCondition) |
CrowdConstraintInfo |
crowdName(String crowdName) |
CrowdConstraintInfo |
crowdRestriction(String crowdRestriction) |
boolean |
equals(Object o) |
static CrowdConstraintInfo |
fromJson(String jsonString)
Create an instance of CrowdConstraintInfo given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getCrowdCondition()
圈人的条件 op:表示操作符,目前支持EQ相等,GT大于,GTEQ大于等于,LT小于,LTEQ小于等于,NEQ不等,LIKE模糊匹配,IN在枚举范围内,NOTIN不在枚举范围内,BETWEEN范围比较,LEFTDAYS几天以内,RIGHTDAYS几天以外,LOCATE地理位置比较,LBS地图位置数据 tagCode:标签code,详细标签code参见附件。
|
String |
getCrowdName()
圈人名称
|
String |
getCrowdRestriction()
圈人约束,取值(NEWCOMER:新客人群;OFFLINE:离线人群),OFFLINE离线人群,需要传递crowd_condition圈人条件,使用方案参考crowd_condition使用说明
|
int |
hashCode() |
CrowdConstraintInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCrowdCondition(String crowdCondition) |
void |
setCrowdName(String crowdName) |
void |
setCrowdRestriction(String crowdRestriction) |
String |
toJson()
Convert an instance of CrowdConstraintInfo to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_CROWD_CONDITION
public static final String SERIALIZED_NAME_CROWD_RESTRICTION
public CrowdConstraintInfo crowdCondition(String crowdCondition)
@Nullable public String getCrowdCondition()
public void setCrowdCondition(String crowdCondition)
public CrowdConstraintInfo crowdName(String crowdName)
public void setCrowdName(String crowdName)
public CrowdConstraintInfo crowdRestriction(String crowdRestriction)
@Nullable public String getCrowdRestriction()
public void setCrowdRestriction(String crowdRestriction)
public CrowdConstraintInfo putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to CrowdConstraintInfopublic static CrowdConstraintInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to CrowdConstraintInfopublic String toJson()
Copyright © 2024. All rights reserved.