Class AdminConsent

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class AdminConsent
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Admin consent information.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • shareUserExperienceAnalyticsData

        protected AdminConsentState shareUserExperienceAnalyticsData
    • Constructor Detail

      • AdminConsent

        protected AdminConsent()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getShareAPNSData

        public Optional<AdminConsentState> getShareAPNSData()
        “The admin consent state of sharing user and device data to Apple.”
        Returns:
        property shareAPNSData
      • withShareAPNSData

        public AdminConsent withShareAPNSData​(AdminConsentState shareAPNSData)
        Returns an immutable copy of 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.”

        Parameters:
        shareAPNSData - new value of shareAPNSData field (as defined in service metadata)
        Returns:
        immutable copy of this with just the shareAPNSData field changed
      • getShareUserExperienceAnalyticsData

        public Optional<AdminConsentState> getShareUserExperienceAnalyticsData()
        “Gets or sets the admin consent for sharing User experience analytics data.”
        Returns:
        property shareUserExperienceAnalyticsData
      • withShareUserExperienceAnalyticsData

        public AdminConsent withShareUserExperienceAnalyticsData​(AdminConsentState shareUserExperienceAnalyticsData)
        Returns an immutable copy of 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.”

        Parameters:
        shareUserExperienceAnalyticsData - new value of shareUserExperienceAnalyticsData field (as defined in service metadata)
        Returns:
        immutable copy of this with just the shareUserExperienceAnalyticsData field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
      • builder

        public static AdminConsent.Builder builder()
        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