Package odata.msgraph.client.beta.entity
Class UnifiedRoleDefinition
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.UnifiedRoleDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class UnifiedRoleDefinition extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnifiedRoleDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringdescriptionprotected StringdisplayNameprotected BooleanisBuiltInprotected BooleanisEnabledprotected List<String>resourceScopesprotected StringresourceScopesNextLinkprotected List<UnifiedRolePermission>rolePermissionsprotected StringrolePermissionsNextLinkprotected StringtemplateIdprotected Stringversion-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnifiedRoleDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnifiedRoleDefinition.BuilderbuilderUnifiedRoleDefinition()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>getDescription()Optional<String>getDisplayName()UnifiedRoleDefinitionCollectionRequestgetInheritsPermissionsFrom()Optional<Boolean>getIsBuiltIn()Optional<Boolean>getIsEnabled()com.github.davidmoten.odata.client.CollectionPage<String>getResourceScopes()com.github.davidmoten.odata.client.CollectionPage<String>getResourceScopes(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.CollectionPage<UnifiedRolePermission>getRolePermissions()com.github.davidmoten.odata.client.CollectionPage<UnifiedRolePermission>getRolePermissions(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getTemplateId()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getVersion()StringodataTypeName()UnifiedRoleDefinitionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)UnifiedRoleDefinitionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()UnifiedRoleDefinitionwithDescription(String description)UnifiedRoleDefinitionwithDisplayName(String displayName)UnifiedRoleDefinitionwithIsBuiltIn(Boolean isBuiltIn)UnifiedRoleDefinitionwithIsEnabled(Boolean isEnabled)UnifiedRoleDefinitionwithResourceScopes(List<String> resourceScopes)UnifiedRoleDefinitionwithRolePermissions(List<UnifiedRolePermission> rolePermissions)UnifiedRoleDefinitionwithTemplateId(String templateId)UnifiedRoleDefinitionwithUnmappedField(String name, String value)UnifiedRoleDefinitionwithVersion(String version)
-
-
-
Field Detail
-
description
protected String description
-
displayName
protected String displayName
-
isBuiltIn
protected Boolean isBuiltIn
-
isEnabled
protected Boolean isEnabled
-
resourceScopesNextLink
protected String resourceScopesNextLink
-
rolePermissions
protected List<UnifiedRolePermission> rolePermissions
-
rolePermissionsNextLink
protected String rolePermissionsNextLink
-
templateId
protected String templateId
-
version
protected String version
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderUnifiedRoleDefinition
public static UnifiedRoleDefinition.Builder builderUnifiedRoleDefinition()
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
-
withDescription
public UnifiedRoleDefinition withDescription(String description)
-
withDisplayName
public UnifiedRoleDefinition withDisplayName(String displayName)
-
withIsBuiltIn
public UnifiedRoleDefinition withIsBuiltIn(Boolean isBuiltIn)
-
withIsEnabled
public UnifiedRoleDefinition withIsEnabled(Boolean isEnabled)
-
getResourceScopes
public com.github.davidmoten.odata.client.CollectionPage<String> getResourceScopes()
-
withResourceScopes
public UnifiedRoleDefinition withResourceScopes(List<String> resourceScopes)
-
getResourceScopes
public com.github.davidmoten.odata.client.CollectionPage<String> getResourceScopes(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getRolePermissions
public com.github.davidmoten.odata.client.CollectionPage<UnifiedRolePermission> getRolePermissions()
-
withRolePermissions
public UnifiedRoleDefinition withRolePermissions(List<UnifiedRolePermission> rolePermissions)
-
getRolePermissions
public com.github.davidmoten.odata.client.CollectionPage<UnifiedRolePermission> getRolePermissions(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withTemplateId
public UnifiedRoleDefinition withTemplateId(String templateId)
-
withVersion
public UnifiedRoleDefinition withVersion(String version)
-
withUnmappedField
public UnifiedRoleDefinition withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getInheritsPermissionsFrom
public UnifiedRoleDefinitionCollectionRequest getInheritsPermissionsFrom()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public UnifiedRoleDefinition patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public UnifiedRoleDefinition put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-