Package com.launchdarkly.api.model
Class LeadTimeStagesRep
- java.lang.Object
-
- com.launchdarkly.api.model.LeadTimeStagesRep
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-05-16T11:29:12.794018Z[Etc/UTC]") public class LeadTimeStagesRep extends java.lang.ObjectLeadTimeStagesRep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLeadTimeStagesRep.CustomTypeAdapterFactory
-
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_CODING_DURATION_MSstatic java.lang.StringSERIALIZED_NAME_DEPLOY_DURATION_MSstatic java.lang.StringSERIALIZED_NAME_REVIEW_DURATION_MSstatic java.lang.StringSERIALIZED_NAME_TOTAL_LEAD_TIME_MSstatic java.lang.StringSERIALIZED_NAME_WAIT_DURATION_MS
-
Constructor Summary
Constructors Constructor Description LeadTimeStagesRep()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LeadTimeStagesRepcodingDurationMs(java.lang.Long codingDurationMs)LeadTimeStagesRepdeployDurationMs(java.lang.Long deployDurationMs)booleanequals(java.lang.Object o)static LeadTimeStagesRepfromJson(java.lang.String jsonString)Create an instance of LeadTimeStagesRep 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.lang.LonggetCodingDurationMs()The coding duration in millisecondsjava.lang.LonggetDeployDurationMs()The deploy duration in millisecondsjava.lang.LonggetReviewDurationMs()The review duration in millisecondsjava.lang.LonggetTotalLeadTimeMs()The total lead time in millisecondsjava.lang.LonggetWaitDurationMs()The wait duration between merge time and deploy start time in millisecondsinthashCode()LeadTimeStagesRepputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.LeadTimeStagesRepreviewDurationMs(java.lang.Long reviewDurationMs)voidsetCodingDurationMs(java.lang.Long codingDurationMs)voidsetDeployDurationMs(java.lang.Long deployDurationMs)voidsetReviewDurationMs(java.lang.Long reviewDurationMs)voidsetTotalLeadTimeMs(java.lang.Long totalLeadTimeMs)voidsetWaitDurationMs(java.lang.Long waitDurationMs)java.lang.StringtoJson()Convert an instance of LeadTimeStagesRep to an JSON stringjava.lang.StringtoString()LeadTimeStagesReptotalLeadTimeMs(java.lang.Long totalLeadTimeMs)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundLeadTimeStagesRepwaitDurationMs(java.lang.Long waitDurationMs)
-
-
-
Field Detail
-
SERIALIZED_NAME_CODING_DURATION_MS
public static final java.lang.String SERIALIZED_NAME_CODING_DURATION_MS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REVIEW_DURATION_MS
public static final java.lang.String SERIALIZED_NAME_REVIEW_DURATION_MS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WAIT_DURATION_MS
public static final java.lang.String SERIALIZED_NAME_WAIT_DURATION_MS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEPLOY_DURATION_MS
public static final java.lang.String SERIALIZED_NAME_DEPLOY_DURATION_MS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOTAL_LEAD_TIME_MS
public static final java.lang.String SERIALIZED_NAME_TOTAL_LEAD_TIME_MS
- 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
-
codingDurationMs
public LeadTimeStagesRep codingDurationMs(java.lang.Long codingDurationMs)
-
getCodingDurationMs
@Nonnull public java.lang.Long getCodingDurationMs()
The coding duration in milliseconds- Returns:
- codingDurationMs
-
setCodingDurationMs
public void setCodingDurationMs(java.lang.Long codingDurationMs)
-
reviewDurationMs
public LeadTimeStagesRep reviewDurationMs(java.lang.Long reviewDurationMs)
-
getReviewDurationMs
@Nullable public java.lang.Long getReviewDurationMs()
The review duration in milliseconds- Returns:
- reviewDurationMs
-
setReviewDurationMs
public void setReviewDurationMs(java.lang.Long reviewDurationMs)
-
waitDurationMs
public LeadTimeStagesRep waitDurationMs(java.lang.Long waitDurationMs)
-
getWaitDurationMs
@Nullable public java.lang.Long getWaitDurationMs()
The wait duration between merge time and deploy start time in milliseconds- Returns:
- waitDurationMs
-
setWaitDurationMs
public void setWaitDurationMs(java.lang.Long waitDurationMs)
-
deployDurationMs
public LeadTimeStagesRep deployDurationMs(java.lang.Long deployDurationMs)
-
getDeployDurationMs
@Nullable public java.lang.Long getDeployDurationMs()
The deploy duration in milliseconds- Returns:
- deployDurationMs
-
setDeployDurationMs
public void setDeployDurationMs(java.lang.Long deployDurationMs)
-
totalLeadTimeMs
public LeadTimeStagesRep totalLeadTimeMs(java.lang.Long totalLeadTimeMs)
-
getTotalLeadTimeMs
@Nullable public java.lang.Long getTotalLeadTimeMs()
The total lead time in milliseconds- Returns:
- totalLeadTimeMs
-
setTotalLeadTimeMs
public void setTotalLeadTimeMs(java.lang.Long totalLeadTimeMs)
-
putAdditionalProperty
public LeadTimeStagesRep 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.
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
Return the additional (undeclared) property.
-
getAdditionalProperty
public java.lang.Object getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.
-
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
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws java.io.IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
java.io.IOException- if the JSON Object is invalid with respect to LeadTimeStagesRep
-
fromJson
public static LeadTimeStagesRep fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of LeadTimeStagesRep given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LeadTimeStagesRep
- Throws:
java.io.IOException- if the JSON string is invalid with respect to LeadTimeStagesRep
-
toJson
public java.lang.String toJson()
Convert an instance of LeadTimeStagesRep to an JSON string- Returns:
- JSON string
-
-