com.box.boxjavalibv2.requests.requestobjects.BoxFileRequestObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of boxjavalibv2 Show documentation
Show all versions of boxjavalibv2 Show documentation
The Java SDK for the Box API.
package com.box.boxjavalibv2.requests.requestobjects;
import com.box.boxjavalibv2.jsonentities.BoxSharedLinkRequestEntity;
public class BoxFileRequestObject extends BoxItemRequestObject {
public BoxFileRequestObject() {
super();
}
public BoxFileRequestObject(BoxSharedLinkRequestEntity sharedLink) {
super(sharedLink);
}
public static BoxFileRequestObject getRequestObject() {
return new BoxFileRequestObject();
}
public static BoxFileRequestObject deleteSharedLinkRequestObject() {
return new BoxFileRequestObject(null);
}
public static BoxFileRequestObject createSharedLinkRequestObject(BoxSharedLinkRequestEntity sharedLink) {
return new BoxFileRequestObject(sharedLink);
}
}