public class UploadWithPreflightCheckRequestBodyAttributesField extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
UploadWithPreflightCheckRequestBodyAttributesField.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
contentCreatedAt
Defines the time the file was originally created at.
|
protected OffsetDateTime |
contentModifiedAt
Defines the time the file was last modified at.
|
protected String |
name
The name of the file.
|
protected UploadWithPreflightCheckRequestBodyAttributesParentField |
parent
The parent folder to upload the file to.
|
protected int |
size
The size of the file in bytes
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
UploadWithPreflightCheckRequestBodyAttributesField(String name,
UploadWithPreflightCheckRequestBodyAttributesParentField parent,
int size) |
protected |
UploadWithPreflightCheckRequestBodyAttributesField(UploadWithPreflightCheckRequestBodyAttributesField.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
OffsetDateTime |
getContentCreatedAt() |
OffsetDateTime |
getContentModifiedAt() |
String |
getName() |
UploadWithPreflightCheckRequestBodyAttributesParentField |
getParent() |
int |
getSize() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected final String name
File names must be unique within their parent folder. The name check is case-insensitive, so a file named `New File` cannot be created in a parent folder that already contains a folder named `new file`.
protected final UploadWithPreflightCheckRequestBodyAttributesParentField parent
protected OffsetDateTime contentCreatedAt
If not set, the upload time will be used.
protected OffsetDateTime contentModifiedAt
If not set, the upload time will be used.
protected final int size
public UploadWithPreflightCheckRequestBodyAttributesField(String name, UploadWithPreflightCheckRequestBodyAttributesParentField parent, int size)
protected UploadWithPreflightCheckRequestBodyAttributesField(UploadWithPreflightCheckRequestBodyAttributesField.Builder builder)
public UploadWithPreflightCheckRequestBodyAttributesParentField getParent()
public OffsetDateTime getContentCreatedAt()
public OffsetDateTime getContentModifiedAt()
public int getSize()