io.infinicast.client.api.paths.GetDataOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinicast-client Show documentation
Show all versions of infinicast-client Show documentation
Infinicast SDK to communicate with the cloud.
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);
}
}