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

com.vmware.avi.sdk.model.URIInfo 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 URIInfo is a POJO class extends AviRestResource that used for creating
 * URIInfo.
 *
 * @version 1.0
 * @since 
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class URIInfo  {
    @JsonProperty("param_info")
    private List paramInfo;

    @JsonProperty("uri_hits")
    private Integer uriHits;

    @JsonProperty("uri_key")
    private String uriKey;


    /**
     * This is the getter method this will return the attribute value.
     * Information about various params under a uri.
     * Field introduced in 20.1.1.
     * 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 paramInfo
     */
    public List getParamInfo() {
        return paramInfo;
    }

    /**
     * This is the setter method. this will set the paramInfo
     * Information about various params under a uri.
     * Field introduced in 20.1.1.
     * 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 paramInfo
     */
    public void setParamInfo(List  paramInfo) {
        this.paramInfo = paramInfo;
    }

    /**
     * This is the setter method this will set the paramInfo
     * Information about various params under a uri.
     * Field introduced in 20.1.1.
     * 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 paramInfo
     */
    public URIInfo addParamInfoItem(ParamInfo paramInfoItem) {
      if (this.paramInfo == null) {
        this.paramInfo = new ArrayList();
      }
      this.paramInfo.add(paramInfoItem);
      return this;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Total number of uri hits.
     * Field introduced in 20.1.1.
     * 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 uriHits
     */
    public Integer getUriHits() {
        return uriHits;
    }

    /**
     * This is the setter method to the attribute.
     * Total number of uri hits.
     * Field introduced in 20.1.1.
     * 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 uriHits set the uriHits.
     */
    public void setUriHits(Integer  uriHits) {
        this.uriHits = uriHits;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Uri name.
     * Field introduced in 20.1.1.
     * 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 uriKey
     */
    public String getUriKey() {
        return uriKey;
    }

    /**
     * This is the setter method to the attribute.
     * Uri name.
     * Field introduced in 20.1.1.
     * 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 uriKey set the uriKey.
     */
    public void setUriKey(String  uriKey) {
        this.uriKey = uriKey;
    }


    @Override
    public boolean equals(java.lang.Object o) {
      if (this == o) {
          return true;
      }
      if (o == null || getClass() != o.getClass()) {
          return false;
      }
      URIInfo objURIInfo = (URIInfo) o;
      return   Objects.equals(this.uriHits, objURIInfo.uriHits)&&
  Objects.equals(this.uriKey, objURIInfo.uriKey)&&
  Objects.equals(this.paramInfo, objURIInfo.paramInfo);
    }

    @Override
    public String toString() {
      StringBuilder sb = new StringBuilder();
      sb.append("class URIInfo {\n");
                  sb.append("    paramInfo: ").append(toIndentedString(paramInfo)).append("\n");
                        sb.append("    uriHits: ").append(toIndentedString(uriHits)).append("\n");
                        sb.append("    uriKey: ").append(toIndentedString(uriKey)).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