ResultError¶
- class oci.database_migration.models.ResultError(**kwargs)¶
Bases:
objectError Information.
Methods:
__init__(**kwargs)Initializes a new ResultError object with values from keyword arguments.
Attributes:
Gets the action of this ResultError.
Gets the action_link of this ResultError.
Gets the action_text of this ResultError.
[Required] Gets the code of this ResultError.
Gets the issue of this ResultError.
[Required] Gets the message of this ResultError.
- __init__(**kwargs)¶
Initializes a new ResultError object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
code (str) – The value to assign to the code property of this ResultError.
message (str) – The value to assign to the message property of this ResultError.
issue (str) – The value to assign to the issue property of this ResultError.
action (str) – The value to assign to the action property of this ResultError.
action_link (str) – The value to assign to the action_link property of this ResultError.
action_text (str) – The value to assign to the action_text property of this ResultError.
- property action¶
Gets the action of this ResultError. The text describing the action required to fix the issue
- Returns
The action of this ResultError.
- Return type
str
- property action_link¶
Gets the action_link of this ResultError. The link to the documentation
- Returns
The action_link of this ResultError.
- Return type
str
- property action_text¶
Gets the action_text of this ResultError. The text for the link to the documentation
- Returns
The action_text of this ResultError.
- Return type
str
- property code¶
[Required] Gets the code of this ResultError. A short error code that defines the error, meant for programmatic parsing.
- Returns
The code of this ResultError.
- Return type
str
- property issue¶
Gets the issue of this ResultError. The text describing the root cause of the reported issue
- Returns
The issue of this ResultError.
- Return type
str
- property message¶
[Required] Gets the message of this ResultError. A human-readable error string.
- Returns
The message of this ResultError.
- Return type
str