Files
plexgo/models/operations/deletelibrary.go

52 lines
1.0 KiB
Go

// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package operations
import (
"net/http"
)
type DeleteLibraryRequest struct {
// The unique key of the Plex library.
// Note: This is unique in the context of the Plex server.
//
SectionKey int `pathParam:"style=simple,explode=false,name=sectionKey"`
}
func (d *DeleteLibraryRequest) GetSectionKey() int {
if d == nil {
return 0
}
return d.SectionKey
}
type DeleteLibraryResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (d *DeleteLibraryResponse) GetContentType() string {
if d == nil {
return ""
}
return d.ContentType
}
func (d *DeleteLibraryResponse) GetStatusCode() int {
if d == nil {
return 0
}
return d.StatusCode
}
func (d *DeleteLibraryResponse) GetRawResponse() *http.Response {
if d == nil {
return nil
}
return d.RawResponse
}