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

com.vmware.avi.sdk.model.WebappUT Maven / Gradle / Ivy

Go to download

Avi SDK is a java API which creates a session with controller and perform CRUD operations.

There is a newer version: 31.1.1.RELEASE
Show newest version
/*
 * 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 WebappUT is a POJO class extends AviRestResource that used for creating
 * WebappUT.
 *
 * @version 1.0
 * @since 
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class WebappUT extends AviRestResource  {
    @JsonProperty("default_first_int")
    private Integer defaultFirstInt = 1;

    @JsonProperty("default_second_int")
    private Integer defaultSecondInt = 2;

    @JsonProperty("default_string")
    private String defaultString = "default string";

    @JsonProperty("default_third_int")
    private Integer defaultThirdInt = 3;

    @JsonProperty("mandatory_test")
    private L1FMandatoryTestCase mandatoryTest;

    @JsonProperty("mandatory_tests")
    private List mandatoryTests;

    @JsonProperty("name")
    private String name;

    @JsonProperty("sensitive_test")
    private L1FSensitiveTestCase sensitiveTest;

    @JsonProperty("sensitive_tests")
    private List sensitiveTests;

    @JsonProperty("skip_optional_check_tests")
    private Boolean skipOptionalCheckTests;

    @JsonProperty("string_length_test")
    private L1StringLengthTestCase stringLengthTest;

    @JsonProperty("string_length_tests")
    private List stringLengthTests;

    @JsonProperty("tenant_ref")
    private String tenantRef;

    @JsonProperty("test_sensitive_string")
    private String testSensitiveString;

    @JsonProperty("test_string")
    private String testString;

    @JsonProperty("url")
    private String url = "url";

    @JsonProperty("uuid")
    private String uuid;



    /**
     * This is the getter method this will return the attribute value.
     * Default uint64 field.
     * Field introduced in 30.1.2.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as 1.
     * @return defaultFirstInt
     */
    public Integer getDefaultFirstInt() {
        return defaultFirstInt;
    }

    /**
     * This is the setter method to the attribute.
     * Default uint64 field.
     * Field introduced in 30.1.2.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as 1.
     * @param defaultFirstInt set the defaultFirstInt.
     */
    public void setDefaultFirstInt(Integer  defaultFirstInt) {
        this.defaultFirstInt = defaultFirstInt;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Default int64 field.
     * Field introduced in 30.1.2.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as 2.
     * @return defaultSecondInt
     */
    public Integer getDefaultSecondInt() {
        return defaultSecondInt;
    }

    /**
     * This is the setter method to the attribute.
     * Default int64 field.
     * Field introduced in 30.1.2.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as 2.
     * @param defaultSecondInt set the defaultSecondInt.
     */
    public void setDefaultSecondInt(Integer  defaultSecondInt) {
        this.defaultSecondInt = defaultSecondInt;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Default string field.
     * Field introduced in 30.1.2.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as "default string".
     * @return defaultString
     */
    public String getDefaultString() {
        return defaultString;
    }

    /**
     * This is the setter method to the attribute.
     * Default string field.
     * Field introduced in 30.1.2.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as "default string".
     * @param defaultString set the defaultString.
     */
    public void setDefaultString(String  defaultString) {
        this.defaultString = defaultString;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Default int32 field.
     * Field introduced in 30.1.2.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as 3.
     * @return defaultThirdInt
     */
    public Integer getDefaultThirdInt() {
        return defaultThirdInt;
    }

    /**
     * This is the setter method to the attribute.
     * Default int32 field.
     * Field introduced in 30.1.2.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as 3.
     * @param defaultThirdInt set the defaultThirdInt.
     */
    public void setDefaultThirdInt(Integer  defaultThirdInt) {
        this.defaultThirdInt = defaultThirdInt;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Optional message for nested f_mandatory test cases defined at level1.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return mandatoryTest
     */
    public L1FMandatoryTestCase getMandatoryTest() {
        return mandatoryTest;
    }

    /**
     * This is the setter method to the attribute.
     * Optional message for nested f_mandatory test cases defined at level1.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @param mandatoryTest set the mandatoryTest.
     */
    public void setMandatoryTest(L1FMandatoryTestCase mandatoryTest) {
        this.mandatoryTest = mandatoryTest;
    }
    /**
     * This is the getter method this will return the attribute value.
     * Repeated message for nested f_mandatory test cases-level1.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return mandatoryTests
     */
    public List getMandatoryTests() {
        return mandatoryTests;
    }

    /**
     * This is the setter method. this will set the mandatoryTests
     * Repeated message for nested f_mandatory test cases-level1.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return mandatoryTests
     */
    public void setMandatoryTests(List  mandatoryTests) {
        this.mandatoryTests = mandatoryTests;
    }

    /**
     * This is the setter method this will set the mandatoryTests
     * Repeated message for nested f_mandatory test cases-level1.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return mandatoryTests
     */
    public WebappUT addMandatoryTestsItem(L1FMandatoryTestCase mandatoryTestsItem) {
      if (this.mandatoryTests == null) {
        this.mandatoryTests = new ArrayList();
      }
      this.mandatoryTests.add(mandatoryTestsItem);
      return this;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Name of the webapput object-level0.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * This is the setter method to the attribute.
     * Name of the webapput object-level0.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @param name set the name.
     */
    public void setName(String  name) {
        this.name = name;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Optional message for nested f_sensitive test cases defined at level1.
     * Field introduced in 22.1.3.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return sensitiveTest
     */
    public L1FSensitiveTestCase getSensitiveTest() {
        return sensitiveTest;
    }

    /**
     * This is the setter method to the attribute.
     * Optional message for nested f_sensitive test cases defined at level1.
     * Field introduced in 22.1.3.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @param sensitiveTest set the sensitiveTest.
     */
    public void setSensitiveTest(L1FSensitiveTestCase sensitiveTest) {
        this.sensitiveTest = sensitiveTest;
    }
    /**
     * This is the getter method this will return the attribute value.
     * Repeated message for nested f_sensitive test cases-level1.
     * Field introduced in 22.1.3.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return sensitiveTests
     */
    public List getSensitiveTests() {
        return sensitiveTests;
    }

    /**
     * This is the setter method. this will set the sensitiveTests
     * Repeated message for nested f_sensitive test cases-level1.
     * Field introduced in 22.1.3.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return sensitiveTests
     */
    public void setSensitiveTests(List  sensitiveTests) {
        this.sensitiveTests = sensitiveTests;
    }

    /**
     * This is the setter method this will set the sensitiveTests
     * Repeated message for nested f_sensitive test cases-level1.
     * Field introduced in 22.1.3.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return sensitiveTests
     */
    public WebappUT addSensitiveTestsItem(L1FSensitiveTestCase sensitiveTestsItem) {
      if (this.sensitiveTests == null) {
        this.sensitiveTests = new ArrayList();
      }
      this.sensitiveTests.add(sensitiveTestsItem);
      return this;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Optional bool for nested skip_optional_check test cases-level1.
     * Field introduced in 22.1.3.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return skipOptionalCheckTests
     */
    public Boolean getSkipOptionalCheckTests() {
        return skipOptionalCheckTests;
    }

    /**
     * This is the setter method to the attribute.
     * Optional bool for nested skip_optional_check test cases-level1.
     * Field introduced in 22.1.3.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @param skipOptionalCheckTests set the skipOptionalCheckTests.
     */
    public void setSkipOptionalCheckTests(Boolean  skipOptionalCheckTests) {
        this.skipOptionalCheckTests = skipOptionalCheckTests;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Optional message for nested  max string length test cases.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return stringLengthTest
     */
    public L1StringLengthTestCase getStringLengthTest() {
        return stringLengthTest;
    }

    /**
     * This is the setter method to the attribute.
     * Optional message for nested  max string length test cases.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @param stringLengthTest set the stringLengthTest.
     */
    public void setStringLengthTest(L1StringLengthTestCase stringLengthTest) {
        this.stringLengthTest = stringLengthTest;
    }
    /**
     * This is the getter method this will return the attribute value.
     * Repeated message for nested  max string length test cases.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return stringLengthTests
     */
    public List getStringLengthTests() {
        return stringLengthTests;
    }

    /**
     * This is the setter method. this will set the stringLengthTests
     * Repeated message for nested  max string length test cases.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return stringLengthTests
     */
    public void setStringLengthTests(List  stringLengthTests) {
        this.stringLengthTests = stringLengthTests;
    }

    /**
     * This is the setter method this will set the stringLengthTests
     * Repeated message for nested  max string length test cases.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return stringLengthTests
     */
    public WebappUT addStringLengthTestsItem(L1StringLengthTestCase stringLengthTestsItem) {
      if (this.stringLengthTests == null) {
        this.stringLengthTests = new ArrayList();
      }
      this.stringLengthTests.add(stringLengthTestsItem);
      return this;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Tenant of the webapput object-level0.
     * It is a reference to an object of type tenant.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return tenantRef
     */
    public String getTenantRef() {
        return tenantRef;
    }

    /**
     * This is the setter method to the attribute.
     * Tenant of the webapput object-level0.
     * It is a reference to an object of type tenant.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @param tenantRef set the tenantRef.
     */
    public void setTenantRef(String  tenantRef) {
        this.tenantRef = tenantRef;
    }

    /**
     * This is the getter method this will return the attribute value.
     * The string for sensitive (secret) field.
     * Object-level0.
     * Field introduced in 22.1.3.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return testSensitiveString
     */
    public String getTestSensitiveString() {
        return testSensitiveString;
    }

    /**
     * This is the setter method to the attribute.
     * The string for sensitive (secret) field.
     * Object-level0.
     * Field introduced in 22.1.3.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @param testSensitiveString set the testSensitiveString.
     */
    public void setTestSensitiveString(String  testSensitiveString) {
        this.testSensitiveString = testSensitiveString;
    }

    /**
     * This is the getter method this will return the attribute value.
     * The maximum string length.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return testString
     */
    public String getTestString() {
        return testString;
    }

    /**
     * This is the setter method to the attribute.
     * The maximum string length.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @param testString set the testString.
     */
    public void setTestString(String  testString) {
        this.testString = testString;
    }
    /**
     * This is the getter method this will return the attribute value.
     * Avi controller URL of the object.
     * @return url
     */
    public String getUrl() {
        return url;
    }

   /**
    * This is the setter method. this will set the url
    * Avi controller URL of the object.
    * @return url
    */
   public void setUrl(String  url) {
     this.url = url;
   }

    /**
     * This is the getter method this will return the attribute value.
     * Uuid of the webapput object-level0.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @return uuid
     */
    public String getUuid() {
        return uuid;
    }

    /**
     * This is the setter method to the attribute.
     * Uuid of the webapput object-level0.
     * Field introduced in 21.1.5, 22.1.1.
     * Allowed in enterprise edition with any value, enterprise with cloud services edition.
     * Default value when not specified in API or module is interpreted by Avi Controller as null.
     * @param uuid set the uuid.
     */
    public void setUuid(String  uuid) {
        this.uuid = uuid;
    }


    @Override
    public boolean equals(java.lang.Object o) {
      if (this == o) {
          return true;
      }
      if (o == null || getClass() != o.getClass()) {
          return false;
      }
      WebappUT objWebappUT = (WebappUT) o;
      return   Objects.equals(this.uuid, objWebappUT.uuid)&&
  Objects.equals(this.name, objWebappUT.name)&&
  Objects.equals(this.tenantRef, objWebappUT.tenantRef)&&
  Objects.equals(this.testString, objWebappUT.testString)&&
  Objects.equals(this.mandatoryTest, objWebappUT.mandatoryTest)&&
  Objects.equals(this.mandatoryTests, objWebappUT.mandatoryTests)&&
  Objects.equals(this.stringLengthTest, objWebappUT.stringLengthTest)&&
  Objects.equals(this.stringLengthTests, objWebappUT.stringLengthTests)&&
  Objects.equals(this.testSensitiveString, objWebappUT.testSensitiveString)&&
  Objects.equals(this.sensitiveTest, objWebappUT.sensitiveTest)&&
  Objects.equals(this.sensitiveTests, objWebappUT.sensitiveTests)&&
  Objects.equals(this.skipOptionalCheckTests, objWebappUT.skipOptionalCheckTests)&&
  Objects.equals(this.defaultString, objWebappUT.defaultString)&&
  Objects.equals(this.defaultFirstInt, objWebappUT.defaultFirstInt)&&
  Objects.equals(this.defaultSecondInt, objWebappUT.defaultSecondInt)&&
  Objects.equals(this.defaultThirdInt, objWebappUT.defaultThirdInt);
    }

    @Override
    public String toString() {
      StringBuilder sb = new StringBuilder();
      sb.append("class WebappUT {\n");
                  sb.append("    defaultFirstInt: ").append(toIndentedString(defaultFirstInt)).append("\n");
                        sb.append("    defaultSecondInt: ").append(toIndentedString(defaultSecondInt)).append("\n");
                        sb.append("    defaultString: ").append(toIndentedString(defaultString)).append("\n");
                        sb.append("    defaultThirdInt: ").append(toIndentedString(defaultThirdInt)).append("\n");
                        sb.append("    mandatoryTest: ").append(toIndentedString(mandatoryTest)).append("\n");
                        sb.append("    mandatoryTests: ").append(toIndentedString(mandatoryTests)).append("\n");
                        sb.append("    name: ").append(toIndentedString(name)).append("\n");
                        sb.append("    sensitiveTest: ").append(toIndentedString(sensitiveTest)).append("\n");
                        sb.append("    sensitiveTests: ").append(toIndentedString(sensitiveTests)).append("\n");
                        sb.append("    skipOptionalCheckTests: ").append(toIndentedString(skipOptionalCheckTests)).append("\n");
                        sb.append("    stringLengthTest: ").append(toIndentedString(stringLengthTest)).append("\n");
                        sb.append("    stringLengthTests: ").append(toIndentedString(stringLengthTests)).append("\n");
                        sb.append("    tenantRef: ").append(toIndentedString(tenantRef)).append("\n");
                        sb.append("    testSensitiveString: ").append(toIndentedString(testSensitiveString)).append("\n");
                        sb.append("    testString: ").append(toIndentedString(testString)).append("\n");
                                    sb.append("    uuid: ").append(toIndentedString(uuid)).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