ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.484.1

This commit is contained in:
speakeasybot
2025-02-05 00:27:30 +00:00
parent 22654201f5
commit f33408b177
57 changed files with 4815 additions and 69 deletions

View File

@@ -0,0 +1,110 @@
/*
* 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 dev.plexapi.sdk.utils.SpeakeasyMetadata;
import dev.plexapi.sdk.utils.Utils;
import java.lang.Integer;
import java.lang.Override;
import java.lang.String;
import java.util.Objects;
public class GetCountriesLibraryRequest {
/**
* The unique key of the Plex library.
* Note: This is unique in the context of the Plex server.
*
*/
@SpeakeasyMetadata("pathParam:style=simple,explode=false,name=sectionKey")
private int sectionKey;
@JsonCreator
public GetCountriesLibraryRequest(
int sectionKey) {
Utils.checkNotNull(sectionKey, "sectionKey");
this.sectionKey = sectionKey;
}
/**
* The unique key of the Plex library.
* Note: This is unique in the context of the Plex server.
*
*/
@JsonIgnore
public int sectionKey() {
return sectionKey;
}
public final static Builder builder() {
return new Builder();
}
/**
* The unique key of the Plex library.
* Note: This is unique in the context of the Plex server.
*
*/
public GetCountriesLibraryRequest withSectionKey(int sectionKey) {
Utils.checkNotNull(sectionKey, "sectionKey");
this.sectionKey = sectionKey;
return this;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GetCountriesLibraryRequest other = (GetCountriesLibraryRequest) o;
return
Objects.deepEquals(this.sectionKey, other.sectionKey);
}
@Override
public int hashCode() {
return Objects.hash(
sectionKey);
}
@Override
public String toString() {
return Utils.toString(GetCountriesLibraryRequest.class,
"sectionKey", sectionKey);
}
public final static class Builder {
private Integer sectionKey;
private Builder() {
// force use of static builder() method
}
/**
* The unique key of the Plex library.
* Note: This is unique in the context of the Plex server.
*
*/
public Builder sectionKey(int sectionKey) {
Utils.checkNotNull(sectionKey, "sectionKey");
this.sectionKey = sectionKey;
return this;
}
public GetCountriesLibraryRequest build() {
return new GetCountriesLibraryRequest(
sectionKey);
}
}
}