public class SchedulingGroup extends ChangeTrackedEntity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
SchedulingGroup.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected Boolean |
isActive |
protected List<String> |
userIds |
protected String |
userIdsNextLink |
createdDateTime, lastModifiedBy, lastModifiedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SchedulingGroup() |
| Modifier and Type | Method and Description |
|---|---|
static SchedulingGroup.Builder |
builderSchedulingGroup()
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> |
getDisplayName() |
Optional<Boolean> |
getIsActive()
Org.OData.Core.V1.Computed
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getUserIds() |
String |
odataTypeName() |
SchedulingGroup |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
SchedulingGroup |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
SchedulingGroup |
withDisplayName(String displayName) |
SchedulingGroup |
withIsActive(Boolean isActive)
Returns an immutable copy of
this with just the isActive field
changed. |
getCreatedDateTime, getLastModifiedBy, getLastModifiedDateTime, stageForDeletion, withCreatedDateTime, withLastModifiedBy, withLastModifiedDateTimeprotected String displayName
protected Boolean isActive
protected String userIdsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class ChangeTrackedEntitypublic static SchedulingGroup.Builder builderSchedulingGroup()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class ChangeTrackedEntitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class ChangeTrackedEntitypublic SchedulingGroup withDisplayName(String displayName)
public Optional<Boolean> getIsActive()
Org.OData.Core.V1.Computed
true
public SchedulingGroup withIsActive(Boolean isActive)
this with just the isActive 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.
Org.OData.Core.V1.Computed
true
isActive - new value of isActive field (as defined in service metadata)this with just the isActive field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getUserIds()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class ChangeTrackedEntitypublic SchedulingGroup patch()
this with changed fields reset.patch in class ChangeTrackedEntitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic SchedulingGroup put()
this
with changed fields reset (they were ignored anyway).put in class ChangeTrackedEntitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class ChangeTrackedEntityCopyright © 2018–2020. All rights reserved.