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

com.aliyun.datahub.client.impl.request.AppendFieldRequest Maven / Gradle / Ivy

There is a newer version: 2.25.6
Show newest version
package com.aliyun.datahub.client.impl.request;

import com.aliyun.datahub.client.impl.serializer.AppendFieldRequestSerializer;
import com.aliyun.datahub.client.model.Field;
import com.aliyun.datahub.client.model.FieldType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.List;

@JsonSerialize(using = AppendFieldRequestSerializer.class)
public class AppendFieldRequest extends BaseRequest {
    private String fieldName;
    private FieldType fieldType;
    private List fields;

    public AppendFieldRequest() {
        setAction("AppendField");
    }

    public String getFieldName() {
        return fieldName;
    }

    public AppendFieldRequest setFieldName(String fieldName) {
        this.fieldName = fieldName;
        return this;
    }

    public FieldType getFieldType() {
        return fieldType;
    }

    public AppendFieldRequest setFieldType(FieldType fieldType) {
        this.fieldType = fieldType;
        return this;
    }

    public List getFields() {
        return fields;
    }

    public AppendFieldRequest setFields(List fields) {
        this.fields = fields;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy