Package odata.msgraph.client.beta.entity
Class RoleScopeTag
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.RoleScopeTag
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class RoleScopeTag extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Role Scope Tag”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRoleScopeTag.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringdescriptionprotected StringdisplayNameprotected BooleanisBuiltIn-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRoleScopeTag()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<RoleScopeTagAutoAssignment>assign(List<RoleScopeTagAutoAssignment> assignments)static RoleScopeTag.BuilderbuilderRoleScopeTag()Returns a builder which is used to create a new instance of this class (given that this class is immutable).RoleScopeTagAutoAssignmentCollectionRequestgetAssignments()“The list of assignments for this Role Scope Tag.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDescription()“Description of the Role Scope Tag.”Optional<String>getDisplayName()“The display or friendly name of the Role Scope Tag.”Optional<Boolean>getIsBuiltIn()“Description of the Role Scope Tag.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()RoleScopeTagpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)RoleScopeTagput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()RoleScopeTagwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.RoleScopeTagwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.RoleScopeTagwithIsBuiltIn(Boolean isBuiltIn)Returns an immutable copy ofthiswith just theisBuiltInfield changed.RoleScopeTagwithUnmappedField(String name, String value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderRoleScopeTag
public static RoleScopeTag.Builder builderRoleScopeTag()
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
-
getDescription
public Optional<String> getDescription()
“Description of the Role Scope Tag.”- Returns:
- property description
-
withDescription
public RoleScopeTag 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.“Description of the Role Scope Tag.”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The display or friendly name of the Role Scope Tag.”- Returns:
- property displayName
-
withDisplayName
public RoleScopeTag 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.“The display or friendly name of the Role Scope Tag.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getIsBuiltIn
public Optional<Boolean> getIsBuiltIn()
“Description of the Role Scope Tag. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property isBuiltIn
-
withIsBuiltIn
public RoleScopeTag withIsBuiltIn(Boolean isBuiltIn)
Returns an immutable copy ofthiswith just theisBuiltInfield 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.“Description of the Role Scope Tag. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
isBuiltIn- new value ofisBuiltInfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisBuiltInfield changed
-
withUnmappedField
public RoleScopeTag withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public RoleScopeTagAutoAssignmentCollectionRequest getAssignments()
“The list of assignments for this Role Scope Tag.”- 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 RoleScopeTag patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public RoleScopeTag 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<RoleScopeTagAutoAssignment> assign(List<RoleScopeTagAutoAssignment> assignments)
-
-