Package com.datadog.api.client.v1.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SyntheticsTestRequestBodyFile object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Bucket key of the file.Content of the file.Encoding of the file content.getName()Name of the file.Original name of the file.getSize()Size of the file.getType()Type of the file.inthashCode()originalFileName(String originalFileName) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBucketKey(String bucketKey) voidsetContent(String content) voidsetEncoding(String encoding) voidvoidsetOriginalFileName(String originalFileName) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BUCKET_KEY
- See Also:
-
JSON_PROPERTY_CONTENT
- See Also:
-
JSON_PROPERTY_ENCODING
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_ORIGINAL_FILE_NAME
- See Also:
-
JSON_PROPERTY_SIZE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SyntheticsTestRequestBodyFile
public SyntheticsTestRequestBodyFile()
-
-
Method Details
-
bucketKey
-
getBucketKey
Bucket key of the file.- Returns:
- bucketKey
-
setBucketKey
-
content
-
getContent
Content of the file.- Returns:
- content
-
setContent
-
encoding
-
getEncoding
Encoding of the file content. The only supported value isbase64, indicating thecontentfield contains base64-encoded data.- Returns:
- encoding
-
setEncoding
-
name
-
getName
Name of the file.- Returns:
- name
-
setName
-
originalFileName
-
getOriginalFileName
Original name of the file.- Returns:
- originalFileName
-
setOriginalFileName
-
size
-
getSize
Size of the file. minimum: 1 maximum: 3145728- Returns:
- size
-
setSize
-
type
-
getType
Type of the file.- Returns:
- type
-
setType
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- SyntheticsTestRequestBodyFile
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this SyntheticsTestRequestBodyFile object is equal to o. -
hashCode
public int hashCode() -
toString
-