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

io.infinicast.client.api.paths.GetDataOptions Maven / Gradle / Ivy

There is a newer version: 3.0.9
Show newest version
package io.infinicast.client.api.paths;

import java.util.ArrayList;
public class GetDataOptions extends GetDataOptionsData  {
    public GetDataOptions() {
    }
    public GetDataOptions withDataContext(String path, DataContextRelativeOptions relative) {
        if (super.dataContextPaths == null) {
            super.dataContextPaths = new ArrayList();
        }
        DataContextRequest r = new DataContextRequest();
        r.path = path;
        r.relativeTo = relative;
        super.dataContextPaths.add(r);
        return this;
    }
    public GetDataOptions withDataContext(String path) {
        return this.withDataContext(path, DataContextRelativeOptions.Root);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy