All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netapp.santricity.models.symbol.HLVolumeBundle Maven / Gradle / Ivy

/**************************************************************************************************************************************************************
 *  The Clear BSD License
 *
 *   Copyright (c) – 2016, NetApp, Inc. All rights reserved.
 *
 *   Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met:
 *
 *   * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
 *
 *   * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
 *
 *   * Neither the name of NetApp, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
 *
 *   NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *************************************************************************************************************************************************************/


package com.netapp.santricity.models.symbol;

import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Objects;
import com.netapp.santricity.models.v2.*;
import com.netapp.santricity.models.symbol.*;
import com.netapp.santricity.models.utils.*;
import com.netapp.santricity.Pair;
import com.netapp.santricity.StringUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.io.File;
import java.util.Date;
import java.util.Objects;


/**
 * HLVolumeBundle
 */
@javax.annotation.Generated(value = "class com.ni.aa.client.codegen.lang.JavaNetappClientCodegen", date = "2016-08-12T15:32:46.001-05:00")
public class HLVolumeBundle   {
  
    private List snapshotVol;

    private List mirrorVol;

    private List metadataVol;

    private List remoteVol;

    private List volumeCopy;

    private List pitGroup;

    private List pit;

    private List pitView;

    private List pitConsistencyGroup;

    private List concatVolume;

    private List concatVolMember;

    private List pitConsistencyGroupView;

    private List thinVolume;

    private List asyncMirrorGroup;

    private List asyncMirrorGroupMember;

    private List asyncMirrorGroupIncompleteMember;

  
  /**
   * An array of SnapshotVolume objects.
   **/
  public HLVolumeBundle snapshotVol(List snapshotVol) {
    this.snapshotVol = snapshotVol;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "An array of SnapshotVolume objects.")
  @JsonProperty("snapshotVol")
  public List getSnapshotVol() {
    return snapshotVol;
  }
  
  public void setSnapshotVol(List snapshotVol) {
    this.snapshotVol = snapshotVol;
  }

  
  /**
   * An array of MirrorProxyVolume objects.
   **/
  public HLVolumeBundle mirrorVol(List mirrorVol) {
    this.mirrorVol = mirrorVol;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "An array of MirrorProxyVolume objects.")
  @JsonProperty("mirrorVol")
  public List getMirrorVol() {
    return mirrorVol;
  }
  
  public void setMirrorVol(List mirrorVol) {
    this.mirrorVol = mirrorVol;
  }

  
  /**
   * An array of MetadataVolume objects.
   **/
  public HLVolumeBundle metadataVol(List metadataVol) {
    this.metadataVol = metadataVol;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "An array of MetadataVolume objects.")
  @JsonProperty("metadataVol")
  public List getMetadataVol() {
    return metadataVol;
  }
  
  public void setMetadataVol(List metadataVol) {
    this.metadataVol = metadataVol;
  }

  
  /**
   * An array of RemoteVolume objects.
   **/
  public HLVolumeBundle remoteVol(List remoteVol) {
    this.remoteVol = remoteVol;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "An array of RemoteVolume objects.")
  @JsonProperty("remoteVol")
  public List getRemoteVol() {
    return remoteVol;
  }
  
  public void setRemoteVol(List remoteVol) {
    this.remoteVol = remoteVol;
  }

  
  /**
   * An array of VolumeCopy objects.
   **/
  public HLVolumeBundle volumeCopy(List volumeCopy) {
    this.volumeCopy = volumeCopy;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "An array of VolumeCopy objects.")
  @JsonProperty("volumeCopy")
  public List getVolumeCopy() {
    return volumeCopy;
  }
  
  public void setVolumeCopy(List volumeCopy) {
    this.volumeCopy = volumeCopy;
  }

  
  /**
   * An array of PITGroup objects.
   **/
  public HLVolumeBundle pitGroup(List pitGroup) {
    this.pitGroup = pitGroup;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "An array of PITGroup objects.")
  @JsonProperty("pitGroup")
  public List getPitGroup() {
    return pitGroup;
  }
  
  public void setPitGroup(List pitGroup) {
    this.pitGroup = pitGroup;
  }

  
  /**
   * An array of PiT objects.
   **/
  public HLVolumeBundle pit(List pit) {
    this.pit = pit;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "An array of PiT objects.")
  @JsonProperty("pit")
  public List getPit() {
    return pit;
  }
  
  public void setPit(List pit) {
    this.pit = pit;
  }

  
  /**
   * An array of PITView objects.
   **/
  public HLVolumeBundle pitView(List pitView) {
    this.pitView = pitView;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "An array of PITView objects.")
  @JsonProperty("pitView")
  public List getPitView() {
    return pitView;
  }
  
  public void setPitView(List pitView) {
    this.pitView = pitView;
  }

  
  /**
   * An array of PITConsistencyGroup objects.
   **/
  public HLVolumeBundle pitConsistencyGroup(List pitConsistencyGroup) {
    this.pitConsistencyGroup = pitConsistencyGroup;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "An array of PITConsistencyGroup objects.")
  @JsonProperty("pitConsistencyGroup")
  public List getPitConsistencyGroup() {
    return pitConsistencyGroup;
  }
  
  public void setPitConsistencyGroup(List pitConsistencyGroup) {
    this.pitConsistencyGroup = pitConsistencyGroup;
  }

  
  /**
   * An array of ConcatVolume objects.
   **/
  public HLVolumeBundle concatVolume(List concatVolume) {
    this.concatVolume = concatVolume;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "An array of ConcatVolume objects.")
  @JsonProperty("concatVolume")
  public List getConcatVolume() {
    return concatVolume;
  }
  
  public void setConcatVolume(List concatVolume) {
    this.concatVolume = concatVolume;
  }

  
  /**
   * An array of ConcatVolumeMember objects.
   **/
  public HLVolumeBundle concatVolMember(List concatVolMember) {
    this.concatVolMember = concatVolMember;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "An array of ConcatVolumeMember objects.")
  @JsonProperty("concatVolMember")
  public List getConcatVolMember() {
    return concatVolMember;
  }
  
  public void setConcatVolMember(List concatVolMember) {
    this.concatVolMember = concatVolMember;
  }

  
  /**
   * An array of PITConsistencyGroupView objects.
   **/
  public HLVolumeBundle pitConsistencyGroupView(List pitConsistencyGroupView) {
    this.pitConsistencyGroupView = pitConsistencyGroupView;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "An array of PITConsistencyGroupView objects.")
  @JsonProperty("pitConsistencyGroupView")
  public List getPitConsistencyGroupView() {
    return pitConsistencyGroupView;
  }
  
  public void setPitConsistencyGroupView(List pitConsistencyGroupView) {
    this.pitConsistencyGroupView = pitConsistencyGroupView;
  }

  
  /**
   * An array of ThinVolume objects.
   **/
  public HLVolumeBundle thinVolume(List thinVolume) {
    this.thinVolume = thinVolume;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "An array of ThinVolume objects.")
  @JsonProperty("thinVolume")
  public List getThinVolume() {
    return thinVolume;
  }
  
  public void setThinVolume(List thinVolume) {
    this.thinVolume = thinVolume;
  }

  
  /**
   * Async Mirror Groups.
   **/
  public HLVolumeBundle asyncMirrorGroup(List asyncMirrorGroup) {
    this.asyncMirrorGroup = asyncMirrorGroup;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "Async Mirror Groups.")
  @JsonProperty("asyncMirrorGroup")
  public List getAsyncMirrorGroup() {
    return asyncMirrorGroup;
  }
  
  public void setAsyncMirrorGroup(List asyncMirrorGroup) {
    this.asyncMirrorGroup = asyncMirrorGroup;
  }

  
  /**
   * Async Mirror Group Members.
   **/
  public HLVolumeBundle asyncMirrorGroupMember(List asyncMirrorGroupMember) {
    this.asyncMirrorGroupMember = asyncMirrorGroupMember;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "Async Mirror Group Members.")
  @JsonProperty("asyncMirrorGroupMember")
  public List getAsyncMirrorGroupMember() {
    return asyncMirrorGroupMember;
  }
  
  public void setAsyncMirrorGroupMember(List asyncMirrorGroupMember) {
    this.asyncMirrorGroupMember = asyncMirrorGroupMember;
  }

  
  /**
   * \"Incomplete\" Async Mirror Group Members.
   **/
  public HLVolumeBundle asyncMirrorGroupIncompleteMember(List asyncMirrorGroupIncompleteMember) {
    this.asyncMirrorGroupIncompleteMember = asyncMirrorGroupIncompleteMember;
    return this;
  }
  
