Initial commit
[mustard2:mustard2.git] / src / org / mustard2 / microblog / StatusNetService.java
1 /**
2  * MUSTARD: Android's Client for StatusNet
3  * 
4  * Copyright (C) 2009-2010 macno.org, Michele Azzolari
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14  * for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  * 
20  */
21
22 package org.mustard2.microblog;
23
24 public class StatusNetService {
25         
26         private Site site;
27         
28         public Site getSite() {
29                 return site;
30         }
31
32         public void setSite(Site site) {
33                 this.site = site;
34         }
35         
36         
37         public class Site {
38                 
39                 private String name;
40                 private String server;
41                 private String theme;
42                 private String path;
43                 private boolean fancy;
44                 private String language;
45                 private String email;
46                 private String broughtby;
47                 private String broughtbyurl;
48                 private String closed;
49                 private int textlimit;
50                 private boolean inviteonly;
51                 private boolean privateSite;
52                 boolean ssl;
53                 String sslserver;
54                 int shorturllength;
55                 
56                 
57                 public String getName() {
58                         return name;
59                 }
60                 public void setName(String name) {
61                         this.name = name;
62                 }
63                 public String getServer() {
64                         return server;
65                 }
66                 public void setServer(String server) {
67                         this.server = server;
68                 }
69                 public String getTheme() {
70                         return theme;
71                 }
72                 public void setTheme(String theme) {
73                         this.theme = theme;
74                 }
75                 public String getPath() {
76                         return path;
77                 }
78                 public void setPath(String path) {
79                         this.path = path;
80                 }
81                 public boolean getFancy() {
82                         return fancy;
83                 }
84                 public void setFancy(boolean fancy) {
85                         this.fancy = fancy;
86                 }
87                 public String getLanguage() {
88                         return language;
89                 }
90                 public void setLanguage(String language) {
91                         this.language = language;
92                 }
93                 public String getEmail() {
94                         return email;
95                 }
96                 public void setEmail(String email) {
97                         this.email = email;
98                 }
99                 public String getBroughtby() {
100                         return broughtby;
101                 }
102                 public void setBroughtby(String broughtby) {
103                         this.broughtby = broughtby;
104                 }
105                 public String getBroughtbyurl() {
106                         return broughtbyurl;
107                 }
108                 public void setBroughtbyurl(String broughtbyurl) {
109                         this.broughtbyurl = broughtbyurl;
110                 }
111                 public String getClosed() {
112                         return closed;
113                 }
114                 public void setClosed(String closed) {
115                         this.closed = closed;
116                 }
117                 public boolean isInviteonly() {
118                         return inviteonly;
119                 }
120                 public void setInviteonly(boolean inviteonly) {
121                         this.inviteonly = inviteonly;
122                 }
123                 public boolean isPrivateSite() {
124                         return privateSite;
125                 }
126                 public void setPrivateSite(boolean privateSite) {
127                         this.privateSite = privateSite;
128                 }
129                 public int getTextlimit() {
130                         return textlimit;
131                 }
132                 public void setTextlimit(int textlimit) {
133                         this.textlimit = textlimit;
134                 }
135
136         }
137
138         public class License {
139                 
140                 private String url;
141                 private String title;
142                 private String image;
143                 public String getUrl() {
144                         return url;
145                 }
146                 public void setUrl(String url) {
147                         this.url = url;
148                 }
149                 public String getTitle() {
150                         return title;
151                 }
152                 public void setTitle(String title) {
153                         this.title = title;
154                 }
155                 public String getImage() {
156                         return image;
157                 }
158                 public void setImage(String image) {
159                         this.image = image;
160                 }
161                 
162         }
163         
164         
165 }