Class CloudPCConnectivityIssue

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

    public class CloudPCConnectivityIssue
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “The user experience analyte connectivity issue entity.”
    • Field Detail

      • deviceId

        protected String deviceId
      • errorCode

        protected String errorCode
      • errorDescription

        protected String errorDescription
      • recommendedAction

        protected String recommendedAction
      • userId

        protected String userId
    • Constructor Detail

      • CloudPCConnectivityIssue

        protected CloudPCConnectivityIssue()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderCloudPCConnectivityIssue

        public static CloudPCConnectivityIssue.Builder builderCloudPCConnectivityIssue()
        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
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

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

        public Optional<String> getDeviceId()
        “The Intune DeviceId of the device the connection is associated with.”
        Returns:
        property deviceId
      • withDeviceId

        public CloudPCConnectivityIssue withDeviceId​(String deviceId)
        Returns an immutable copy of this with just the deviceId 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 Intune DeviceId of the device the connection is associated with.”

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

        public Optional<String> getErrorCode()
        “The error code of the connectivity issue.”
        Returns:
        property errorCode
      • withErrorCode

        public CloudPCConnectivityIssue withErrorCode​(String errorCode)
        Returns an immutable copy of this with just the errorCode 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 error code of the connectivity issue.”

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

        public Optional<OffsetDateTime> getErrorDateTime()
        “The time that the connection initiated. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time.”
        Returns:
        property errorDateTime
      • withErrorDateTime

        public CloudPCConnectivityIssue withErrorDateTime​(OffsetDateTime errorDateTime)
        Returns an immutable copy of this with just the errorDateTime 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 time that the connection initiated. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time.”

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

        public Optional<String> getErrorDescription()
        “The detailed description of what went wrong.”
        Returns:
        property errorDescription
      • withErrorDescription

        public CloudPCConnectivityIssue withErrorDescription​(String errorDescription)
        Returns an immutable copy of this with just the errorDescription 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 detailed description of what went wrong.”

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

        public Optional<String> getRecommendedAction()
        “The recommended action to fix the corresponding error.”
        Returns:
        property recommendedAction
      • withRecommendedAction

        public CloudPCConnectivityIssue withRecommendedAction​(String recommendedAction)
        Returns an immutable copy of this with just the recommendedAction 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 recommended action to fix the corresponding error.”

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

        public Optional<String> getUserId()
        “The unique id of user who initialize the connection.”
        Returns:
        property userId
      • withUserId

        public CloudPCConnectivityIssue withUserId​(String userId)
        Returns an immutable copy of this with just the userId 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 unique id of user who initialize the connection.”

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

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Entity
      • patch

        public CloudPCConnectivityIssue patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public CloudPCConnectivityIssue put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected