public class AppLogCollectionRequest extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AppLogCollectionRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
completedDateTime |
protected List<String> |
customLogFolders |
protected String |
customLogFoldersNextLink |
protected String |
errorMessage |
protected AppLogUploadState |
status |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AppLogCollectionRequest() |
| Modifier and Type | Method and Description |
|---|---|
static AppLogCollectionRequest.Builder |
builderAppLogCollectionRequest()
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.ActionRequestReturningNonCollectionUnwrapped<AppLogCollectionDownloadDetails> |
createDownloadUrl() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCompletedDateTime()
“Time at which the upload log request reached a terminal state”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getCustomLogFolders()
“List of log folders.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getCustomLogFolders(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of log folders.”
|
Optional<String> |
getErrorMessage()
“Error message if any during the upload process”
|
Optional<AppLogUploadState> |
getStatus()
“Log upload status”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
AppLogCollectionRequest |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AppLogCollectionRequest |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
AppLogCollectionRequest |
withCompletedDateTime(OffsetDateTime completedDateTime)
Returns an immutable copy of
this with just the completedDateTime
field changed. |
AppLogCollectionRequest |
withErrorMessage(String errorMessage)
Returns an immutable copy of
this with just the errorMessage
field changed. |
AppLogCollectionRequest |
withStatus(AppLogUploadState status)
Returns an immutable copy of
this with just the status field
changed. |
protected AppLogUploadState status
protected String errorMessage
protected String customLogFoldersNextLink
protected OffsetDateTime completedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static AppLogCollectionRequest.Builder builderAppLogCollectionRequest()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<AppLogUploadState> getStatus()
public AppLogCollectionRequest withStatus(AppLogUploadState status)
this with just the status field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Log upload status”
status - new value of status field (as defined in service metadata)this with just the status field changedpublic Optional<String> getErrorMessage()
public AppLogCollectionRequest withErrorMessage(String errorMessage)
this with just the errorMessage
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Error message if any during the upload process”
errorMessage - new value of errorMessage field (as defined in service metadata)this with just the errorMessage field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getCustomLogFolders()
public com.github.davidmoten.odata.client.CollectionPage<String> getCustomLogFolders(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<OffsetDateTime> getCompletedDateTime()
public AppLogCollectionRequest withCompletedDateTime(OffsetDateTime completedDateTime)
this with just the completedDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Time at which the upload log request reached a terminal state”
completedDateTime - new value of completedDateTime field (as defined in service metadata)this with just the completedDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic AppLogCollectionRequest patch()
this with changed fields reset.public AppLogCollectionRequest put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<AppLogCollectionDownloadDetails> createDownloadUrl()
Copyright © 2018–2020. All rights reserved.