Class OemWarranty

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

    public class OemWarranty
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “OEM Warranty information for a given device”
    • 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
      • additionalWarrantiesNextLink

        protected String additionalWarrantiesNextLink
      • baseWarrantiesNextLink

        protected String baseWarrantiesNextLink
      • deviceConfigurationUrl

        protected String deviceConfigurationUrl
      • deviceWarrantyUrl

        protected String deviceWarrantyUrl
    • Constructor Detail

      • OemWarranty

        protected OemWarranty()
    • Method Detail

      • odataTypeName

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

        public com.github.davidmoten.odata.client.CollectionPage<WarrantyOffer> getAdditionalWarranties()
        “List of additional warranty offers. This collection can contain a maximum of 100 elements.”
        Returns:
        property additionalWarranties
      • getAdditionalWarranties

        public com.github.davidmoten.odata.client.CollectionPage<WarrantyOffer> getAdditionalWarranties​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of additional warranty offers. This collection can contain a maximum of 100 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property additionalWarranties
      • getBaseWarranties

        public com.github.davidmoten.odata.client.CollectionPage<WarrantyOffer> getBaseWarranties()
        “List of base warranty offers. This collection can contain a maximum of 100 elements.”
        Returns:
        property baseWarranties
      • getBaseWarranties

        public com.github.davidmoten.odata.client.CollectionPage<WarrantyOffer> getBaseWarranties​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of base warranty offers. This collection can contain a maximum of 100 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property baseWarranties
      • getDeviceConfigurationUrl

        public Optional<String> getDeviceConfigurationUrl()
        “Device configuration page URL”
        Returns:
        property deviceConfigurationUrl
      • withDeviceConfigurationUrl

        public OemWarranty withDeviceConfigurationUrl​(String deviceConfigurationUrl)
        Returns an immutable copy of this with just the deviceConfigurationUrl 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.

        “Device configuration page URL”

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

        public Optional<String> getDeviceWarrantyUrl()
        “Device warranty page URL”
        Returns:
        property deviceWarrantyUrl
      • withDeviceWarrantyUrl

        public OemWarranty withDeviceWarrantyUrl​(String deviceWarrantyUrl)
        Returns an immutable copy of this with just the deviceWarrantyUrl 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.

        “Device warranty page URL”

        Parameters:
        deviceWarrantyUrl - new value of deviceWarrantyUrl field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceWarrantyUrl 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 OemWarranty.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