class CreatePartitionsRequest extends AcknowledgedRequest<CreatePartitionsRequest> {

    private final Collection<String> indices;

    /**
     * Constructs a new request to create indices with the specified names.
     */
    public CreatePartitionsRequest(Collection<String> indices) {
        this.indices = indices;
    }

    public Collection<String> indices() {
        return indices;
    }

    public CreatePartitionsRequest(StreamInput in) throws IOException {
        super(in);
        if (in.getVersion().before(Version.V_5_3_0)) {
            // The only usage of jobId was removed in https://github.com/crate/crate/commit/31e0f7f447eaa006e756c20bd32346b2680ebee6
            // Nodes < 5.3.0 still send UUID which is written as 2 longs, we consume them but don't create an UUID out of them.
            in.readLong();
            in.readLong();
        }
        int numIndices = in.readVInt();
        List<String> indicesList = new ArrayList<>(numIndices);
        for (int i = 0; i < numIndices; i++) {
            indicesList.add(in.readString());
        }
        this.indices = indicesList;
    }

    @Override
    public void writeTo(StreamOutput out) throws IOException {<FILL_FUNCTION_BODY>}

}

        super.writeTo(out);
        if (out.getVersion().before(Version.V_5_3_0)) {
            // Nodes < 5.3.0 still expect 2 longs.
            // They are used to construct an UUID but last time they were actually used in CrateDB 0.55.0.
            // Hence, sending dummy values.
            out.writeLong(0L);
            out.writeLong(0L);
        }

        out.writeVInt(indices.size());
        for (String index : indices) {
            out.writeString(index);
        }
    
<methods>public void <init>(org.elasticsearch.common.io.stream.StreamInput) throws java.io.IOException,public io.crate.common.unit.TimeValue ackTimeout() ,public final org.elasticsearch.action.admin.indices.create.CreatePartitionsRequest timeout(java.lang.String) ,public final org.elasticsearch.action.admin.indices.create.CreatePartitionsRequest timeout(io.crate.common.unit.TimeValue) ,public final io.crate.common.unit.TimeValue timeout() ,public void writeTo(org.elasticsearch.common.io.stream.StreamOutput) throws java.io.IOException<variables>public static final io.crate.common.unit.TimeValue DEFAULT_ACK_TIMEOUT,protected io.crate.common.unit.TimeValue timeout