com.vmware.avi.sdk.model.ConfigActionDetails 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 ConfigActionDetails is a POJO class extends AviRestResource that used for creating
* ConfigActionDetails.
*
* @version 1.0
* @since
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ConfigActionDetails {
@JsonProperty("action_name")
private String actionName;
@JsonProperty("client_ip")
private String clientIp;
@JsonProperty("error_message")
private String errorMessage;
@JsonProperty("parameter_data")
private String parameterData;
@JsonProperty("path")
private String path;
@JsonProperty("resource_name")
private String resourceName;
@JsonProperty("resource_type")
private String resourceType;
@JsonProperty("status")
private String status;
@JsonProperty("user")
private String user;
@JsonProperty("user_agent")
private String userAgent;
/**
* This is the getter method this will return the attribute value.
* Name of the action.
* 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 actionName
*/
public String getActionName() {
return actionName;
}
/**
* This is the setter method to the attribute.
* Name of the action.
* 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 actionName set the actionName.
*/
public void setActionName(String actionName) {
this.actionName = actionName;
}
/**
* 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 clientIp
*/
public String getClientIp() {
return clientIp;
}
/**
* 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 clientIp set the clientIp.
*/
public void setClientIp(String clientIp) {
this.clientIp = clientIp;
}
/**
* This is the getter method this will return the attribute value.
* Error message if request failed.
* 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 errorMessage
*/
public String getErrorMessage() {
return errorMessage;
}
/**
* This is the setter method to the attribute.
* Error message if request failed.
* 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 errorMessage set the errorMessage.
*/
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
/**
* This is the getter method this will return the attribute value.
* Parameter data.
* 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 parameterData
*/
public String getParameterData() {
return parameterData;
}
/**
* This is the setter method to the attribute.
* Parameter data.
* 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 parameterData set the parameterData.
*/
public void setParameterData(String parameterData) {
this.parameterData = parameterData;
}
/**
* This is the getter method this will return the attribute value.
* Api path.
* 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 path
*/
public String getPath() {
return path;
}
/**
* This is the setter method to the attribute.
* Api path.
* 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 path set the path.
*/
public void setPath(String path) {
this.path = path;
}
/**
* This is the getter method this will return the attribute value.
* Name of the resource.
* 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 resourceName
*/
public String getResourceName() {
return resourceName;
}
/**
* This is the setter method to the attribute.
* Name of the resource.
* 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 resourceName set the resourceName.
*/
public void setResourceName(String resourceName) {
this.resourceName = resourceName;
}
/**
* This is the getter method this will return the attribute value.
* Config type of the resource.
* 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 resourceType
*/
public String getResourceType() {
return resourceType;
}
/**
* This is the setter method to the attribute.
* Config type of the resource.
* 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 resourceType set the resourceType.
*/
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
}
/**
* This is the getter method this will return the attribute value.
* Status.
* 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 status
*/
public String getStatus() {
return status;
}
/**
* This is the setter method to the attribute.
* Status.
* 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 status set the status.
*/
public void setStatus(String status) {
this.status = status;
}
/**
* This is the getter method this will return the attribute value.
* Request user.
* 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 user
*/
public String getUser() {
return user;
}
/**
* This is the setter method to the attribute.
* Request user.
* 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 user set the user.
*/
public void setUser(String user) {
this.user = user;
}
/**
* 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 userAgent
*/
public String getUserAgent() {
return userAgent;
}
/**
* 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 userAgent set the userAgent.
*/
public void setUserAgent(String userAgent) {
this.userAgent = userAgent;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ConfigActionDetails objConfigActionDetails = (ConfigActionDetails) o;
return Objects.equals(this.path, objConfigActionDetails.path)&&
Objects.equals(this.user, objConfigActionDetails.user)&&
Objects.equals(this.status, objConfigActionDetails.status)&&
Objects.equals(this.resourceType, objConfigActionDetails.resourceType)&&
Objects.equals(this.resourceName, objConfigActionDetails.resourceName)&&
Objects.equals(this.actionName, objConfigActionDetails.actionName)&&
Objects.equals(this.parameterData, objConfigActionDetails.parameterData)&&
Objects.equals(this.errorMessage, objConfigActionDetails.errorMessage)&&
Objects.equals(this.userAgent, objConfigActionDetails.userAgent)&&
Objects.equals(this.clientIp, objConfigActionDetails.clientIp);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConfigActionDetails {\n");
sb.append(" actionName: ").append(toIndentedString(actionName)).append("\n");
sb.append(" clientIp: ").append(toIndentedString(clientIp)).append("\n");
sb.append(" errorMessage: ").append(toIndentedString(errorMessage)).append("\n");
sb.append(" parameterData: ").append(toIndentedString(parameterData)).append("\n");
sb.append(" path: ").append(toIndentedString(path)).append("\n");
sb.append(" resourceName: ").append(toIndentedString(resourceName)).append("\n");
sb.append(" resourceType: ").append(toIndentedString(resourceType)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).append("\n");
sb.append(" userAgent: ").append(toIndentedString(userAgent)).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