@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AssetShareSourceInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AssetShareSourceInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_SHARE_MODE |
static String |
SERIALIZED_NAME_SOURCE_ID_LIST |
| 构造器和说明 |
|---|
AssetShareSourceInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
AssetShareSourceInfo |
addSourceIdListItem(String sourceIdListItem) |
boolean |
equals(Object o) |
static AssetShareSourceInfo |
fromJson(String jsonString)
Create an instance of AssetShareSourceInfo 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 |
getShareMode()
当前规则可用的资产来源类型,搭配source_id_list使用。
|
List<String> |
getSourceIdList()
资产共享来源id列表,与share_mode配合设置
|
int |
hashCode() |
AssetShareSourceInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setShareMode(String shareMode) |
void |
setSourceIdList(List<String> sourceIdList) |
AssetShareSourceInfo |
shareMode(String shareMode) |
AssetShareSourceInfo |
sourceIdList(List<String> sourceIdList) |
String |
toJson()
Convert an instance of AssetShareSourceInfo 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_SOURCE_ID_LIST
public AssetShareSourceInfo shareMode(String shareMode)
public void setShareMode(String shareMode)
public AssetShareSourceInfo sourceIdList(List<String> sourceIdList)
public AssetShareSourceInfo addSourceIdListItem(String sourceIdListItem)
@Nullable public List<String> getSourceIdList()
public AssetShareSourceInfo 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 AssetShareSourceInfopublic static AssetShareSourceInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AssetShareSourceInfopublic String toJson()
Copyright © 2024. All rights reserved.