public class AdminConsent extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
AdminConsent.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected AdminConsentState |
shareAPNSData |
protected AdminConsentState |
shareUserExperienceAnalyticsData |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
AdminConsent() |
| Modifier and Type | Method and Description |
|---|---|
static AdminConsent.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<AdminConsentState> |
getShareAPNSData()
“The admin consent state of sharing user and device data to Apple.”
|
Optional<AdminConsentState> |
getShareUserExperienceAnalyticsData()
“Gets or sets the admin consent for sharing User experience analytics data.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
AdminConsent |
withShareAPNSData(AdminConsentState shareAPNSData)
Returns an immutable copy of
this with just the shareAPNSData
field changed. |
AdminConsent |
withShareUserExperienceAnalyticsData(AdminConsentState shareUserExperienceAnalyticsData)
Returns an immutable copy of
this with just the shareUserExperienceAnalyticsData field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected AdminConsentState shareAPNSData
protected AdminConsentState shareUserExperienceAnalyticsData
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<AdminConsentState> getShareAPNSData()
public AdminConsent withShareAPNSData(AdminConsentState shareAPNSData)
this with just the shareAPNSData
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 admin consent state of sharing user and device data to Apple.”
shareAPNSData - new value of shareAPNSData field (as defined in service metadata)this with just the shareAPNSData field changedpublic Optional<AdminConsentState> getShareUserExperienceAnalyticsData()
public AdminConsent withShareUserExperienceAnalyticsData(AdminConsentState shareUserExperienceAnalyticsData)
this with just the shareUserExperienceAnalyticsData 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.
“Gets or sets the admin consent for sharing User experience analytics data.”
shareUserExperienceAnalyticsData - new value of shareUserExperienceAnalyticsData field (as defined in service metadata)this with just the shareUserExperienceAnalyticsData field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static AdminConsent.Builder builder()
Copyright © 2018–2020. All rights reserved.