com.google.api.services.migrationcenter.v1.model.FrameViolationEntry 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.migrationcenter.v1.model;
/**
* A resource that contains a single violation of a reported `AssetFrame` resource.
*
* 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 Migration Center 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 FrameViolationEntry extends com.google.api.client.json.GenericJson {
/**
* The field of the original frame where the violation occurred.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String field;
/**
* A message describing the violation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String violation;
/**
* The field of the original frame where the violation occurred.
* @return value or {@code null} for none
*/
public java.lang.String getField() {
return field;
}
/**
* The field of the original frame where the violation occurred.
* @param field field or {@code null} for none
*/
public FrameViolationEntry setField(java.lang.String field) {
this.field = field;
return this;
}
/**
* A message describing the violation.
* @return value or {@code null} for none
*/
public java.lang.String getViolation() {
return violation;
}
/**
* A message describing the violation.
* @param violation violation or {@code null} for none
*/
public FrameViolationEntry setViolation(java.lang.String violation) {
this.violation = violation;
return this;
}
@Override
public FrameViolationEntry set(String fieldName, Object value) {
return (FrameViolationEntry) super.set(fieldName, value);
}
@Override
public FrameViolationEntry clone() {
return (FrameViolationEntry) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy