Class LeadTimeStagesRep


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2024-05-16T11:29:12.794018Z[Etc/UTC]")
    public class LeadTimeStagesRep
    extends java.lang.Object
    LeadTimeStagesRep
    • 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
    • Constructor Detail

      • LeadTimeStagesRep

        public LeadTimeStagesRep()
    • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws java.io.IOException
        Validates 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