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

com.apitable.client.api.model.field.property.MagicLookupFieldProperty Maven / Gradle / Ivy

The newest version!
package com.apitable.client.api.model.field.property;

import com.apitable.client.api.model.field.property.option.Format;
import com.apitable.client.api.model.field.property.option.RollUpFunctionEnum;
import com.apitable.client.api.model.field.property.option.TypeFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

public class MagicLookupFieldProperty extends BaseFieldProperty {

    private String relatedLinkFieldId;

    private String targetFieldId;

    @JsonInclude(Include.NON_NULL)
    private RollUpFunctionEnum rollupFunction;

    @JsonInclude(Include.NON_NULL)
    private Format format;

    public String getRelatedLinkFieldId() {
        return relatedLinkFieldId;
    }

    public void setRelatedLinkFieldId(String relatedLinkFieldId) {
        this.relatedLinkFieldId = relatedLinkFieldId;
    }

    public String getTargetFieldId() {
        return targetFieldId;
    }

    public void setTargetFieldId(String targetFieldId) {
        this.targetFieldId = targetFieldId;
    }

    public RollUpFunctionEnum getRollupFunction() {
        return rollupFunction;
    }

    public void setRollupFunction(RollUpFunctionEnum rollupFunction) {
        this.rollupFunction = rollupFunction;
    }

    public Format getFormat() {
        return format;
    }

    public  void setFormat(Format format) {
        this.format = format;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy