public class WindowsPrivacyDataAccessControlItem extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsPrivacyDataAccessControlItem.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected WindowsPrivacyDataAccessLevel |
accessLevel |
protected String |
appDisplayName |
protected String |
appPackageFamilyName |
protected WindowsPrivacyDataCategory |
dataCategory |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
WindowsPrivacyDataAccessControlItem() |
| Modifier and Type | Method and Description |
|---|---|
static WindowsPrivacyDataAccessControlItem.Builder |
builderWindowsPrivacyDataAccessControlItem()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<WindowsPrivacyDataAccessLevel> |
getAccessLevel()
“This indicates an access level for the privacy data category to which the
specified application will be given to.”
|
Optional<String> |
getAppDisplayName()
“The Package Family Name of a Windows app.
|
Optional<String> |
getAppPackageFamilyName()
“The Package Family Name of a Windows app.
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<WindowsPrivacyDataCategory> |
getDataCategory()
“This indicates a privacy data category to which the specific access control will
apply.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
WindowsPrivacyDataAccessControlItem |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
WindowsPrivacyDataAccessControlItem |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
WindowsPrivacyDataAccessControlItem |
withAccessLevel(WindowsPrivacyDataAccessLevel accessLevel)
Returns an immutable copy of
this with just the accessLevel
field changed. |
WindowsPrivacyDataAccessControlItem |
withAppDisplayName(String appDisplayName)
Returns an immutable copy of
this with just the appDisplayName
field changed. |
WindowsPrivacyDataAccessControlItem |
withAppPackageFamilyName(String appPackageFamilyName)
Returns an immutable copy of
this with just the appPackageFamilyName field changed. |
WindowsPrivacyDataAccessControlItem |
withDataCategory(WindowsPrivacyDataCategory dataCategory)
Returns an immutable copy of
this with just the dataCategory
field changed. |
protected WindowsPrivacyDataAccessLevel accessLevel
protected WindowsPrivacyDataCategory dataCategory
protected String appPackageFamilyName
protected String appDisplayName
protected WindowsPrivacyDataAccessControlItem()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static WindowsPrivacyDataAccessControlItem.Builder builderWindowsPrivacyDataAccessControlItem()
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<WindowsPrivacyDataAccessLevel> getAccessLevel()
public WindowsPrivacyDataAccessControlItem withAccessLevel(WindowsPrivacyDataAccessLevel accessLevel)
this with just the accessLevel
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.
“This indicates an access level for the privacy data category to which the specified application will be given to.”
accessLevel - new value of accessLevel field (as defined in service metadata)this with just the accessLevel field changedpublic Optional<WindowsPrivacyDataCategory> getDataCategory()
public WindowsPrivacyDataAccessControlItem withDataCategory(WindowsPrivacyDataCategory dataCategory)
this with just the dataCategory
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.
“This indicates a privacy data category to which the specific access control will apply.”
dataCategory - new value of dataCategory field (as defined in service metadata)this with just the dataCategory field changedpublic Optional<String> getAppPackageFamilyName()
public WindowsPrivacyDataAccessControlItem withAppPackageFamilyName(String appPackageFamilyName)
this with just the appPackageFamilyName 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 Package Family Name of a Windows app. When set, the access level applies to the specified application.”
appPackageFamilyName - new value of appPackageFamilyName field (as defined in service metadata)this with just the appPackageFamilyName field changedpublic Optional<String> getAppDisplayName()
public WindowsPrivacyDataAccessControlItem withAppDisplayName(String appDisplayName)
this with just the appDisplayName
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 Package Family Name of a Windows app. When set, the access level applies to the specified application.”
appDisplayName - new value of appDisplayName field (as defined in service metadata)this with just the appDisplayName field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic WindowsPrivacyDataAccessControlItem patch()
this with changed fields reset.public WindowsPrivacyDataAccessControlItem put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.