DaanHoogland commented on code in PR #6550:
URL: https://github.com/apache/cloudstack/pull/6550#discussion_r920099082


##########
plugins/backup/networker/src/main/java/org/apache/cloudstack/backup/networker/api/Instance.java:
##########
@@ -0,0 +1,158 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+package org.apache.cloudstack.backup.networker.api;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+
+import javax.annotation.Generated;
+import java.io.Serializable;
+import java.util.List;
+
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+        "clone",
+        "id",
+        "status",
+        "volumeIds"
+})
+@Generated("jsonschema2pojo")
+public class Instance implements Serializable {
+
+    private final static long serialVersionUID = -5708111855130556342L;
+    @JsonProperty("clone")
+    private Boolean clone;
+    @JsonProperty("id")
+    private String id;
+    @JsonProperty("status")
+    private String status;
+    @JsonProperty("volumeIds")
+    private List<String> volumeIds = null;
+
+    /**
+     * No args constructor for use in serialization
+     */
+    public Instance() {
+    }
+
+    /**
+     * @param clone
+     * @param volumeIds
+     * @param id
+     * @param status
+     */
+    public Instance(Boolean clone, String id, String status, List<String> 
volumeIds) {
+        super();
+        this.clone = clone;
+        this.id = id;
+        this.status = status;
+        this.volumeIds = volumeIds;
+    }
+
+    @JsonProperty("clone")
+    public Boolean getClone() {
+        return clone;
+    }
+
+    @JsonProperty("clone")
+    public void setClone(Boolean clone) {
+        this.clone = clone;
+    }
+
+    @JsonProperty("id")
+    public String getId() {
+        return id;
+    }
+
+    @JsonProperty("id")
+    public void setId(String id) {
+        this.id = id;
+    }
+
+    @JsonProperty("status")
+    public String getStatus() {
+        return status;
+    }
+
+    @JsonProperty("status")
+    public void setStatus(String status) {
+        this.status = status;
+    }
+
+    @JsonProperty("volumeIds")
+    public List<String> getVolumeIds() {
+        return volumeIds;
+    }
+
+    @JsonProperty("volumeIds")
+    public void setVolumeIds(List<String> volumeIds) {
+        this.volumeIds = volumeIds;
+    }
+
+    @Override
+    public String toString() {
+        StringBuilder sb = new StringBuilder();

Review Comment:
   please use `ReflectionToStringBuilderUtils`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to