Sha256: f18c35524c214e17b24b93d019f30a39cf392b2db50a46e827fcab12b4c4eaa9

Contents?: true

Size: 578 Bytes

Versions: 4

Compression:

Stored size: 578 Bytes

Contents

package org.embulk.input.kintone;

import com.cybozu.kintone.client.model.app.form.FieldType;
import com.cybozu.kintone.client.model.record.field.FieldValue;

import java.util.HashMap;

public class TestHelper {
    public static HashMap<String, FieldValue> addField(HashMap<String, FieldValue> record, String code, FieldType type,
                                                 Object value) {
        FieldValue newField = new FieldValue();
        newField.setType(type);
        newField.setValue(value);
        record.put(code, newField);
        return record;
    }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
embulk-input-kintone-0.1.5 src/test/java/org/embulk/input/kintone/TestHelper.java
embulk-input-kintone-0.1.4 src/test/java/org/embulk/input/kintone/TestHelper.java
embulk-input-kintone-0.1.3 src/test/java/org/embulk/input/kintone/TestHelper.java
embulk-input-kintone-0.1.2 src/test/java/org/embulk/input/kintone/TestHelper.java