Android Open Source - JsonPullParser Result Tweet






From Project

Back to project page JsonPullParser.

License

The source code is released under:

Apache License

If you think the Android project JsonPullParser listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package net.vvakame.twitter;
//from  w  w  w.j  a  v  a2  s.  c  o m
import net.vvakame.util.jsonpullparser.annotation.JsonKey;
import net.vvakame.util.jsonpullparser.annotation.JsonModel;
import net.vvakame.util.jsonpullparser.util.JsonHash;

@JsonModel(decamelize = true, treatUnknownKeyAsError = true)
public class ResultTweet {

  @JsonKey
  String createdAt;

  @JsonKey
  String fromUser;

  @JsonKey
  long fromUserId;

  @JsonKey
  String fromUserIdStr;

  @JsonKey
  String fromUserName;

  @JsonKey
  JsonHash geo;

  @JsonKey
  long id;

  @JsonKey
  String idStr;

  @JsonKey
  String isoLanguageCode;

  @JsonKey
  JsonHash metadata;

  @JsonKey
  String profileImageUrl;

  @JsonKey
  String profileImageUrlHttps;

  @JsonKey
  String source;

  @JsonKey
  String text;

  @JsonKey
  String toUser;

  @JsonKey
  long toUserId;

  @JsonKey
  String toUserIdStr;

  @JsonKey
  String toUserName;

  @JsonKey
  long inReplyToStatusId;

  @JsonKey
  String inReplyToStatusIdStr;

  /**
   * @return the createdAt
   */
  public String getCreatedAt() {
    return createdAt;
  }

  /**
   * @param createdAt
   *            the createdAt to set
   */
  public void setCreatedAt(String createdAt) {
    this.createdAt = createdAt;
  }

  /**
   * @return the fromUser
   */
  public String getFromUser() {
    return fromUser;
  }

  /**
   * @param fromUser
   *            the fromUser to set
   */
  public void setFromUser(String fromUser) {
    this.fromUser = fromUser;
  }

  /**
   * @return the fromUserId
   */
  public long getFromUserId() {
    return fromUserId;
  }

  /**
   * @param fromUserId
   *            the fromUserId to set
   */
  public void setFromUserId(long fromUserId) {
    this.fromUserId = fromUserId;
  }

  /**
   * @return the fromUserIdStr
   */
  public String getFromUserIdStr() {
    return fromUserIdStr;
  }

  /**
   * @param fromUserIdStr
   *            the fromUserIdStr to set
   */
  public void setFromUserIdStr(String fromUserIdStr) {
    this.fromUserIdStr = fromUserIdStr;
  }

  /**
   * @return the fromUserName
   */
  public String getFromUserName() {
    return fromUserName;
  }

  /**
   * @param fromUserName
   *            the fromUserName to set
   */
  public void setFromUserName(String fromUserName) {
    this.fromUserName = fromUserName;
  }

  /**
   * @return the geo
   */
  public JsonHash getGeo() {
    return geo;
  }

  /**
   * @param geo
   *            the geo to set
   */
  public void setGeo(JsonHash geo) {
    this.geo = geo;
  }

  /**
   * @return the id
   */
  public long getId() {
    return id;
  }

  /**
   * @param id
   *            the id to set
   */
  public void setId(long id) {
    this.id = id;
  }

  /**
   * @return the idStr
   */
  public String getIdStr() {
    return idStr;
  }

  /**
   * @param idStr
   *            the idStr to set
   */
  public void setIdStr(String idStr) {
    this.idStr = idStr;
  }

  /**
   * @return the isoLanguageCode
   */
  public String getIsoLanguageCode() {
    return isoLanguageCode;
  }

  /**
   * @param isoLanguageCode
   *            the isoLanguageCode to set
   */
  public void setIsoLanguageCode(String isoLanguageCode) {
    this.isoLanguageCode = isoLanguageCode;
  }

  /**
   * @return the metadata
   */
  public JsonHash getMetadata() {
    return metadata;
  }

  /**
   * @param metadata
   *            the metadata to set
   */
  public void setMetadata(JsonHash metadata) {
    this.metadata = metadata;
  }

  /**
   * @return the profileImageUrl
   */
  public String getProfileImageUrl() {
    return profileImageUrl;
  }

  /**
   * @param profileImageUrl
   *            the profileImageUrl to set
   */
  public void setProfileImageUrl(String profileImageUrl) {
    this.profileImageUrl = profileImageUrl;
  }

