Files
plexgo/models/operations/stoptranscodesession.go
2024-09-09 18:15:22 +00:00

50 lines
1.0 KiB
Go

// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package operations
import (
"net/http"
)
type StopTranscodeSessionRequest struct {
// the Key of the transcode session to stop
SessionKey string `pathParam:"style=simple,explode=false,name=sessionKey"`
}
func (o *StopTranscodeSessionRequest) GetSessionKey() string {
if o == nil {
return ""
}
return o.SessionKey
}
type StopTranscodeSessionResponse 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 (o *StopTranscodeSessionResponse) GetContentType() string {
if o == nil {
return ""
}
return o.ContentType
}
func (o *StopTranscodeSessionResponse) GetStatusCode() int {
if o == nil {
return 0
}
return o.StatusCode
}
func (o *StopTranscodeSessionResponse) GetRawResponse() *http.Response {
if o == nil {
return nil
}
return o.RawResponse
}