public class DeviceLogCollectionRequest extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceLogCollectionRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
id |
protected String |
odataType |
protected DeviceLogCollectionTemplateType |
templateType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceLogCollectionRequest() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceLogCollectionRequest.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getId()
“The unique identifier”
|
Optional<DeviceLogCollectionTemplateType> |
getTemplateType()
“The template type that is sent with the collection request”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceLogCollectionRequest |
withId(String id)
Returns an immutable copy of
this with just the id field changed
. |
DeviceLogCollectionRequest |
withTemplateType(DeviceLogCollectionTemplateType templateType)
Returns an immutable copy of
this with just the templateType
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String id
protected DeviceLogCollectionTemplateType templateType
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic DeviceLogCollectionRequest withId(String id)
this with just the id 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 unique identifier”
id - new value of id field (as defined in service metadata)this with just the id field changedpublic Optional<DeviceLogCollectionTemplateType> getTemplateType()
public DeviceLogCollectionRequest withTemplateType(DeviceLogCollectionTemplateType templateType)
this with just the templateType
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 template type that is sent with the collection request”
templateType - new value of templateType field (as defined in service metadata)this with just the templateType field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static DeviceLogCollectionRequest.Builder builder()
Copyright © 2018–2020. All rights reserved.