mirror of
https://github.com/LukeHagar/plexgo.git
synced 2025-12-06 04:20:46 +00:00
50 lines
1.0 KiB
Go
50 lines
1.0 KiB
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package operations
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
type CancelServerActivitiesRequest struct {
|
|
// The UUID of the activity to cancel.
|
|
ActivityUUID string `pathParam:"style=simple,explode=false,name=activityUUID"`
|
|
}
|
|
|
|
func (c *CancelServerActivitiesRequest) GetActivityUUID() string {
|
|
if c == nil {
|
|
return ""
|
|
}
|
|
return c.ActivityUUID
|
|
}
|
|
|
|
type CancelServerActivitiesResponse 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 *CancelServerActivitiesResponse) GetContentType() string {
|
|
if c == nil {
|
|
return ""
|
|
}
|
|
return c.ContentType
|
|
}
|
|
|
|
func (c *CancelServerActivitiesResponse) GetStatusCode() int {
|
|
if c == nil {
|
|
return 0
|
|
}
|
|
return c.StatusCode
|
|
}
|
|
|
|
func (c *CancelServerActivitiesResponse) GetRawResponse() *http.Response {
|
|
if c == nil {
|
|
return nil
|
|
}
|
|
return c.RawResponse
|
|
}
|