Files
plexgo/models/operations/getsourceconnectioninformation.go

50 lines
1.1 KiB
Go

// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package operations
import (
"net/http"
)
type GetSourceConnectionInformationRequest struct {
// The source identifier with an included prefix.
Source string `queryParam:"style=form,explode=true,name=source"`
}
func (g *GetSourceConnectionInformationRequest) GetSource() string {
if g == nil {
return ""
}
return g.Source
}
type GetSourceConnectionInformationResponse 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 (g *GetSourceConnectionInformationResponse) GetContentType() string {
if g == nil {
return ""
}
return g.ContentType
}
func (g *GetSourceConnectionInformationResponse) GetStatusCode() int {
if g == nil {
return 0
}
return g.StatusCode
}
func (g *GetSourceConnectionInformationResponse) GetRawResponse() *http.Response {
if g == nil {
return nil
}
return g.RawResponse
}