  @ApiModelProperty(example = "null", required = true, value = "\"Incomplete\" Async Mirror Group Members.")
  @JsonProperty("asyncMirrorGroupIncompleteMember")
  public List getAsyncMirrorGroupIncompleteMember() {
    return asyncMirrorGroupIncompleteMember;
  }
  
  public void setAsyncMirrorGroupIncompleteMember(List asyncMirrorGroupIncompleteMember) {
    this.asyncMirrorGroupIncompleteMember = asyncMirrorGroupIncompleteMember;
  }

  

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    HLVolumeBundle hLVolumeBundle = (HLVolumeBundle) o;
    return Objects.equals(this.snapshotVol, hLVolumeBundle.snapshotVol) &&
        Objects.equals(this.mirrorVol, hLVolumeBundle.mirrorVol) &&
        Objects.equals(this.metadataVol, hLVolumeBundle.metadataVol) &&
        Objects.equals(this.remoteVol, hLVolumeBundle.remoteVol) &&
        Objects.equals(this.volumeCopy, hLVolumeBundle.volumeCopy) &&
        Objects.equals(this.pitGroup, hLVolumeBundle.pitGroup) &&
        Objects.equals(this.pit, hLVolumeBundle.pit) &&
        Objects.equals(this.pitView, hLVolumeBundle.pitView) &&
        Objects.equals(this.pitConsistencyGroup, hLVolumeBundle.pitConsistencyGroup) &&
        Objects.equals(this.concatVolume, hLVolumeBundle.concatVolume) &&
        Objects.equals(this.concatVolMember, hLVolumeBundle.concatVolMember) &&
        Objects.equals(this.pitConsistencyGroupView, hLVolumeBundle.pitConsistencyGroupView) &&
        Objects.equals(this.thinVolume, hLVolumeBundle.thinVolume) &&
        Objects.equals(this.asyncMirrorGroup, hLVolumeBundle.asyncMirrorGroup) &&
        Objects.equals(this.asyncMirrorGroupMember, hLVolumeBundle.asyncMirrorGroupMember) &&
        Objects.equals(this.asyncMirrorGroupIncompleteMember, hLVolumeBundle.asyncMirrorGroupIncompleteMember);
  }

  @Override
  public int hashCode() {
    return Objects.hash(snapshotVol, mirrorVol, metadataVol, remoteVol, volumeCopy, pitGroup, pit, pitView, pitConsistencyGroup, concatVolume, concatVolMember, pitConsistencyGroupView, thinVolume, asyncMirrorGroup, asyncMirrorGroupMember, asyncMirrorGroupIncompleteMember);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class HLVolumeBundle {\n");
    
    sb.append("    snapshotVol: ").append(toIndentedString(snapshotVol)).append("\n");
    sb.append("    mirrorVol: ").append(toIndentedString(mirrorVol)).append("\n");
    sb.append("    metadataVol: ").append(toIndentedString(metadataVol)).append("\n");
    sb.append("    remoteVol: ").append(toIndentedString(remoteVol)).append("\n");
    sb.append("    volumeCopy: ").append(toIndentedString(volumeCopy)).append("\n");
    sb.append("    pitGroup: ").append(toIndentedString(pitGroup)).append("\n");
    sb.append("    pit: ").append(toIndentedString(pit)).append("\n");
    sb.append("    pitView: ").append(toIndentedString(pitView)).append("\n");
    sb.append("    pitConsistencyGroup: ").append(toIndentedString(pitConsistencyGroup)).append("\n");
    sb.append("    concatVolume: ").append(toIndentedString(concatVolume)).append("\n");
    sb.append("    concatVolMember: ").append(toIndentedString(concatVolMember)).append("\n");
    sb.append("    pitConsistencyGroupView: ").append(toIndentedString(pitConsistencyGroupView)).append("\n");
    sb.append("    thinVolume: ").append(toIndentedString(thinVolume)).append("\n");
    sb.append("    asyncMirrorGroup: ").append(toIndentedString(asyncMirrorGroup)).append("\n");
    sb.append("    asyncMirrorGroupMember: ").append(toIndentedString(asyncMirrorGroupMember)).append("\n");
    sb.append("    asyncMirrorGroupIncompleteMember: ").append(toIndentedString(asyncMirrorGroupIncompleteMember)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy