public class AppScope extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AppScope.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected String |
type |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AppScope() |
| Modifier and Type | Method and Description |
|---|---|
static AppScope.Builder |
builderAppScope()
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.ChangedFields |
getChangedFields() |
Optional<String> |
getDisplayName()
Org.OData.Core.V1.Computed
|
Optional<String> |
getType()
Org.OData.Core.V1.Computed
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
AppScope |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AppScope |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
AppScope |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
AppScope |
withType(String type)
Returns an immutable copy of
this with just the type field
changed. |
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static AppScope.Builder builderAppScope()
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 AppScope withType(String type)
this with just the type 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.
Org.OData.Core.V1.Computed
true
type - new value of type field (as defined in service metadata)this with just the type field changedpublic Optional<String> getDisplayName()
Org.OData.Core.V1.Computed
true
public AppScope 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.
Org.OData.Core.V1.Computed
true
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic AppScope patch()
this with changed fields reset.public AppScope put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.