Documentation
¶
Index ¶
- type APIError
- type BadRequest
- type BadRequestError
- type BadRequestType
- type DuplicateMp4SupportError
- type DuplicateReferenceIDErrorResponse
- type ForbiddenError
- type ForbiddenResponseError
- type InvalidPermissionError
- type InvalidPlaylistIDResponseError
- type LiveNotFoundError
- type MediaClipNotFoundError
- type MediaNotFoundError
- type MediaOrPlaybackNotFoundError
- type NotFoundError
- type NotFoundErrorPlaybackID
- type NotFoundErrorSimulcast
- type SigningKeyNotFoundError
- type SimulcastUnavailableError
- type StreamAlreadyDisabledError
- type StreamAlreadyEnabledError
- type TrackDuplicateRequestError
- type TrialPlanRestrictionError
- type UnAuthorizedResponseError
- type UnauthorizedError
- type ValidationErrorResponse
- type ViewNotFoundError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
func NewAPIError ¶
type BadRequest ¶ added in v1.0.0
type BadRequest struct {
TrialPlanRestrictionError *TrialPlanRestrictionError `queryParam:"inline,name=ResponseBody"`
StreamAlreadyEnabledError *StreamAlreadyEnabledError `queryParam:"inline,name=ResponseBody"`
Type BadRequestType
HTTPMeta components.HTTPMetadata `json:"-"`
}
BadRequest - Bad Request – Stream is either already enabled or cannot be enabled on trial plan.
func CreateBadRequestStreamAlreadyEnabledError ¶ added in v1.0.0
func CreateBadRequestStreamAlreadyEnabledError(streamAlreadyEnabledError StreamAlreadyEnabledError) BadRequest
func CreateBadRequestTrialPlanRestrictionError ¶ added in v1.0.0
func CreateBadRequestTrialPlanRestrictionError(trialPlanRestrictionError TrialPlanRestrictionError) BadRequest
func (BadRequest) Error ¶ added in v1.0.0
func (u BadRequest) Error() string
func (BadRequest) MarshalJSON ¶ added in v1.0.0
func (u BadRequest) MarshalJSON() ([]byte, error)
func (*BadRequest) UnmarshalJSON ¶ added in v1.0.0
func (u *BadRequest) UnmarshalJSON(data []byte) error
type BadRequestError ¶
type BadRequestError struct {
// Demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.BadRequestError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*BadRequestError) Error ¶
func (e *BadRequestError) Error() string
type BadRequestType ¶ added in v1.0.0
type BadRequestType string
const ( BadRequestTypeTrialPlanRestrictionError BadRequestType = "TrialPlanRestrictionError" BadRequestTypeStreamAlreadyEnabledError BadRequestType = "StreamAlreadyEnabledError" )
type DuplicateMp4SupportError ¶ added in v1.0.0
type DuplicateMp4SupportError struct {
// Demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.DuplicateMp4SupportError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*DuplicateMp4SupportError) Error ¶ added in v1.0.0
func (e *DuplicateMp4SupportError) Error() string
type DuplicateReferenceIDErrorResponse ¶ added in v1.0.0
type DuplicateReferenceIDErrorResponse struct {
// Demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.DuplicateReferenceIDErrorResponseError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
DuplicateReferenceIDErrorResponse - Displays the result of the request.
func (*DuplicateReferenceIDErrorResponse) Error ¶ added in v1.0.0
func (e *DuplicateReferenceIDErrorResponse) Error() string
type ForbiddenError ¶
type ForbiddenError struct {
// Demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.ForbiddenError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*ForbiddenError) Error ¶
func (e *ForbiddenError) Error() string
type ForbiddenResponseError ¶ added in v1.0.0
type ForbiddenResponseError struct {
// It demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.ForbiddenResponseError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*ForbiddenResponseError) Error ¶ added in v1.0.0
func (e *ForbiddenResponseError) Error() string
type InvalidPermissionError ¶
type InvalidPermissionError struct {
// Demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.InvalidPermissionError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*InvalidPermissionError) Error ¶
func (e *InvalidPermissionError) Error() string
type InvalidPlaylistIDResponseError ¶ added in v1.0.0
type InvalidPlaylistIDResponseError struct {
// Demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.InvalidPlaylistIDResponseError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*InvalidPlaylistIDResponseError) Error ¶ added in v1.0.0
func (e *InvalidPlaylistIDResponseError) Error() string
type LiveNotFoundError ¶ added in v1.0.0
type LiveNotFoundError struct {
// Demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.LiveNotFoundErrorError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*LiveNotFoundError) Error ¶ added in v1.0.0
func (e *LiveNotFoundError) Error() string
type MediaClipNotFoundError ¶ added in v1.0.0
type MediaClipNotFoundError struct {
// Demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.MediaClipNotFoundError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*MediaClipNotFoundError) Error ¶ added in v1.0.0
func (e *MediaClipNotFoundError) Error() string
type MediaNotFoundError ¶
type MediaNotFoundError struct {
// Demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.MediaNotFoundError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*MediaNotFoundError) Error ¶
func (e *MediaNotFoundError) Error() string
type MediaOrPlaybackNotFoundError ¶
type MediaOrPlaybackNotFoundError struct {
// Demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.MediaOrPlaybackNotFoundError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*MediaOrPlaybackNotFoundError) Error ¶
func (e *MediaOrPlaybackNotFoundError) Error() string
type NotFoundError ¶
type NotFoundError struct {
Success *bool `json:"success,omitempty"`
Error_ *components.NotFoundErrorError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
type NotFoundErrorPlaybackID ¶
type NotFoundErrorPlaybackID struct {
// Demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.NotFoundErrorPlaybackIDError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*NotFoundErrorPlaybackID) Error ¶
func (e *NotFoundErrorPlaybackID) Error() string
type NotFoundErrorSimulcast ¶
type NotFoundErrorSimulcast struct {
// Demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.NotFoundErrorSimulcastError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*NotFoundErrorSimulcast) Error ¶
func (e *NotFoundErrorSimulcast) Error() string
type SigningKeyNotFoundError ¶ added in v1.0.0
type SigningKeyNotFoundError struct {
// It demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.SigningKeyNotFoundErrorError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*SigningKeyNotFoundError) Error ¶ added in v1.0.0
func (e *SigningKeyNotFoundError) Error() string
type SimulcastUnavailableError ¶
type SimulcastUnavailableError struct {
Success *bool `json:"success,omitempty"`
// Returns the problem that has occured.
//
}
func (*SimulcastUnavailableError) Error ¶
func (e *SimulcastUnavailableError) Error() string
type StreamAlreadyDisabledError ¶ added in v1.0.0
type StreamAlreadyDisabledError struct {
// Indicates whether the request was successful or not.
Success *bool `json:"success,omitempty"`
// Contains details explaining why the request failed.
Error_ *components.StreamAlreadyDisabledErrorError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*StreamAlreadyDisabledError) Error ¶ added in v1.0.0
func (e *StreamAlreadyDisabledError) Error() string
type StreamAlreadyEnabledError ¶ added in v1.0.0
type StreamAlreadyEnabledError struct {
// Indicates whether the request was successful or not.
Success *bool `json:"success,omitempty"`
// Contains details explaining why the request failed.
Error_ *components.StreamAlreadyEnabledErrorError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*StreamAlreadyEnabledError) Error ¶ added in v1.0.0
func (e *StreamAlreadyEnabledError) Error() string
type TrackDuplicateRequestError ¶ added in v1.0.0
type TrackDuplicateRequestError struct {
// Demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.TrackDuplicateRequestError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*TrackDuplicateRequestError) Error ¶ added in v1.0.0
func (e *TrackDuplicateRequestError) Error() string
type TrialPlanRestrictionError ¶ added in v1.0.0
type TrialPlanRestrictionError struct {
// Indicates whether the request was successful or not.
Success *bool `json:"success,omitempty"`
// Contains details explaining why the request failed.
Error_ *components.TrialPlanRestrictionErrorError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*TrialPlanRestrictionError) Error ¶ added in v1.0.0
func (e *TrialPlanRestrictionError) Error() string
type UnAuthorizedResponseError ¶ added in v1.0.0
type UnAuthorizedResponseError struct {
// It demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.UnAuthorizedResponseError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*UnAuthorizedResponseError) Error ¶ added in v1.0.0
func (e *UnAuthorizedResponseError) Error() string
type UnauthorizedError ¶
type UnauthorizedError struct {
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
}
func (*UnauthorizedError) Error ¶
func (e *UnauthorizedError) Error() string
type ValidationErrorResponse ¶
type ValidationErrorResponse struct {
// Demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Displays details about the reasons behind the request's failure.
Error_ *components.ValidationErrorResponseError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*ValidationErrorResponse) Error ¶
func (e *ValidationErrorResponse) Error() string
type ViewNotFoundError ¶ added in v1.0.0
type ViewNotFoundError struct {
// It demonstrates whether the request is successful or not.
Success *bool `json:"success,omitempty"`
// Returns the problem that has occured
Error_ *components.ViewNotFoundError `json:"error,omitempty"`
HTTPMeta components.HTTPMetadata `json:"-"`
}
func (*ViewNotFoundError) Error ¶ added in v1.0.0
func (e *ViewNotFoundError) Error() string
Source Files
¶
- apierror.go
- badrequesterror.go
- duplicatemp4supporterror.go
- duplicatereferenceiderrorresponse.go
- enablelivestream.go
- forbiddenerror.go
- forbiddenresponseerror.go
- invalidpermissionerror.go
- invalidplaylistidresponseerror.go
- livenotfounderror.go
- mediaclipnotfounderror.go
- medianotfounderror.go
- mediaorplaybacknotfounderror.go
- notfounderror.go
- notfounderrorplaybackid.go
- notfounderrorsimulcast.go
- signingkeynotfounderror.go
- simulcastunavailableerror.go
- streamalreadydisablederror.go
- streamalreadyenablederror.go
- trackduplicaterequesterror.go
- trialplanrestrictionerror.go
- unauthorizederror.go
- unauthorizedresponseerror.go
- validationerrorresponse.go
- viewnotfounderror.go
Click to show internal directories.
Click to hide internal directories.