public class CartToClassAssociation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
CartToClassAssociation.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
classroomIds |
protected String |
classroomIdsNextLink |
protected OffsetDateTime |
createdDateTime |
protected String |
description |
protected List<String> |
deviceCartIds |
protected String |
deviceCartIdsNextLink |
protected String |
displayName |
protected OffsetDateTime |
lastModifiedDateTime |
protected Integer |
version |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
CartToClassAssociation() |
| Modifier and Type | Method and Description |
|---|---|
static CartToClassAssociation.Builder |
builderCartToClassAssociation()
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() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getClassroomIds()
“Identifiers of classrooms to be associated with device carts.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getClassroomIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Identifiers of classrooms to be associated with device carts.”
|
Optional<OffsetDateTime> |
getCreatedDateTime()
“DateTime the object was created.”
|
Optional<String> |
getDescription()
“Admin provided description of the CartToClassAssociation.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getDeviceCartIds()
“Identifiers of device carts to be associated with classes.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getDeviceCartIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Identifiers of device carts to be associated with classes.”
|
Optional<String> |
getDisplayName()
“Admin provided name of the device configuration.”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“DateTime the object was last modified.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<Integer> |
getVersion()
“Version of the CartToClassAssociation.”
|
String |
odataTypeName() |
CartToClassAssociation |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
CartToClassAssociation |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
CartToClassAssociation |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
CartToClassAssociation |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
CartToClassAssociation |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
CartToClassAssociation |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
CartToClassAssociation |
withVersion(Integer version)
Returns an immutable copy of
this with just the version field
changed. |
protected OffsetDateTime createdDateTime
protected OffsetDateTime lastModifiedDateTime
protected Integer version
protected String displayName
protected String description
protected String deviceCartIdsNextLink
protected String classroomIdsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static CartToClassAssociation.Builder builderCartToClassAssociation()
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<OffsetDateTime> getCreatedDateTime()
public CartToClassAssociation withCreatedDateTime(OffsetDateTime createdDateTime)
this with just the createdDateTime
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.
“DateTime the object was created.”
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public CartToClassAssociation withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
this with just the lastModifiedDateTime 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.
“DateTime the object was last modified.”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<Integer> getVersion()
public CartToClassAssociation withVersion(Integer version)
this with just the version 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.
“Version of the CartToClassAssociation.”
version - new value of version field (as defined in service metadata)this with just the version field changedpublic Optional<String> getDisplayName()
public CartToClassAssociation withDisplayName(String displayName)
this with just the displayName
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.
“Admin provided name of the device configuration.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public CartToClassAssociation withDescription(String description)
this with just the description
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.
“Admin provided description of the CartToClassAssociation.”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getDeviceCartIds()
public com.github.davidmoten.odata.client.CollectionPage<String> getDeviceCartIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.CollectionPage<String> getClassroomIds()
public com.github.davidmoten.odata.client.CollectionPage<String> getClassroomIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic CartToClassAssociation patch()
this with changed fields reset.public CartToClassAssociation put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.