mirror of
https://github.com/LukeHagar/plexgo.git
synced 2025-12-06 04:20:46 +00:00
50 lines
1019 B
Go
50 lines
1019 B
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package operations
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
type ClearPlaylistContentsRequest struct {
|
|
// the ID of the playlist
|
|
PlaylistID float64 `pathParam:"style=simple,explode=false,name=playlistID"`
|
|
}
|
|
|
|
func (c *ClearPlaylistContentsRequest) GetPlaylistID() float64 {
|
|
if c == nil {
|
|
return 0.0
|
|
}
|
|
return c.PlaylistID
|
|
}
|
|
|
|
type ClearPlaylistContentsResponse 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 (c *ClearPlaylistContentsResponse) GetContentType() string {
|
|
if c == nil {
|
|
return ""
|
|
}
|
|
return c.ContentType
|
|
}
|
|
|
|
func (c *ClearPlaylistContentsResponse) GetStatusCode() int {
|
|
if c == nil {
|
|
return 0
|
|
}
|
|
return c.StatusCode
|
|
}
|
|
|
|
func (c *ClearPlaylistContentsResponse) GetRawResponse() *http.Response {
|
|
if c == nil {
|
|
return nil
|
|
}
|
|
return c.RawResponse
|
|
}
|