com.databricks.sdk.service.files.CreateResponse Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.files;
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 CreateResponse {
/**
* Handle which should subsequently be passed into the AddBlock and Close calls when writing to a
* file through a stream.
*/
@JsonProperty("handle")
private Long handle;
public CreateResponse setHandle(Long handle) {
this.handle = handle;
return this;
}
public Long getHandle() {
return handle;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CreateResponse that = (CreateResponse) o;
return Objects.equals(handle, that.handle);
}
@Override
public int hashCode() {
return Objects.hash(handle);
}
@Override
public String toString() {
return new ToStringer(CreateResponse.class).add("handle", handle).toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy