com.databricks.sdk.service.dashboards.GenieGetMessageQueryResultRequest Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.dashboards;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Objects;
/** Get conversation message SQL query result */
@Generated
public class GenieGetMessageQueryResultRequest {
/** Conversation ID */
@JsonIgnore private String conversationId;
/** Message ID */
@JsonIgnore private String messageId;
/** Genie space ID */
@JsonIgnore private String spaceId;
public GenieGetMessageQueryResultRequest setConversationId(String conversationId) {
this.conversationId = conversationId;
return this;
}
public String getConversationId() {
return conversationId;
}
public GenieGetMessageQueryResultRequest setMessageId(String messageId) {
this.messageId = messageId;
return this;
}
public String getMessageId() {
return messageId;
}
public GenieGetMessageQueryResultRequest setSpaceId(String spaceId) {
this.spaceId = spaceId;
return this;
}
public String getSpaceId() {
return spaceId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
GenieGetMessageQueryResultRequest that = (GenieGetMessageQueryResultRequest) o;
return Objects.equals(conversationId, that.conversationId)
&& Objects.equals(messageId, that.messageId)
&& Objects.equals(spaceId, that.spaceId);
}
@Override
public int hashCode() {
return Objects.hash(conversationId, messageId, spaceId);
}
@Override
public String toString() {
return new ToStringer(GenieGetMessageQueryResultRequest.class)
.add("conversationId", conversationId)
.add("messageId", messageId)
.add("spaceId", spaceId)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy