public class DeviceLogCollectionResponse extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceLogCollectionResponse.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Long |
errorCode |
protected OffsetDateTime |
expirationDateTimeUTC |
protected String |
initiatedByUserPrincipalName |
protected String |
managedDeviceId |
protected OffsetDateTime |
receivedDateTimeUTC |
protected OffsetDateTime |
requestedDateTimeUTC |
protected Double |
size |
protected String |
status |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceLogCollectionResponse() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceLogCollectionResponse.Builder |
builderDeviceLogCollectionResponse()
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.ActionRequestReturningNonCollection<String> |
createDownloadUrl() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Long> |
getErrorCode()
“The error code, if any.
|
Optional<OffsetDateTime> |
getExpirationDateTimeUTC()
“The DateTime of the expiration of the logs”
|
Optional<String> |
getInitiatedByUserPrincipalName()
“The UPN for who initiated the request”
|
Optional<String> |
getManagedDeviceId()
“The device Id”
|
Optional<OffsetDateTime> |
getReceivedDateTimeUTC()
“The DateTime the request was received”
|
Optional<OffsetDateTime> |
getRequestedDateTimeUTC()
“The DateTime of the request”
|
Optional<Double> |
getSize()
“The size of the logs.
|
Optional<String> |
getStatus()
“The status of the log collection request”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceLogCollectionResponse |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceLogCollectionResponse |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceLogCollectionResponse |
withErrorCode(Long errorCode)
Returns an immutable copy of
this with just the errorCode field
changed. |
DeviceLogCollectionResponse |
withExpirationDateTimeUTC(OffsetDateTime expirationDateTimeUTC)
Returns an immutable copy of
this with just the expirationDateTimeUTC field changed. |
DeviceLogCollectionResponse |
withInitiatedByUserPrincipalName(String initiatedByUserPrincipalName)
Returns an immutable copy of
this with just the initiatedByUserPrincipalName field changed. |
DeviceLogCollectionResponse |
withManagedDeviceId(String managedDeviceId)
Returns an immutable copy of
this with just the managedDeviceId
field changed. |
DeviceLogCollectionResponse |
withReceivedDateTimeUTC(OffsetDateTime receivedDateTimeUTC)
Returns an immutable copy of
this with just the receivedDateTimeUTC field changed. |
DeviceLogCollectionResponse |
withRequestedDateTimeUTC(OffsetDateTime requestedDateTimeUTC)
Returns an immutable copy of
this with just the requestedDateTimeUTC field changed. |
DeviceLogCollectionResponse |
withSize(Double size)
Returns an immutable copy of
this with just the size field
changed. |
DeviceLogCollectionResponse |
withStatus(String status)
Returns an immutable copy of
this with just the status field
changed. |
protected String status
protected String managedDeviceId
protected Long errorCode
protected OffsetDateTime requestedDateTimeUTC
protected OffsetDateTime receivedDateTimeUTC
protected String initiatedByUserPrincipalName
protected OffsetDateTime expirationDateTimeUTC
protected Double size
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceLogCollectionResponse.Builder builderDeviceLogCollectionResponse()
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<String> getStatus()
public DeviceLogCollectionResponse withStatus(String 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.
“The status of the log collection request”
status - new value of status field (as defined in service metadata)this with just the status field changedpublic Optional<String> getManagedDeviceId()
public DeviceLogCollectionResponse withManagedDeviceId(String managedDeviceId)
this with just the managedDeviceId
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.
“The device Id”
managedDeviceId - new value of managedDeviceId field (as defined in service metadata)this with just the managedDeviceId field changedpublic Optional<Long> getErrorCode()
public DeviceLogCollectionResponse withErrorCode(Long errorCode)
this with just the errorCode 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.
“The error code, if any. Valid values -9.22337203685478E+18 to 9.22337203685478E+ 18”
errorCode - new value of errorCode field (as defined in service metadata)this with just the errorCode field changedpublic Optional<OffsetDateTime> getRequestedDateTimeUTC()
public DeviceLogCollectionResponse withRequestedDateTimeUTC(OffsetDateTime requestedDateTimeUTC)
this with just the requestedDateTimeUTC 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.
“The DateTime of the request”
requestedDateTimeUTC - new value of requestedDateTimeUTC field (as defined in service metadata)this with just the requestedDateTimeUTC field changedpublic Optional<OffsetDateTime> getReceivedDateTimeUTC()
public DeviceLogCollectionResponse withReceivedDateTimeUTC(OffsetDateTime receivedDateTimeUTC)
this with just the receivedDateTimeUTC 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.
“The DateTime the request was received”
receivedDateTimeUTC - new value of receivedDateTimeUTC field (as defined in service metadata)this with just the receivedDateTimeUTC field changedpublic Optional<String> getInitiatedByUserPrincipalName()
public DeviceLogCollectionResponse withInitiatedByUserPrincipalName(String initiatedByUserPrincipalName)
this with just the initiatedByUserPrincipalName 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.
“The UPN for who initiated the request”
initiatedByUserPrincipalName - new value of initiatedByUserPrincipalName field (as defined in service metadata)this with just the initiatedByUserPrincipalName field changedpublic Optional<OffsetDateTime> getExpirationDateTimeUTC()
public DeviceLogCollectionResponse withExpirationDateTimeUTC(OffsetDateTime expirationDateTimeUTC)
this with just the expirationDateTimeUTC 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.
“The DateTime of the expiration of the logs”
expirationDateTimeUTC - new value of expirationDateTimeUTC field (as defined in service metadata)this with just the expirationDateTimeUTC field changedpublic Optional<Double> getSize()
public DeviceLogCollectionResponse withSize(Double size)
this with just the size 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.
“The size of the logs. Valid values -1.79769313486232E+308 to 1.79769313486232E+ 308”
size - new value of size field (as defined in service metadata)this with just the size field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceLogCollectionResponse patch()
this with changed fields reset.public DeviceLogCollectionResponse put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<String> createDownloadUrl()
Copyright © 2018–2020. All rights reserved.