com.kintone.client.api.schema.GetApiListResponseBody Maven / Gradle / Ivy
// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.api.schema;
import com.kintone.client.api.KintoneResponseBody;
import com.kintone.client.model.schema.ApiSchemaLink;
import java.util.Map;
/**
* A response object for Get API List API.
*/
public final class GetApiListResponseBody implements KintoneResponseBody {
/**
* The base URL that will be used with Get API Schema API.
*/
private final String baseUrl;
/**
* An object containing information of each API. The key represents the ID string of each API
*/
private final Map apis;
@java.beans.ConstructorProperties({"baseUrl", "apis"})
@java.lang.SuppressWarnings("all")
public GetApiListResponseBody(final String baseUrl, final Map apis) {
this.baseUrl = baseUrl;
this.apis = apis;
}
/**
* The base URL that will be used with Get API Schema API.
*/
@java.lang.SuppressWarnings("all")
public String getBaseUrl() {
return this.baseUrl;
}
/**
* An object containing information of each API. The key represents the ID string of each API
*/
@java.lang.SuppressWarnings("all")
public Map getApis() {
return this.apis;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof GetApiListResponseBody)) return false;
final GetApiListResponseBody other = (GetApiListResponseBody) o;
final java.lang.Object this$baseUrl = this.getBaseUrl();
final java.lang.Object other$baseUrl = other.getBaseUrl();
if (this$baseUrl == null ? other$baseUrl != null : !this$baseUrl.equals(other$baseUrl)) return false;
final java.lang.Object this$apis = this.getApis();
final java.lang.Object other$apis = other.getApis();
if (this$apis == null ? other$apis != null : !this$apis.equals(other$apis)) return false;
return true;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $baseUrl = this.getBaseUrl();
result = result * PRIME + ($baseUrl == null ? 43 : $baseUrl.hashCode());
final java.lang.Object $apis = this.getApis();
result = result * PRIME + ($apis == null ? 43 : $apis.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "GetApiListResponseBody(baseUrl=" + this.getBaseUrl() + ", apis=" + this.getApis() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy