类 JobStatus
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.JobStatus
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class JobStatus extends Object
JobStatus
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classJobStatus.CustomTypeAdapterFactorystatic classJobStatus.StatusEnumGets or Sets status
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DETAILstatic StringSERIALIZED_NAME_END_TIMEstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LOGstatic StringSERIALIZED_NAME_START_TIMEstatic StringSERIALIZED_NAME_STATUSstatic StringSERIALIZED_NAME_TYPE
-
构造器概要
构造器 构造器 说明 JobStatus()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 JobStatusdetail(Map<String,Object> detail)JobStatusendTime(Integer endTime)booleanequals(Object o)static JobStatusfromJson(String jsonString)Create an instance of JobStatus given an JSON stringMap<String,Object>getDetail()Get detailIntegergetEndTime()Get endTimeStringgetId()Get idStringgetLog()URL or log stringIntegergetStartTime()Get startTimeJobStatus.StatusEnumgetStatus()Get statusStringgetType()Get typeinthashCode()JobStatusid(String id)JobStatuslog(String log)JobStatusputDetailItem(String key, Object detailItem)voidsetDetail(Map<String,Object> detail)voidsetEndTime(Integer endTime)voidsetId(String id)voidsetLog(String log)voidsetStartTime(Integer startTime)voidsetStatus(JobStatus.StatusEnum status)voidsetType(String type)JobStatusstartTime(Integer startTime)JobStatusstatus(JobStatus.StatusEnum status)StringtoJson()Convert an instance of JobStatus to an JSON stringStringtoString()JobStatustype(String type)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
方法详细资料
-
setId
public void setId(String id)
-
setType
public void setType(String type)
-
status
public JobStatus status(JobStatus.StatusEnum status)
-
getStatus
@Nullable public JobStatus.StatusEnum getStatus()
Get status- 返回:
- status
-
setStatus
public void setStatus(JobStatus.StatusEnum status)
-
setStartTime
public void setStartTime(Integer startTime)
-
setEndTime
public void setEndTime(Integer endTime)
-
setLog
public void setLog(String log)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- 参数:
jsonElement- JSON Element- 抛出:
IOException- if the JSON Element is invalid with respect to JobStatus
-
fromJson
public static JobStatus fromJson(String jsonString) throws IOException
Create an instance of JobStatus given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of JobStatus
- 抛出:
IOException- if the JSON string is invalid with respect to JobStatus
-
toJson
public String toJson()
Convert an instance of JobStatus to an JSON string- 返回:
- JSON string
-
-