Skip to content

Commit

Permalink
tumblrviewer
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Apr 25, 2016
1 parent b515ceb commit a51cbce
Show file tree
Hide file tree
Showing 22 changed files with 2,036 additions and 46 deletions.
3 changes: 3 additions & 0 deletions TumblrViewer/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions TumblrViewer/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ dependencies {
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:design:23.3.0'
compile 'com.android.support:support-v4:23.3.0'
}
75 changes: 75 additions & 0 deletions TumblrViewer/app/src/main/java/piotrek/tumblrviewer/AltSize.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@

package piotrek.tumblrviewer;

import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

@Generated("org.jsonschema2pojo")
public class AltSize {

@SerializedName("url")
@Expose
private String url;
@SerializedName("width")
@Expose
private Long width;
@SerializedName("height")
@Expose
private Long height;

/**
*
* @return
* The url
*/
public String getUrl() {
return url;
}

/**
*
* @param url
* The url
*/
public void setUrl(String url) {
this.url = url;
}

/**
*
* @return
* The width
*/
public Long getWidth() {
return width;
}

/**
*
* @param width
* The width
*/
public void setWidth(Long width) {
this.width = width;
}

/**
*
* @return
* The height
*/
public Long getHeight() {
return height;
}

/**
*
* @param height
* The height
*/
public void setHeight(Long height) {
this.height = height;
}

}
264 changes: 264 additions & 0 deletions TumblrViewer/app/src/main/java/piotrek/tumblrviewer/Blog.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,264 @@

package piotrek.tumblrviewer;

import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

@Generated("org.jsonschema2pojo")
public class Blog {

@SerializedName("title")
@Expose
private String title;
@SerializedName("name")
@Expose
private String name;
@SerializedName("total_posts")
@Expose
private Long totalPosts;
@SerializedName("posts")
@Expose
private Long posts;
@SerializedName("url")
@Expose
private String url;
@SerializedName("updated")
@Expose
private Long updated;
@SerializedName("description")
@Expose
private String description;
@SerializedName("is_nsfw")
@Expose
private Boolean isNsfw;
@SerializedName("ask")
@Expose
private Boolean ask;
@SerializedName("ask_page_title")
@Expose
private String askPageTitle;
@SerializedName("ask_anon")
@Expose
private Boolean askAnon;
@SerializedName("share_likes")
@Expose
private Boolean shareLikes;

/**
*
* @return
* The title
*/
public String getTitle() {
return title;
}

/**
*
* @param title
* The title
*/
public void setTitle(String title) {
this.title = title;
}

/**
*
* @return
* The name
*/
public String getName() {
return name;
}

/**
*
* @param name
* The name
*/
public void setName(String name) {
this.name = name;
}

/**
*
* @return
* The totalPosts
*/
public Long getTotalPosts() {
return totalPosts;
}

/**
*
* @param totalPosts
* The total_posts
*/
public void setTotalPosts(Long totalPosts) {
this.totalPosts = totalPosts;
}

/**
*
* @return
* The posts
*/
public Long getPosts() {
return posts;
}

/**
*
* @param posts
* The posts
*/
public void setPosts(Long posts) {
this.posts = posts;
}

/**
*
* @return
* The url
*/
public String getUrl() {
return url;
}

/**
*
* @param url
* The url
*/
public void setUrl(String url) {
this.url = url;
}

/**
*
* @return
* The updated
*/
public Long getUpdated() {
return updated;
}

/**
*
* @param updated
* The updated
*/
public void setUpdated(Long updated) {
this.updated = updated;
}

/**
*
* @return
* The description
*/
public String getDescription() {
return description;
}

/**
*
* @param description
* The description
*/
public void setDescription(String description) {
this.description = description;
}

/**
*
* @return
* The isNsfw
*/
public Boolean getIsNsfw() {
return isNsfw;
}

/**
*
* @param isNsfw
* The is_nsfw
*/
public void setIsNsfw(Boolean isNsfw) {
this.isNsfw = isNsfw;
}

/**
*
* @return
* The ask
*/
public Boolean getAsk() {
return ask;
}

/**
*
* @param ask
* The ask
*/
public void setAsk(Boolean ask) {
this.ask = ask;
}

/**
*
* @return
* The askPageTitle
*/
public String getAskPageTitle() {
return askPageTitle;
}

/**
*
* @param askPageTitle
* The ask_page_title
*/
public void setAskPageTitle(String askPageTitle) {
this.askPageTitle = askPageTitle;
}

/**
*
* @return
* The askAnon
*/
public Boolean getAskAnon() {
return askAnon;
}

/**
*
* @param askAnon
* The ask_anon
*/
public void setAskAnon(Boolean askAnon) {
this.askAnon = askAnon;
}

/**
*
* @return
* The shareLikes
*/
public Boolean getShareLikes() {
return shareLikes;
}

/**
*
* @param shareLikes
* The share_likes
*/
public void setShareLikes(Boolean shareLikes) {
this.shareLikes = shareLikes;
}

}
Loading

0 comments on commit a51cbce

Please sign in to comment.