public class RoleScopeTag extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
RoleScopeTag.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
displayName |
protected Boolean |
isBuiltIn |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
RoleScopeTag() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<RoleScopeTagAutoAssignment> |
assign(List<RoleScopeTagAutoAssignment> assignments) |
static RoleScopeTag.Builder |
builderRoleScopeTag()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
RoleScopeTagAutoAssignmentCollectionRequest |
getAssignments()
“The list of assignments for this Role Scope Tag.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
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.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
RoleScopeTag |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
RoleScopeTag |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
RoleScopeTag |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
RoleScopeTag |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
RoleScopeTag |
withIsBuiltIn(Boolean isBuiltIn)
Returns an immutable copy of
this with just the isBuiltIn field
changed. |
protected String displayName
protected String description
protected Boolean isBuiltIn
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static RoleScopeTag.Builder builderRoleScopeTag()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<String> getDisplayName()
public RoleScopeTag withDisplayName(String displayName)
this with just the displayName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
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.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public RoleScopeTag withDescription(String description)
this with just the description
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Description of the Role Scope Tag.”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<Boolean> getIsBuiltIn()
public RoleScopeTag withIsBuiltIn(Boolean isBuiltIn)
this with just the isBuiltIn field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Description of the Role Scope Tag.”
isBuiltIn - new value of isBuiltIn field (as defined in service metadata)this with just the isBuiltIn field changedpublic RoleScopeTagAutoAssignmentCollectionRequest getAssignments()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic RoleScopeTag patch()
this with changed fields reset.public RoleScopeTag put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<RoleScopeTagAutoAssignment> assign(List<RoleScopeTagAutoAssignment> assignments)
Copyright © 2018–2020. All rights reserved.