|
| 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.webrisk.v1.model; |
| 18 | + |
| 19 | +/** |
| 20 | + * Metadata for the Submit URI long-running operation. |
| 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 Web Risk API. For a detailed explanation see: |
| 24 | + * <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> |
| 25 | + * </p> |
| 26 | + * |
| 27 | + * @author Google, Inc. |
| 28 | + */ |
| 29 | +@SuppressWarnings("javadoc") |
| 30 | +public final class GoogleCloudWebriskV1SubmitUriMetadata extends com.google.api.client.json.GenericJson { |
| 31 | + |
| 32 | + /** |
| 33 | + * Creation time of the operation. |
| 34 | + * The value may be {@code null}. |
| 35 | + */ |
| 36 | + @com.google.api.client.util.Key |
| 37 | + private String createTime; |
| 38 | + |
| 39 | + /** |
| 40 | + * The state of the operation. |
| 41 | + * The value may be {@code null}. |
| 42 | + */ |
| 43 | + @com.google.api.client.util.Key |
| 44 | + private java.lang.String state; |
| 45 | + |
| 46 | + /** |
| 47 | + * Latest update time of the operation. |
| 48 | + * The value may be {@code null}. |
| 49 | + */ |
| 50 | + @com.google.api.client.util.Key |
| 51 | + private String updateTime; |
| 52 | + |
| 53 | + /** |
| 54 | + * Creation time of the operation. |
| 55 | + * @return value or {@code null} for none |
| 56 | + */ |
| 57 | + public String getCreateTime() { |
| 58 | + return createTime; |
| 59 | + } |
| 60 | + |
| 61 | + /** |
| 62 | + * Creation time of the operation. |
| 63 | + * @param createTime createTime or {@code null} for none |
| 64 | + */ |
| 65 | + public GoogleCloudWebriskV1SubmitUriMetadata setCreateTime(String createTime) { |
| 66 | + this.createTime = createTime; |
| 67 | + return this; |
| 68 | + } |
| 69 | + |
| 70 | + /** |
| 71 | + * The state of the operation. |
| 72 | + * @return value or {@code null} for none |
| 73 | + */ |
| 74 | + public java.lang.String getState() { |
| 75 | + return state; |
| 76 | + } |
| 77 | + |
| 78 | + /** |
| 79 | + * The state of the operation. |
| 80 | + * @param state state or {@code null} for none |
| 81 | + */ |
| 82 | + public GoogleCloudWebriskV1SubmitUriMetadata setState(java.lang.String state) { |
| 83 | + this.state = state; |
| 84 | + return this; |
| 85 | + } |
| 86 | + |
| 87 | + /** |
| 88 | + * Latest update time of the operation. |
| 89 | + * @return value or {@code null} for none |
| 90 | + */ |
| 91 | + public String getUpdateTime() { |
| 92 | + return updateTime; |
| 93 | + } |
| 94 | + |
| 95 | + /** |
| 96 | + * Latest update time of the operation. |
| 97 | + * @param updateTime updateTime or {@code null} for none |
| 98 | + */ |
| 99 | + public GoogleCloudWebriskV1SubmitUriMetadata setUpdateTime(String updateTime) { |
| 100 | + this.updateTime = updateTime; |
| 101 | + return this; |
| 102 | + } |
| 103 | + |
| 104 | + @Override |
| 105 | + public GoogleCloudWebriskV1SubmitUriMetadata set(String fieldName, Object value) { |
| 106 | + return (GoogleCloudWebriskV1SubmitUriMetadata) super.set(fieldName, value); |
| 107 | + } |
| 108 | + |
| 109 | + @Override |
| 110 | + public GoogleCloudWebriskV1SubmitUriMetadata clone() { |
| 111 | + return (GoogleCloudWebriskV1SubmitUriMetadata) super.clone(); |
| 112 | + } |
| 113 | + |
| 114 | +} |
0 commit comments