azure-docs-sdk-java/docs-ref-autogen/com.azure.communication.pho...

91 строка
5.9 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.communication.phonenumbers.models.PhoneNumberError"
fullName: "com.azure.communication.phonenumbers.models.PhoneNumberError"
name: "PhoneNumberError"
nameWithType: "PhoneNumberError"
summary: "The Phone Number Services error."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **PhoneNumberError**"
constructors:
- uid: "com.azure.communication.phonenumbers.models.PhoneNumberError.PhoneNumberError(java.lang.String,java.lang.String,java.lang.String,java.util.List<com.azure.communication.phonenumbers.models.PhoneNumberError>)"
fullName: "com.azure.communication.phonenumbers.models.PhoneNumberError.PhoneNumberError(String message, String code, String target, List<PhoneNumberError> details)"
name: "PhoneNumberError(String message, String code, String target, List<PhoneNumberError> details)"
nameWithType: "PhoneNumberError.PhoneNumberError(String message, String code, String target, List<PhoneNumberError> details)"
summary: "Constructs a new Phone<wbr>Number<wbr>Error"
parameters:
- description: "The message of the original error"
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The error code"
name: "code"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The target of the error"
name: "target"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "Additional details"
name: "details"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.phonenumbers.models.PhoneNumberError?alt=com.azure.communication.phonenumbers.models.PhoneNumberError&text=PhoneNumberError\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public PhoneNumberError(String message, String code, String target, List<PhoneNumberError> details)"
desc: "Constructs a new PhoneNumberError"
methods:
- uid: "com.azure.communication.phonenumbers.models.PhoneNumberError.getCode()"
fullName: "com.azure.communication.phonenumbers.models.PhoneNumberError.getCode()"
name: "getCode()"
nameWithType: "PhoneNumberError.getCode()"
summary: "Get the code property: The error code."
syntax: "public String getCode()"
desc: "Get the code property: The error code."
returns:
description: "the code value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.communication.phonenumbers.models.PhoneNumberError.getDetails()"
fullName: "com.azure.communication.phonenumbers.models.PhoneNumberError.getDetails()"
name: "getDetails()"
nameWithType: "PhoneNumberError.getDetails()"
summary: "Get the details property: Further details about specific errors that led to this error."
syntax: "public List<PhoneNumberError> getDetails()"
desc: "Get the details property: Further details about specific errors that led to this error."
returns:
description: "the details value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.phonenumbers.models.PhoneNumberError?alt=com.azure.communication.phonenumbers.models.PhoneNumberError&text=PhoneNumberError\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.phonenumbers.models.PhoneNumberError.getMessage()"
fullName: "com.azure.communication.phonenumbers.models.PhoneNumberError.getMessage()"
name: "getMessage()"
nameWithType: "PhoneNumberError.getMessage()"
summary: "Get the message property: The error message."
syntax: "public String getMessage()"
desc: "Get the message property: The error message."
returns:
description: "the message value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.communication.phonenumbers.models.PhoneNumberError.getTarget()"
fullName: "com.azure.communication.phonenumbers.models.PhoneNumberError.getTarget()"
name: "getTarget()"
nameWithType: "PhoneNumberError.getTarget()"
summary: "Get the target property: The error target."
syntax: "public String getTarget()"
desc: "Get the target property: The error target."
returns:
description: "the target value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "The Phone Number Services error."
metadata: {}
package: "com.azure.communication.phonenumbers.models"
artifact: com.azure:azure-communication-phonenumbers:1.1.16