com.google.api.services.vault.v1.model.CountArtifactsMetadata Maven / Gradle / Ivy
The newest version!
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.vault.v1.model;
/**
* Long running operation metadata for CountArtifacts.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Google Vault API. For a detailed explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class CountArtifactsMetadata extends com.google.api.client.json.GenericJson {
/**
* End time of count operation. Available when operation is done.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String endTime;
/**
* The matter ID of the associated matter.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String matterId;
/**
* The search query from the request.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Query query;
/**
* Creation time of count operation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String startTime;
/**
* End time of count operation. Available when operation is done.
* @return value or {@code null} for none
*/
public String getEndTime() {
return endTime;
}
/**
* End time of count operation. Available when operation is done.
* @param endTime endTime or {@code null} for none
*/
public CountArtifactsMetadata setEndTime(String endTime) {
this.endTime = endTime;
return this;
}
/**
* The matter ID of the associated matter.
* @return value or {@code null} for none
*/
public java.lang.String getMatterId() {
return matterId;
}
/**
* The matter ID of the associated matter.
* @param matterId matterId or {@code null} for none
*/
public CountArtifactsMetadata setMatterId(java.lang.String matterId) {
this.matterId = matterId;
return this;
}
/**
* The search query from the request.
* @return value or {@code null} for none
*/
public Query getQuery() {
return query;
}
/**
* The search query from the request.
* @param query query or {@code null} for none
*/
public CountArtifactsMetadata setQuery(Query query) {
this.query = query;
return this;
}
/**
* Creation time of count operation.
* @return value or {@code null} for none
*/
public String getStartTime() {
return startTime;
}
/**
* Creation time of count operation.
* @param startTime startTime or {@code null} for none
*/
public CountArtifactsMetadata setStartTime(String startTime) {
this.startTime = startTime;
return this;
}
@Override
public CountArtifactsMetadata set(String fieldName, Object value) {
return (CountArtifactsMetadata) super.set(fieldName, value);
}
@Override
public CountArtifactsMetadata clone() {
return (CountArtifactsMetadata) super.clone();
}
}