@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class SubPackageInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SubPackageInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BUILDED_PACKAGE_URL |
static String |
SERIALIZED_NAME_NEW_BUILDED_PACKAGE_URL |
static String |
SERIALIZED_NAME_NEW_SIZE |
static String |
SERIALIZED_NAME_PATH |
static String |
SERIALIZED_NAME_SIZE |
static String |
SERIALIZED_NAME_SOURCE_URL |
static String |
SERIALIZED_NAME_TYPE |
| 构造器和说明 |
|---|
SubPackageInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
SubPackageInfo |
buildedPackageUrl(String buildedPackageUrl) |
boolean |
equals(Object o) |
static SubPackageInfo |
fromJson(String jsonString)
Create an instance of SubPackageInfo 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 |
getBuildedPackageUrl()
构建好的结果地址
|
String |
getNewBuildedPackageUrl()
构建好的分包地址
|
String |
getNewSize()
2.0分包大小,单位字节
|
String |
getPath()
分包路径
|
String |
getSize()
分包大小,单位字节
|
String |
getSourceUrl()
源码地址
|
String |
getType()
分包类型: MAIN | SUB
|
int |
hashCode() |
SubPackageInfo |
newBuildedPackageUrl(String newBuildedPackageUrl) |
SubPackageInfo |
newSize(String newSize) |
SubPackageInfo |
path(String path) |
SubPackageInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setBuildedPackageUrl(String buildedPackageUrl) |
void |
setNewBuildedPackageUrl(String newBuildedPackageUrl) |
void |
setNewSize(String newSize) |
void |
setPath(String path) |
void |
setSize(String size) |
void |
setSourceUrl(String sourceUrl) |
void |
setType(String type) |
SubPackageInfo |
size(String size) |
SubPackageInfo |
sourceUrl(String sourceUrl) |
String |
toJson()
Convert an instance of SubPackageInfo to an JSON string
|
String |
toString() |
SubPackageInfo |
type(String type) |
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_BUILDED_PACKAGE_URL
public static final String SERIALIZED_NAME_NEW_BUILDED_PACKAGE_URL
public SubPackageInfo buildedPackageUrl(String buildedPackageUrl)
public void setBuildedPackageUrl(String buildedPackageUrl)
public SubPackageInfo newBuildedPackageUrl(String newBuildedPackageUrl)
@Nullable public String getNewBuildedPackageUrl()
public void setNewBuildedPackageUrl(String newBuildedPackageUrl)
public SubPackageInfo newSize(String newSize)
public void setNewSize(String newSize)
public SubPackageInfo path(String path)
public void setPath(String path)
public SubPackageInfo size(String size)
public void setSize(String size)
public SubPackageInfo sourceUrl(String sourceUrl)
public void setSourceUrl(String sourceUrl)
public SubPackageInfo type(String type)
public void setType(String type)
public SubPackageInfo 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 SubPackageInfopublic static SubPackageInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to SubPackageInfopublic String toJson()
Copyright © 2024. All rights reserved.