All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kintone.client.model.schema.ApiSchemaLink Maven / Gradle / Ivy

// Generated by delombok at Fri Jan 21 13:34:53 JST 2022
package com.kintone.client.model.schema;

/**
 * An object containing information of an API.
 */
public final class ApiSchemaLink {
    /**
     * The URL of the API, that can be used with the Get Schema API.
     */
    private final String link;

    @java.beans.ConstructorProperties({"link"})
    @java.lang.SuppressWarnings("all")
    public ApiSchemaLink(final String link) {
        this.link = link;
    }

    /**
     * The URL of the API, that can be used with the Get Schema API.
     */
    @java.lang.SuppressWarnings("all")
    public String getLink() {
        return this.link;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public boolean equals(final java.lang.Object o) {
        if (o == this) return true;
        if (!(o instanceof ApiSchemaLink)) return false;
        final ApiSchemaLink other = (ApiSchemaLink) o;
        final java.lang.Object this$link = this.getLink();
        final java.lang.Object other$link = other.getLink();
        if (this$link == null ? other$link != null : !this$link.equals(other$link)) 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 $link = this.getLink();
        result = result * PRIME + ($link == null ? 43 : $link.hashCode());
        return result;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
        return "ApiSchemaLink(link=" + this.getLink() + ")";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy