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 Admin SDK 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 ActivityEventsStatus extends com.google.api.client.json.GenericJson { + + /** + * Error code of the event. Note: Field can be empty. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorCode; + + /** + * Error message of the event. Note: Field can be empty. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorMessage; + + /** + * * Status of the event. Possible values if not empty: - UNKNOWN_EVENT_STATUS - SUCCEEDED - + * SUCCEEDED_WITH_WARNINGS - FAILED - SKIPPED + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String eventStatus; + + /** + * Status code of the event. Note: Field can be empty. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer httpStatusCode; + + /** + * Error code of the event. Note: Field can be empty. + * @return value or {@code null} for none + */ + public java.lang.String getErrorCode() { + return errorCode; + } + + /** + * Error code of the event. Note: Field can be empty. + * @param errorCode errorCode or {@code null} for none + */ + public ActivityEventsStatus setErrorCode(java.lang.String errorCode) { + this.errorCode = errorCode; + return this; + } + + /** + * Error message of the event. Note: Field can be empty. + * @return value or {@code null} for none + */ + public java.lang.String getErrorMessage() { + return errorMessage; + } + + /** + * Error message of the event. Note: Field can be empty. + * @param errorMessage errorMessage or {@code null} for none + */ + public ActivityEventsStatus setErrorMessage(java.lang.String errorMessage) { + this.errorMessage = errorMessage; + return this; + } + + /** + * * Status of the event. Possible values if not empty: - UNKNOWN_EVENT_STATUS - SUCCEEDED - + * SUCCEEDED_WITH_WARNINGS - FAILED - SKIPPED + * @return value or {@code null} for none + */ + public java.lang.String getEventStatus() { + return eventStatus; + } + + /** + * * Status of the event. Possible values if not empty: - UNKNOWN_EVENT_STATUS - SUCCEEDED - + * SUCCEEDED_WITH_WARNINGS - FAILED - SKIPPED + * @param eventStatus eventStatus or {@code null} for none + */ + public ActivityEventsStatus setEventStatus(java.lang.String eventStatus) { + this.eventStatus = eventStatus; + return this; + } + + /** + * Status code of the event. Note: Field can be empty. + * @return value or {@code null} for none + */ + public java.lang.Integer getHttpStatusCode() { + return httpStatusCode; + } + + /** + * Status code of the event. Note: Field can be empty. + * @param httpStatusCode httpStatusCode or {@code null} for none + */ + public ActivityEventsStatus setHttpStatusCode(java.lang.Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + return this; + } + + @Override + public ActivityEventsStatus set(String fieldName, Object value) { + return (ActivityEventsStatus) super.set(fieldName, value); + } + + @Override + public ActivityEventsStatus clone() { + return (ActivityEventsStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-admin/reports_v1/2.0.0/pom.xml b/clients/google-api-services-admin/reports_v1/2.0.0/pom.xml index e6a98ce84a5..a3bcc5343c8 100644 --- a/clients/google-api-services-admin/reports_v1/2.0.0/pom.xml +++ b/clients/google-api-services-admin/reports_v1/2.0.0/pom.xml @@ -8,8 +8,8 @@