Package odata.msgraph.client.beta.entity
Class DeviceManagementResourceAccessProfileBase
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementResourceAccessProfileBase
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
Windows10XCertificateProfile,Windows10XTrustedRootCertificate,Windows10XVpnConfiguration,Windows10XWifiConfiguration
public class DeviceManagementResourceAccessProfileBase extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Base Profile Type for Resource Access”
-
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreationDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected OffsetDateTimelastModifiedDateTimeprotected List<String>roleScopeTagIdsprotected StringroleScopeTagIdsNextLinkprotected Integerversion-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementResourceAccessProfileBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DeviceManagementResourceAccessProfileAssignment>assign(List<DeviceManagementResourceAccessProfileAssignment> assignments)DeviceManagementResourceAccessProfileAssignmentCollectionRequestgetAssignments()“The list of assignments for the device configuration profile.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreationDateTime()“DateTime profile was created”Optional<String>getDescription()“Profile description”Optional<String>getDisplayName()“Profile display name”Optional<OffsetDateTime>getLastModifiedDateTime()“DateTime profile was last modified”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds()“Scope Tags”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)“Scope Tags”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Integer>getVersion()“Version of the profile”StringodataTypeName()DeviceManagementResourceAccessProfileBasepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementResourceAccessProfileBaseput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementResourceAccessProfileBasewithCreationDateTime(OffsetDateTime creationDateTime)Returns an immutable copy ofthiswith just thecreationDateTimefield changed.DeviceManagementResourceAccessProfileBasewithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.DeviceManagementResourceAccessProfileBasewithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.DeviceManagementResourceAccessProfileBasewithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.DeviceManagementResourceAccessProfileBasewithRoleScopeTagIds(List<String> roleScopeTagIds)Returns an immutable copy ofthiswith just theroleScopeTagIdsfield changed.DeviceManagementResourceAccessProfileBasewithUnmappedField(String name, String value)DeviceManagementResourceAccessProfileBasewithVersion(Integer version)Returns an immutable copy ofthiswith just theversionfield changed.
-
-
-
Field Detail
-
creationDateTime
protected OffsetDateTime creationDateTime
-
description
protected String description
-
displayName
protected String displayName
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
roleScopeTagIdsNextLink
protected String roleScopeTagIdsNextLink
-
version
protected Integer version
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
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
-
getCreationDateTime
public Optional<OffsetDateTime> getCreationDateTime()
“DateTime profile was created”- Returns:
- property creationDateTime
-
withCreationDateTime
public DeviceManagementResourceAccessProfileBase withCreationDateTime(OffsetDateTime creationDateTime)
Returns an immutable copy ofthiswith just thecreationDateTimefield 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.“DateTime profile was created”
- Parameters:
creationDateTime- new value ofcreationDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreationDateTimefield changed
-
getDescription
public Optional<String> getDescription()
“Profile description”- Returns:
- property description
-
withDescription
public DeviceManagementResourceAccessProfileBase withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield 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.“Profile description”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“Profile display name”- Returns:
- property displayName
-
withDisplayName
public DeviceManagementResourceAccessProfileBase withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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.“Profile display name”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“DateTime profile was last modified”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public DeviceManagementResourceAccessProfileBase withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy ofthiswith just thelastModifiedDateTimefield 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.“DateTime profile was last modified”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
“Scope Tags”- Returns:
- property roleScopeTagIds
-
withRoleScopeTagIds
public DeviceManagementResourceAccessProfileBase withRoleScopeTagIds(List<String> roleScopeTagIds)
Returns an immutable copy ofthiswith just theroleScopeTagIdsfield 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.“Scope Tags”
- Parameters:
roleScopeTagIds- new value ofroleScopeTagIdsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theroleScopeTagIdsfield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Scope Tags”- Parameters:
options- specify connect and read timeouts- Returns:
- property roleScopeTagIds
-
withVersion
public DeviceManagementResourceAccessProfileBase withVersion(Integer version)
Returns an immutable copy ofthiswith just theversionfield 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.“Version of the profile”
- Parameters:
version- new value ofversionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionfield changed
-
withUnmappedField
public DeviceManagementResourceAccessProfileBase withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public DeviceManagementResourceAccessProfileAssignmentCollectionRequest getAssignments()
“The list of assignments for the device configuration profile.”- Returns:
- navigational property assignments
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public DeviceManagementResourceAccessProfileBase patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceManagementResourceAccessProfileBase 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.CollectionPageNonEntityRequest<DeviceManagementResourceAccessProfileAssignment> assign(List<DeviceManagementResourceAccessProfileAssignment> assignments)
-
-