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

com.google.api.services.datamigration.v1.model.EntityIssue Maven / Gradle / Ivy

There is a newer version: v1-rev20241211-2.0.0
Show 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.datamigration.v1.model;

/**
 * Issue related to the entity.
 *
 * 

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 Database Migration 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 EntityIssue extends com.google.api.client.json.GenericJson { /** * Error/Warning code * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String code; /** * The ddl which caused the issue, if relevant. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String ddl; /** * The entity type (if the DDL is for a sub entity). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String entityType; /** * Unique Issue ID. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String id; /** * Issue detailed message * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String message; /** * The position of the issue found, if relevant. * The value may be {@code null}. */ @com.google.api.client.util.Key private Position position; /** * Severity of the issue * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String severity; /** * The type of the issue. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * Error/Warning code * @return value or {@code null} for none */ public java.lang.String getCode() { return code; } /** * Error/Warning code * @param code code or {@code null} for none */ public EntityIssue setCode(java.lang.String code) { this.code = code; return this; } /** * The ddl which caused the issue, if relevant. * @return value or {@code null} for none */ public java.lang.String getDdl() { return ddl; } /** * The ddl which caused the issue, if relevant. * @param ddl ddl or {@code null} for none */ public EntityIssue setDdl(java.lang.String ddl) { this.ddl = ddl; return this; } /** * The entity type (if the DDL is for a sub entity). * @return value or {@code null} for none */ public java.lang.String getEntityType() { return entityType; } /** * The entity type (if the DDL is for a sub entity). * @param entityType entityType or {@code null} for none */ public EntityIssue setEntityType(java.lang.String entityType) { this.entityType = entityType; return this; } /** * Unique Issue ID. * @return value or {@code null} for none */ public java.lang.String getId() { return id; } /** * Unique Issue ID. * @param id id or {@code null} for none */ public EntityIssue setId(java.lang.String id) { this.id = id; return this; } /** * Issue detailed message * @return value or {@code null} for none */ public java.lang.String getMessage() { return message; } /** * Issue detailed message * @param message message or {@code null} for none */ public EntityIssue setMessage(java.lang.String message) { this.message = message; return this; } /** * The position of the issue found, if relevant. * @return value or {@code null} for none */ public Position getPosition() { return position; } /** * The position of the issue found, if relevant. * @param position position or {@code null} for none */ public EntityIssue setPosition(Position position) { this.position = position; return this; } /** * Severity of the issue * @return value or {@code null} for none */ public java.lang.String getSeverity() { return severity; } /** * Severity of the issue * @param severity severity or {@code null} for none */ public EntityIssue setSeverity(java.lang.String severity) { this.severity = severity; return this; } /** * The type of the issue. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * The type of the issue. * @param type type or {@code null} for none */ public EntityIssue setType(java.lang.String type) { this.type = type; return this; } @Override public EntityIssue set(String fieldName, Object value) { return (EntityIssue) super.set(fieldName, value); } @Override public EntityIssue clone() { return (EntityIssue) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy