Revision 6864568a src/com/rackspace/cloud/files/api/client/ContainerObjects.java
b/src/com/rackspace/cloud/files/api/client/ContainerObjects.java | ||
---|---|---|
12 | 12 |
private String object; |
13 | 13 |
private String hash; |
14 | 14 |
private String lastMod; |
15 |
private String bytes;
|
|
15 |
private int bytes;
|
|
16 | 16 |
private String cname; |
17 |
private String cName; |
|
18 | 17 |
private String contentType; |
19 | 18 |
|
20 | 19 |
/** |
... | ... | |
72 | 71 |
public void setCName(String cname) { |
73 | 72 |
this.cname = cname; |
74 | 73 |
} |
75 |
public String getBytes() { |
|
74 |
/** |
|
75 |
* |
|
76 |
* @return the objects size |
|
77 |
*/ |
|
78 |
public int getBytes() { |
|
76 | 79 |
return bytes; |
77 | 80 |
} |
78 | 81 |
/** |
79 | 82 |
* |
80 |
* @param bytes
|
|
83 |
* @param the bytes the object is set to
|
|
81 | 84 |
*/ |
82 |
public void setBytes(String bytes) {
|
|
85 |
public void setBytes(int bytes) {
|
|
83 | 86 |
this.bytes = bytes; |
84 | 87 |
} |
85 |
public void setCname(String cName) { |
|
86 |
this.cName = cName; |
|
87 |
|
|
88 |
} |
|
89 |
public String getCname(){ |
|
90 |
return cName; |
|
91 |
} |
|
88 |
/** |
|
89 |
* |
|
90 |
* @param contentType the object is set to |
|
91 |
*/ |
|
92 | 92 |
public void setContentType(String contentType) { |
93 | 93 |
this.contentType = contentType; |
94 | 94 |
|
95 | 95 |
} |
96 |
/** |
|
97 |
* |
|
98 |
* @return the objects content type |
|
99 |
*/ |
|
96 | 100 |
public String getContentType(){ |
97 | 101 |
return contentType; |
98 | 102 |
} |
Also available in: Unified diff