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

com.kintone.client.model.app.AppActionMapping Maven / Gradle / Ivy

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

/**
 * An object containing the "Field Mappings" option of the Action settings.
 */
public class AppActionMapping {
    /**
     * The type of source data that is to be copied.
     */
    private AppActionSourceType srcType;
    /**
     * The field code of the field specified in the "Field Mappings" options as the source.
     *
     * 

In the response of Get Action Settings API, this parameter is returned only if the {@link * #srcType} parameter is set to "FIELD". */ private String srcField; /** * The field code of the field specified in the "Field Mappings" options as the destination. */ private String destField; @java.lang.SuppressWarnings("all") public AppActionMapping() { } /** * The type of source data that is to be copied. */ @java.lang.SuppressWarnings("all") public AppActionSourceType getSrcType() { return this.srcType; } /** * The field code of the field specified in the "Field Mappings" options as the source. * *

In the response of Get Action Settings API, this parameter is returned only if the {@link * #srcType} parameter is set to "FIELD". */ @java.lang.SuppressWarnings("all") public String getSrcField() { return this.srcField; } /** * The field code of the field specified in the "Field Mappings" options as the destination. */ @java.lang.SuppressWarnings("all") public String getDestField() { return this.destField; } /** * The type of source data that is to be copied. * @return {@code this}. */ @java.lang.SuppressWarnings("all") public AppActionMapping setSrcType(final AppActionSourceType srcType) { this.srcType = srcType; return this; } /** * The field code of the field specified in the "Field Mappings" options as the source. * *

In the response of Get Action Settings API, this parameter is returned only if the {@link * #srcType} parameter is set to "FIELD". * @return {@code this}. */ @java.lang.SuppressWarnings("all") public AppActionMapping setSrcField(final String srcField) { this.srcField = srcField; return this; } /** * The field code of the field specified in the "Field Mappings" options as the destination. * @return {@code this}. */ @java.lang.SuppressWarnings("all") public AppActionMapping setDestField(final String destField) { this.destField = destField; return this; } @java.lang.Override @java.lang.SuppressWarnings("all") public boolean equals(final java.lang.Object o) { if (o == this) return true; if (!(o instanceof AppActionMapping)) return false; final AppActionMapping other = (AppActionMapping) o; if (!other.canEqual((java.lang.Object) this)) return false; final java.lang.Object this$srcType = this.getSrcType(); final java.lang.Object other$srcType = other.getSrcType(); if (this$srcType == null ? other$srcType != null : !this$srcType.equals(other$srcType)) return false; final java.lang.Object this$srcField = this.getSrcField(); final java.lang.Object other$srcField = other.getSrcField(); if (this$srcField == null ? other$srcField != null : !this$srcField.equals(other$srcField)) return false; final java.lang.Object this$destField = this.getDestField(); final java.lang.Object other$destField = other.getDestField(); if (this$destField == null ? other$destField != null : !this$destField.equals(other$destField)) return false; return true; } @java.lang.SuppressWarnings("all") protected boolean canEqual(final java.lang.Object other) { return other instanceof AppActionMapping; } @java.lang.Override @java.lang.SuppressWarnings("all") public int hashCode() { final int PRIME = 59; int result = 1; final java.lang.Object $srcType = this.getSrcType(); result = result * PRIME + ($srcType == null ? 43 : $srcType.hashCode()); final java.lang.Object $srcField = this.getSrcField(); result = result * PRIME + ($srcField == null ? 43 : $srcField.hashCode()); final java.lang.Object $destField = this.getDestField(); result = result * PRIME + ($destField == null ? 43 : $destField.hashCode()); return result; } @java.lang.Override @java.lang.SuppressWarnings("all") public java.lang.String toString() { return "AppActionMapping(srcType=" + this.getSrcType() + ", srcField=" + this.getSrcField() + ", destField=" + this.getDestField() + ")"; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy