sureshanaparti commented on code in PR #12563: URL: https://github.com/apache/cloudstack/pull/12563#discussion_r3049800135
########## plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/feign/model/Volume.java: ########## @@ -0,0 +1,143 @@ +/* + * 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.storage.feign.model; + +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +import java.util.List; +import java.util.Objects; + +@JsonIgnoreProperties(ignoreUnknown = true) +@JsonInclude(JsonInclude.Include.NON_NULL) +public class Volume { + @JsonProperty("uuid") + private String uuid; + + @JsonProperty("name") + private String name; + + @JsonProperty("state") + private String state; + + @JsonProperty("nas") + private Nas nas; + + @JsonProperty("svm") + private Svm svm; + + @JsonProperty("qos") + private Qos qos; + + @JsonProperty("space") + private VolumeSpace space; + + @JsonProperty("anti_ransomware") + private AntiRansomware antiRansomware; + + @JsonProperty("aggregates") + private List<Aggregate> aggregates = null; + + @JsonProperty("size") + private Long size = null; + + // Getters and setters + public String getUuid() { + return uuid; + } + public void setUuid(String uuid) { + this.uuid = uuid; + } + public String getName() { + return name; + } + public void setName(String name) { + this.name = name; + } + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + public Nas getNas() { + return nas; + } + + public void setNas(Nas nas) { + this.nas = nas; + } + + public Svm getSvm() { + return svm; + } + + public void setSvm(Svm svm) { + this.svm = svm; + } + + public Qos getQos() { + return qos; + } + + public void setQos(Qos qos) { + this.qos = qos; + } + + public VolumeSpace getSpace() { + return space; + } + + public void setSpace(VolumeSpace space) { + this.space = space; + } + + public AntiRansomware getAntiRansomware() { + return antiRansomware; + } + + public void setAntiRansomware(AntiRansomware antiRansomware) { + this.antiRansomware = antiRansomware; + } + + public List<Aggregate> getAggregates () { return aggregates; } + + public void setAggregates (List<Aggregate> aggregates) { this.aggregates = aggregates; } + + public Long getSize () { return size; } + + public void setSize (Long size) { this.size = size; } + Review Comment: ```suggestion ``` -- 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]
