com.vmware.avi.sdk.model.AppHdr 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.
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 AppHdr is a POJO class extends AviRestResource that used for creating
* AppHdr.
*
* @version 1.0
* @since
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AppHdr {
@JsonProperty("hdr_match_case")
private String hdrMatchCase;
@JsonProperty("hdr_name")
private String hdrName;
@JsonProperty("hdr_string_op")
private String hdrStringOp;
/**
* This is the getter method this will return the attribute value.
* Enum options - SENSITIVE, INSENSITIVE.
* 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 hdrMatchCase
*/
public String getHdrMatchCase() {
return hdrMatchCase;
}
/**
* This is the setter method to the attribute.
* Enum options - SENSITIVE, INSENSITIVE.
* 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 hdrMatchCase set the hdrMatchCase.
*/
public void setHdrMatchCase(String hdrMatchCase) {
this.hdrMatchCase = hdrMatchCase;
}
/**
* 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 hdrName
*/
public String getHdrName() {
return hdrName;
}
/**
* 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 hdrName set the hdrName.
*/
public void setHdrName(String hdrName) {
this.hdrName = hdrName;
}
/**
* This is the getter method this will return the attribute value.
* Enum options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH,
* REGEX_DOES_NOT_MATCH.
* Allowed in enterprise edition with any value, essentials edition(allowed values-
* begins_with,does_not_begin_with,contains,does_not_contain,ends_with,does_not_end_with,equals,does_not_equal), basic edition(allowed values-
* begins_with,does_not_begin_with,contains,does_not_contain,ends_with,does_not_end_with,equals,does_not_equal), enterprise with cloud services
* edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return hdrStringOp
*/
public String getHdrStringOp() {
return hdrStringOp;
}
/**
* This is the setter method to the attribute.
* Enum options - BEGINS_WITH, DOES_NOT_BEGIN_WITH, CONTAINS, DOES_NOT_CONTAIN, ENDS_WITH, DOES_NOT_END_WITH, EQUALS, DOES_NOT_EQUAL, REGEX_MATCH,
* REGEX_DOES_NOT_MATCH.
* Allowed in enterprise edition with any value, essentials edition(allowed values-
* begins_with,does_not_begin_with,contains,does_not_contain,ends_with,does_not_end_with,equals,does_not_equal), basic edition(allowed values-
* begins_with,does_not_begin_with,contains,does_not_contain,ends_with,does_not_end_with,equals,does_not_equal), enterprise with cloud services
* edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param hdrStringOp set the hdrStringOp.
*/
public void setHdrStringOp(String hdrStringOp) {
this.hdrStringOp = hdrStringOp;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AppHdr objAppHdr = (AppHdr) o;
return Objects.equals(this.hdrName, objAppHdr.hdrName)&&
Objects.equals(this.hdrMatchCase, objAppHdr.hdrMatchCase)&&
Objects.equals(this.hdrStringOp, objAppHdr.hdrStringOp);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AppHdr {\n");
sb.append(" hdrMatchCase: ").append(toIndentedString(hdrMatchCase)).append("\n");
sb.append(" hdrName: ").append(toIndentedString(hdrName)).append("\n");
sb.append(" hdrStringOp: ").append(toIndentedString(hdrStringOp)).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