Package com.launchdarkly.api.model
Class FlagImportStatus
- java.lang.Object
-
- com.launchdarkly.api.model.FlagImportStatus
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-03-05T10:45:26.516033Z[Etc/UTC]", comments="Generator version: 7.18.0") public class FlagImportStatus extends java.lang.ObjectFlagImportStatus
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFlagImportStatus.CustomTypeAdapterFactorystatic classFlagImportStatus.StatusEnumThe current status of the import integrations related import job
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>openapiFieldsstatic java.util.HashSet<java.lang.String>openapiRequiredFieldsstatic java.lang.StringSERIALIZED_NAME_ERRORSstatic java.lang.StringSERIALIZED_NAME_LAST_ERRORstatic java.lang.StringSERIALIZED_NAME_LAST_IMPORTstatic java.lang.StringSERIALIZED_NAME_STATUS
-
Constructor Summary
Constructors Constructor Description FlagImportStatus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FlagImportStatusaddErrorsItem(StatusResponse errorsItem)booleanequals(java.lang.Object o)FlagImportStatuserrors(java.util.List<StatusResponse> errors)static FlagImportStatusfromJson(java.lang.String jsonString)Create an instance of FlagImportStatus given an JSON stringjava.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()Return the additional (undeclared) property.java.lang.ObjectgetAdditionalProperty(java.lang.String key)Return the additional (undeclared) property with the specified name.java.util.List<StatusResponse>getErrors()Get errorsjava.lang.LonggetLastError()Get lastErrorjava.lang.LonggetLastImport()Get lastImportFlagImportStatus.StatusEnumgetStatus()The current status of the import integrations related import jobinthashCode()FlagImportStatuslastError(java.lang.Long lastError)FlagImportStatuslastImport(java.lang.Long lastImport)FlagImportStatusputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.voidsetErrors(java.util.List<StatusResponse> errors)voidsetLastError(java.lang.Long lastError)voidsetLastImport(java.lang.Long lastImport)voidsetStatus(FlagImportStatus.StatusEnum status)FlagImportStatusstatus(FlagImportStatus.StatusEnum status)java.lang.StringtoJson()Convert an instance of FlagImportStatus to an JSON stringjava.lang.StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_STATUS
public static final java.lang.String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_IMPORT
public static final java.lang.String SERIALIZED_NAME_LAST_IMPORT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_ERROR
public static final java.lang.String SERIALIZED_NAME_LAST_ERROR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERRORS
public static final java.lang.String SERIALIZED_NAME_ERRORS
- See Also:
- Constant Field Values
-
openapiFields
public static java.util.HashSet<java.lang.String> openapiFields
-
openapiRequiredFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
-
-
Method Detail
-
status
public FlagImportStatus status(@Nullable FlagImportStatus.StatusEnum status)
-
getStatus
@Nullable public FlagImportStatus.StatusEnum getStatus()
The current status of the import integrations related import job- Returns:
- status
-
setStatus
public void setStatus(@Nullable FlagImportStatus.StatusEnum status)
-
lastImport
public FlagImportStatus lastImport(@Nullable java.lang.Long lastImport)
-
getLastImport
@Nullable public java.lang.Long getLastImport()
Get lastImport- Returns:
- lastImport
-
setLastImport
public void setLastImport(@Nullable java.lang.Long lastImport)
-
lastError
public FlagImportStatus lastError(@Nullable java.lang.Long lastError)
-
getLastError
@Nullable public java.lang.Long getLastError()
Get lastError- Returns:
- lastError
-
setLastError
public void setLastError(@Nullable java.lang.Long lastError)
-
errors
public FlagImportStatus errors(@Nullable java.util.List<StatusResponse> errors)
-
addErrorsItem
public FlagImportStatus addErrorsItem(StatusResponse errorsItem)
-
getErrors
@Nullable public java.util.List<StatusResponse> getErrors()
Get errors- Returns:
- errors
-
setErrors
public void setErrors(@Nullable java.util.List<StatusResponse> errors)
-
putAdditionalProperty
public FlagImportStatus putAdditionalProperty(java.lang.String key, java.lang.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 FlagImportStatus instance itself
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
public java.lang.Object getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws java.io.IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
java.io.IOException- if the JSON Element is invalid with respect to FlagImportStatus
-
fromJson
public static FlagImportStatus fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of FlagImportStatus given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FlagImportStatus
- Throws:
java.io.IOException- if the JSON string is invalid with respect to FlagImportStatus
-
toJson
public java.lang.String toJson()
Convert an instance of FlagImportStatus to an JSON string- Returns:
- JSON string
-
-