com.google.api.services.servicemanagement.model.GenerateConfigReportResponse 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.servicemanagement.model;
/**
* Response message for GenerateConfigReport method.
*
* 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 Service Management 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 GenerateConfigReportResponse extends com.google.api.client.json.GenericJson {
/**
* list of ChangeReport, each corresponding to comparison between two service configurations.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List changeReports;
static {
// hack to force ProGuard to consider ChangeReport used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(ChangeReport.class);
}
/**
* Errors / Linter warnings associated with the service definition this report belongs to.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List diagnostics;
static {
// hack to force ProGuard to consider Diagnostic used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(Diagnostic.class);
}
/**
* ID of the service configuration this report belongs to.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String id;
/**
* Name of the service this report belongs to.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String serviceName;
/**
* list of ChangeReport, each corresponding to comparison between two service configurations.
* @return value or {@code null} for none
*/
public java.util.List getChangeReports() {
return changeReports;
}
/**
* list of ChangeReport, each corresponding to comparison between two service configurations.
* @param changeReports changeReports or {@code null} for none
*/
public GenerateConfigReportResponse setChangeReports(java.util.List changeReports) {
this.changeReports = changeReports;
return this;
}
/**
* Errors / Linter warnings associated with the service definition this report belongs to.
* @return value or {@code null} for none
*/
public java.util.List getDiagnostics() {
return diagnostics;
}
/**
* Errors / Linter warnings associated with the service definition this report belongs to.
* @param diagnostics diagnostics or {@code null} for none
*/
public GenerateConfigReportResponse setDiagnostics(java.util.List diagnostics) {
this.diagnostics = diagnostics;
return this;
}
/**
* ID of the service configuration this report belongs to.
* @return value or {@code null} for none
*/
public java.lang.String getId() {
return id;
}
/**
* ID of the service configuration this report belongs to.
* @param id id or {@code null} for none
*/
public GenerateConfigReportResponse setId(java.lang.String id) {
this.id = id;
return this;
}
/**
* Name of the service this report belongs to.
* @return value or {@code null} for none
*/
public java.lang.String getServiceName() {
return serviceName;
}
/**
* Name of the service this report belongs to.
* @param serviceName serviceName or {@code null} for none
*/
public GenerateConfigReportResponse setServiceName(java.lang.String serviceName) {
this.serviceName = serviceName;
return this;
}
@Override
public GenerateConfigReportResponse set(String fieldName, Object value) {
return (GenerateConfigReportResponse) super.set(fieldName, value);
}
@Override
public GenerateConfigReportResponse clone() {
return (GenerateConfigReportResponse) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy