Package odata.msgraph.client.entity
Class SchedulingGroup
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ChangeTrackedEntity
-
- odata.msgraph.client.entity.SchedulingGroup
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SchedulingGroup extends ChangeTrackedEntity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchedulingGroup.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringdisplayNameprotected BooleanisActiveprotected List<String>userIdsprotected StringuserIdsNextLink-
Fields inherited from class odata.msgraph.client.entity.ChangeTrackedEntity
createdDateTime, lastModifiedBy, lastModifiedDateTime
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSchedulingGroup()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SchedulingGroup.BuilderbuilderSchedulingGroup()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.ChangedFieldsgetChangedFields()Optional<String>getDisplayName()Optional<Boolean>getIsActive()Org.OData.Core.V1.Computedcom.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()com.github.davidmoten.odata.client.CollectionPage<String>getUserIds()com.github.davidmoten.odata.client.CollectionPage<String>getUserIds(com.github.davidmoten.odata.client.HttpRequestOptions options)StringodataTypeName()SchedulingGrouppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)SchedulingGroupput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SchedulingGroupwithDisplayName(String displayName)SchedulingGroupwithIsActive(Boolean isActive)Returns an immutable copy ofthiswith just theisActivefield changed.SchedulingGroupwithUnmappedField(String name, Object value)SchedulingGroupwithUserIds(List<String> userIds)-
Methods inherited from class odata.msgraph.client.entity.ChangeTrackedEntity
getCreatedDateTime, getLastModifiedBy, getLastModifiedDateTime, withCreatedDateTime, withLastModifiedBy, withLastModifiedDateTime
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classChangeTrackedEntity
-
builderSchedulingGroup
public static SchedulingGroup.Builder builderSchedulingGroup()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classChangeTrackedEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classChangeTrackedEntity
-
withDisplayName
public SchedulingGroup withDisplayName(String displayName)
-
getIsActive
public Optional<Boolean> getIsActive()
Org.OData.Core.V1.Computed
true
- Returns:
- property isActive
-
withIsActive
public SchedulingGroup withIsActive(Boolean isActive)
Returns an immutable copy ofthiswith just theisActivefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
isActive- new value ofisActivefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisActivefield changed
-
getUserIds
public com.github.davidmoten.odata.client.CollectionPage<String> getUserIds()
-
withUserIds
public SchedulingGroup withUserIds(List<String> userIds)
-
getUserIds
public com.github.davidmoten.odata.client.CollectionPage<String> getUserIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public SchedulingGroup withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classChangeTrackedEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classChangeTrackedEntity
-
patch
public SchedulingGroup patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classChangeTrackedEntity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public SchedulingGroup put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classChangeTrackedEntity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classChangeTrackedEntity
-
-