Class SyntheticsTestRequestBodyFile

java.lang.Object
com.datadog.api.client.v1.model.SyntheticsTestRequestBodyFile

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestRequestBodyFile extends Object
Object describing a file to be used as part of the request in the test.
  • Field Details

  • Constructor Details

    • SyntheticsTestRequestBodyFile

      public SyntheticsTestRequestBodyFile()
  • Method Details

    • bucketKey

      public SyntheticsTestRequestBodyFile bucketKey(String bucketKey)
    • getBucketKey

      @Nullable public String getBucketKey()
      Bucket key of the file.
      Returns:
      bucketKey
    • setBucketKey

      public void setBucketKey(String bucketKey)
    • content

      public SyntheticsTestRequestBodyFile content(String content)
    • getContent

      @Nullable public String getContent()
      Content of the file.
      Returns:
      content
    • setContent

      public void setContent(String content)
    • encoding

      public SyntheticsTestRequestBodyFile encoding(String encoding)
    • getEncoding

      @Nullable public String getEncoding()
      Encoding of the file content. The only supported value is base64, indicating the content field contains base64-encoded data.
      Returns:
      encoding
    • setEncoding

      public void setEncoding(String encoding)
    • name

    • getName

      @Nullable public String getName()
      Name of the file.
      Returns:
      name
    • setName

      public void setName(String name)
    • originalFileName

      public SyntheticsTestRequestBodyFile originalFileName(String originalFileName)
    • getOriginalFileName

      @Nullable public String getOriginalFileName()
      Original name of the file.
      Returns:
      originalFileName
    • setOriginalFileName

      public void setOriginalFileName(String originalFileName)
    • size

      public SyntheticsTestRequestBodyFile size(Long size)
    • getSize

      @Nullable public Long getSize()
      Size of the file. minimum: 1 maximum: 3145728
      Returns:
      size
    • setSize

      public void setSize(Long size)
    • type

    • getType

      @Nullable public String getType()
      Type of the file.
      Returns:
      type
    • setType

      public void setType(String type)
    • putAdditionalProperty

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