/*
 *
 *  * Copyright 2013 Jive Software
 *  *
 *  *    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.
 *
 */

package com.jivesoftware.sdk.api.tile.data;

import org.codehaus.jackson.map.annotate.JsonSerialize;

/**
 * Tile activity entry data
 * Created by rrutan on 2/9/14.
 */
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class ActivityEntry {
    private ActivityAction action; // required
    private ActivityActor actor;
    private ActivityObject object; // required

    public ActivityAction getAction() {
        return action;
    }

    public void setAction(ActivityAction action) {
        this.action = action;
    }

    public ActivityActor getActor() {
        return actor;
    }

    public void setActor(ActivityActor actor) {
        this.actor = actor;
    }

    public ActivityObject getObject() {
        return object;
    }

    public void setObject(ActivityObject object) {
        this.object = object;
    }
}

@@ -707,16 +707,75 @@
 .data;%0A%0A
+import org.codehaus.jackson.annotate.JsonIgnoreProperties;%0A
 import o
@@ -822,16 +822,16 @@
 ialize;%0A
-
 %0A/**%0A * 
@@ -948,16 +948,60 @@
 N_NULL)%0A
+@JsonIgnoreProperties(ignoreUnknown = true)%0A
 public c
@@ -1097,24 +1097,24 @@
 ctor actor;%0A
-
     private 
@@ -1149,16 +1149,590 @@
 quired%0A%0A
+    private String id;%0A    private ActivityEntryResources resources;%0A%0A    private ActivityStatus status;%0A%0A    public ActivityStatus getStatus() %7B%0A        return status;%0A    %7D%0A%0A    public void setStatus(ActivityStatus status) %7B%0A        this.status = status;%0A    %7D%0A%0A    public String getId() %7B%0A        return id;%0A    %7D%0A%0A    public void setId(String id) %7B%0A        this.id = id;%0A    %7D%0A%0A    public ActivityEntryResources getResources() %7B%0A        return resources;%0A    %7D%0A%0A    public void setResources(ActivityEntryResources resources) %7B%0A        this.resources = resources;%0A    %7D%0A%0A
     publ

add resources field