@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayOpenPublicMatchuserLabelCreateModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayOpenPublicMatchuserLabelCreateModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_LABEL_ID |
static String |
SERIALIZED_NAME_LABEL_VALUE |
static String |
SERIALIZED_NAME_MATCHERS |
| 构造器和说明 |
|---|
AlipayOpenPublicMatchuserLabelCreateModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayOpenPublicMatchuserLabelCreateModel |
addMatchersItem(Matcher matchersItem) |
boolean |
equals(Object o) |
static AlipayOpenPublicMatchuserLabelCreateModel |
fromJson(String jsonString)
Create an instance of AlipayOpenPublicMatchuserLabelCreateModel 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 |
getLabelId()
标签 id,只支持生活号自定义标签。
|
String |
getLabelValue()
标签值,由开发者自主指定,标签值类型要满足 <a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.life.label.create\">alipay.open.public.life.label.create</a>(创建标签接口)中data_type参数的限定。
|
List<Matcher> |
getMatchers()
支付宝用户匹配器列表,最多传入10条
|
int |
hashCode() |
AlipayOpenPublicMatchuserLabelCreateModel |
labelId(String labelId) |
AlipayOpenPublicMatchuserLabelCreateModel |
labelValue(String labelValue) |
AlipayOpenPublicMatchuserLabelCreateModel |
matchers(List<Matcher> matchers) |
AlipayOpenPublicMatchuserLabelCreateModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setLabelId(String labelId) |
void |
setLabelValue(String labelValue) |
void |
setMatchers(List<Matcher> matchers) |
String |
toJson()
Convert an instance of AlipayOpenPublicMatchuserLabelCreateModel 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 AlipayOpenPublicMatchuserLabelCreateModel()
public AlipayOpenPublicMatchuserLabelCreateModel labelId(String labelId)
@Nullable public String getLabelId()
public void setLabelId(String labelId)
public AlipayOpenPublicMatchuserLabelCreateModel labelValue(String labelValue)
@Nullable public String getLabelValue()
public void setLabelValue(String labelValue)
public AlipayOpenPublicMatchuserLabelCreateModel matchers(List<Matcher> matchers)
public AlipayOpenPublicMatchuserLabelCreateModel addMatchersItem(Matcher matchersItem)
public AlipayOpenPublicMatchuserLabelCreateModel 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 AlipayOpenPublicMatchuserLabelCreateModelpublic static AlipayOpenPublicMatchuserLabelCreateModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayOpenPublicMatchuserLabelCreateModelpublic String toJson()
Copyright © 2024. All rights reserved.