com.google.code.linkedinapi.schema.Post Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2010-2011 Nabeel Mukhtar
*
* 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.google.code.linkedinapi.schema;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{}id"/>
* <element name="type">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="code">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="standard"/>
* <enumeration value="news"/>
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element ref="{}category" minOccurs="0"/>
* <element ref="{}creation-timestamp"/>
* <element ref="{}creator"/>
* <element ref="{}summary"/>
* <element ref="{}title"/>
* <element ref="{}likes"/>
* <element ref="{}relation-to-viewer"/>
* <element ref="{}attachment"/>
* <element ref="{}comments"/>
* <element ref="{}site-group-post-url" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
public interface Post
extends SchemaEntity
{
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
String getId();
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
void setId(String value);
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link Type }
*
*/
Type getType();
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link Type }
*
*/
void setType(Type value);
/**
* Gets the value of the category property.
*
* @return
* possible object is
* {@link Category }
*
*/
Category getCategory();
/**
* Sets the value of the category property.
*
* @param value
* allowed object is
* {@link Category }
*
*/
void setCategory(Category value);
/**
* Gets the value of the creationTimestamp property.
*
* @return
* possible object is
* {@link String }
*
*/
Long getCreationTimestamp();
/**
* Sets the value of the creationTimestamp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
void setCreationTimestamp(Long value);
/**
* Gets the value of the creator property.
*
* @return
* possible object is
* {@link Creator }
*
*/
Creator getCreator();
/**
* Sets the value of the creator property.
*
* @param value
* allowed object is
* {@link Creator }
*
*/
void setCreator(Creator value);
/**
* Gets the value of the summary property.
*
* @return
* possible object is
* {@link String }
*
*/
String getSummary();
/**
* Sets the value of the summary property.
*
* @param value
* allowed object is
* {@link String }
*
*/
void setSummary(String value);
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
String getTitle();
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
void setTitle(String value);
/**
* Gets the value of the likes property.
*
* @return
* possible object is
* {@link Likes }
*
*/
Likes getLikes();
/**
* Sets the value of the likes property.
*
* @param value
* allowed object is
* {@link Likes }
*
*/
void setLikes(Likes value);
/**
* Gets the value of the relationToViewer property.
*
* @return
* possible object is
* {@link RelationToViewer }
*
*/
RelationToViewer getRelationToViewer();
/**
* Sets the value of the relationToViewer property.
*
* @param value
* allowed object is
* {@link RelationToViewer }
*
*/
void setRelationToViewer(RelationToViewer value);
/**
* Gets the value of the attachment property.
*
* @return
* possible object is
* {@link Attachment }
*
*/
Attachment getAttachment();
/**
* Sets the value of the attachment property.
*
* @param value
* allowed object is
* {@link Attachment }
*
*/
void setAttachment(Attachment value);
/**
* Gets the value of the comments property.
*
* @return
* possible object is
* {@link Comments }
*
*/
Comments getComments();
/**
* Sets the value of the comments property.
*
* @param value
* allowed object is
* {@link Comments }
*
*/
void setComments(Comments value);
/**
* Gets the value of the siteGroupPostUrl property.
*
* @return
* possible object is
* {@link String }
*
*/
String getSiteGroupPostUrl();
/**
* Sets the value of the siteGroupPostUrl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
void setSiteGroupPostUrl(String value);
}