io.relayr.java.model.models.ModelLinks Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for connecting to the Relayr Cloud
The newest version!
package io.relayr.java.model.models;
/**
* Defines hyperlinks for similar objects in the structure.
* Use #getFirst and #getLast parameters for paging.
*/
public class ModelLinks {
private ModelLink self;
private ModelLink next;
private ModelLink last;
private ModelLink first;
public String getSelf() {
return self.href;
}
public String getLast() {
return last.href;
}
public String getFirst() {
return first.href;
}
public String getNext() {
return next.href;
}
class ModelLink {
final String href;
public ModelLink(String href) {
this.href = href;
}
}
@Override public String toString() {
return "ModelLinks{" +
"self=" + self +
", next=" + next +
", last=" + last +
", first=" + first +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy