Class ModelLabArtifactObjectInfo

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ModelLabArtifactObjectInfo extends Object
Information about an artifact file or directory within a run.
  • Field Details

  • Constructor Details

    • ModelLabArtifactObjectInfo

      public ModelLabArtifactObjectInfo()
    • ModelLabArtifactObjectInfo

      public ModelLabArtifactObjectInfo(Boolean isDir, String path)
  • Method Details

    • fileSize

      public ModelLabArtifactObjectInfo fileSize(Long fileSize)
    • getFileSize

      @Nullable public Long getFileSize()
      The size of the file in bytes.
      Returns:
      fileSize
    • getFileSize_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getFileSize_JsonNullable()
    • setFileSize_JsonNullable

      public void setFileSize_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> fileSize)
    • setFileSize

      public void setFileSize(Long fileSize)
    • isDir

      public ModelLabArtifactObjectInfo isDir(Boolean isDir)
    • getIsDir

      public Boolean getIsDir()
      Whether this artifact entry is a directory.
      Returns:
      isDir
    • setIsDir

      public void setIsDir(Boolean isDir)
    • path

      public ModelLabArtifactObjectInfo path(String path)
    • getPath

      public String getPath()
      The path of the artifact relative to the run's artifact root.
      Returns:
      path
    • setPath

      public void setPath(String path)
    • putAdditionalProperty

      public ModelLabArtifactObjectInfo 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:
      ModelLabArtifactObjectInfo
    • 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 ModelLabArtifactObjectInfo 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