|
| 1 | +/* |
| 2 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except |
| 3 | + * in compliance with the License. You may obtain a copy of the License at |
| 4 | + * |
| 5 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | + * |
| 7 | + * Unless required by applicable law or agreed to in writing, software distributed under the License |
| 8 | + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
| 9 | + * or implied. See the License for the specific language governing permissions and limitations under |
| 10 | + * the License. |
| 11 | + */ |
| 12 | +/* |
| 13 | + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ |
| 14 | + * Modify at your own risk. |
| 15 | + */ |
| 16 | + |
| 17 | +package com.google.api.services.backupdr.v1.model; |
| 18 | + |
| 19 | +/** |
| 20 | + * request message for AbandonBackup. |
| 21 | + * |
| 22 | + * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is |
| 23 | + * transmitted over HTTP when working with the Backup and DR Service API. For a detailed explanation |
| 24 | + * see: |
| 25 | + * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a> |
| 26 | + * </p> |
| 27 | + * |
| 28 | + * @author Google, Inc. |
| 29 | + */ |
| 30 | +@SuppressWarnings("javadoc") |
| 31 | +public final class AbandonBackupRequest extends com.google.api.client.json.GenericJson { |
| 32 | + |
| 33 | + /** |
| 34 | + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if |
| 35 | + * you must retry your request, the server will know to ignore the request if it has already been |
| 36 | + * completed. The server will guarantee that for at least 60 minutes since the first request. For |
| 37 | + * example, consider a situation where you make an initial request and the request times out. If |
| 38 | + * you make the request again with the same request ID, the server can check if original operation |
| 39 | + * with the same request ID was received, and if so, will ignore the second request. This prevents |
| 40 | + * clients from accidentally creating duplicate commitments. The request ID must be a valid UUID |
| 41 | + * with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
| 42 | + * The value may be {@code null}. |
| 43 | + */ |
| 44 | + @com.google.api.client.util.Key |
| 45 | + private java.lang.String requestId; |
| 46 | + |
| 47 | + /** |
| 48 | + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if |
| 49 | + * you must retry your request, the server will know to ignore the request if it has already been |
| 50 | + * completed. The server will guarantee that for at least 60 minutes since the first request. For |
| 51 | + * example, consider a situation where you make an initial request and the request times out. If |
| 52 | + * you make the request again with the same request ID, the server can check if original operation |
| 53 | + * with the same request ID was received, and if so, will ignore the second request. This prevents |
| 54 | + * clients from accidentally creating duplicate commitments. The request ID must be a valid UUID |
| 55 | + * with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
| 56 | + * @return value or {@code null} for none |
| 57 | + */ |
| 58 | + public java.lang.String getRequestId() { |
| 59 | + return requestId; |
| 60 | + } |
| 61 | + |
| 62 | + /** |
| 63 | + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if |
| 64 | + * you must retry your request, the server will know to ignore the request if it has already been |
| 65 | + * completed. The server will guarantee that for at least 60 minutes since the first request. For |
| 66 | + * example, consider a situation where you make an initial request and the request times out. If |
| 67 | + * you make the request again with the same request ID, the server can check if original operation |
| 68 | + * with the same request ID was received, and if so, will ignore the second request. This prevents |
| 69 | + * clients from accidentally creating duplicate commitments. The request ID must be a valid UUID |
| 70 | + * with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
| 71 | + * @param requestId requestId or {@code null} for none |
| 72 | + */ |
| 73 | + public AbandonBackupRequest setRequestId(java.lang.String requestId) { |
| 74 | + this.requestId = requestId; |
| 75 | + return this; |
| 76 | + } |
| 77 | + |
| 78 | + @Override |
| 79 | + public AbandonBackupRequest set(String fieldName, Object value) { |
| 80 | + return (AbandonBackupRequest) super.set(fieldName, value); |
| 81 | + } |
| 82 | + |
| 83 | + @Override |
| 84 | + public AbandonBackupRequest clone() { |
| 85 | + return (AbandonBackupRequest) super.clone(); |
| 86 | + } |
| 87 | + |
| 88 | +} |
0 commit comments