All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.privateca.v1.model.RevokedCertificate Maven / Gradle / Ivy

/*
 * 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.privateca.v1.model;

/**
 * Describes a revoked Certificate.
 *
 * 

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 Certificate Authority 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 RevokedCertificate extends com.google.api.client.json.GenericJson { /** * The resource name for the Certificate in the format `projects/locations/caPools/certificates`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String certificate; /** * The serial number of the Certificate. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String hexSerialNumber; /** * The reason the Certificate was revoked. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String revocationReason; /** * The resource name for the Certificate in the format `projects/locations/caPools/certificates`. * @return value or {@code null} for none */ public java.lang.String getCertificate() { return certificate; } /** * The resource name for the Certificate in the format `projects/locations/caPools/certificates`. * @param certificate certificate or {@code null} for none */ public RevokedCertificate setCertificate(java.lang.String certificate) { this.certificate = certificate; return this; } /** * The serial number of the Certificate. * @return value or {@code null} for none */ public java.lang.String getHexSerialNumber() { return hexSerialNumber; } /** * The serial number of the Certificate. * @param hexSerialNumber hexSerialNumber or {@code null} for none */ public RevokedCertificate setHexSerialNumber(java.lang.String hexSerialNumber) { this.hexSerialNumber = hexSerialNumber; return this; } /** * The reason the Certificate was revoked. * @return value or {@code null} for none */ public java.lang.String getRevocationReason() { return revocationReason; } /** * The reason the Certificate was revoked. * @param revocationReason revocationReason or {@code null} for none */ public RevokedCertificate setRevocationReason(java.lang.String revocationReason) { this.revocationReason = revocationReason; return this; } @Override public RevokedCertificate set(String fieldName, Object value) { return (RevokedCertificate) super.set(fieldName, value); } @Override public RevokedCertificate clone() { return (RevokedCertificate) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy