Class UnmanagedDevice

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

    public class UnmanagedDevice
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Unmanaged device discovered in the network.”
    • 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
      • deviceName

        protected String deviceName
      • domain

        protected String domain
      • ipAddress

        protected String ipAddress
      • lastLoggedOnUser

        protected String lastLoggedOnUser
      • location

        protected String location
      • macAddress

        protected String macAddress
      • manufacturer

        protected String manufacturer
      • model

        protected String model
      • osVersion

        protected String osVersion
    • Constructor Detail

      • UnmanagedDevice

        protected UnmanagedDevice()
    • Method Detail

      • odataTypeName

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

        public Optional<String> getDeviceName()
        “Device name.”
        Returns:
        property deviceName
      • withDeviceName

        public UnmanagedDevice withDeviceName​(String deviceName)
        Returns an immutable copy of this with just the deviceName 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 name.”

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

        public Optional<String> getDomain()
        “Domain.”
        Returns:
        property domain
      • withDomain

        public UnmanagedDevice withDomain​(String domain)
        Returns an immutable copy of this with just the domain 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.

        “Domain.”

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

        public Optional<String> getIpAddress()
        “IP address.”
        Returns:
        property ipAddress
      • withIpAddress

        public UnmanagedDevice withIpAddress​(String ipAddress)
        Returns an immutable copy of this with just the ipAddress 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.

        “IP address.”

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

        public Optional<String> getLastLoggedOnUser()
        “Last logged on user.”
        Returns:
        property lastLoggedOnUser
      • withLastLoggedOnUser

        public UnmanagedDevice withLastLoggedOnUser​(String lastLoggedOnUser)
        Returns an immutable copy of this with just the lastLoggedOnUser 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.

        “Last logged on user.”

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

        public Optional<OffsetDateTime> getLastSeenDateTime()
        “Last seen date and time.”
        Returns:
        property lastSeenDateTime
      • withLastSeenDateTime

        public UnmanagedDevice withLastSeenDateTime​(OffsetDateTime lastSeenDateTime)
        Returns an immutable copy of this with just the lastSeenDateTime 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.

        “Last seen date and time.”

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

        public Optional<String> getLocation()
        “Location.”
        Returns:
        property location
      • withLocation

        public UnmanagedDevice withLocation​(String location)
        Returns an immutable copy of this with just the location 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.

        “Location.”

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

        public Optional<String> getMacAddress()
        “MAC address.”
        Returns:
        property macAddress
      • withMacAddress

        public UnmanagedDevice withMacAddress​(String macAddress)
        Returns an immutable copy of this with just the macAddress 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.

        “MAC address.”

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

        public Optional<String> getManufacturer()
        “Manufacturer.”
        Returns:
        property manufacturer
      • withManufacturer

        public UnmanagedDevice withManufacturer​(String manufacturer)
        Returns an immutable copy of this with just the manufacturer 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.

        “Manufacturer.”

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

        public Optional<String> getModel()
        “Model.”
        Returns:
        property model
      • withModel

        public UnmanagedDevice withModel​(String model)
        Returns an immutable copy of this with just the model 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.

        “Model.”

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

        public Optional<String> getOs()
        “Operating system.”
        Returns:
        property os
      • withOs

        public UnmanagedDevice withOs​(String os)
        Returns an immutable copy of this with just the os 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.

        “Operating system.”

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

        public Optional<String> getOsVersion()
        “Operating system version.”
        Returns:
        property osVersion
      • withOsVersion

        public UnmanagedDevice withOsVersion​(String osVersion)
        Returns an immutable copy of this with just the osVersion 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.

        “Operating system version.”

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