mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-07 04:20:49 +00:00
31 lines
689 B
Java
31 lines
689 B
Java
/*
|
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
*/
|
|
|
|
package dev.plexapi.sdk.models.operations;
|
|
|
|
import dev.plexapi.sdk.utils.Utils;
|
|
import java.lang.Double;
|
|
|
|
public class MarkPlayedRequestBuilder {
|
|
|
|
private Double key;
|
|
private final SDKMethodInterfaces.MethodCallMarkPlayed sdk;
|
|
|
|
public MarkPlayedRequestBuilder(SDKMethodInterfaces.MethodCallMarkPlayed sdk) {
|
|
this.sdk = sdk;
|
|
}
|
|
|
|
public MarkPlayedRequestBuilder key(double key) {
|
|
Utils.checkNotNull(key, "key");
|
|
this.key = key;
|
|
return this;
|
|
}
|
|
|
|
public MarkPlayedResponse call() throws Exception {
|
|
|
|
return sdk.markPlayed(
|
|
key);
|
|
}
|
|
}
|