public class ExternalFile extends ExternalItem implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ExternalFile.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
createdBy |
protected OffsetDateTime |
createdDateTime |
protected String |
extension |
protected String |
lastModifiedBy |
protected OffsetDateTime |
modifiedDateTime |
protected String |
name |
protected Long |
size |
protected String |
title |
protected String |
url |
acl, aclNextLink, content, propertieschangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ExternalFile() |
| Modifier and Type | Method and Description |
|---|---|
static ExternalFile.Builder |
builderExternalFile()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getCreatedBy() |
Optional<OffsetDateTime> |
getCreatedDateTime() |
Optional<String> |
getExtension() |
Optional<String> |
getLastModifiedBy() |
Optional<OffsetDateTime> |
getModifiedDateTime() |
Optional<String> |
getName() |
Optional<Long> |
getSize() |
Optional<String> |
getTitle() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUrl() |
String |
odataTypeName() |
ExternalFile |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ExternalFile |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ExternalFile |
withCreatedBy(String createdBy) |
ExternalFile |
withCreatedDateTime(OffsetDateTime createdDateTime) |
ExternalFile |
withExtension(String extension) |
ExternalFile |
withLastModifiedBy(String lastModifiedBy) |
ExternalFile |
withModifiedDateTime(OffsetDateTime modifiedDateTime) |
ExternalFile |
withName(String name) |
ExternalFile |
withSize(Long size) |
ExternalFile |
withTitle(String title) |
ExternalFile |
withUrl(String url) |
builderExternalItem, getAcl, getContent, getProperties, withContent, withPropertiesprotected OffsetDateTime createdDateTime
protected OffsetDateTime modifiedDateTime
protected String createdBy
protected String lastModifiedBy
protected String title
protected String url
protected String name
protected String extension
protected Long size
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class ExternalItempublic static ExternalFile.Builder builderExternalFile()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class ExternalItempublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class ExternalItempublic Optional<OffsetDateTime> getCreatedDateTime()
public ExternalFile withCreatedDateTime(OffsetDateTime createdDateTime)
public Optional<OffsetDateTime> getModifiedDateTime()
public ExternalFile withModifiedDateTime(OffsetDateTime modifiedDateTime)
public ExternalFile withCreatedBy(String createdBy)
public ExternalFile withLastModifiedBy(String lastModifiedBy)
public ExternalFile withTitle(String title)
public ExternalFile withUrl(String url)
public ExternalFile withName(String name)
public ExternalFile withExtension(String extension)
public ExternalFile withSize(Long size)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class ExternalItempublic ExternalFile patch()
this with changed fields reset.patch in class ExternalItemthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic ExternalFile put()
this
with changed fields reset (they were ignored anyway).put in class ExternalItemthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class ExternalItemCopyright © 2018–2020. All rights reserved.