Package odata.msgraph.client.beta.entity
Class CloudPcUserSetting
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.CloudPcUserSetting
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class CloudPcUserSetting extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCloudPcUserSetting.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected StringdisplayNameprotected OffsetDateTimelastModifiedDateTimeprotected BooleanlocalAdminEnabledprotected BooleanselfServiceEnabled-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCloudPcUserSetting()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestNoReturnassign(List<CloudPcUserSettingAssignment> assignments)static CloudPcUserSetting.BuilderbuilderCloudPcUserSetting()Returns a builder which is used to create a new instance of this class (given that this class is immutable).CloudPcUserSettingAssignmentCollectionRequestgetAssignments()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()Optional<String>getDisplayName()Optional<OffsetDateTime>getLastModifiedDateTime()Optional<Boolean>getLocalAdminEnabled()Optional<Boolean>getSelfServiceEnabled()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()CloudPcUserSettingpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)CloudPcUserSettingput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()CloudPcUserSettingwithCreatedDateTime(OffsetDateTime createdDateTime)CloudPcUserSettingwithDisplayName(String displayName)CloudPcUserSettingwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)CloudPcUserSettingwithLocalAdminEnabled(Boolean localAdminEnabled)CloudPcUserSettingwithSelfServiceEnabled(Boolean selfServiceEnabled)CloudPcUserSettingwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
displayName
protected String displayName
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
localAdminEnabled
protected Boolean localAdminEnabled
-
selfServiceEnabled
protected Boolean selfServiceEnabled
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderCloudPcUserSetting
public static CloudPcUserSetting.Builder builderCloudPcUserSetting()
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 classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public CloudPcUserSetting withCreatedDateTime(OffsetDateTime createdDateTime)
-
withDisplayName
public CloudPcUserSetting withDisplayName(String displayName)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public CloudPcUserSetting withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
withLocalAdminEnabled
public CloudPcUserSetting withLocalAdminEnabled(Boolean localAdminEnabled)
-
withSelfServiceEnabled
public CloudPcUserSetting withSelfServiceEnabled(Boolean selfServiceEnabled)
-
withUnmappedField
public CloudPcUserSetting withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public CloudPcUserSettingAssignmentCollectionRequest getAssignments()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public CloudPcUserSetting patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public CloudPcUserSetting put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
assign
public com.github.davidmoten.odata.client.ActionRequestNoReturn assign(List<CloudPcUserSettingAssignment> assignments)
-
-