Statistics
| Branch: | Revision:

root / src / com / rackspace / cloud / servers / api / client / Server.java @ 35e7942d

History | View | Annotate | Download (1.9 kB)

1
/**
2
 * 
3
 */
4
package com.rackspace.cloud.servers.api.client;
5

    
6
/**
7
 * @author mike
8
 *
9
 */
10
public class Server extends Entity {
11

    
12
        private String status;
13
        private String progress;
14
        private String hostId;
15
        private String flavorId;
16
        private String imageId;
17
        private String[] publicIpAddresses;
18
        private String[] privateIpAddresses;
19
        
20
        /**
21
         * @return the status
22
         */
23
        public String getStatus() {
24
                return status;
25
        }
26
        /**
27
         * @param status the status to set
28
         */
29
        public void setStatus(String status) {
30
                this.status = status;
31
        }
32
        /**
33
         * @return the progress
34
         */
35
        public String getProgress() {
36
                return progress;
37
        }
38
        /**
39
         * @param progress the progress to set
40
         */
41
        public void setProgress(String progress) {
42
                this.progress = progress;
43
        }
44
        /**
45
         * @return the hostId
46
         */
47
        public String getHostId() {
48
                return hostId;
49
        }
50
        /**
51
         * @param hostId the hostId to set
52
         */
53
        public void setHostId(String hostId) {
54
                this.hostId = hostId;
55
        }
56
        /**
57
         * @return the flavorId
58
         */
59
        public String getFlavorId() {
60
                return flavorId;
61
        }
62
        /**
63
         * @param flavorId the flavorId to set
64
         */
65
        public void setFlavorId(String flavorId) {
66
                this.flavorId = flavorId;
67
        }
68
        /**
69
         * @return the imageId
70
         */
71
        public String getImageId() {
72
                return imageId;
73
        }
74
        /**
75
         * @param imageId the imageId to set
76
         */
77
        public void setImageId(String imageId) {
78
                this.imageId = imageId;
79
        }
80
        /**
81
         * @return the publicIpAddresses
82
         */
83
        public String[] getPublicIpAddresses() {
84
                return publicIpAddresses;
85
        }
86
        /**
87
         * @param publicIpAddresses the publicIpAddresses to set
88
         */
89
        public void setPublicIpAddresses(String[] publicIpAddresses) {
90
                this.publicIpAddresses = publicIpAddresses;
91
        }
92
        /**
93
         * @return the privateIpAddresses
94
         */
95
        public String[] getPrivateIpAddresses() {
96
                return privateIpAddresses;
97
        }
98
        /**
99
         * @param privateIpAddresses the privateIpAddresses to set
100
         */
101
        public void setPrivateIpAddresses(String[] privateIpAddresses) {
102
                this.privateIpAddresses = privateIpAddresses;
103
        }
104
        
105
        
106
}