  /**
   * @return the profileImageUrlHttps
   */
  public String getProfileImageUrlHttps() {
    return profileImageUrlHttps;
  }

  /**
   * @param profileImageUrlHttps
   *            the profileImageUrlHttps to set
   */
  public void setProfileImageUrlHttps(String profileImageUrlHttps) {
    this.profileImageUrlHttps = profileImageUrlHttps;
  }

  /**
   * @return the source
   */
  public String getSource() {
    return source;
  }

  /**
   * @param source
   *            the source to set
   */
  public void setSource(String source) {
    this.source = source;
  }

  /**
   * @return the text
   */
  public String getText() {
    return text;
  }

  /**
   * @param text
   *            the text to set
   */
  public void setText(String text) {
    this.text = text;
  }

  /**
   * @return the toUser
   */
  public String getToUser() {
    return toUser;
  }

  /**
   * @param toUser
   *            the toUser to set
   */
  public void setToUser(String toUser) {
    this.toUser = toUser;
  }

  /**
   * @return the toUserId
   */
  public long getToUserId() {
    return toUserId;
  }

  /**
   * @param toUserId
   *            the toUserId to set
   */
  public void setToUserId(long toUserId) {
    this.toUserId = toUserId;
  }

  /**
   * @return the toUserIdStr
   */
  public String getToUserIdStr() {
    return toUserIdStr;
  }

  /**
   * @param toUserIdStr
   *            the toUserIdStr to set
   */
  public void setToUserIdStr(String toUserIdStr) {
    this.toUserIdStr = toUserIdStr;
  }

  /**
   * @return the toUserName
   */
  public String getToUserName() {
    return toUserName;
  }

  /**
   * @param toUserName
   *            the toUserName to set
   */
  public void setToUserName(String toUserName) {
    this.toUserName = toUserName;
  }

  /**
   * @return the inReplyToStatusId
   */
  public long getInReplyToStatusId() {
    return inReplyToStatusId;
  }

  /**
   * @param inReplyToStatusId
   *            the inReplyToStatusId to set
   */
  public void setInReplyToStatusId(long inReplyToStatusId) {
    this.inReplyToStatusId = inReplyToStatusId;
  }

  /**
   * @return the inReplyToStatusIdStr
   */
  public String getInReplyToStatusIdStr() {
    return inReplyToStatusIdStr;
  }

  /**
   * @param inReplyToStatusIdStr
   *            the inReplyToStatusIdStr to set
   */
  public void setInReplyToStatusIdStr(String inReplyToStatusIdStr) {
    this.inReplyToStatusIdStr = inReplyToStatusIdStr;
  }
}




Java Source Code List

