Package com.launchdarkly.api.model
Class LeadTimeStagesRep
- java.lang.Object
-
- com.launchdarkly.api.model.LeadTimeStagesRep
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-03-05T10:45:26.516033Z[Etc/UTC]", comments="Generator version: 7.18.0") 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 voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element 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(@Nonnull java.lang.Long codingDurationMs)
-
getCodingDurationMs
@Nonnull public java.lang.Long getCodingDurationMs()
The coding duration in milliseconds- Returns:
- codingDurationMs
-
setCodingDurationMs
public void setCodingDurationMs(@Nonnull java.lang.Long codingDurationMs)
-
reviewDurationMs
public LeadTimeStagesRep reviewDurationMs(@Nullable java.lang.Long reviewDurationMs)
-
getReviewDurationMs
@Nullable public java.lang.Long getReviewDurationMs()
The review duration in milliseconds- Returns:
- reviewDurationMs
-
setReviewDurationMs
public void setReviewDurationMs(@Nullable java.lang.Long reviewDurationMs)
-
waitDurationMs
public LeadTimeStagesRep waitDurationMs(@Nullable 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(@Nullable java.lang.Long waitDurationMs)
-
deployDurationMs
public LeadTimeStagesRep deployDurationMs(@Nullable java.lang.Long deployDurationMs)
-
getDeployDurationMs
@Nullable public java.lang.Long getDeployDurationMs()
The deploy duration in milliseconds- Returns:
- deployDurationMs
-
setDeployDurationMs
public void setDeployDurationMs(@Nullable java.lang.Long deployDurationMs)
-
totalLeadTimeMs
public LeadTimeStagesRep totalLeadTimeMs(@Nullable java.lang.Long totalLeadTimeMs)
-
getTotalLeadTimeMs
@Nullable public java.lang.Long getTotalLeadTimeMs()
The total lead time in milliseconds- Returns:
- totalLeadTimeMs
-
setTotalLeadTimeMs
public void setTotalLeadTimeMs(@Nullable 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.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the LeadTimeStagesRep 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 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
-
-