Package odata.msgraph.client.beta.entity
Class CloudPCConnectivityIssue
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCloudPCConnectivityIssue.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringdeviceIdprotected StringerrorCodeprotected OffsetDateTimeerrorDateTimeprotected StringerrorDescriptionprotected StringrecommendedActionprotected StringuserId-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCloudPCConnectivityIssue()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CloudPCConnectivityIssue.BuilderbuilderCloudPCConnectivityIssue()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDeviceId()“The Intune DeviceId of the device the connection is associated with.”Optional<String>getErrorCode()“The error code of the connectivity issue.”Optional<OffsetDateTime>getErrorDateTime()“The time that the connection initiated.Optional<String>getErrorDescription()“The detailed description of what went wrong.”Optional<String>getRecommendedAction()“The recommended action to fix the corresponding error.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserId()“The unique id of user who initialize the connection.”StringodataTypeName()CloudPCConnectivityIssuepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)CloudPCConnectivityIssueput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()CloudPCConnectivityIssuewithDeviceId(String deviceId)Returns an immutable copy ofthiswith just thedeviceIdfield changed.CloudPCConnectivityIssuewithErrorCode(String errorCode)Returns an immutable copy ofthiswith just theerrorCodefield changed.CloudPCConnectivityIssuewithErrorDateTime(OffsetDateTime errorDateTime)Returns an immutable copy ofthiswith just theerrorDateTimefield changed.CloudPCConnectivityIssuewithErrorDescription(String errorDescription)Returns an immutable copy ofthiswith just theerrorDescriptionfield changed.CloudPCConnectivityIssuewithRecommendedAction(String recommendedAction)Returns an immutable copy ofthiswith just therecommendedActionfield changed.CloudPCConnectivityIssuewithUnmappedField(String name, String value)CloudPCConnectivityIssuewithUserId(String userId)Returns an immutable copy ofthiswith just theuserIdfield changed.
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
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:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
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 ofthiswith just thedeviceIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofdeviceIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceIdfield 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 ofthiswith just theerrorCodefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 oferrorCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorCodefield 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 ofthiswith just theerrorDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 oferrorDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorDateTimefield 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 ofthiswith just theerrorDescriptionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 oferrorDescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorDescriptionfield 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 ofthiswith just therecommendedActionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofrecommendedActionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therecommendedActionfield 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 ofthiswith just theuserIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofuserIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserIdfield changed
-
withUnmappedField
public CloudPCConnectivityIssue withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public CloudPCConnectivityIssue patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public CloudPCConnectivityIssue put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-