diff options
author | Sindhuri.A <arcot.sindhuri@huawei.com> | 2019-04-17 19:42:53 +0530 |
---|---|---|
committer | Sindhuri.A <arcot.sindhuri@huawei.com> | 2019-04-17 19:42:53 +0530 |
commit | 77c0aa09fa2742d59b51c774037cb9399c760545 (patch) | |
tree | bf29936583fd3c78024c0f39cf2ae1cb1dbf9896 /ceilometer-client | |
parent | 9cf72ced6cba4ba7326ceaf34887c212a301b0df (diff) |
changed constructor order, getter and setter
changed constructor order, getter and setter for ResourcesResource and Router classes
Issue-ID: SO-1490
Change-Id: I287bb602e817dbb8b01a446ff5a678c6268b4263
Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
Diffstat (limited to 'ceilometer-client')
-rw-r--r-- | ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/ResourcesResource.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/ResourcesResource.java b/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/ResourcesResource.java index 9d392f7..3fac7b8 100644 --- a/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/ResourcesResource.java +++ b/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/ResourcesResource.java @@ -25,10 +25,10 @@ import com.woorea.openstack.ceilometer.v2.model.Resource; public class ResourcesResource { - private final OpenStackClient CLIENT; + private final OpenStackClient client; public ResourcesResource(OpenStackClient client) { - CLIENT = client; + this.client = client; } public class ResourceList extends QueriableCeilometerCommand<ResourceList, List<Resource>> { @@ -44,15 +44,15 @@ public class ResourcesResource { private String id; + public ResourceShow(OpenStackClient client) { + + } + public ResourceShow id(String id) { this.id = id; return this; } - public ResourceShow(OpenStackClient client) { - - } - } }
\ No newline at end of file |