Package io.lakefs.clients.sdk.model
Class ActionRun
- java.lang.Object
-
- io.lakefs.clients.sdk.model.ActionRun
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ActionRun extends Object
ActionRun
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActionRun.CustomTypeAdapterFactorystatic classActionRun.StatusEnumGets or Sets status
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BRANCHstatic StringSERIALIZED_NAME_COMMIT_IDstatic StringSERIALIZED_NAME_END_TIMEstatic StringSERIALIZED_NAME_EVENT_TYPEstatic StringSERIALIZED_NAME_RUN_IDstatic StringSERIALIZED_NAME_START_TIMEstatic StringSERIALIZED_NAME_STATUS
-
Constructor Summary
Constructors Constructor Description ActionRun()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionRunbranch(String branch)ActionRuncommitId(String commitId)ActionRunendTime(OffsetDateTime endTime)booleanequals(Object o)ActionRuneventType(String eventType)static ActionRunfromJson(String jsonString)Create an instance of ActionRun given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.StringgetBranch()Get branchStringgetCommitId()Get commitIdOffsetDateTimegetEndTime()Get endTimeStringgetEventType()Get eventTypeStringgetRunId()Get runIdOffsetDateTimegetStartTime()Get startTimeActionRun.StatusEnumgetStatus()Get statusinthashCode()ActionRunputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.ActionRunrunId(String runId)voidsetBranch(String branch)voidsetCommitId(String commitId)voidsetEndTime(OffsetDateTime endTime)voidsetEventType(String eventType)voidsetRunId(String runId)voidsetStartTime(OffsetDateTime startTime)voidsetStatus(ActionRun.StatusEnum status)ActionRunstartTime(OffsetDateTime startTime)ActionRunstatus(ActionRun.StatusEnum status)StringtoJson()Convert an instance of ActionRun to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_RUN_ID
public static final String SERIALIZED_NAME_RUN_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BRANCH
public static final String SERIALIZED_NAME_BRANCH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_START_TIME
public static final String SERIALIZED_NAME_START_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_END_TIME
public static final String SERIALIZED_NAME_END_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EVENT_TYPE
public static final String SERIALIZED_NAME_EVENT_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMMIT_ID
public static final String SERIALIZED_NAME_COMMIT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
setRunId
public void setRunId(String runId)
-
setBranch
public void setBranch(String branch)
-
startTime
public ActionRun startTime(OffsetDateTime startTime)
-
getStartTime
@Nonnull public OffsetDateTime getStartTime()
Get startTime- Returns:
- startTime
-
setStartTime
public void setStartTime(OffsetDateTime startTime)
-
endTime
public ActionRun endTime(OffsetDateTime endTime)
-
getEndTime
@Nullable public OffsetDateTime getEndTime()
Get endTime- Returns:
- endTime
-
setEndTime
public void setEndTime(OffsetDateTime endTime)
-
setEventType
public void setEventType(String eventType)
-
status
public ActionRun status(ActionRun.StatusEnum status)
-
getStatus
@Nonnull public ActionRun.StatusEnum getStatus()
Get status- Returns:
- status
-
setStatus
public void setStatus(ActionRun.StatusEnum status)
-
setCommitId
public void setCommitId(String commitId)
-
putAdditionalProperty
public ActionRun putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the ActionRun instance itself
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
public Object getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to ActionRun
-
fromJson
public static ActionRun fromJson(String jsonString) throws IOException
Create an instance of ActionRun given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ActionRun
- Throws:
IOException- if the JSON string is invalid with respect to ActionRun
-
toJson
public String toJson()
Convert an instance of ActionRun to an JSON string- Returns:
- JSON string
-
-