/* * 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://code.google.com/p/google-apis-client-generator/ * (build: 2014-07-22 21:53:01 UTC) * on 2014-08-14 at 18:33:26 UTC * Modify at your own risk. */ package com.gabilheri.backend.com.gabilheri.backend.todoApi.model; /** * Model definition for TodoBean. * * <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 todoApi. 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 TodoBean extends com.google.api.client.json.GenericJson { /** * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime createdAt; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime dueAt; /** * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long id; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String title; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String todoMessage; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String userEmail; /** * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getCreatedAt() { return createdAt; } /** * @param createdAt createdAt or {@code null} for none */ public TodoBean setCreatedAt(com.google.api.client.util.DateTime createdAt) { this.createdAt = createdAt; return this; } /** * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getDueAt() { return dueAt; } /** * @param dueAt dueAt or {@code null} for none */ public TodoBean setDueAt(com.google.api.client.util.DateTime dueAt) { this.dueAt = dueAt; return this; } /** * @return value or {@code null} for none */ public java.lang.Long getId() { return id; } /** * @param id id or {@code null} for none */ public TodoBean setId(java.lang.Long id) { this.id = id; return this; } /** * @return value or {@code null} for none */ public java.lang.String getTitle() { return title; } /** * @param title title or {@code null} for none */ public TodoBean setTitle(java.lang.String title) { this.title = title; return this; } /** * @return value or {@code null} for none */ public java.lang.String getTodoMessage() { return todoMessage; } /** * @param todoMessage todoMessage or {@code null} for none */ public TodoBean setTodoMessage(java.lang.String todoMessage) { this.todoMessage = todoMessage; return this; } /** * @return value or {@code null} for none */ public java.lang.String getUserEmail() { return userEmail; } /** * @param userEmail userEmail or {@code null} for none */ public TodoBean setUserEmail(java.lang.String userEmail) { this.userEmail = userEmail; return this; } @Override public TodoBean set(String fieldName, Object value) { return (TodoBean) super.set(fieldName, value); } @Override public TodoBean clone() { return (TodoBean) super.clone(); } }