MicrosoftGraphOperationError Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOperationError

public final class MicrosoftGraphOperationError

operationError.

Constructor Summary

Constructor Description
MicrosoftGraphOperationError()

Creates an instance of MicrosoftGraphOperationError class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: operationError.

String code()

Get the code property: Operation error code.

String message()

Get the message property: Operation error message.

void validate()

Validates the instance.

MicrosoftGraphOperationError withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: operationError.

MicrosoftGraphOperationError withCode(String code)

Set the code property: Operation error code.

MicrosoftGraphOperationError withMessage(String message)

Set the message property: Operation error message.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOperationError

public MicrosoftGraphOperationError()

Creates an instance of MicrosoftGraphOperationError class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: operationError.

Returns:

the additionalProperties value.

code

public String code()

Get the code property: Operation error code.

Returns:

the code value.

message

public String message()

Get the message property: Operation error message.

Returns:

the message value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphOperationError withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: operationError.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOperationError object itself.

withCode

public MicrosoftGraphOperationError withCode(String code)

Set the code property: Operation error code.

Parameters:

code - the code value to set.

Returns:

the MicrosoftGraphOperationError object itself.

withMessage

public MicrosoftGraphOperationError withMessage(String message)

Set the message property: Operation error message.

Parameters:

message - the message value to set.

Returns:

the MicrosoftGraphOperationError object itself.

Applies to