com.huaweicloud.sdk.gaussdbforopengauss.v3.model.ShowSslCertDownloadLinkResponse Maven / Gradle / Ivy
package com.huaweicloud.sdk.gaussdbforopengauss.v3.model;
import com.huaweicloud.sdk.core.SdkResponse;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.function.Consumer;
import java.util.Objects;
/**
* Response Object
*/
public class ShowSslCertDownloadLinkResponse extends SdkResponse {
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value="download_link")
private String downloadLink;
public ShowSslCertDownloadLinkResponse withDownloadLink(String downloadLink) {
this.downloadLink = downloadLink;
return this;
}
/**
* ssl下载链接。
* @return downloadLink
*/
public String getDownloadLink() {
return downloadLink;
}
public void setDownloadLink(String downloadLink) {
this.downloadLink = downloadLink;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ShowSslCertDownloadLinkResponse showSslCertDownloadLinkResponse = (ShowSslCertDownloadLinkResponse) o;
return Objects.equals(this.downloadLink, showSslCertDownloadLinkResponse.downloadLink);
}
@Override
public int hashCode() {
return Objects.hash(downloadLink);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ShowSslCertDownloadLinkResponse {\n");
sb.append(" downloadLink: ").append(toIndentedString(downloadLink)).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 ");
}
}