// Path: agorava-facebook-api/src/main/java/org/agorava/facebook/model/Reference.java
// @SuppressWarnings("serial")
// public class Reference implements Identifiable, Nameable {
// 
//     private final String id;
//     private final String name;
// 
//     public Reference(String id) {
//         this(id, null);
//     }
// 
//     public Reference(String id, String name) {
//         this.id = id;
//         this.name = name;
//     }
// 
//     public String getId() {
//         return id;
//     }
// 
//     public String getName() {
//         return name;
//     }
// }
// 
// Path: agorava-facebook-api/src/main/java/org/agorava/facebook/model/Tag.java
// @SuppressWarnings("serial")
// public class Tag implements Identifiable, Nameable {
//     private final String id;
//     private final String name;
//     private final Integer x;
//     private final Integer y;
//     private final Date createdTime;
// 
//     public String getId() {
//         return id;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public Integer getX() {
//         return x;
//     }
// 
//     public Integer getY() {
//         return y;
//     }
// 
//     public Date getCreatedTime() {
//         return createdTime;
//     }
// 
//     public Tag(String id, String name, Integer x, Integer y, Date createdTime) {
//         this.id = id;
//         this.name = name;
//         this.x = x;
//         this.y = y;
//         this.createdTime = createdTime;
//     }
// }


import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.agorava.facebook.model.Reference;
import org.agorava.facebook.model.Tag;
import java.util.Date;
import java.util.List;
/*
 * Copyright 2013 Agorava
 *
 * 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 org.agorava.facebook.jackson;



/**
 * Annotated mixin to add Jackson annotations to PhotoPost.
 *
 * @author Craig Walls
 */
@JsonIgnoreProperties(ignoreUnknown = true)
abstract class PhotoPostMixin extends PostMixin {

    @JsonCreator
    PhotoPostMixin(@JsonProperty("id") String id, @JsonProperty("from") Reference from,
// Path: agorava-facebook-api/src/main/java/org/agorava/facebook/model/Reference.java
// @SuppressWarnings("serial")
// public class Reference implements Identifiable, Nameable {
// 
//     private final String id;
//     private final String name;
// 
//     public Reference(String id) {
//         this(id, null);
//     }
// 
//     public Reference(String id, String name) {
//         this.id = id;
//         this.name = name;
//     }
// 
//     public String getId() {
//         return id;
//     }
// 
//     public String getName() {
//         return name;
//     }
// }
// 
// Path: agorava-facebook-api/src/main/java/org/agorava/facebook/model/Tag.java
// @SuppressWarnings("serial")
// public class Tag implements Identifiable, Nameable {
//     private final String id;
//     private final String name;
//     private final Integer x;
//     private final Integer y;
//     private final Date createdTime;
// 
//     public String getId() {
//         return id;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public Integer getX() {
//         return x;
//     }
// 
//     public Integer getY() {
//         return y;
//     }
// 
//     public Date getCreatedTime() {
//         return createdTime;
//     }
// 
//     public Tag(String id, String name, Integer x, Integer y, Date createdTime) {
//         this.id = id;
//         this.name = name;
//         this.x = x;
//         this.y = y;
//         this.createdTime = createdTime;
//     }
// }


// Path: agorava-facebook-cdi/src/main/java/org/agorava/facebook/jackson/PhotoPostMixin.java
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.agorava.facebook.model.Reference;
import org.agorava.facebook.model.Tag;
import java.util.Date;
import java.util.List;

/*
 * Copyright 2013 Agorava
 *
 * 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 org.agorava.facebook.jackson;



/**
 * Annotated mixin to add Jackson annotations to PhotoPost.
 *
 * @author Craig Walls
 */
@JsonIgnoreProperties(ignoreUnknown = true)
abstract class PhotoPostMixin extends PostMixin {

    @JsonCreator
    PhotoPostMixin(@JsonProperty("id") String id, @JsonProperty("from") Reference from,
                   @JsonProperty("created_time") Date createdTime, @JsonProperty("updated_time") Date updatedTime) {