net.vvakame.apt.AptUtil.java
net.vvakame.jsonpullparser.android.sample.MainActivity.java
net.vvakame.sample.BaseData.java
net.vvakame.sample.BuilderData.java
net.vvakame.sample.ComplexData2.java
net.vvakame.sample.ComplexData.java
net.vvakame.sample.ContainsAnotherPackageObjectData.java
net.vvakame.sample.ConverterData.java
net.vvakame.sample.ExtendsData1.java
net.vvakame.sample.ExtendsData2.java
net.vvakame.sample.ForInnerClassData.java
net.vvakame.sample.GenToPackagePrivateData.java
net.vvakame.sample.JsonMetaToPackagePrivateValidData.java
net.vvakame.sample.MiniData.java
net.vvakame.sample.NestDepth1Data.java
net.vvakame.sample.NestDepth2Data.java
net.vvakame.sample.NestParentData.java
net.vvakame.sample.PrimitiveTypeData.java
net.vvakame.sample.PrimitiveWrapperData.java
net.vvakame.sample.PrimitiveWrapperListData.java
net.vvakame.sample.SampleEnum.java
net.vvakame.sample.SortOrderData1.java
net.vvakame.sample.SortOrderData2.java
net.vvakame.sample.StoreJsonData1.java
net.vvakame.sample.StoreJsonData2.java
net.vvakame.sample.TestData.java
net.vvakame.sample.anotherpackage.AnotherPackageClass.java
net.vvakame.sample.converter.IntFlattenConverter.java
net.vvakame.sample.converter.StringDiscardConverter.java
net.vvakame.sample.duma.ItemMapConverter.java
net.vvakame.sample.duma.Item.java
net.vvakame.sample.duma.ReadItLater.java
net.vvakame.sample.issue25.Issue25.java
net.vvakame.sample.issue28.Issue28.java
net.vvakame.sample.issue2.Child0ValueP0.java
net.vvakame.sample.issue2.Child0ValueP1.java
net.vvakame.sample.issue2.Child1ValueP0.java
net.vvakame.sample.issue2.Child1ValueP1.java
net.vvakame.sample.issue2.Grandchild0ValueC0P0.java
net.vvakame.sample.issue2.Grandchild0ValueC0P1.java
net.vvakame.sample.issue2.Grandchild0ValueC1P0.java
net.vvakame.sample.issue2.Grandchild0ValueC1P1.java
net.vvakame.sample.issue2.Grandchild1ValueC0P0.java
net.vvakame.sample.issue2.Grandchild1ValueC0P1.java
net.vvakame.sample.issue2.Grandchild1ValueC1P0.java
net.vvakame.sample.issue2.Grandchild1ValueC1P1.java
net.vvakame.sample.issue2.Parent0Value.java
net.vvakame.sample.issue2.Parent1Value.java
net.vvakame.sample.issue30.PrimitiveList.java
net.vvakame.sample.issue30.RecursiveStructure.java
net.vvakame.sample.issue31.BaseData.java
net.vvakame.sample.issue31.ExtendData.java
net.vvakame.sample.twitter.Place.java
net.vvakame.sample.twitter.Place.java
net.vvakame.sample.twitter.Tweet.java
net.vvakame.sample.twitter.Tweet.java
net.vvakame.sample.twitter.User.java
net.vvakame.sample.twitter.User.java
net.vvakame.twitter.ResultTweet.java
net.vvakame.twitter.SearchResult.java
net.vvakame.util.jsonpullparser.JsonFormatException.java
net.vvakame.util.jsonpullparser.JsonPullParser.java
net.vvakame.util.jsonpullparser.JsonSlice.java
net.vvakame.util.jsonpullparser.Stack.java
net.vvakame.util.jsonpullparser.annotation.JsonKey.java
net.vvakame.util.jsonpullparser.annotation.JsonModel.java
net.vvakame.util.jsonpullparser.annotation.StoreJson.java
net.vvakame.util.jsonpullparser.builder.JsonCoderRouter.java
net.vvakame.util.jsonpullparser.builder.JsonModelBuilder.java
net.vvakame.util.jsonpullparser.builder.JsonModelCoder.java
net.vvakame.util.jsonpullparser.builder.JsonPropertyBuilderCreator.java
net.vvakame.util.jsonpullparser.builder.JsonPropertyBuilder.java
net.vvakame.util.jsonpullparser.builder.JsonPropertyCoder.java
net.vvakame.util.jsonpullparser.builder.JsonPropertyMeta.java
net.vvakame.util.jsonpullparser.factory.JsonAnnotationProcessor.java
net.vvakame.util.jsonpullparser.factory.JsonKeyModel.java
net.vvakame.util.jsonpullparser.factory.JsonModelGenerator.java
net.vvakame.util.jsonpullparser.factory.JsonModelModel.java
net.vvakame.util.jsonpullparser.factory.Log.java
net.vvakame.util.jsonpullparser.factory.StandardTypeKindVisitor.java
net.vvakame.util.jsonpullparser.factory.StoreJsonModel.java
net.vvakame.util.jsonpullparser.factory.template.MvelTemplate.java
net.vvakame.util.jsonpullparser.factory.template.Template.java
net.vvakame.util.jsonpullparser.googleapiclient.JppFactory.java
net.vvakame.util.jsonpullparser.googleapiclient.JppGenerator.java
net.vvakame.util.jsonpullparser.googleapiclient.JppParser.java
net.vvakame.util.jsonpullparser.util.JsonArray.java
net.vvakame.util.jsonpullparser.util.JsonHash.java
net.vvakame.util.jsonpullparser.util.JsonParseUtil.java
net.vvakame.util.jsonpullparser.util.JsonSliceUtil.java
net.vvakame.util.jsonpullparser.util.JsonUtil.java
net.vvakame.util.jsonpullparser.util.OnJsonObjectAddListener.java
net.vvakame.util.jsonpullparser.util.TokenConverter.java
net.vvakame.util.jsonpullparser.util.Type.java