Class MacOSAssociatedDomainsItem

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

    public class MacOSAssociatedDomainsItem
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “A mapping of application identifiers to associated domains.”
    • 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
      • applicationIdentifier

        protected String applicationIdentifier
      • directDownloadsEnabled

        protected Boolean directDownloadsEnabled
      • domainsNextLink

        protected String domainsNextLink
    • Constructor Detail

      • MacOSAssociatedDomainsItem

        protected MacOSAssociatedDomainsItem()
    • Method Detail

      • odataTypeName

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

        public Optional<String> getApplicationIdentifier()
        “The application identifier of the app to associate domains with.”
        Returns:
        property applicationIdentifier
      • withApplicationIdentifier

        public MacOSAssociatedDomainsItem withApplicationIdentifier​(String applicationIdentifier)
        Returns an immutable copy of this with just the applicationIdentifier 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 application identifier of the app to associate domains with.”

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

        public Optional<Boolean> getDirectDownloadsEnabled()
        “Determines whether data should be downloaded directly or via a CDN.”
        Returns:
        property directDownloadsEnabled
      • withDirectDownloadsEnabled

        public MacOSAssociatedDomainsItem withDirectDownloadsEnabled​(Boolean directDownloadsEnabled)
        Returns an immutable copy of this with just the directDownloadsEnabled 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.

        “Determines whether data should be downloaded directly or via a CDN.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getDomains()
        “The list of domains to associate.”
        Returns:
        property domains
      • getDomains

        public com.github.davidmoten.odata.client.CollectionPage<String> getDomains​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The list of domains to associate.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property domains
      • 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 MacOSAssociatedDomainsItem.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