root / src / com / rackspace / cloud / files / api / client / ContainerObjects.java @ 3d6041e8
History | View | Annotate | Download (1.6 kB)
1 |
package com.rackspace.cloud.files.api.client; |
---|---|
2 |
|
3 |
import com.rackspace.cloud.servers.api.client.Entity; |
4 |
|
5 |
/**
|
6 |
* @author Phillip Toohill dead2hill@gmail.com
|
7 |
*
|
8 |
*/
|
9 |
public class ContainerObjects extends Entity { |
10 |
|
11 |
private static final long serialVersionUID = 5994739895998309675L; |
12 |
private String object; |
13 |
private String hash; |
14 |
private String lastMod; |
15 |
private String bytes; |
16 |
private String cname; |
17 |
private String cName; |
18 |
private String contentType; |
19 |
|
20 |
/**
|
21 |
*
|
22 |
* @return the object
|
23 |
*/
|
24 |
public String getObject() { |
25 |
return object;
|
26 |
} |
27 |
/**
|
28 |
*
|
29 |
* @param object from container
|
30 |
*/
|
31 |
public void setObject(String object) { |
32 |
this.object = object;
|
33 |
} |
34 |
/**
|
35 |
* @return the hash
|
36 |
*/
|
37 |
public String getHash() { |
38 |
return hash;
|
39 |
} |
40 |
/**
|
41 |
* @param hash hash of object
|
42 |
*/
|
43 |
public void setHash(String hash) { |
44 |
this.hash = hash;
|
45 |
} |
46 |
/**
|
47 |
*
|
48 |
* @return the LastMod ification of file
|
49 |
*/
|
50 |
public String getLastMod() { |
51 |
return lastMod;
|
52 |
} |
53 |
|
54 |
/**
|
55 |
*
|
56 |
* @param lastMod that LastMod is set to
|
57 |
*/
|
58 |
public void setLastMod(String lastMod) { |
59 |
this.lastMod = lastMod;
|
60 |
} |
61 |
/**
|
62 |
*
|
63 |
* @return the object's name
|
64 |
*/
|
65 |
public String getCName() { |
66 |
return cname;
|
67 |
} |
68 |
/**
|
69 |
*
|
70 |
* @param name the object is set to
|
71 |
*/
|
72 |
public void setCName(String cname) { |
73 |
this.cname = cname;
|
74 |
} |
75 |
public String getBytes() { |
76 |
return bytes;
|
77 |
} |
78 |
/**
|
79 |
*
|
80 |
* @param bytes
|
81 |
*/
|
82 |
public void setBytes(String bytes) { |
83 |
this.bytes = bytes;
|
84 |
} |
85 |
public void setCname(String cName) { |
86 |
this.cName = cName;
|
87 |
|
88 |
} |
89 |
public String getCname(){ |
90 |
return cName;
|
91 |
} |
92 |
public void setContentType(String contentType) { |
93 |
this.contentType = contentType;
|
94 |
|
95 |
} |
96 |
public String getContentType(){ |
97 |
return contentType;
|
98 |
} |
99 |
} |
100 |
|