Class PRCoverageSummaryRequestAttributes

java.lang.Object
com.datadog.api.client.v2.model.PRCoverageSummaryRequestAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PRCoverageSummaryRequestAttributes extends Object
Attributes for requesting code coverage summary for a pull request.
  • Field Details

  • Constructor Details

    • PRCoverageSummaryRequestAttributes

      public PRCoverageSummaryRequestAttributes()
    • PRCoverageSummaryRequestAttributes

      public PRCoverageSummaryRequestAttributes(Long prNumber, String repositoryUrl)
  • Method Details

    • prNumber

      public PRCoverageSummaryRequestAttributes prNumber(Long prNumber)
    • getPrNumber

      public Long getPrNumber()
      The pull request number. Must be a positive integer. minimum: 1
      Returns:
      prNumber
    • setPrNumber

      public void setPrNumber(Long prNumber)
    • repositoryUrl

      public PRCoverageSummaryRequestAttributes repositoryUrl(String repositoryUrl)
    • getRepositoryUrl

      public String getRepositoryUrl()
      The repository URL. Accepts a full URL with or without a scheme (for example, https://github.com/org/repo or github.com/org/repo).
      Returns:
      repositoryUrl
    • setRepositoryUrl

      public void setRepositoryUrl(String repositoryUrl)
    • putAdditionalProperty

      public PRCoverageSummaryRequestAttributes putAdditionalProperty(String key, 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 - The arbitrary key to set
      value - The associated value
      Returns:
      PRCoverageSummaryRequestAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this PRCoverageSummaryRequestAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object