Package com.exoscale.sdk.model
Class DbaasNodeStateProgressUpdate
- java.lang.Object
-
- com.exoscale.sdk.model.DbaasNodeStateProgressUpdate
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class DbaasNodeStateProgressUpdate extends Object
Extra information regarding the progress for current state
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DbaasNodeStateProgressUpdate.PhaseEnum
Key identifying this phase
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_COMPLETED
static String
JSON_PROPERTY_CURRENT
static String
JSON_PROPERTY_MAX
static String
JSON_PROPERTY_MIN
static String
JSON_PROPERTY_PHASE
static String
JSON_PROPERTY_UNIT
-
Constructor Summary
Constructors Constructor Description DbaasNodeStateProgressUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbaasNodeStateProgressUpdate
completed(Boolean completed)
DbaasNodeStateProgressUpdate
current(Long current)
boolean
equals(Object o)
Return true if this dbaas-node-state-progress-update object is equal to o.Boolean
getCompleted()
Indicates whether this phase has been completed or notLong
getCurrent()
Current progress for this phase.Long
getMax()
Maximum progress value for this phase.Long
getMin()
Minimum progress value for this phase.DbaasNodeStateProgressUpdate.PhaseEnum
getPhase()
Key identifying this phaseString
getUnit()
Unit for current/min/max values.int
hashCode()
DbaasNodeStateProgressUpdate
max(Long max)
DbaasNodeStateProgressUpdate
min(Long min)
DbaasNodeStateProgressUpdate
phase(DbaasNodeStateProgressUpdate.PhaseEnum phase)
void
setCompleted(Boolean completed)
void
setCurrent(Long current)
void
setMax(Long max)
void
setMin(Long min)
void
setPhase(DbaasNodeStateProgressUpdate.PhaseEnum phase)
void
setUnit(String unit)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.DbaasNodeStateProgressUpdate
unit(String unit)
-
-
-
Field Detail
-
JSON_PROPERTY_COMPLETED
public static final String JSON_PROPERTY_COMPLETED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CURRENT
public static final String JSON_PROPERTY_CURRENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX
public static final String JSON_PROPERTY_MAX
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MIN
public static final String JSON_PROPERTY_MIN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PHASE
public static final String JSON_PROPERTY_PHASE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UNIT
public static final String JSON_PROPERTY_UNIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
completed
public DbaasNodeStateProgressUpdate completed(Boolean completed)
-
getCompleted
@Nonnull public Boolean getCompleted()
Indicates whether this phase has been completed or not- Returns:
- completed
-
setCompleted
public void setCompleted(Boolean completed)
-
current
public DbaasNodeStateProgressUpdate current(Long current)
-
getCurrent
@Nullable public Long getCurrent()
Current progress for this phase. May be missing or null. minimum: 0- Returns:
- current
-
setCurrent
public void setCurrent(Long current)
-
max
public DbaasNodeStateProgressUpdate max(Long max)
-
getMax
@Nullable public Long getMax()
Maximum progress value for this phase. May be missing or null. May change. minimum: 0- Returns:
- max
-
setMax
public void setMax(Long max)
-
min
public DbaasNodeStateProgressUpdate min(Long min)
-
getMin
@Nullable public Long getMin()
Minimum progress value for this phase. May be missing or null. minimum: 0- Returns:
- min
-
setMin
public void setMin(Long min)
-
phase
public DbaasNodeStateProgressUpdate phase(DbaasNodeStateProgressUpdate.PhaseEnum phase)
-
getPhase
@Nonnull public DbaasNodeStateProgressUpdate.PhaseEnum getPhase()
Key identifying this phase- Returns:
- phase
-
setPhase
public void setPhase(DbaasNodeStateProgressUpdate.PhaseEnum phase)
-
unit
public DbaasNodeStateProgressUpdate unit(String unit)
-
getUnit
@Nullable public String getUnit()
Unit for current/min/max values. New units may be added. If null should be treated as generic unit- Returns:
- unit
-
setUnit
public void setUnit(String unit)
-
equals
public boolean equals(Object o)
Return true if this dbaas-node-state-progress-update object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-