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

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

Go to download

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

The 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 HttpCacheConfig is a POJO class extends AviRestResource that used for creating
 * HttpCacheConfig.
 *
 * @version 1.0
 * @since 
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class HttpCacheConfig  {
    @JsonProperty("age_header")
    private Boolean ageHeader = true;

    @JsonProperty("aggressive")
    private Boolean aggressive = false;

    @JsonProperty("date_header")
    private Boolean dateHeader = true;

    @JsonProperty("default_expire")
    private Integer defaultExpire = 600;

    @JsonProperty("enabled")
    private Boolean enabled = false;

    @JsonProperty("heuristic_expire")
    private Boolean heuristicExpire = false;

    @JsonProperty("ignore_request_cache_control")
    private Boolean ignoreRequestCacheControl = false;

    @JsonProperty("max_cache_size")
    private Integer maxCacheSize = 0;

    @JsonProperty("max_object_size")
    private Integer maxObjectSize = 4194304;

    @JsonProperty("mime_types_block_group_refs")
    private List mimeTypesBlockGroupRefs;

    @JsonProperty("mime_types_block_lists")
    private List mimeTypesBlockLists;

    @JsonProperty("mime_types_group_refs")
    private List mimeTypesGroupRefs;

    @JsonProperty("mime_types_list")
    private List mimeTypesList;

    @JsonProperty("min_object_size")
    private Integer minObjectSize = 100;

    @JsonProperty("query_cacheable")
    private Boolean queryCacheable = false;

    @JsonProperty("uri_non_cacheable")
    private PathMatch uriNonCacheable;

    @JsonProperty("xcache_header")
    private Boolean xcacheHeader = true;



    /**
     * This is the getter method this will return the attribute value.
     * Add an age header to content served from cache, which indicates to the client the number of seconds the object has been in the cache.
     * 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 true.
     * @return ageHeader
     */
    public Boolean getAgeHeader() {
        return ageHeader;
    }

    /**
     * This is the setter method to the attribute.
     * Add an age header to content served from cache, which indicates to the client the number of seconds the object has been in the cache.
     * 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 true.
     * @param ageHeader set the ageHeader.
     */
    public void setAgeHeader(Boolean  ageHeader) {
        this.ageHeader = ageHeader;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Enable/disable caching objects without cache-control headers.
     * 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 false.
     * @return aggressive
     */
    public Boolean getAggressive() {
        return aggressive;
    }

    /**
     * This is the setter method to the attribute.
     * Enable/disable caching objects without cache-control headers.
     * 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 false.
     * @param aggressive set the aggressive.
     */
    public void setAggressive(Boolean  aggressive) {
        this.aggressive = aggressive;
    }

    /**
     * This is the getter method this will return the attribute value.
     * If a date header was not added by the server, add a date header to the object served from cache.
     * This indicates to the client when the object was originally sent by the server to the cache.
     * 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 true.
     * @return dateHeader
     */
    public Boolean getDateHeader() {
        return dateHeader;
    }

    /**
     * This is the setter method to the attribute.
     * If a date header was not added by the server, add a date header to the object served from cache.
     * This indicates to the client when the object was originally sent by the server to the cache.
     * 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 true.
     * @param dateHeader set the dateHeader.
     */
    public void setDateHeader(Boolean  dateHeader) {
        this.dateHeader = dateHeader;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Default expiration time of cache objects received from the server without a cache-control expiration header.
     * This value may be overwritten by the heuristic expire setting.
     * 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 600.
     * @return defaultExpire
     */
    public Integer getDefaultExpire() {
        return defaultExpire;
    }

    /**
     * This is the setter method to the attribute.
     * Default expiration time of cache objects received from the server without a cache-control expiration header.
     * This value may be overwritten by the heuristic expire setting.
     * 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 600.
     * @param defaultExpire set the defaultExpire.
     */
    public void setDefaultExpire(Integer  defaultExpire) {
        this.defaultExpire = defaultExpire;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Enable/disable http object caching.when enabling caching for the first time, se group app_cache_percent must be set to allocate shared memory
     * required for caching (a service engine restart is needed after setting/resetting the se group 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 false.
     * @return enabled
     */
    public Boolean getEnabled() {
        return enabled;
    }

    /**
     * This is the setter method to the attribute.
     * Enable/disable http object caching.when enabling caching for the first time, se group app_cache_percent must be set to allocate shared memory
     * required for caching (a service engine restart is needed after setting/resetting the se group 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 false.
     * @param enabled set the enabled.
     */
    public void setEnabled(Boolean  enabled) {
        this.enabled = enabled;
    }

    /**
     * This is the getter method this will return the attribute value.
     * If a response object from the server does not include the cache-control header, but does include a last-modified header, the system will use this
     * time to calculate the cache-control expiration.
     * If unable to solicit an last-modified header, then the system will fall back to the cache expire time 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 false.
     * @return heuristicExpire
     */
    public Boolean getHeuristicExpire() {
        return heuristicExpire;
    }

    /**
     * This is the setter method to the attribute.
     * If a response object from the server does not include the cache-control header, but does include a last-modified header, the system will use this
     * time to calculate the cache-control expiration.
     * If unable to solicit an last-modified header, then the system will fall back to the cache expire time 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 false.
     * @param heuristicExpire set the heuristicExpire.
     */
    public void setHeuristicExpire(Boolean  heuristicExpire) {
        this.heuristicExpire = heuristicExpire;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Ignore client's cache control headers when fetching or storing from and to the cache.
     * Field introduced in 18.1.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 false.
     * @return ignoreRequestCacheControl
     */
    public Boolean getIgnoreRequestCacheControl() {
        return ignoreRequestCacheControl;
    }

    /**
     * This is the setter method to the attribute.
     * Ignore client's cache control headers when fetching or storing from and to the cache.
     * Field introduced in 18.1.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 false.
     * @param ignoreRequestCacheControl set the ignoreRequestCacheControl.
     */
    public void setIgnoreRequestCacheControl(Boolean  ignoreRequestCacheControl) {
        this.ignoreRequestCacheControl = ignoreRequestCacheControl;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Max size, in bytes, of the cache.
     * The default, zero, indicates auto configuration.
     * 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 0.
     * @return maxCacheSize
     */
    public Integer getMaxCacheSize() {
        return maxCacheSize;
    }

    /**
     * This is the setter method to the attribute.
     * Max size, in bytes, of the cache.
     * The default, zero, indicates auto configuration.
     * 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 0.
     * @param maxCacheSize set the maxCacheSize.
     */
    public void setMaxCacheSize(Integer  maxCacheSize) {
        this.maxCacheSize = maxCacheSize;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Maximum size of an object to store in the cache.
     * 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 4194304.
     * @return maxObjectSize
     */
    public Integer getMaxObjectSize() {
        return maxObjectSize;
    }

    /**
     * This is the setter method to the attribute.
     * Maximum size of an object to store in the cache.
     * 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 4194304.
     * @param maxObjectSize set the maxObjectSize.
     */
    public void setMaxObjectSize(Integer  maxObjectSize) {
        this.maxObjectSize = maxObjectSize;
    }
    /**
     * This is the getter method this will return the attribute value.
     * Blocklist string group of non-cacheable mime types.
     * It is a reference to an object of type stringgroup.
     * Field introduced in 20.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 mimeTypesBlockGroupRefs
     */
    public List getMimeTypesBlockGroupRefs() {
        return mimeTypesBlockGroupRefs;
    }

    /**
     * This is the setter method. this will set the mimeTypesBlockGroupRefs
     * Blocklist string group of non-cacheable mime types.
     * It is a reference to an object of type stringgroup.
     * Field introduced in 20.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 mimeTypesBlockGroupRefs
     */
    public void setMimeTypesBlockGroupRefs(List  mimeTypesBlockGroupRefs) {
        this.mimeTypesBlockGroupRefs = mimeTypesBlockGroupRefs;
    }

    /**
     * This is the setter method this will set the mimeTypesBlockGroupRefs
     * Blocklist string group of non-cacheable mime types.
     * It is a reference to an object of type stringgroup.
     * Field introduced in 20.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 mimeTypesBlockGroupRefs
     */
    public HttpCacheConfig addMimeTypesBlockGroupRefsItem(String mimeTypesBlockGroupRefsItem) {
      if (this.mimeTypesBlockGroupRefs == null) {
        this.mimeTypesBlockGroupRefs = new ArrayList();
      }
      this.mimeTypesBlockGroupRefs.add(mimeTypesBlockGroupRefsItem);
      return this;
    }
    /**
     * This is the getter method this will return the attribute value.
     * Blocklist of non-cacheable mime types.
     * Field introduced in 20.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 mimeTypesBlockLists
     */
    public List getMimeTypesBlockLists() {
        return mimeTypesBlockLists;
    }

    /**
     * This is the setter method. this will set the mimeTypesBlockLists
     * Blocklist of non-cacheable mime types.
     * Field introduced in 20.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 mimeTypesBlockLists
     */
    public void setMimeTypesBlockLists(List  mimeTypesBlockLists) {
        this.mimeTypesBlockLists = mimeTypesBlockLists;
    }

    /**
     * This is the setter method this will set the mimeTypesBlockLists
     * Blocklist of non-cacheable mime types.
     * Field introduced in 20.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 mimeTypesBlockLists
     */
    public HttpCacheConfig addMimeTypesBlockListsItem(String mimeTypesBlockListsItem) {
      if (this.mimeTypesBlockLists == null) {
        this.mimeTypesBlockLists = new ArrayList();
      }
      this.mimeTypesBlockLists.add(mimeTypesBlockListsItem);
      return this;
    }
    /**
     * This is the getter method this will return the attribute value.
     * Allowlist string group of cacheable mime types.
     * If both cacheable mime types string list and string group are empty, this defaults to *\/*.
     * It is a reference to an object of type stringgroup.
     * 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 mimeTypesGroupRefs
     */
    public List getMimeTypesGroupRefs() {
        return mimeTypesGroupRefs;
    }

    /**
     * This is the setter method. this will set the mimeTypesGroupRefs
     * Allowlist string group of cacheable mime types.
     * If both cacheable mime types string list and string group are empty, this defaults to *\/*.
     * It is a reference to an object of type stringgroup.
     * 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 mimeTypesGroupRefs
     */
    public void setMimeTypesGroupRefs(List  mimeTypesGroupRefs) {
        this.mimeTypesGroupRefs = mimeTypesGroupRefs;
    }

    /**
     * This is the setter method this will set the mimeTypesGroupRefs
     * Allowlist string group of cacheable mime types.
     * If both cacheable mime types string list and string group are empty, this defaults to *\/*.
     * It is a reference to an object of type stringgroup.
     * 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 mimeTypesGroupRefs
     */
    public HttpCacheConfig addMimeTypesGroupRefsItem(String mimeTypesGroupRefsItem) {
      if (this.mimeTypesGroupRefs == null) {
        this.mimeTypesGroupRefs = new ArrayList();
      }
      this.mimeTypesGroupRefs.add(mimeTypesGroupRefsItem);
      return this;
    }
    /**
     * This is the getter method this will return the attribute value.
     * Allowlist of cacheable mime types.
     * If both cacheable mime types string list and string group are empty, this defaults to *\/*.
     * 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 mimeTypesList
     */
    public List getMimeTypesList() {
        return mimeTypesList;
    }

    /**
     * This is the setter method. this will set the mimeTypesList
     * Allowlist of cacheable mime types.
     * If both cacheable mime types string list and string group are empty, this defaults to *\/*.
     * 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 mimeTypesList
     */
    public void setMimeTypesList(List  mimeTypesList) {
        this.mimeTypesList = mimeTypesList;
    }

    /**
     * This is the setter method this will set the mimeTypesList
     * Allowlist of cacheable mime types.
     * If both cacheable mime types string list and string group are empty, this defaults to *\/*.
     * 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 mimeTypesList
     */
    public HttpCacheConfig addMimeTypesListItem(String mimeTypesListItem) {
      if (this.mimeTypesList == null) {
        this.mimeTypesList = new ArrayList();
      }
      this.mimeTypesList.add(mimeTypesListItem);
      return this;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Minimum size of an object to store in the cache.
     * 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 100.
     * @return minObjectSize
     */
    public Integer getMinObjectSize() {
        return minObjectSize;
    }

    /**
     * This is the setter method to the attribute.
     * Minimum size of an object to store in the cache.
     * 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 100.
     * @param minObjectSize set the minObjectSize.
     */
    public void setMinObjectSize(Integer  minObjectSize) {
        this.minObjectSize = minObjectSize;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Allow caching of objects whose uri included a query argument.
     * When disabled, these objects are not cached.
     * When enabled, the request must match the uri query to be considered a hit.
     * 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 false.
     * @return queryCacheable
     */
    public Boolean getQueryCacheable() {
        return queryCacheable;
    }

    /**
     * This is the setter method to the attribute.
     * Allow caching of objects whose uri included a query argument.
     * When disabled, these objects are not cached.
     * When enabled, the request must match the uri query to be considered a hit.
     * 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 false.
     * @param queryCacheable set the queryCacheable.
     */
    public void setQueryCacheable(Boolean  queryCacheable) {
        this.queryCacheable = queryCacheable;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Non-cacheable uri configuration with match criteria.
     * Field introduced in 18.1.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 uriNonCacheable
     */
    public PathMatch getUriNonCacheable() {
        return uriNonCacheable;
    }

    /**
     * This is the setter method to the attribute.
     * Non-cacheable uri configuration with match criteria.
     * Field introduced in 18.1.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 uriNonCacheable set the uriNonCacheable.
     */
    public void setUriNonCacheable(PathMatch uriNonCacheable) {
        this.uriNonCacheable = uriNonCacheable;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Add an x-cache header to content served from cache, which indicates to the client that the object was served from an intermediate cache.
     * 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 true.
     * @return xcacheHeader
     */
    public Boolean getXcacheHeader() {
        return xcacheHeader;
    }

    /**
     * This is the setter method to the attribute.
     * Add an x-cache header to content served from cache, which indicates to the client that the object was served from an intermediate cache.
     * 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 true.
     * @param xcacheHeader set the xcacheHeader.
     */
    public void setXcacheHeader(Boolean  xcacheHeader) {
        this.xcacheHeader = xcacheHeader;
    }


    @Override
    public boolean equals(java.lang.Object o) {
      if (this == o) {
          return true;
      }
      if (o == null || getClass() != o.getClass()) {
          return false;
      }
      HttpCacheConfig objHttpCacheConfig = (HttpCacheConfig) o;
      return   Objects.equals(this.enabled, objHttpCacheConfig.enabled)&&
  Objects.equals(this.xcacheHeader, objHttpCacheConfig.xcacheHeader)&&
  Objects.equals(this.ageHeader, objHttpCacheConfig.ageHeader)&&
  Objects.equals(this.dateHeader, objHttpCacheConfig.dateHeader)&&
  Objects.equals(this.minObjectSize, objHttpCacheConfig.minObjectSize)&&
  Objects.equals(this.maxObjectSize, objHttpCacheConfig.maxObjectSize)&&
  Objects.equals(this.defaultExpire, objHttpCacheConfig.defaultExpire)&&
  Objects.equals(this.heuristicExpire, objHttpCacheConfig.heuristicExpire)&&
  Objects.equals(this.maxCacheSize, objHttpCacheConfig.maxCacheSize)&&
  Objects.equals(this.queryCacheable, objHttpCacheConfig.queryCacheable)&&
  Objects.equals(this.mimeTypesList, objHttpCacheConfig.mimeTypesList)&&
  Objects.equals(this.mimeTypesGroupRefs, objHttpCacheConfig.mimeTypesGroupRefs)&&
  Objects.equals(this.aggressive, objHttpCacheConfig.aggressive)&&
  Objects.equals(this.uriNonCacheable, objHttpCacheConfig.uriNonCacheable)&&
  Objects.equals(this.ignoreRequestCacheControl, objHttpCacheConfig.ignoreRequestCacheControl)&&
  Objects.equals(this.mimeTypesBlockLists, objHttpCacheConfig.mimeTypesBlockLists)&&
  Objects.equals(this.mimeTypesBlockGroupRefs, objHttpCacheConfig.mimeTypesBlockGroupRefs);
    }

    @Override
    public String toString() {
      StringBuilder sb = new StringBuilder();
      sb.append("class HttpCacheConfig {\n");
                  sb.append("    ageHeader: ").append(toIndentedString(ageHeader)).append("\n");
                        sb.append("    aggressive: ").append(toIndentedString(aggressive)).append("\n");
                        sb.append("    dateHeader: ").append(toIndentedString(dateHeader)).append("\n");
                        sb.append("    defaultExpire: ").append(toIndentedString(defaultExpire)).append("\n");
                        sb.append("    enabled: ").append(toIndentedString(enabled)).append("\n");
                        sb.append("    heuristicExpire: ").append(toIndentedString(heuristicExpire)).append("\n");
                        sb.append("    ignoreRequestCacheControl: ").append(toIndentedString(ignoreRequestCacheControl)).append("\n");
                        sb.append("    maxCacheSize: ").append(toIndentedString(maxCacheSize)).append("\n");
                        sb.append("    maxObjectSize: ").append(toIndentedString(maxObjectSize)).append("\n");
                        sb.append("    mimeTypesBlockGroupRefs: ").append(toIndentedString(mimeTypesBlockGroupRefs)).append("\n");
                        sb.append("    mimeTypesBlockLists: ").append(toIndentedString(mimeTypesBlockLists)).append("\n");
                        sb.append("    mimeTypesGroupRefs: ").append(toIndentedString(mimeTypesGroupRefs)).append("\n");
                        sb.append("    mimeTypesList: ").append(toIndentedString(mimeTypesList)).append("\n");
                        sb.append("    minObjectSize: ").append(toIndentedString(minObjectSize)).append("\n");
                        sb.append("    queryCacheable: ").append(toIndentedString(queryCacheable)).append("\n");
                        sb.append("    uriNonCacheable: ").append(toIndentedString(uriNonCacheable)).append("\n");
                        sb.append("    xcacheHeader: ").append(toIndentedString(xcacheHeader)).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