azure-docs-sdk-java/docs-ref-autogen/com.azure.messaging.eventgr...

83 строки
6.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.messaging.eventgrid.namespaces.models.RejectResult"
fullName: "com.azure.messaging.eventgrid.namespaces.models.RejectResult"
name: "RejectResult"
nameWithType: "RejectResult"
summary: "The result of the Reject operation."
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 **RejectResult**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.messaging.eventgrid.namespaces.models.RejectResult?alt=com.azure.messaging.eventgrid.namespaces.models.RejectResult&text=RejectResult\" data-throw-if-not-resolved=\"False\" />&gt;"
methods:
- uid: "com.azure.messaging.eventgrid.namespaces.models.RejectResult.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.messaging.eventgrid.namespaces.models.RejectResult.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "RejectResult.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Reject<wbr>Result from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static RejectResult fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of RejectResult from the JsonReader."
returns:
description: "An instance of RejectResult if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.messaging.eventgrid.namespaces.models.RejectResult?alt=com.azure.messaging.eventgrid.namespaces.models.RejectResult&text=RejectResult\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.messaging.eventgrid.namespaces.models.RejectResult.getFailedLockTokens()"
fullName: "com.azure.messaging.eventgrid.namespaces.models.RejectResult.getFailedLockTokens()"
name: "getFailedLockTokens()"
nameWithType: "RejectResult.getFailedLockTokens()"
summary: "Get the failed<wbr>Lock<wbr>Tokens property: Array of Failed<wbr>Lock<wbr>Token for failed cloud events."
syntax: "public List<FailedLockToken> getFailedLockTokens()"
desc: "Get the failedLockTokens property: Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description)."
returns:
description: "the failedLockTokens value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.messaging.eventgrid.namespaces.models.FailedLockToken?alt=com.azure.messaging.eventgrid.namespaces.models.FailedLockToken&text=FailedLockToken\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.messaging.eventgrid.namespaces.models.RejectResult.getSucceededLockTokens()"
fullName: "com.azure.messaging.eventgrid.namespaces.models.RejectResult.getSucceededLockTokens()"
name: "getSucceededLockTokens()"
nameWithType: "RejectResult.getSucceededLockTokens()"
summary: "Get the succeeded<wbr>Lock<wbr>Tokens property: Array of lock tokens for the successfully rejected cloud events."
syntax: "public List<String> getSucceededLockTokens()"
desc: "Get the succeededLockTokens property: Array of lock tokens for the successfully rejected cloud events."
returns:
description: "the succeededLockTokens value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.messaging.eventgrid.namespaces.models.RejectResult.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.messaging.eventgrid.namespaces.models.RejectResult.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "RejectResult.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The result of the Reject operation."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.messaging.eventgrid.namespaces.models.RejectResult?alt=com.azure.messaging.eventgrid.namespaces.models.RejectResult&text=RejectResult\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.messaging.eventgrid.namespaces.models"
artifact: com.azure:azure-messaging-eventgrid-namespaces:1.0.1