Back to project page mobile-shopping-assistant-appengine.
The source code is released under:
Apache License
If you think the Android project mobile-shopping-assistant-appengine listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * 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 *// ww w .j a v a 2 s .c o m * 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://code.google.com/p/google-apis-client-generator/ * (build: 2013-12-19 23:55:21 UTC) * on 2013-12-23 at 19:44:47 UTC * Modify at your own risk. */ package ch.yereaztian.mobileassistant.messageEndpoint.model; /** * Model definition for MessageData. * * <p> 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 messageEndpoint. For a detailed explanation see: * <a href="http://code.google.com/p/google-http-java-client/wiki/JSON">http://code.google.com/p/google-http-java-client/wiki/JSON</a> * </p> * * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class MessageData extends com.google.api.client.json.GenericJson { /** * The value may be {@code null}. */ @com.google.api.client.util.Key private Key key; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String message; /** * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long timestamp; /** * @return value or {@code null} for none */ public Key getKey() { return key; } /** * @param key key or {@code null} for none */ public MessageData setKey(Key key) { this.key = key; return this; } /** * @return value or {@code null} for none */ public java.lang.String getMessage() { return message; } /** * @param message message or {@code null} for none */ public MessageData setMessage(java.lang.String message) { this.message = message; return this; } /** * @return value or {@code null} for none */ public java.lang.Long getTimestamp() { return timestamp; } /** * @param timestamp timestamp or {@code null} for none */ public MessageData setTimestamp(java.lang.Long timestamp) { this.timestamp = timestamp; return this; } @Override public MessageData set(String fieldName, Object value) { return (MessageData) super.set(fieldName, value); } @Override public MessageData clone() { return (MessageData) super.clone(); } }