
com.vmware.avi.sdk.model.AzureSetup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of avisdk Show documentation
Show all versions of avisdk Show documentation
Avi SDK is a java API which creates a session with controller and perform CRUD operations.
/*
* Copyright 2021 VMware, Inc.
* SPDX-License-Identifier: Apache License 2.0
*/
package com.vmware.avi.sdk.model;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
* The AzureSetup is a POJO class extends AviRestResource that used for creating
* AzureSetup.
*
* @version 1.0
* @since
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AzureSetup {
@JsonProperty("alb_id")
private String albId;
@JsonProperty("cc_id")
private String ccId;
@JsonProperty("nic_id")
private String nicId;
@JsonProperty("reason")
private String reason;
@JsonProperty("resource_group")
private String resourceGroup;
@JsonProperty("status")
private String status;
@JsonProperty("subscription_id")
private String subscriptionId;
@JsonProperty("vips")
private List vips;
@JsonProperty("vnet_id")
private String vnetId;
@JsonProperty("vs_uuids")
private List vsUuids;
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return albId
*/
public String getAlbId() {
return albId;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param albId set the albId.
*/
public void setAlbId(String albId) {
this.albId = albId;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return ccId
*/
public String getCcId() {
return ccId;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param ccId set the ccId.
*/
public void setCcId(String ccId) {
this.ccId = ccId;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return nicId
*/
public String getNicId() {
return nicId;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param nicId set the nicId.
*/
public void setNicId(String nicId) {
this.nicId = nicId;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return reason
*/
public String getReason() {
return reason;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param reason set the reason.
*/
public void setReason(String reason) {
this.reason = reason;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return resourceGroup
*/
public String getResourceGroup() {
return resourceGroup;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param resourceGroup set the resourceGroup.
*/
public void setResourceGroup(String resourceGroup) {
this.resourceGroup = resourceGroup;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return status
*/
public String getStatus() {
return status;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param status set the status.
*/
public void setStatus(String status) {
this.status = status;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return subscriptionId
*/
public String getSubscriptionId() {
return subscriptionId;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param subscriptionId set the subscriptionId.
*/
public void setSubscriptionId(String subscriptionId) {
this.subscriptionId = subscriptionId;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return vips
*/
public List getVips() {
return vips;
}
/**
* This is the setter method. this will set the vips
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return vips
*/
public void setVips(List vips) {
this.vips = vips;
}
/**
* This is the setter method this will set the vips
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return vips
*/
public AzureSetup addVipsItem(IpAddr vipsItem) {
if (this.vips == null) {
this.vips = new ArrayList();
}
this.vips.add(vipsItem);
return this;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return vnetId
*/
public String getVnetId() {
return vnetId;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param vnetId set the vnetId.
*/
public void setVnetId(String vnetId) {
this.vnetId = vnetId;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return vsUuids
*/
public List getVsUuids() {
return vsUuids;
}
/**
* This is the setter method. this will set the vsUuids
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return vsUuids
*/
public void setVsUuids(List vsUuids) {
this.vsUuids = vsUuids;
}
/**
* This is the setter method this will set the vsUuids
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return vsUuids
*/
public AzureSetup addVsUuidsItem(String vsUuidsItem) {
if (this.vsUuids == null) {
this.vsUuids = new ArrayList();
}
this.vsUuids.add(vsUuidsItem);
return this;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AzureSetup objAzureSetup = (AzureSetup) o;
return Objects.equals(this.ccId, objAzureSetup.ccId)&&
Objects.equals(this.subscriptionId, objAzureSetup.subscriptionId)&&
Objects.equals(this.vnetId, objAzureSetup.vnetId)&&
Objects.equals(this.resourceGroup, objAzureSetup.resourceGroup)&&
Objects.equals(this.albId, objAzureSetup.albId)&&
Objects.equals(this.nicId, objAzureSetup.nicId)&&
Objects.equals(this.status, objAzureSetup.status)&&
Objects.equals(this.reason, objAzureSetup.reason)&&
Objects.equals(this.vips, objAzureSetup.vips)&&
Objects.equals(this.vsUuids, objAzureSetup.vsUuids);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AzureSetup {\n");
sb.append(" albId: ").append(toIndentedString(albId)).append("\n");
sb.append(" ccId: ").append(toIndentedString(ccId)).append("\n");
sb.append(" nicId: ").append(toIndentedString(nicId)).append("\n");
sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
sb.append(" resourceGroup: ").append(toIndentedString(resourceGroup)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" subscriptionId: ").append(toIndentedString(subscriptionId)).append("\n");
sb.append(" vips: ").append(toIndentedString(vips)).append("\n");
sb.append(" vnetId: ").append(toIndentedString(vnetId)).append("\n");
sb.append(" vsUuids: ").append(toIndentedString(vsUuids)).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