com.vmware.avi.sdk.model.AzureMarketplace Maven / Gradle / Ivy
/*
* 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 AzureMarketplace is a POJO class extends AviRestResource that used for creating
* AzureMarketplace.
*
* @version 1.0
* @since
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AzureMarketplace {
@JsonProperty("cc_id")
private String ccId;
@JsonProperty("offer")
private String offer;
@JsonProperty("publisher")
private String publisher;
@JsonProperty("reason")
private String reason;
@JsonProperty("resource_group")
private String resourceGroup;
@JsonProperty("skus")
private List skus;
@JsonProperty("status")
private String status;
@JsonProperty("subscription_id")
private String subscriptionId;
@JsonProperty("vnet_id")
private String vnetId;
/**
* This is the getter method this will return the attribute value.
* Azure cloud id.
* Field introduced in 18.2.2.
* 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.
* Azure cloud id.
* Field introduced in 18.2.2.
* 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.
* Avi azure marketplace offer name.
* Field introduced in 18.2.2.
* 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 offer
*/
public String getOffer() {
return offer;
}
/**
* This is the setter method to the attribute.
* Avi azure marketplace offer name.
* Field introduced in 18.2.2.
* 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 offer set the offer.
*/
public void setOffer(String offer) {
this.offer = offer;
}
/**
* This is the getter method this will return the attribute value.
* Avi azure marketplace publisher name.
* Field introduced in 18.2.2.
* 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 publisher
*/
public String getPublisher() {
return publisher;
}
/**
* This is the setter method to the attribute.
* Avi azure marketplace publisher name.
* Field introduced in 18.2.2.
* 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 publisher set the publisher.
*/
public void setPublisher(String publisher) {
this.publisher = publisher;
}
/**
* This is the getter method this will return the attribute value.
* Azure marketplace license term failure status.
* Field introduced in 18.2.2.
* 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.
* Azure marketplace license term failure status.
* Field introduced in 18.2.2.
* 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.
* Azure resource group name.
* Field introduced in 18.2.2.
* 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.
* Azure resource group name.
* Field introduced in 18.2.2.
* 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.
* Avi azure marketplace skus list.
* Field introduced in 18.2.2.
* 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 skus
*/
public List getSkus() {
return skus;
}
/**
* This is the setter method. this will set the skus
* Avi azure marketplace skus list.
* Field introduced in 18.2.2.
* 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 skus
*/
public void setSkus(List skus) {
this.skus = skus;
}
/**
* This is the setter method this will set the skus
* Avi azure marketplace skus list.
* Field introduced in 18.2.2.
* 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 skus
*/
public AzureMarketplace addSkusItem(String skusItem) {
if (this.skus == null) {
this.skus = new ArrayList();
}
this.skus.add(skusItem);
return this;
}
/**
* This is the getter method this will return the attribute value.
* Azure marketplace license term acceptance status.
* Field introduced in 18.2.2.
* 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.
* Azure marketplace license term acceptance status.
* Field introduced in 18.2.2.
* 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.
* Azure subscription id.
* Field introduced in 18.2.2.
* 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.
* Azure subscription id.
* Field introduced in 18.2.2.
* 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.
* Azure vnet id.
* Field introduced in 18.2.2.
* 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.
* Azure vnet id.
* Field introduced in 18.2.2.
* 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;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AzureMarketplace objAzureMarketplace = (AzureMarketplace) o;
return Objects.equals(this.ccId, objAzureMarketplace.ccId)&&
Objects.equals(this.subscriptionId, objAzureMarketplace.subscriptionId)&&
Objects.equals(this.vnetId, objAzureMarketplace.vnetId)&&
Objects.equals(this.resourceGroup, objAzureMarketplace.resourceGroup)&&
Objects.equals(this.publisher, objAzureMarketplace.publisher)&&
Objects.equals(this.offer, objAzureMarketplace.offer)&&
Objects.equals(this.status, objAzureMarketplace.status)&&
Objects.equals(this.reason, objAzureMarketplace.reason)&&
Objects.equals(this.skus, objAzureMarketplace.skus);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AzureMarketplace {\n");
sb.append(" ccId: ").append(toIndentedString(ccId)).append("\n");
sb.append(" offer: ").append(toIndentedString(offer)).append("\n");
sb.append(" publisher: ").append(toIndentedString(publisher)).append("\n");
sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
sb.append(" resourceGroup: ").append(toIndentedString(resourceGroup)).append("\n");
sb.append(" skus: ").append(toIndentedString(skus)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" subscriptionId: ").append(toIndentedString(subscriptionId)).append("\n");
sb.append(" vnetId: ").append(toIndentedString(vnetId)).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