com.databricks.sdk.service.pipelines.StackFrame Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.pipelines;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
@Generated
public class StackFrame {
/** Class from which the method call originated */
@JsonProperty("declaring_class")
private String declaringClass;
/** File where the method is defined */
@JsonProperty("file_name")
private String fileName;
/** Line from which the method was called */
@JsonProperty("line_number")
private Long lineNumber;
/** Name of the method which was called */
@JsonProperty("method_name")
private String methodName;
public StackFrame setDeclaringClass(String declaringClass) {
this.declaringClass = declaringClass;
return this;
}
public String getDeclaringClass() {
return declaringClass;
}
public StackFrame setFileName(String fileName) {
this.fileName = fileName;
return this;
}
public String getFileName() {
return fileName;
}
public StackFrame setLineNumber(Long lineNumber) {
this.lineNumber = lineNumber;
return this;
}
public Long getLineNumber() {
return lineNumber;
}
public StackFrame setMethodName(String methodName) {
this.methodName = methodName;
return this;
}
public String getMethodName() {
return methodName;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
StackFrame that = (StackFrame) o;
return Objects.equals(declaringClass, that.declaringClass)
&& Objects.equals(fileName, that.fileName)
&& Objects.equals(lineNumber, that.lineNumber)
&& Objects.equals(methodName, that.methodName);
}
@Override
public int hashCode() {
return Objects.hash(declaringClass, fileName, lineNumber, methodName);
}
@Override
public String toString() {
return new ToStringer(StackFrame.class)
.add("declaringClass", declaringClass)
.add("fileName", fileName)
.add("lineNumber", lineNumber)
.add("methodName", methodName)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy