ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.406.0

This commit is contained in:
speakeasybot
2024-10-03 00:28:29 +00:00
parent fa542f04e1
commit 2e4350c8c4
247 changed files with 21314 additions and 5695 deletions

View File

@@ -0,0 +1,109 @@
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
package dev.plexapi.sdk.models.operations;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import dev.plexapi.sdk.utils.Utils;
import java.lang.Override;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
public class GetLibraryItemsLocation {
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("path")
private Optional<String> path;
@JsonCreator
public GetLibraryItemsLocation(
@JsonProperty("path") Optional<String> path) {
Utils.checkNotNull(path, "path");
this.path = path;
}
public GetLibraryItemsLocation() {
this(Optional.empty());
}
@JsonIgnore
public Optional<String> path() {
return path;
}
public final static Builder builder() {
return new Builder();
}
public GetLibraryItemsLocation withPath(String path) {
Utils.checkNotNull(path, "path");
this.path = Optional.ofNullable(path);
return this;
}
public GetLibraryItemsLocation withPath(Optional<String> path) {
Utils.checkNotNull(path, "path");
this.path = path;
return this;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GetLibraryItemsLocation other = (GetLibraryItemsLocation) o;
return
Objects.deepEquals(this.path, other.path);
}
@Override
public int hashCode() {
return Objects.hash(
path);
}
@Override
public String toString() {
return Utils.toString(GetLibraryItemsLocation.class,
"path", path);
}
public final static class Builder {
private Optional<String> path = Optional.empty();
private Builder() {
// force use of static builder() method
}
public Builder path(String path) {
Utils.checkNotNull(path, "path");
this.path = Optional.ofNullable(path);
return this;
}
public Builder path(Optional<String> path) {
Utils.checkNotNull(path, "path");
this.path = path;
return this;
}
public GetLibraryItemsLocation build() {
return new GetLibraryItemsLocation(
path);
}
}
}