com.google.api.services.migrationcenter.v1.model.GenericInsight 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 generic insight about an asset.
*
* 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 GenericInsight extends com.google.api.client.json.GenericJson {
/**
* Output only. Additional information about the insight, each entry can be a logical entry and
* must make sense if it is displayed with line breaks between each entry. Text can contain md
* style links.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List additionalInformation;
/**
* Output only. In case message_code is not yet known by the client default_message will be the
* message to be used instead.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String defaultMessage;
/**
* Output only. Represents a globally unique message id for this insight, can be used for
* localization purposes, in case message_code is not yet known by the client use default_message
* instead.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long messageId;
/**
* Output only. Additional information about the insight, each entry can be a logical entry and
* must make sense if it is displayed with line breaks between each entry. Text can contain md
* style links.
* @return value or {@code null} for none
*/
public java.util.List getAdditionalInformation() {
return additionalInformation;
}
/**
* Output only. Additional information about the insight, each entry can be a logical entry and
* must make sense if it is displayed with line breaks between each entry. Text can contain md
* style links.
* @param additionalInformation additionalInformation or {@code null} for none
*/
public GenericInsight setAdditionalInformation(java.util.List additionalInformation) {
this.additionalInformation = additionalInformation;
return this;
}
/**
* Output only. In case message_code is not yet known by the client default_message will be the
* message to be used instead.
* @return value or {@code null} for none
*/
public java.lang.String getDefaultMessage() {
return defaultMessage;
}
/**
* Output only. In case message_code is not yet known by the client default_message will be the
* message to be used instead.
* @param defaultMessage defaultMessage or {@code null} for none
*/
public GenericInsight setDefaultMessage(java.lang.String defaultMessage) {
this.defaultMessage = defaultMessage;
return this;
}
/**
* Output only. Represents a globally unique message id for this insight, can be used for
* localization purposes, in case message_code is not yet known by the client use default_message
* instead.
* @return value or {@code null} for none
*/
public java.lang.Long getMessageId() {
return messageId;
}
/**
* Output only. Represents a globally unique message id for this insight, can be used for
* localization purposes, in case message_code is not yet known by the client use default_message
* instead.
* @param messageId messageId or {@code null} for none
*/
public GenericInsight setMessageId(java.lang.Long messageId) {
this.messageId = messageId;
return this;
}
@Override
public GenericInsight set(String fieldName, Object value) {
return (GenericInsight) super.set(fieldName, value);
}
@Override
public GenericInsight clone() {
return (GenericInsight) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy