com.vmware.avi.sdk.model.BotManagementLog 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 BotManagementLog is a POJO class extends AviRestResource that used for creating
* BotManagementLog.
*
* @version 1.0
* @since
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BotManagementLog {
@JsonProperty("classification")
private BotClassification classification;
@JsonProperty("mapping_decision")
private BotMappingDecision mappingDecision;
@JsonProperty("results")
private List results;
/**
* This is the getter method this will return the attribute value.
* The final classification of the bot management module.
* Field introduced in 21.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 classification
*/
public BotClassification getClassification() {
return classification;
}
/**
* This is the setter method to the attribute.
* The final classification of the bot management module.
* Field introduced in 21.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 classification set the classification.
*/
public void setClassification(BotClassification classification) {
this.classification = classification;
}
/**
* This is the getter method this will return the attribute value.
* Bot mapping details.
* Field introduced in 30.2.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 mappingDecision
*/
public BotMappingDecision getMappingDecision() {
return mappingDecision;
}
/**
* This is the setter method to the attribute.
* Bot mapping details.
* Field introduced in 30.2.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 mappingDecision set the mappingDecision.
*/
public void setMappingDecision(BotMappingDecision mappingDecision) {
this.mappingDecision = mappingDecision;
}
/**
* This is the getter method this will return the attribute value.
* The evaluation results of the various bot module components.
* Field introduced in 21.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 results
*/
public List getResults() {
return results;
}
/**
* This is the setter method. this will set the results
* The evaluation results of the various bot module components.
* Field introduced in 21.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 results
*/
public void setResults(List results) {
this.results = results;
}
/**
* This is the setter method this will set the results
* The evaluation results of the various bot module components.
* Field introduced in 21.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 results
*/
public BotManagementLog addResultsItem(BotEvaluationResult resultsItem) {
if (this.results == null) {
this.results = new ArrayList();
}
this.results.add(resultsItem);
return this;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BotManagementLog objBotManagementLog = (BotManagementLog) o;
return Objects.equals(this.results, objBotManagementLog.results)&&
Objects.equals(this.classification, objBotManagementLog.classification)&&
Objects.equals(this.mappingDecision, objBotManagementLog.mappingDecision);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BotManagementLog {\n");
sb.append(" classification: ").append(toIndentedString(classification)).append("\n");
sb.append(" mappingDecision: ").append(toIndentedString(mappingDecision)).append("\n");
sb.append(" results: ").append(toIndentedString(results)).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