Documentation ¶
Index ¶
- type Client
- func (a *Client) GetChannelNameByID(params *GetChannelNameByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetChannelNameByIDOK, error)
- func (a *Client) ListChannels(params *ListChannelsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListChannelsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetChannelNameByIDBadRequest
- func (o *GetChannelNameByIDBadRequest) Code() int
- func (o *GetChannelNameByIDBadRequest) Error() string
- func (o *GetChannelNameByIDBadRequest) GetPayload() *GetChannelNameByIDBadRequestBody
- func (o *GetChannelNameByIDBadRequest) IsClientError() bool
- func (o *GetChannelNameByIDBadRequest) IsCode(code int) bool
- func (o *GetChannelNameByIDBadRequest) IsRedirect() bool
- func (o *GetChannelNameByIDBadRequest) IsServerError() bool
- func (o *GetChannelNameByIDBadRequest) IsSuccess() bool
- func (o *GetChannelNameByIDBadRequest) String() string
- type GetChannelNameByIDBadRequestBody
- func (o *GetChannelNameByIDBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDBadRequestBody) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDBadRequestBodyErrorsItems0
- func (o *GetChannelNameByIDBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDBadRequestBodyErrorsItems0Links
- func (o *GetChannelNameByIDBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDBadRequestBodyErrorsItems0Source
- func (o *GetChannelNameByIDBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDBadRequestBodyJsonapi
- func (o *GetChannelNameByIDBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDConflict
- func (o *GetChannelNameByIDConflict) Code() int
- func (o *GetChannelNameByIDConflict) Error() string
- func (o *GetChannelNameByIDConflict) GetPayload() *GetChannelNameByIDConflictBody
- func (o *GetChannelNameByIDConflict) IsClientError() bool
- func (o *GetChannelNameByIDConflict) IsCode(code int) bool
- func (o *GetChannelNameByIDConflict) IsRedirect() bool
- func (o *GetChannelNameByIDConflict) IsServerError() bool
- func (o *GetChannelNameByIDConflict) IsSuccess() bool
- func (o *GetChannelNameByIDConflict) String() string
- type GetChannelNameByIDConflictBody
- func (o *GetChannelNameByIDConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDConflictBody) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDConflictBody) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDConflictBody) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDConflictBodyErrorsItems0
- func (o *GetChannelNameByIDConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDConflictBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDConflictBodyErrorsItems0Links
- func (o *GetChannelNameByIDConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDConflictBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDConflictBodyErrorsItems0Source
- func (o *GetChannelNameByIDConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDConflictBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDConflictBodyJsonapi
- func (o *GetChannelNameByIDConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDConflictBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDConflictBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDConflictBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDForbidden
- func (o *GetChannelNameByIDForbidden) Code() int
- func (o *GetChannelNameByIDForbidden) Error() string
- func (o *GetChannelNameByIDForbidden) GetPayload() *GetChannelNameByIDForbiddenBody
- func (o *GetChannelNameByIDForbidden) IsClientError() bool
- func (o *GetChannelNameByIDForbidden) IsCode(code int) bool
- func (o *GetChannelNameByIDForbidden) IsRedirect() bool
- func (o *GetChannelNameByIDForbidden) IsServerError() bool
- func (o *GetChannelNameByIDForbidden) IsSuccess() bool
- func (o *GetChannelNameByIDForbidden) String() string
- type GetChannelNameByIDForbiddenBody
- func (o *GetChannelNameByIDForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDForbiddenBody) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDForbiddenBodyErrorsItems0
- func (o *GetChannelNameByIDForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDForbiddenBodyErrorsItems0Links
- func (o *GetChannelNameByIDForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDForbiddenBodyErrorsItems0Source
- func (o *GetChannelNameByIDForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDForbiddenBodyJsonapi
- func (o *GetChannelNameByIDForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDInternalServerError
- func (o *GetChannelNameByIDInternalServerError) Code() int
- func (o *GetChannelNameByIDInternalServerError) Error() string
- func (o *GetChannelNameByIDInternalServerError) GetPayload() *GetChannelNameByIDInternalServerErrorBody
- func (o *GetChannelNameByIDInternalServerError) IsClientError() bool
- func (o *GetChannelNameByIDInternalServerError) IsCode(code int) bool
- func (o *GetChannelNameByIDInternalServerError) IsRedirect() bool
- func (o *GetChannelNameByIDInternalServerError) IsServerError() bool
- func (o *GetChannelNameByIDInternalServerError) IsSuccess() bool
- func (o *GetChannelNameByIDInternalServerError) String() string
- type GetChannelNameByIDInternalServerErrorBody
- func (o *GetChannelNameByIDInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDInternalServerErrorBodyErrorsItems0
- func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links
- func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source
- func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDInternalServerErrorBodyJsonapi
- func (o *GetChannelNameByIDInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDNotFound
- func (o *GetChannelNameByIDNotFound) Code() int
- func (o *GetChannelNameByIDNotFound) Error() string
- func (o *GetChannelNameByIDNotFound) GetPayload() *GetChannelNameByIDNotFoundBody
- func (o *GetChannelNameByIDNotFound) IsClientError() bool
- func (o *GetChannelNameByIDNotFound) IsCode(code int) bool
- func (o *GetChannelNameByIDNotFound) IsRedirect() bool
- func (o *GetChannelNameByIDNotFound) IsServerError() bool
- func (o *GetChannelNameByIDNotFound) IsSuccess() bool
- func (o *GetChannelNameByIDNotFound) String() string
- type GetChannelNameByIDNotFoundBody
- func (o *GetChannelNameByIDNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDNotFoundBody) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDNotFoundBodyErrorsItems0
- func (o *GetChannelNameByIDNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDNotFoundBodyErrorsItems0Links
- func (o *GetChannelNameByIDNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDNotFoundBodyErrorsItems0Source
- func (o *GetChannelNameByIDNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDNotFoundBodyJsonapi
- func (o *GetChannelNameByIDNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDOK
- func (o *GetChannelNameByIDOK) Code() int
- func (o *GetChannelNameByIDOK) Error() string
- func (o *GetChannelNameByIDOK) GetPayload() *GetChannelNameByIDOKBody
- func (o *GetChannelNameByIDOK) IsClientError() bool
- func (o *GetChannelNameByIDOK) IsCode(code int) bool
- func (o *GetChannelNameByIDOK) IsRedirect() bool
- func (o *GetChannelNameByIDOK) IsServerError() bool
- func (o *GetChannelNameByIDOK) IsSuccess() bool
- func (o *GetChannelNameByIDOK) String() string
- type GetChannelNameByIDOKBody
- func (o *GetChannelNameByIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDOKBody) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDOKBody) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDOKBody) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDParams
- func NewGetChannelNameByIDParams() *GetChannelNameByIDParams
- func NewGetChannelNameByIDParamsWithContext(ctx context.Context) *GetChannelNameByIDParams
- func NewGetChannelNameByIDParamsWithHTTPClient(client *http.Client) *GetChannelNameByIDParams
- func NewGetChannelNameByIDParamsWithTimeout(timeout time.Duration) *GetChannelNameByIDParams
- func (o *GetChannelNameByIDParams) SetChannelID(channelID strfmt.URI)
- func (o *GetChannelNameByIDParams) SetContext(ctx context.Context)
- func (o *GetChannelNameByIDParams) SetDefaults()
- func (o *GetChannelNameByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetChannelNameByIDParams) SetOrgID(orgID strfmt.UUID)
- func (o *GetChannelNameByIDParams) SetTenantID(tenantID strfmt.UUID)
- func (o *GetChannelNameByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetChannelNameByIDParams) SetVersion(version string)
- func (o *GetChannelNameByIDParams) WithChannelID(channelID strfmt.URI) *GetChannelNameByIDParams
- func (o *GetChannelNameByIDParams) WithContext(ctx context.Context) *GetChannelNameByIDParams
- func (o *GetChannelNameByIDParams) WithDefaults() *GetChannelNameByIDParams
- func (o *GetChannelNameByIDParams) WithHTTPClient(client *http.Client) *GetChannelNameByIDParams
- func (o *GetChannelNameByIDParams) WithOrgID(orgID strfmt.UUID) *GetChannelNameByIDParams
- func (o *GetChannelNameByIDParams) WithTenantID(tenantID strfmt.UUID) *GetChannelNameByIDParams
- func (o *GetChannelNameByIDParams) WithTimeout(timeout time.Duration) *GetChannelNameByIDParams
- func (o *GetChannelNameByIDParams) WithVersion(version string) *GetChannelNameByIDParams
- func (o *GetChannelNameByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetChannelNameByIDReader
- type GetChannelNameByIDUnauthorized
- func (o *GetChannelNameByIDUnauthorized) Code() int
- func (o *GetChannelNameByIDUnauthorized) Error() string
- func (o *GetChannelNameByIDUnauthorized) GetPayload() *GetChannelNameByIDUnauthorizedBody
- func (o *GetChannelNameByIDUnauthorized) IsClientError() bool
- func (o *GetChannelNameByIDUnauthorized) IsCode(code int) bool
- func (o *GetChannelNameByIDUnauthorized) IsRedirect() bool
- func (o *GetChannelNameByIDUnauthorized) IsServerError() bool
- func (o *GetChannelNameByIDUnauthorized) IsSuccess() bool
- func (o *GetChannelNameByIDUnauthorized) String() string
- type GetChannelNameByIDUnauthorizedBody
- func (o *GetChannelNameByIDUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDUnauthorizedBody) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDUnauthorizedBodyErrorsItems0
- func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDUnauthorizedBodyErrorsItems0Links
- func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDUnauthorizedBodyErrorsItems0Source
- func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetChannelNameByIDUnauthorizedBodyJsonapi
- func (o *GetChannelNameByIDUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetChannelNameByIDUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetChannelNameByIDUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetChannelNameByIDUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListChannelsBadRequest
- func (o *ListChannelsBadRequest) Code() int
- func (o *ListChannelsBadRequest) Error() string
- func (o *ListChannelsBadRequest) GetPayload() *ListChannelsBadRequestBody
- func (o *ListChannelsBadRequest) IsClientError() bool
- func (o *ListChannelsBadRequest) IsCode(code int) bool
- func (o *ListChannelsBadRequest) IsRedirect() bool
- func (o *ListChannelsBadRequest) IsServerError() bool
- func (o *ListChannelsBadRequest) IsSuccess() bool
- func (o *ListChannelsBadRequest) String() string
- type ListChannelsBadRequestBody
- func (o *ListChannelsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ListChannelsBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ListChannelsBadRequestBody) Validate(formats strfmt.Registry) error
- type ListChannelsBadRequestBodyErrorsItems0
- func (o *ListChannelsBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListChannelsBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListChannelsBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListChannelsBadRequestBodyErrorsItems0Links
- func (o *ListChannelsBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListChannelsBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListChannelsBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListChannelsBadRequestBodyErrorsItems0Source
- func (o *ListChannelsBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListChannelsBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListChannelsBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListChannelsBadRequestBodyJsonapi
- func (o *ListChannelsBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListChannelsBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListChannelsBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListChannelsConflict
- func (o *ListChannelsConflict) Code() int
- func (o *ListChannelsConflict) Error() string
- func (o *ListChannelsConflict) GetPayload() *ListChannelsConflictBody
- func (o *ListChannelsConflict) IsClientError() bool
- func (o *ListChannelsConflict) IsCode(code int) bool
- func (o *ListChannelsConflict) IsRedirect() bool
- func (o *ListChannelsConflict) IsServerError() bool
- func (o *ListChannelsConflict) IsSuccess() bool
- func (o *ListChannelsConflict) String() string
- type ListChannelsConflictBody
- func (o *ListChannelsConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsConflictBody) MarshalBinary() ([]byte, error)
- func (o *ListChannelsConflictBody) UnmarshalBinary(b []byte) error
- func (o *ListChannelsConflictBody) Validate(formats strfmt.Registry) error
- type ListChannelsConflictBodyErrorsItems0
- func (o *ListChannelsConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListChannelsConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListChannelsConflictBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListChannelsConflictBodyErrorsItems0Links
- func (o *ListChannelsConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListChannelsConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListChannelsConflictBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListChannelsConflictBodyErrorsItems0Source
- func (o *ListChannelsConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListChannelsConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListChannelsConflictBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListChannelsConflictBodyJsonapi
- func (o *ListChannelsConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsConflictBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListChannelsConflictBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListChannelsConflictBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListChannelsForbidden
- func (o *ListChannelsForbidden) Code() int
- func (o *ListChannelsForbidden) Error() string
- func (o *ListChannelsForbidden) GetPayload() *ListChannelsForbiddenBody
- func (o *ListChannelsForbidden) IsClientError() bool
- func (o *ListChannelsForbidden) IsCode(code int) bool
- func (o *ListChannelsForbidden) IsRedirect() bool
- func (o *ListChannelsForbidden) IsServerError() bool
- func (o *ListChannelsForbidden) IsSuccess() bool
- func (o *ListChannelsForbidden) String() string
- type ListChannelsForbiddenBody
- func (o *ListChannelsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *ListChannelsForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *ListChannelsForbiddenBody) Validate(formats strfmt.Registry) error
- type ListChannelsForbiddenBodyErrorsItems0
- func (o *ListChannelsForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListChannelsForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListChannelsForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListChannelsForbiddenBodyErrorsItems0Links
- func (o *ListChannelsForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListChannelsForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListChannelsForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListChannelsForbiddenBodyErrorsItems0Source
- func (o *ListChannelsForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListChannelsForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListChannelsForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListChannelsForbiddenBodyJsonapi
- func (o *ListChannelsForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListChannelsForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListChannelsForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListChannelsInternalServerError
- func (o *ListChannelsInternalServerError) Code() int
- func (o *ListChannelsInternalServerError) Error() string
- func (o *ListChannelsInternalServerError) GetPayload() *ListChannelsInternalServerErrorBody
- func (o *ListChannelsInternalServerError) IsClientError() bool
- func (o *ListChannelsInternalServerError) IsCode(code int) bool
- func (o *ListChannelsInternalServerError) IsRedirect() bool
- func (o *ListChannelsInternalServerError) IsServerError() bool
- func (o *ListChannelsInternalServerError) IsSuccess() bool
- func (o *ListChannelsInternalServerError) String() string
- type ListChannelsInternalServerErrorBody
- func (o *ListChannelsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ListChannelsInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ListChannelsInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ListChannelsInternalServerErrorBodyErrorsItems0
- func (o *ListChannelsInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListChannelsInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListChannelsInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListChannelsInternalServerErrorBodyErrorsItems0Links
- func (o *ListChannelsInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListChannelsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListChannelsInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListChannelsInternalServerErrorBodyErrorsItems0Source
- func (o *ListChannelsInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListChannelsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListChannelsInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListChannelsInternalServerErrorBodyJsonapi
- func (o *ListChannelsInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListChannelsInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListChannelsInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListChannelsNotFound
- func (o *ListChannelsNotFound) Code() int
- func (o *ListChannelsNotFound) Error() string
- func (o *ListChannelsNotFound) GetPayload() *ListChannelsNotFoundBody
- func (o *ListChannelsNotFound) IsClientError() bool
- func (o *ListChannelsNotFound) IsCode(code int) bool
- func (o *ListChannelsNotFound) IsRedirect() bool
- func (o *ListChannelsNotFound) IsServerError() bool
- func (o *ListChannelsNotFound) IsSuccess() bool
- func (o *ListChannelsNotFound) String() string
- type ListChannelsNotFoundBody
- func (o *ListChannelsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ListChannelsNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ListChannelsNotFoundBody) Validate(formats strfmt.Registry) error
- type ListChannelsNotFoundBodyErrorsItems0
- func (o *ListChannelsNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListChannelsNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListChannelsNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListChannelsNotFoundBodyErrorsItems0Links
- func (o *ListChannelsNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListChannelsNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListChannelsNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListChannelsNotFoundBodyErrorsItems0Source
- func (o *ListChannelsNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListChannelsNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListChannelsNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListChannelsNotFoundBodyJsonapi
- func (o *ListChannelsNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListChannelsNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListChannelsNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListChannelsOK
- func (o *ListChannelsOK) Code() int
- func (o *ListChannelsOK) Error() string
- func (o *ListChannelsOK) GetPayload() *ListChannelsOKBody
- func (o *ListChannelsOK) IsClientError() bool
- func (o *ListChannelsOK) IsCode(code int) bool
- func (o *ListChannelsOK) IsRedirect() bool
- func (o *ListChannelsOK) IsServerError() bool
- func (o *ListChannelsOK) IsSuccess() bool
- func (o *ListChannelsOK) String() string
- type ListChannelsOKBody
- type ListChannelsParams
- func (o *ListChannelsParams) SetContext(ctx context.Context)
- func (o *ListChannelsParams) SetDefaults()
- func (o *ListChannelsParams) SetEndingBefore(endingBefore *string)
- func (o *ListChannelsParams) SetHTTPClient(client *http.Client)
- func (o *ListChannelsParams) SetLimit(limit *int32)
- func (o *ListChannelsParams) SetOrgID(orgID strfmt.UUID)
- func (o *ListChannelsParams) SetStartingAfter(startingAfter *string)
- func (o *ListChannelsParams) SetTenantID(tenantID strfmt.UUID)
- func (o *ListChannelsParams) SetTimeout(timeout time.Duration)
- func (o *ListChannelsParams) SetVersion(version string)
- func (o *ListChannelsParams) WithContext(ctx context.Context) *ListChannelsParams
- func (o *ListChannelsParams) WithDefaults() *ListChannelsParams
- func (o *ListChannelsParams) WithEndingBefore(endingBefore *string) *ListChannelsParams
- func (o *ListChannelsParams) WithHTTPClient(client *http.Client) *ListChannelsParams
- func (o *ListChannelsParams) WithLimit(limit *int32) *ListChannelsParams
- func (o *ListChannelsParams) WithOrgID(orgID strfmt.UUID) *ListChannelsParams
- func (o *ListChannelsParams) WithStartingAfter(startingAfter *string) *ListChannelsParams
- func (o *ListChannelsParams) WithTenantID(tenantID strfmt.UUID) *ListChannelsParams
- func (o *ListChannelsParams) WithTimeout(timeout time.Duration) *ListChannelsParams
- func (o *ListChannelsParams) WithVersion(version string) *ListChannelsParams
- func (o *ListChannelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListChannelsReader
- type ListChannelsUnauthorized
- func (o *ListChannelsUnauthorized) Code() int
- func (o *ListChannelsUnauthorized) Error() string
- func (o *ListChannelsUnauthorized) GetPayload() *ListChannelsUnauthorizedBody
- func (o *ListChannelsUnauthorized) IsClientError() bool
- func (o *ListChannelsUnauthorized) IsCode(code int) bool
- func (o *ListChannelsUnauthorized) IsRedirect() bool
- func (o *ListChannelsUnauthorized) IsServerError() bool
- func (o *ListChannelsUnauthorized) IsSuccess() bool
- func (o *ListChannelsUnauthorized) String() string
- type ListChannelsUnauthorizedBody
- func (o *ListChannelsUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *ListChannelsUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *ListChannelsUnauthorizedBody) Validate(formats strfmt.Registry) error
- type ListChannelsUnauthorizedBodyErrorsItems0
- func (o *ListChannelsUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListChannelsUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListChannelsUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListChannelsUnauthorizedBodyErrorsItems0Links
- func (o *ListChannelsUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListChannelsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListChannelsUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListChannelsUnauthorizedBodyErrorsItems0Source
- func (o *ListChannelsUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListChannelsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListChannelsUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListChannelsUnauthorizedBodyJsonapi
- func (o *ListChannelsUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListChannelsUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListChannelsUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListChannelsUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for slack API
func (*Client) GetChannelNameByID ¶
func (a *Client) GetChannelNameByID(params *GetChannelNameByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetChannelNameByIDOK, error)
GetChannelNameByID gets slack channel name by slack channel ID
Requires the Snyk Slack App to be set up for this org. It will return the Slack channel name for the provided Slack channel ID.
func (*Client) ListChannels ¶
func (a *Client) ListChannels(params *ListChannelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListChannelsOK, error)
ListChannels gets a list of slack channels
Requires the Snyk Slack App to be set up for this org, will retrieve a list of channels the Snyk Slack App can access. Note that it is currently only possible to page forwards through this collection, no prev links will be generated and the ending_before parameter will not function.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetChannelNameByID(params *GetChannelNameByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetChannelNameByIDOK, error) ListChannels(params *ListChannelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListChannelsOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new slack API client.
type GetChannelNameByIDBadRequest ¶
type GetChannelNameByIDBadRequest struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetChannelNameByIDBadRequestBody }
GetChannelNameByIDBadRequest describes a response with status code 400, with default header values.
Bad Request: A parameter provided as a part of the request was invalid.
func NewGetChannelNameByIDBadRequest ¶
func NewGetChannelNameByIDBadRequest() *GetChannelNameByIDBadRequest
NewGetChannelNameByIDBadRequest creates a GetChannelNameByIDBadRequest with default headers values
func (*GetChannelNameByIDBadRequest) Code ¶
func (o *GetChannelNameByIDBadRequest) Code() int
Code gets the status code for the get channel name by Id bad request response
func (*GetChannelNameByIDBadRequest) Error ¶
func (o *GetChannelNameByIDBadRequest) Error() string
func (*GetChannelNameByIDBadRequest) GetPayload ¶
func (o *GetChannelNameByIDBadRequest) GetPayload() *GetChannelNameByIDBadRequestBody
func (*GetChannelNameByIDBadRequest) IsClientError ¶
func (o *GetChannelNameByIDBadRequest) IsClientError() bool
IsClientError returns true when this get channel name by Id bad request response has a 4xx status code
func (*GetChannelNameByIDBadRequest) IsCode ¶
func (o *GetChannelNameByIDBadRequest) IsCode(code int) bool
IsCode returns true when this get channel name by Id bad request response a status code equal to that given
func (*GetChannelNameByIDBadRequest) IsRedirect ¶
func (o *GetChannelNameByIDBadRequest) IsRedirect() bool
IsRedirect returns true when this get channel name by Id bad request response has a 3xx status code
func (*GetChannelNameByIDBadRequest) IsServerError ¶
func (o *GetChannelNameByIDBadRequest) IsServerError() bool
IsServerError returns true when this get channel name by Id bad request response has a 5xx status code
func (*GetChannelNameByIDBadRequest) IsSuccess ¶
func (o *GetChannelNameByIDBadRequest) IsSuccess() bool
IsSuccess returns true when this get channel name by Id bad request response has a 2xx status code
func (*GetChannelNameByIDBadRequest) String ¶
func (o *GetChannelNameByIDBadRequest) String() string
type GetChannelNameByIDBadRequestBody ¶
type GetChannelNameByIDBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetChannelNameByIDBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetChannelNameByIDBadRequestBodyJsonapi `json:"jsonapi"` }
GetChannelNameByIDBadRequestBody get channel name by ID bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetChannelNameByIDBadRequestBody
func (*GetChannelNameByIDBadRequestBody) ContextValidate ¶
func (o *GetChannelNameByIDBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get channel name by ID bad request body based on the context it is used
func (*GetChannelNameByIDBadRequestBody) MarshalBinary ¶
func (o *GetChannelNameByIDBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDBadRequestBody) UnmarshalBinary ¶
func (o *GetChannelNameByIDBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDBadRequestBodyErrorsItems0 ¶
type GetChannelNameByIDBadRequestBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetChannelNameByIDBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetChannelNameByIDBadRequestBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetChannelNameByIDBadRequestBodyErrorsItems0 get channel name by ID bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetChannelNameByIDBadRequestBodyErrorsItems0
func (*GetChannelNameByIDBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *GetChannelNameByIDBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get channel name by ID bad request body errors items0 based on the context it is used
func (*GetChannelNameByIDBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *GetChannelNameByIDBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetChannelNameByIDBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDBadRequestBodyErrorsItems0Links ¶
type GetChannelNameByIDBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetChannelNameByIDBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetChannelNameByIDBadRequestBodyErrorsItems0Links
func (*GetChannelNameByIDBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *GetChannelNameByIDBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID bad request body errors items0 links based on context it is used
func (*GetChannelNameByIDBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetChannelNameByIDBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetChannelNameByIDBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDBadRequestBodyErrorsItems0Source ¶
type GetChannelNameByIDBadRequestBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetChannelNameByIDBadRequestBodyErrorsItems0Source get channel name by ID bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetChannelNameByIDBadRequestBodyErrorsItems0Source
func (*GetChannelNameByIDBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *GetChannelNameByIDBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID bad request body errors items0 source based on context it is used
func (*GetChannelNameByIDBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetChannelNameByIDBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetChannelNameByIDBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDBadRequestBodyJsonapi ¶
type GetChannelNameByIDBadRequestBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetChannelNameByIDBadRequestBodyJsonapi get channel name by ID bad request body jsonapi // Example: {"version":"1.0"} swagger:model GetChannelNameByIDBadRequestBodyJsonapi
func (*GetChannelNameByIDBadRequestBodyJsonapi) ContextValidate ¶
func (o *GetChannelNameByIDBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID bad request body jsonapi based on context it is used
func (*GetChannelNameByIDBadRequestBodyJsonapi) MarshalBinary ¶
func (o *GetChannelNameByIDBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *GetChannelNameByIDBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDConflict ¶
type GetChannelNameByIDConflict struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetChannelNameByIDConflictBody }
GetChannelNameByIDConflict describes a response with status code 409, with default header values.
Conflict: The requested operation conflicts with the current state of the resource in some way.
func NewGetChannelNameByIDConflict ¶
func NewGetChannelNameByIDConflict() *GetChannelNameByIDConflict
NewGetChannelNameByIDConflict creates a GetChannelNameByIDConflict with default headers values
func (*GetChannelNameByIDConflict) Code ¶
func (o *GetChannelNameByIDConflict) Code() int
Code gets the status code for the get channel name by Id conflict response
func (*GetChannelNameByIDConflict) Error ¶
func (o *GetChannelNameByIDConflict) Error() string
func (*GetChannelNameByIDConflict) GetPayload ¶
func (o *GetChannelNameByIDConflict) GetPayload() *GetChannelNameByIDConflictBody
func (*GetChannelNameByIDConflict) IsClientError ¶
func (o *GetChannelNameByIDConflict) IsClientError() bool
IsClientError returns true when this get channel name by Id conflict response has a 4xx status code
func (*GetChannelNameByIDConflict) IsCode ¶
func (o *GetChannelNameByIDConflict) IsCode(code int) bool
IsCode returns true when this get channel name by Id conflict response a status code equal to that given
func (*GetChannelNameByIDConflict) IsRedirect ¶
func (o *GetChannelNameByIDConflict) IsRedirect() bool
IsRedirect returns true when this get channel name by Id conflict response has a 3xx status code
func (*GetChannelNameByIDConflict) IsServerError ¶
func (o *GetChannelNameByIDConflict) IsServerError() bool
IsServerError returns true when this get channel name by Id conflict response has a 5xx status code
func (*GetChannelNameByIDConflict) IsSuccess ¶
func (o *GetChannelNameByIDConflict) IsSuccess() bool
IsSuccess returns true when this get channel name by Id conflict response has a 2xx status code
func (*GetChannelNameByIDConflict) String ¶
func (o *GetChannelNameByIDConflict) String() string
type GetChannelNameByIDConflictBody ¶
type GetChannelNameByIDConflictBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetChannelNameByIDConflictBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetChannelNameByIDConflictBodyJsonapi `json:"jsonapi"` }
GetChannelNameByIDConflictBody get channel name by ID conflict body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetChannelNameByIDConflictBody
func (*GetChannelNameByIDConflictBody) ContextValidate ¶
func (o *GetChannelNameByIDConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get channel name by ID conflict body based on the context it is used
func (*GetChannelNameByIDConflictBody) MarshalBinary ¶
func (o *GetChannelNameByIDConflictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDConflictBody) UnmarshalBinary ¶
func (o *GetChannelNameByIDConflictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDConflictBodyErrorsItems0 ¶
type GetChannelNameByIDConflictBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetChannelNameByIDConflictBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetChannelNameByIDConflictBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetChannelNameByIDConflictBodyErrorsItems0 get channel name by ID conflict body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetChannelNameByIDConflictBodyErrorsItems0
func (*GetChannelNameByIDConflictBodyErrorsItems0) ContextValidate ¶
func (o *GetChannelNameByIDConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get channel name by ID conflict body errors items0 based on the context it is used
func (*GetChannelNameByIDConflictBodyErrorsItems0) MarshalBinary ¶
func (o *GetChannelNameByIDConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDConflictBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetChannelNameByIDConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDConflictBodyErrorsItems0Links ¶
type GetChannelNameByIDConflictBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetChannelNameByIDConflictBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetChannelNameByIDConflictBodyErrorsItems0Links
func (*GetChannelNameByIDConflictBodyErrorsItems0Links) ContextValidate ¶
func (o *GetChannelNameByIDConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID conflict body errors items0 links based on context it is used
func (*GetChannelNameByIDConflictBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetChannelNameByIDConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDConflictBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetChannelNameByIDConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDConflictBodyErrorsItems0Source ¶
type GetChannelNameByIDConflictBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetChannelNameByIDConflictBodyErrorsItems0Source get channel name by ID conflict body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetChannelNameByIDConflictBodyErrorsItems0Source
func (*GetChannelNameByIDConflictBodyErrorsItems0Source) ContextValidate ¶
func (o *GetChannelNameByIDConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID conflict body errors items0 source based on context it is used
func (*GetChannelNameByIDConflictBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetChannelNameByIDConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDConflictBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetChannelNameByIDConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDConflictBodyJsonapi ¶
type GetChannelNameByIDConflictBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetChannelNameByIDConflictBodyJsonapi get channel name by ID conflict body jsonapi // Example: {"version":"1.0"} swagger:model GetChannelNameByIDConflictBodyJsonapi
func (*GetChannelNameByIDConflictBodyJsonapi) ContextValidate ¶
func (o *GetChannelNameByIDConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID conflict body jsonapi based on context it is used
func (*GetChannelNameByIDConflictBodyJsonapi) MarshalBinary ¶
func (o *GetChannelNameByIDConflictBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDConflictBodyJsonapi) UnmarshalBinary ¶
func (o *GetChannelNameByIDConflictBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDForbidden ¶
type GetChannelNameByIDForbidden struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetChannelNameByIDForbiddenBody }
GetChannelNameByIDForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewGetChannelNameByIDForbidden ¶
func NewGetChannelNameByIDForbidden() *GetChannelNameByIDForbidden
NewGetChannelNameByIDForbidden creates a GetChannelNameByIDForbidden with default headers values
func (*GetChannelNameByIDForbidden) Code ¶
func (o *GetChannelNameByIDForbidden) Code() int
Code gets the status code for the get channel name by Id forbidden response
func (*GetChannelNameByIDForbidden) Error ¶
func (o *GetChannelNameByIDForbidden) Error() string
func (*GetChannelNameByIDForbidden) GetPayload ¶
func (o *GetChannelNameByIDForbidden) GetPayload() *GetChannelNameByIDForbiddenBody
func (*GetChannelNameByIDForbidden) IsClientError ¶
func (o *GetChannelNameByIDForbidden) IsClientError() bool
IsClientError returns true when this get channel name by Id forbidden response has a 4xx status code
func (*GetChannelNameByIDForbidden) IsCode ¶
func (o *GetChannelNameByIDForbidden) IsCode(code int) bool
IsCode returns true when this get channel name by Id forbidden response a status code equal to that given
func (*GetChannelNameByIDForbidden) IsRedirect ¶
func (o *GetChannelNameByIDForbidden) IsRedirect() bool
IsRedirect returns true when this get channel name by Id forbidden response has a 3xx status code
func (*GetChannelNameByIDForbidden) IsServerError ¶
func (o *GetChannelNameByIDForbidden) IsServerError() bool
IsServerError returns true when this get channel name by Id forbidden response has a 5xx status code
func (*GetChannelNameByIDForbidden) IsSuccess ¶
func (o *GetChannelNameByIDForbidden) IsSuccess() bool
IsSuccess returns true when this get channel name by Id forbidden response has a 2xx status code
func (*GetChannelNameByIDForbidden) String ¶
func (o *GetChannelNameByIDForbidden) String() string
type GetChannelNameByIDForbiddenBody ¶
type GetChannelNameByIDForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetChannelNameByIDForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetChannelNameByIDForbiddenBodyJsonapi `json:"jsonapi"` }
GetChannelNameByIDForbiddenBody get channel name by ID forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetChannelNameByIDForbiddenBody
func (*GetChannelNameByIDForbiddenBody) ContextValidate ¶
func (o *GetChannelNameByIDForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get channel name by ID forbidden body based on the context it is used
func (*GetChannelNameByIDForbiddenBody) MarshalBinary ¶
func (o *GetChannelNameByIDForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDForbiddenBody) UnmarshalBinary ¶
func (o *GetChannelNameByIDForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDForbiddenBodyErrorsItems0 ¶
type GetChannelNameByIDForbiddenBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetChannelNameByIDForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetChannelNameByIDForbiddenBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetChannelNameByIDForbiddenBodyErrorsItems0 get channel name by ID forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetChannelNameByIDForbiddenBodyErrorsItems0
func (*GetChannelNameByIDForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *GetChannelNameByIDForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get channel name by ID forbidden body errors items0 based on the context it is used
func (*GetChannelNameByIDForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *GetChannelNameByIDForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetChannelNameByIDForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDForbiddenBodyErrorsItems0Links ¶
type GetChannelNameByIDForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetChannelNameByIDForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetChannelNameByIDForbiddenBodyErrorsItems0Links
func (*GetChannelNameByIDForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *GetChannelNameByIDForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID forbidden body errors items0 links based on context it is used
func (*GetChannelNameByIDForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetChannelNameByIDForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetChannelNameByIDForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDForbiddenBodyErrorsItems0Source ¶
type GetChannelNameByIDForbiddenBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetChannelNameByIDForbiddenBodyErrorsItems0Source get channel name by ID forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetChannelNameByIDForbiddenBodyErrorsItems0Source
func (*GetChannelNameByIDForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *GetChannelNameByIDForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID forbidden body errors items0 source based on context it is used
func (*GetChannelNameByIDForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetChannelNameByIDForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetChannelNameByIDForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDForbiddenBodyJsonapi ¶
type GetChannelNameByIDForbiddenBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetChannelNameByIDForbiddenBodyJsonapi get channel name by ID forbidden body jsonapi // Example: {"version":"1.0"} swagger:model GetChannelNameByIDForbiddenBodyJsonapi
func (*GetChannelNameByIDForbiddenBodyJsonapi) ContextValidate ¶
func (o *GetChannelNameByIDForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID forbidden body jsonapi based on context it is used
func (*GetChannelNameByIDForbiddenBodyJsonapi) MarshalBinary ¶
func (o *GetChannelNameByIDForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *GetChannelNameByIDForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDInternalServerError ¶
type GetChannelNameByIDInternalServerError struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetChannelNameByIDInternalServerErrorBody }
GetChannelNameByIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error: An error was encountered while attempting to process the request.
func NewGetChannelNameByIDInternalServerError ¶
func NewGetChannelNameByIDInternalServerError() *GetChannelNameByIDInternalServerError
NewGetChannelNameByIDInternalServerError creates a GetChannelNameByIDInternalServerError with default headers values
func (*GetChannelNameByIDInternalServerError) Code ¶
func (o *GetChannelNameByIDInternalServerError) Code() int
Code gets the status code for the get channel name by Id internal server error response
func (*GetChannelNameByIDInternalServerError) Error ¶
func (o *GetChannelNameByIDInternalServerError) Error() string
func (*GetChannelNameByIDInternalServerError) GetPayload ¶
func (o *GetChannelNameByIDInternalServerError) GetPayload() *GetChannelNameByIDInternalServerErrorBody
func (*GetChannelNameByIDInternalServerError) IsClientError ¶
func (o *GetChannelNameByIDInternalServerError) IsClientError() bool
IsClientError returns true when this get channel name by Id internal server error response has a 4xx status code
func (*GetChannelNameByIDInternalServerError) IsCode ¶
func (o *GetChannelNameByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get channel name by Id internal server error response a status code equal to that given
func (*GetChannelNameByIDInternalServerError) IsRedirect ¶
func (o *GetChannelNameByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get channel name by Id internal server error response has a 3xx status code
func (*GetChannelNameByIDInternalServerError) IsServerError ¶
func (o *GetChannelNameByIDInternalServerError) IsServerError() bool
IsServerError returns true when this get channel name by Id internal server error response has a 5xx status code
func (*GetChannelNameByIDInternalServerError) IsSuccess ¶
func (o *GetChannelNameByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get channel name by Id internal server error response has a 2xx status code
func (*GetChannelNameByIDInternalServerError) String ¶
func (o *GetChannelNameByIDInternalServerError) String() string
type GetChannelNameByIDInternalServerErrorBody ¶
type GetChannelNameByIDInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetChannelNameByIDInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetChannelNameByIDInternalServerErrorBodyJsonapi `json:"jsonapi"` }
GetChannelNameByIDInternalServerErrorBody get channel name by ID internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetChannelNameByIDInternalServerErrorBody
func (*GetChannelNameByIDInternalServerErrorBody) ContextValidate ¶
func (o *GetChannelNameByIDInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get channel name by ID internal server error body based on the context it is used
func (*GetChannelNameByIDInternalServerErrorBody) MarshalBinary ¶
func (o *GetChannelNameByIDInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDInternalServerErrorBody) UnmarshalBinary ¶
func (o *GetChannelNameByIDInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDInternalServerErrorBodyErrorsItems0 ¶
type GetChannelNameByIDInternalServerErrorBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetChannelNameByIDInternalServerErrorBodyErrorsItems0 get channel name by ID internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetChannelNameByIDInternalServerErrorBodyErrorsItems0
func (*GetChannelNameByIDInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get channel name by ID internal server error body errors items0 based on the context it is used
func (*GetChannelNameByIDInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links ¶
type GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links
func (*GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID internal server error body errors items0 links based on context it is used
func (*GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source ¶
type GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source get channel name by ID internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source
func (*GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID internal server error body errors items0 source based on context it is used
func (*GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetChannelNameByIDInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDInternalServerErrorBodyJsonapi ¶
type GetChannelNameByIDInternalServerErrorBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetChannelNameByIDInternalServerErrorBodyJsonapi get channel name by ID internal server error body jsonapi // Example: {"version":"1.0"} swagger:model GetChannelNameByIDInternalServerErrorBodyJsonapi
func (*GetChannelNameByIDInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *GetChannelNameByIDInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID internal server error body jsonapi based on context it is used
func (*GetChannelNameByIDInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *GetChannelNameByIDInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *GetChannelNameByIDInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDNotFound ¶
type GetChannelNameByIDNotFound struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetChannelNameByIDNotFoundBody }
GetChannelNameByIDNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewGetChannelNameByIDNotFound ¶
func NewGetChannelNameByIDNotFound() *GetChannelNameByIDNotFound
NewGetChannelNameByIDNotFound creates a GetChannelNameByIDNotFound with default headers values
func (*GetChannelNameByIDNotFound) Code ¶
func (o *GetChannelNameByIDNotFound) Code() int
Code gets the status code for the get channel name by Id not found response
func (*GetChannelNameByIDNotFound) Error ¶
func (o *GetChannelNameByIDNotFound) Error() string
func (*GetChannelNameByIDNotFound) GetPayload ¶
func (o *GetChannelNameByIDNotFound) GetPayload() *GetChannelNameByIDNotFoundBody
func (*GetChannelNameByIDNotFound) IsClientError ¶
func (o *GetChannelNameByIDNotFound) IsClientError() bool
IsClientError returns true when this get channel name by Id not found response has a 4xx status code
func (*GetChannelNameByIDNotFound) IsCode ¶
func (o *GetChannelNameByIDNotFound) IsCode(code int) bool
IsCode returns true when this get channel name by Id not found response a status code equal to that given
func (*GetChannelNameByIDNotFound) IsRedirect ¶
func (o *GetChannelNameByIDNotFound) IsRedirect() bool
IsRedirect returns true when this get channel name by Id not found response has a 3xx status code
func (*GetChannelNameByIDNotFound) IsServerError ¶
func (o *GetChannelNameByIDNotFound) IsServerError() bool
IsServerError returns true when this get channel name by Id not found response has a 5xx status code
func (*GetChannelNameByIDNotFound) IsSuccess ¶
func (o *GetChannelNameByIDNotFound) IsSuccess() bool
IsSuccess returns true when this get channel name by Id not found response has a 2xx status code
func (*GetChannelNameByIDNotFound) String ¶
func (o *GetChannelNameByIDNotFound) String() string
type GetChannelNameByIDNotFoundBody ¶
type GetChannelNameByIDNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetChannelNameByIDNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetChannelNameByIDNotFoundBodyJsonapi `json:"jsonapi"` }
GetChannelNameByIDNotFoundBody get channel name by ID not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetChannelNameByIDNotFoundBody
func (*GetChannelNameByIDNotFoundBody) ContextValidate ¶
func (o *GetChannelNameByIDNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get channel name by ID not found body based on the context it is used
func (*GetChannelNameByIDNotFoundBody) MarshalBinary ¶
func (o *GetChannelNameByIDNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDNotFoundBody) UnmarshalBinary ¶
func (o *GetChannelNameByIDNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDNotFoundBodyErrorsItems0 ¶
type GetChannelNameByIDNotFoundBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetChannelNameByIDNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetChannelNameByIDNotFoundBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetChannelNameByIDNotFoundBodyErrorsItems0 get channel name by ID not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetChannelNameByIDNotFoundBodyErrorsItems0
func (*GetChannelNameByIDNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *GetChannelNameByIDNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get channel name by ID not found body errors items0 based on the context it is used
func (*GetChannelNameByIDNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *GetChannelNameByIDNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetChannelNameByIDNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDNotFoundBodyErrorsItems0Links ¶
type GetChannelNameByIDNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetChannelNameByIDNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetChannelNameByIDNotFoundBodyErrorsItems0Links
func (*GetChannelNameByIDNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *GetChannelNameByIDNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID not found body errors items0 links based on context it is used
func (*GetChannelNameByIDNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetChannelNameByIDNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetChannelNameByIDNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDNotFoundBodyErrorsItems0Source ¶
type GetChannelNameByIDNotFoundBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetChannelNameByIDNotFoundBodyErrorsItems0Source get channel name by ID not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetChannelNameByIDNotFoundBodyErrorsItems0Source
func (*GetChannelNameByIDNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *GetChannelNameByIDNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID not found body errors items0 source based on context it is used
func (*GetChannelNameByIDNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetChannelNameByIDNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetChannelNameByIDNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDNotFoundBodyJsonapi ¶
type GetChannelNameByIDNotFoundBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetChannelNameByIDNotFoundBodyJsonapi get channel name by ID not found body jsonapi // Example: {"version":"1.0"} swagger:model GetChannelNameByIDNotFoundBodyJsonapi
func (*GetChannelNameByIDNotFoundBodyJsonapi) ContextValidate ¶
func (o *GetChannelNameByIDNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID not found body jsonapi based on context it is used
func (*GetChannelNameByIDNotFoundBodyJsonapi) MarshalBinary ¶
func (o *GetChannelNameByIDNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *GetChannelNameByIDNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDOK ¶
type GetChannelNameByIDOK struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetChannelNameByIDOKBody }
GetChannelNameByIDOK describes a response with status code 200, with default header values.
List of Slack channels
func NewGetChannelNameByIDOK ¶
func NewGetChannelNameByIDOK() *GetChannelNameByIDOK
NewGetChannelNameByIDOK creates a GetChannelNameByIDOK with default headers values
func (*GetChannelNameByIDOK) Code ¶
func (o *GetChannelNameByIDOK) Code() int
Code gets the status code for the get channel name by Id o k response
func (*GetChannelNameByIDOK) Error ¶
func (o *GetChannelNameByIDOK) Error() string
func (*GetChannelNameByIDOK) GetPayload ¶
func (o *GetChannelNameByIDOK) GetPayload() *GetChannelNameByIDOKBody
func (*GetChannelNameByIDOK) IsClientError ¶
func (o *GetChannelNameByIDOK) IsClientError() bool
IsClientError returns true when this get channel name by Id o k response has a 4xx status code
func (*GetChannelNameByIDOK) IsCode ¶
func (o *GetChannelNameByIDOK) IsCode(code int) bool
IsCode returns true when this get channel name by Id o k response a status code equal to that given
func (*GetChannelNameByIDOK) IsRedirect ¶
func (o *GetChannelNameByIDOK) IsRedirect() bool
IsRedirect returns true when this get channel name by Id o k response has a 3xx status code
func (*GetChannelNameByIDOK) IsServerError ¶
func (o *GetChannelNameByIDOK) IsServerError() bool
IsServerError returns true when this get channel name by Id o k response has a 5xx status code
func (*GetChannelNameByIDOK) IsSuccess ¶
func (o *GetChannelNameByIDOK) IsSuccess() bool
IsSuccess returns true when this get channel name by Id o k response has a 2xx status code
func (*GetChannelNameByIDOK) String ¶
func (o *GetChannelNameByIDOK) String() string
type GetChannelNameByIDOKBody ¶
type GetChannelNameByIDOKBody struct { // data // Required: true Data *models.SlackChannel `json:"data"` // jsonapi // Required: true Jsonapi *models.JSONAPI `json:"jsonapi"` // links // Required: true Links *models.SelfLink `json:"links"` }
GetChannelNameByIDOKBody get channel name by ID o k body swagger:model GetChannelNameByIDOKBody
func (*GetChannelNameByIDOKBody) ContextValidate ¶
func (o *GetChannelNameByIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get channel name by ID o k body based on the context it is used
func (*GetChannelNameByIDOKBody) MarshalBinary ¶
func (o *GetChannelNameByIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDOKBody) UnmarshalBinary ¶
func (o *GetChannelNameByIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDParams ¶
type GetChannelNameByIDParams struct { /* ChannelID. Slack Channel ID Format: uri */ ChannelID strfmt.URI /* OrgID. Org ID Format: uuid */ OrgID strfmt.UUID /* TenantID. Tenant ID Format: uuid */ TenantID strfmt.UUID /* Version. The requested version of the endpoint to process the request */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetChannelNameByIDParams contains all the parameters to send to the API endpoint
for the get channel name by Id operation. Typically these are written to a http.Request.
func NewGetChannelNameByIDParams ¶
func NewGetChannelNameByIDParams() *GetChannelNameByIDParams
NewGetChannelNameByIDParams creates a new GetChannelNameByIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetChannelNameByIDParamsWithContext ¶
func NewGetChannelNameByIDParamsWithContext(ctx context.Context) *GetChannelNameByIDParams
NewGetChannelNameByIDParamsWithContext creates a new GetChannelNameByIDParams object with the ability to set a context for a request.
func NewGetChannelNameByIDParamsWithHTTPClient ¶
func NewGetChannelNameByIDParamsWithHTTPClient(client *http.Client) *GetChannelNameByIDParams
NewGetChannelNameByIDParamsWithHTTPClient creates a new GetChannelNameByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetChannelNameByIDParamsWithTimeout ¶
func NewGetChannelNameByIDParamsWithTimeout(timeout time.Duration) *GetChannelNameByIDParams
NewGetChannelNameByIDParamsWithTimeout creates a new GetChannelNameByIDParams object with the ability to set a timeout on a request.
func (*GetChannelNameByIDParams) SetChannelID ¶
func (o *GetChannelNameByIDParams) SetChannelID(channelID strfmt.URI)
SetChannelID adds the channelId to the get channel name by Id params
func (*GetChannelNameByIDParams) SetContext ¶
func (o *GetChannelNameByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get channel name by Id params
func (*GetChannelNameByIDParams) SetDefaults ¶
func (o *GetChannelNameByIDParams) SetDefaults()
SetDefaults hydrates default values in the get channel name by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetChannelNameByIDParams) SetHTTPClient ¶
func (o *GetChannelNameByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get channel name by Id params
func (*GetChannelNameByIDParams) SetOrgID ¶
func (o *GetChannelNameByIDParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the get channel name by Id params
func (*GetChannelNameByIDParams) SetTenantID ¶
func (o *GetChannelNameByIDParams) SetTenantID(tenantID strfmt.UUID)
SetTenantID adds the tenantId to the get channel name by Id params
func (*GetChannelNameByIDParams) SetTimeout ¶
func (o *GetChannelNameByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get channel name by Id params
func (*GetChannelNameByIDParams) SetVersion ¶
func (o *GetChannelNameByIDParams) SetVersion(version string)
SetVersion adds the version to the get channel name by Id params
func (*GetChannelNameByIDParams) WithChannelID ¶
func (o *GetChannelNameByIDParams) WithChannelID(channelID strfmt.URI) *GetChannelNameByIDParams
WithChannelID adds the channelID to the get channel name by Id params
func (*GetChannelNameByIDParams) WithContext ¶
func (o *GetChannelNameByIDParams) WithContext(ctx context.Context) *GetChannelNameByIDParams
WithContext adds the context to the get channel name by Id params
func (*GetChannelNameByIDParams) WithDefaults ¶
func (o *GetChannelNameByIDParams) WithDefaults() *GetChannelNameByIDParams
WithDefaults hydrates default values in the get channel name by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetChannelNameByIDParams) WithHTTPClient ¶
func (o *GetChannelNameByIDParams) WithHTTPClient(client *http.Client) *GetChannelNameByIDParams
WithHTTPClient adds the HTTPClient to the get channel name by Id params
func (*GetChannelNameByIDParams) WithOrgID ¶
func (o *GetChannelNameByIDParams) WithOrgID(orgID strfmt.UUID) *GetChannelNameByIDParams
WithOrgID adds the orgID to the get channel name by Id params
func (*GetChannelNameByIDParams) WithTenantID ¶
func (o *GetChannelNameByIDParams) WithTenantID(tenantID strfmt.UUID) *GetChannelNameByIDParams
WithTenantID adds the tenantID to the get channel name by Id params
func (*GetChannelNameByIDParams) WithTimeout ¶
func (o *GetChannelNameByIDParams) WithTimeout(timeout time.Duration) *GetChannelNameByIDParams
WithTimeout adds the timeout to the get channel name by Id params
func (*GetChannelNameByIDParams) WithVersion ¶
func (o *GetChannelNameByIDParams) WithVersion(version string) *GetChannelNameByIDParams
WithVersion adds the version to the get channel name by Id params
func (*GetChannelNameByIDParams) WriteToRequest ¶
func (o *GetChannelNameByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetChannelNameByIDReader ¶
type GetChannelNameByIDReader struct {
// contains filtered or unexported fields
}
GetChannelNameByIDReader is a Reader for the GetChannelNameByID structure.
func (*GetChannelNameByIDReader) ReadResponse ¶
func (o *GetChannelNameByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetChannelNameByIDUnauthorized ¶
type GetChannelNameByIDUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
GetChannelNameByIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewGetChannelNameByIDUnauthorized ¶
func NewGetChannelNameByIDUnauthorized() *GetChannelNameByIDUnauthorized
NewGetChannelNameByIDUnauthorized creates a GetChannelNameByIDUnauthorized with default headers values
func (*GetChannelNameByIDUnauthorized) Code ¶
func (o *GetChannelNameByIDUnauthorized) Code() int
Code gets the status code for the get channel name by Id unauthorized response
func (*GetChannelNameByIDUnauthorized) Error ¶
func (o *GetChannelNameByIDUnauthorized) Error() string
func (*GetChannelNameByIDUnauthorized) GetPayload ¶
func (o *GetChannelNameByIDUnauthorized) GetPayload() *GetChannelNameByIDUnauthorizedBody
func (*GetChannelNameByIDUnauthorized) IsClientError ¶
func (o *GetChannelNameByIDUnauthorized) IsClientError() bool
IsClientError returns true when this get channel name by Id unauthorized response has a 4xx status code
func (*GetChannelNameByIDUnauthorized) IsCode ¶
func (o *GetChannelNameByIDUnauthorized) IsCode(code int) bool
IsCode returns true when this get channel name by Id unauthorized response a status code equal to that given
func (*GetChannelNameByIDUnauthorized) IsRedirect ¶
func (o *GetChannelNameByIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this get channel name by Id unauthorized response has a 3xx status code
func (*GetChannelNameByIDUnauthorized) IsServerError ¶
func (o *GetChannelNameByIDUnauthorized) IsServerError() bool
IsServerError returns true when this get channel name by Id unauthorized response has a 5xx status code
func (*GetChannelNameByIDUnauthorized) IsSuccess ¶
func (o *GetChannelNameByIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this get channel name by Id unauthorized response has a 2xx status code
func (*GetChannelNameByIDUnauthorized) String ¶
func (o *GetChannelNameByIDUnauthorized) String() string
type GetChannelNameByIDUnauthorizedBody ¶
type GetChannelNameByIDUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetChannelNameByIDUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *GetChannelNameByIDUnauthorizedBodyJsonapi `json:"jsonapi"` }
GetChannelNameByIDUnauthorizedBody get channel name by ID unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetChannelNameByIDUnauthorizedBody
func (*GetChannelNameByIDUnauthorizedBody) ContextValidate ¶
func (o *GetChannelNameByIDUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get channel name by ID unauthorized body based on the context it is used
func (*GetChannelNameByIDUnauthorizedBody) MarshalBinary ¶
func (o *GetChannelNameByIDUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDUnauthorizedBody) UnmarshalBinary ¶
func (o *GetChannelNameByIDUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDUnauthorizedBodyErrorsItems0 ¶
type GetChannelNameByIDUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *GetChannelNameByIDUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *GetChannelNameByIDUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
GetChannelNameByIDUnauthorizedBodyErrorsItems0 get channel name by ID unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetChannelNameByIDUnauthorizedBodyErrorsItems0
func (*GetChannelNameByIDUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get channel name by ID unauthorized body errors items0 based on the context it is used
func (*GetChannelNameByIDUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDUnauthorizedBodyErrorsItems0Links ¶
type GetChannelNameByIDUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetChannelNameByIDUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetChannelNameByIDUnauthorizedBodyErrorsItems0Links
func (*GetChannelNameByIDUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID unauthorized body errors items0 links based on context it is used
func (*GetChannelNameByIDUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDUnauthorizedBodyErrorsItems0Source ¶
type GetChannelNameByIDUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetChannelNameByIDUnauthorizedBodyErrorsItems0Source get channel name by ID unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetChannelNameByIDUnauthorizedBodyErrorsItems0Source
func (*GetChannelNameByIDUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID unauthorized body errors items0 source based on context it is used
func (*GetChannelNameByIDUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetChannelNameByIDUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetChannelNameByIDUnauthorizedBodyJsonapi ¶
type GetChannelNameByIDUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetChannelNameByIDUnauthorizedBodyJsonapi get channel name by ID unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model GetChannelNameByIDUnauthorizedBodyJsonapi
func (*GetChannelNameByIDUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *GetChannelNameByIDUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get channel name by ID unauthorized body jsonapi based on context it is used
func (*GetChannelNameByIDUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *GetChannelNameByIDUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetChannelNameByIDUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *GetChannelNameByIDUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsBadRequest ¶
type ListChannelsBadRequest struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *ListChannelsBadRequestBody }
ListChannelsBadRequest describes a response with status code 400, with default header values.
Bad Request: A parameter provided as a part of the request was invalid.
func NewListChannelsBadRequest ¶
func NewListChannelsBadRequest() *ListChannelsBadRequest
NewListChannelsBadRequest creates a ListChannelsBadRequest with default headers values
func (*ListChannelsBadRequest) Code ¶
func (o *ListChannelsBadRequest) Code() int
Code gets the status code for the list channels bad request response
func (*ListChannelsBadRequest) Error ¶
func (o *ListChannelsBadRequest) Error() string
func (*ListChannelsBadRequest) GetPayload ¶
func (o *ListChannelsBadRequest) GetPayload() *ListChannelsBadRequestBody
func (*ListChannelsBadRequest) IsClientError ¶
func (o *ListChannelsBadRequest) IsClientError() bool
IsClientError returns true when this list channels bad request response has a 4xx status code
func (*ListChannelsBadRequest) IsCode ¶
func (o *ListChannelsBadRequest) IsCode(code int) bool
IsCode returns true when this list channels bad request response a status code equal to that given
func (*ListChannelsBadRequest) IsRedirect ¶
func (o *ListChannelsBadRequest) IsRedirect() bool
IsRedirect returns true when this list channels bad request response has a 3xx status code
func (*ListChannelsBadRequest) IsServerError ¶
func (o *ListChannelsBadRequest) IsServerError() bool
IsServerError returns true when this list channels bad request response has a 5xx status code
func (*ListChannelsBadRequest) IsSuccess ¶
func (o *ListChannelsBadRequest) IsSuccess() bool
IsSuccess returns true when this list channels bad request response has a 2xx status code
func (*ListChannelsBadRequest) String ¶
func (o *ListChannelsBadRequest) String() string
type ListChannelsBadRequestBody ¶
type ListChannelsBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListChannelsBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *ListChannelsBadRequestBodyJsonapi `json:"jsonapi"` }
ListChannelsBadRequestBody list channels bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListChannelsBadRequestBody
func (*ListChannelsBadRequestBody) ContextValidate ¶
func (o *ListChannelsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list channels bad request body based on the context it is used
func (*ListChannelsBadRequestBody) MarshalBinary ¶
func (o *ListChannelsBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsBadRequestBody) UnmarshalBinary ¶
func (o *ListChannelsBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsBadRequestBodyErrorsItems0 ¶
type ListChannelsBadRequestBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *ListChannelsBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *ListChannelsBadRequestBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
ListChannelsBadRequestBodyErrorsItems0 list channels bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListChannelsBadRequestBodyErrorsItems0
func (*ListChannelsBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *ListChannelsBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list channels bad request body errors items0 based on the context it is used
func (*ListChannelsBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *ListChannelsBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListChannelsBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsBadRequestBodyErrorsItems0Links ¶
type ListChannelsBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListChannelsBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListChannelsBadRequestBodyErrorsItems0Links
func (*ListChannelsBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *ListChannelsBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels bad request body errors items0 links based on context it is used
func (*ListChannelsBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListChannelsBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListChannelsBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsBadRequestBodyErrorsItems0Source ¶
type ListChannelsBadRequestBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
ListChannelsBadRequestBodyErrorsItems0Source list channels bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListChannelsBadRequestBodyErrorsItems0Source
func (*ListChannelsBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *ListChannelsBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels bad request body errors items0 source based on context it is used
func (*ListChannelsBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListChannelsBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListChannelsBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsBadRequestBodyJsonapi ¶
type ListChannelsBadRequestBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
ListChannelsBadRequestBodyJsonapi list channels bad request body jsonapi // Example: {"version":"1.0"} swagger:model ListChannelsBadRequestBodyJsonapi
func (*ListChannelsBadRequestBodyJsonapi) ContextValidate ¶
func (o *ListChannelsBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels bad request body jsonapi based on context it is used
func (*ListChannelsBadRequestBodyJsonapi) MarshalBinary ¶
func (o *ListChannelsBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *ListChannelsBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsConflict ¶
type ListChannelsConflict struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *ListChannelsConflictBody }
ListChannelsConflict describes a response with status code 409, with default header values.
Conflict: The requested operation conflicts with the current state of the resource in some way.
func NewListChannelsConflict ¶
func NewListChannelsConflict() *ListChannelsConflict
NewListChannelsConflict creates a ListChannelsConflict with default headers values
func (*ListChannelsConflict) Code ¶
func (o *ListChannelsConflict) Code() int
Code gets the status code for the list channels conflict response
func (*ListChannelsConflict) Error ¶
func (o *ListChannelsConflict) Error() string
func (*ListChannelsConflict) GetPayload ¶
func (o *ListChannelsConflict) GetPayload() *ListChannelsConflictBody
func (*ListChannelsConflict) IsClientError ¶
func (o *ListChannelsConflict) IsClientError() bool
IsClientError returns true when this list channels conflict response has a 4xx status code
func (*ListChannelsConflict) IsCode ¶
func (o *ListChannelsConflict) IsCode(code int) bool
IsCode returns true when this list channels conflict response a status code equal to that given
func (*ListChannelsConflict) IsRedirect ¶
func (o *ListChannelsConflict) IsRedirect() bool
IsRedirect returns true when this list channels conflict response has a 3xx status code
func (*ListChannelsConflict) IsServerError ¶
func (o *ListChannelsConflict) IsServerError() bool
IsServerError returns true when this list channels conflict response has a 5xx status code
func (*ListChannelsConflict) IsSuccess ¶
func (o *ListChannelsConflict) IsSuccess() bool
IsSuccess returns true when this list channels conflict response has a 2xx status code
func (*ListChannelsConflict) String ¶
func (o *ListChannelsConflict) String() string
type ListChannelsConflictBody ¶
type ListChannelsConflictBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListChannelsConflictBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *ListChannelsConflictBodyJsonapi `json:"jsonapi"` }
ListChannelsConflictBody list channels conflict body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListChannelsConflictBody
func (*ListChannelsConflictBody) ContextValidate ¶
func (o *ListChannelsConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list channels conflict body based on the context it is used
func (*ListChannelsConflictBody) MarshalBinary ¶
func (o *ListChannelsConflictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsConflictBody) UnmarshalBinary ¶
func (o *ListChannelsConflictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsConflictBodyErrorsItems0 ¶
type ListChannelsConflictBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *ListChannelsConflictBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *ListChannelsConflictBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
ListChannelsConflictBodyErrorsItems0 list channels conflict body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListChannelsConflictBodyErrorsItems0
func (*ListChannelsConflictBodyErrorsItems0) ContextValidate ¶
func (o *ListChannelsConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list channels conflict body errors items0 based on the context it is used
func (*ListChannelsConflictBodyErrorsItems0) MarshalBinary ¶
func (o *ListChannelsConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsConflictBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListChannelsConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsConflictBodyErrorsItems0Links ¶
type ListChannelsConflictBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListChannelsConflictBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListChannelsConflictBodyErrorsItems0Links
func (*ListChannelsConflictBodyErrorsItems0Links) ContextValidate ¶
func (o *ListChannelsConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels conflict body errors items0 links based on context it is used
func (*ListChannelsConflictBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListChannelsConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsConflictBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListChannelsConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsConflictBodyErrorsItems0Source ¶
type ListChannelsConflictBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
ListChannelsConflictBodyErrorsItems0Source list channels conflict body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListChannelsConflictBodyErrorsItems0Source
func (*ListChannelsConflictBodyErrorsItems0Source) ContextValidate ¶
func (o *ListChannelsConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels conflict body errors items0 source based on context it is used
func (*ListChannelsConflictBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListChannelsConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsConflictBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListChannelsConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsConflictBodyJsonapi ¶
type ListChannelsConflictBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
ListChannelsConflictBodyJsonapi list channels conflict body jsonapi // Example: {"version":"1.0"} swagger:model ListChannelsConflictBodyJsonapi
func (*ListChannelsConflictBodyJsonapi) ContextValidate ¶
func (o *ListChannelsConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels conflict body jsonapi based on context it is used
func (*ListChannelsConflictBodyJsonapi) MarshalBinary ¶
func (o *ListChannelsConflictBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsConflictBodyJsonapi) UnmarshalBinary ¶
func (o *ListChannelsConflictBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsForbidden ¶
type ListChannelsForbidden struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *ListChannelsForbiddenBody }
ListChannelsForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewListChannelsForbidden ¶
func NewListChannelsForbidden() *ListChannelsForbidden
NewListChannelsForbidden creates a ListChannelsForbidden with default headers values
func (*ListChannelsForbidden) Code ¶
func (o *ListChannelsForbidden) Code() int
Code gets the status code for the list channels forbidden response
func (*ListChannelsForbidden) Error ¶
func (o *ListChannelsForbidden) Error() string
func (*ListChannelsForbidden) GetPayload ¶
func (o *ListChannelsForbidden) GetPayload() *ListChannelsForbiddenBody
func (*ListChannelsForbidden) IsClientError ¶
func (o *ListChannelsForbidden) IsClientError() bool
IsClientError returns true when this list channels forbidden response has a 4xx status code
func (*ListChannelsForbidden) IsCode ¶
func (o *ListChannelsForbidden) IsCode(code int) bool
IsCode returns true when this list channels forbidden response a status code equal to that given
func (*ListChannelsForbidden) IsRedirect ¶
func (o *ListChannelsForbidden) IsRedirect() bool
IsRedirect returns true when this list channels forbidden response has a 3xx status code
func (*ListChannelsForbidden) IsServerError ¶
func (o *ListChannelsForbidden) IsServerError() bool
IsServerError returns true when this list channels forbidden response has a 5xx status code
func (*ListChannelsForbidden) IsSuccess ¶
func (o *ListChannelsForbidden) IsSuccess() bool
IsSuccess returns true when this list channels forbidden response has a 2xx status code
func (*ListChannelsForbidden) String ¶
func (o *ListChannelsForbidden) String() string
type ListChannelsForbiddenBody ¶
type ListChannelsForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListChannelsForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *ListChannelsForbiddenBodyJsonapi `json:"jsonapi"` }
ListChannelsForbiddenBody list channels forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListChannelsForbiddenBody
func (*ListChannelsForbiddenBody) ContextValidate ¶
func (o *ListChannelsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list channels forbidden body based on the context it is used
func (*ListChannelsForbiddenBody) MarshalBinary ¶
func (o *ListChannelsForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsForbiddenBody) UnmarshalBinary ¶
func (o *ListChannelsForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsForbiddenBodyErrorsItems0 ¶
type ListChannelsForbiddenBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *ListChannelsForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *ListChannelsForbiddenBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
ListChannelsForbiddenBodyErrorsItems0 list channels forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListChannelsForbiddenBodyErrorsItems0
func (*ListChannelsForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *ListChannelsForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list channels forbidden body errors items0 based on the context it is used
func (*ListChannelsForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *ListChannelsForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListChannelsForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsForbiddenBodyErrorsItems0Links ¶
type ListChannelsForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListChannelsForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListChannelsForbiddenBodyErrorsItems0Links
func (*ListChannelsForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *ListChannelsForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels forbidden body errors items0 links based on context it is used
func (*ListChannelsForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListChannelsForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListChannelsForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsForbiddenBodyErrorsItems0Source ¶
type ListChannelsForbiddenBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
ListChannelsForbiddenBodyErrorsItems0Source list channels forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListChannelsForbiddenBodyErrorsItems0Source
func (*ListChannelsForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *ListChannelsForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels forbidden body errors items0 source based on context it is used
func (*ListChannelsForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListChannelsForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListChannelsForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsForbiddenBodyJsonapi ¶
type ListChannelsForbiddenBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
ListChannelsForbiddenBodyJsonapi list channels forbidden body jsonapi // Example: {"version":"1.0"} swagger:model ListChannelsForbiddenBodyJsonapi
func (*ListChannelsForbiddenBodyJsonapi) ContextValidate ¶
func (o *ListChannelsForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels forbidden body jsonapi based on context it is used
func (*ListChannelsForbiddenBodyJsonapi) MarshalBinary ¶
func (o *ListChannelsForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *ListChannelsForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsInternalServerError ¶
type ListChannelsInternalServerError struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *ListChannelsInternalServerErrorBody }
ListChannelsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error: An error was encountered while attempting to process the request.
func NewListChannelsInternalServerError ¶
func NewListChannelsInternalServerError() *ListChannelsInternalServerError
NewListChannelsInternalServerError creates a ListChannelsInternalServerError with default headers values
func (*ListChannelsInternalServerError) Code ¶
func (o *ListChannelsInternalServerError) Code() int
Code gets the status code for the list channels internal server error response
func (*ListChannelsInternalServerError) Error ¶
func (o *ListChannelsInternalServerError) Error() string
func (*ListChannelsInternalServerError) GetPayload ¶
func (o *ListChannelsInternalServerError) GetPayload() *ListChannelsInternalServerErrorBody
func (*ListChannelsInternalServerError) IsClientError ¶
func (o *ListChannelsInternalServerError) IsClientError() bool
IsClientError returns true when this list channels internal server error response has a 4xx status code
func (*ListChannelsInternalServerError) IsCode ¶
func (o *ListChannelsInternalServerError) IsCode(code int) bool
IsCode returns true when this list channels internal server error response a status code equal to that given
func (*ListChannelsInternalServerError) IsRedirect ¶
func (o *ListChannelsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list channels internal server error response has a 3xx status code
func (*ListChannelsInternalServerError) IsServerError ¶
func (o *ListChannelsInternalServerError) IsServerError() bool
IsServerError returns true when this list channels internal server error response has a 5xx status code
func (*ListChannelsInternalServerError) IsSuccess ¶
func (o *ListChannelsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list channels internal server error response has a 2xx status code
func (*ListChannelsInternalServerError) String ¶
func (o *ListChannelsInternalServerError) String() string
type ListChannelsInternalServerErrorBody ¶
type ListChannelsInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListChannelsInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *ListChannelsInternalServerErrorBodyJsonapi `json:"jsonapi"` }
ListChannelsInternalServerErrorBody list channels internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListChannelsInternalServerErrorBody
func (*ListChannelsInternalServerErrorBody) ContextValidate ¶
func (o *ListChannelsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list channels internal server error body based on the context it is used
func (*ListChannelsInternalServerErrorBody) MarshalBinary ¶
func (o *ListChannelsInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsInternalServerErrorBody) UnmarshalBinary ¶
func (o *ListChannelsInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsInternalServerErrorBodyErrorsItems0 ¶
type ListChannelsInternalServerErrorBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *ListChannelsInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *ListChannelsInternalServerErrorBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
ListChannelsInternalServerErrorBodyErrorsItems0 list channels internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListChannelsInternalServerErrorBodyErrorsItems0
func (*ListChannelsInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *ListChannelsInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list channels internal server error body errors items0 based on the context it is used
func (*ListChannelsInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *ListChannelsInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListChannelsInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsInternalServerErrorBodyErrorsItems0Links ¶
type ListChannelsInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListChannelsInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListChannelsInternalServerErrorBodyErrorsItems0Links
func (*ListChannelsInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *ListChannelsInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels internal server error body errors items0 links based on context it is used
func (*ListChannelsInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListChannelsInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListChannelsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsInternalServerErrorBodyErrorsItems0Source ¶
type ListChannelsInternalServerErrorBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
ListChannelsInternalServerErrorBodyErrorsItems0Source list channels internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListChannelsInternalServerErrorBodyErrorsItems0Source
func (*ListChannelsInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *ListChannelsInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels internal server error body errors items0 source based on context it is used
func (*ListChannelsInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListChannelsInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListChannelsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsInternalServerErrorBodyJsonapi ¶
type ListChannelsInternalServerErrorBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
ListChannelsInternalServerErrorBodyJsonapi list channels internal server error body jsonapi // Example: {"version":"1.0"} swagger:model ListChannelsInternalServerErrorBodyJsonapi
func (*ListChannelsInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *ListChannelsInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels internal server error body jsonapi based on context it is used
func (*ListChannelsInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *ListChannelsInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *ListChannelsInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsNotFound ¶
type ListChannelsNotFound struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *ListChannelsNotFoundBody }
ListChannelsNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewListChannelsNotFound ¶
func NewListChannelsNotFound() *ListChannelsNotFound
NewListChannelsNotFound creates a ListChannelsNotFound with default headers values
func (*ListChannelsNotFound) Code ¶
func (o *ListChannelsNotFound) Code() int
Code gets the status code for the list channels not found response
func (*ListChannelsNotFound) Error ¶
func (o *ListChannelsNotFound) Error() string
func (*ListChannelsNotFound) GetPayload ¶
func (o *ListChannelsNotFound) GetPayload() *ListChannelsNotFoundBody
func (*ListChannelsNotFound) IsClientError ¶
func (o *ListChannelsNotFound) IsClientError() bool
IsClientError returns true when this list channels not found response has a 4xx status code
func (*ListChannelsNotFound) IsCode ¶
func (o *ListChannelsNotFound) IsCode(code int) bool
IsCode returns true when this list channels not found response a status code equal to that given
func (*ListChannelsNotFound) IsRedirect ¶
func (o *ListChannelsNotFound) IsRedirect() bool
IsRedirect returns true when this list channels not found response has a 3xx status code
func (*ListChannelsNotFound) IsServerError ¶
func (o *ListChannelsNotFound) IsServerError() bool
IsServerError returns true when this list channels not found response has a 5xx status code
func (*ListChannelsNotFound) IsSuccess ¶
func (o *ListChannelsNotFound) IsSuccess() bool
IsSuccess returns true when this list channels not found response has a 2xx status code
func (*ListChannelsNotFound) String ¶
func (o *ListChannelsNotFound) String() string
type ListChannelsNotFoundBody ¶
type ListChannelsNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListChannelsNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *ListChannelsNotFoundBodyJsonapi `json:"jsonapi"` }
ListChannelsNotFoundBody list channels not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListChannelsNotFoundBody
func (*ListChannelsNotFoundBody) ContextValidate ¶
func (o *ListChannelsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list channels not found body based on the context it is used
func (*ListChannelsNotFoundBody) MarshalBinary ¶
func (o *ListChannelsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsNotFoundBody) UnmarshalBinary ¶
func (o *ListChannelsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsNotFoundBodyErrorsItems0 ¶
type ListChannelsNotFoundBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *ListChannelsNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *ListChannelsNotFoundBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
ListChannelsNotFoundBodyErrorsItems0 list channels not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListChannelsNotFoundBodyErrorsItems0
func (*ListChannelsNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *ListChannelsNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list channels not found body errors items0 based on the context it is used
func (*ListChannelsNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *ListChannelsNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListChannelsNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsNotFoundBodyErrorsItems0Links ¶
type ListChannelsNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListChannelsNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListChannelsNotFoundBodyErrorsItems0Links
func (*ListChannelsNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *ListChannelsNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels not found body errors items0 links based on context it is used
func (*ListChannelsNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListChannelsNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListChannelsNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsNotFoundBodyErrorsItems0Source ¶
type ListChannelsNotFoundBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
ListChannelsNotFoundBodyErrorsItems0Source list channels not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListChannelsNotFoundBodyErrorsItems0Source
func (*ListChannelsNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *ListChannelsNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels not found body errors items0 source based on context it is used
func (*ListChannelsNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListChannelsNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListChannelsNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsNotFoundBodyJsonapi ¶
type ListChannelsNotFoundBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
ListChannelsNotFoundBodyJsonapi list channels not found body jsonapi // Example: {"version":"1.0"} swagger:model ListChannelsNotFoundBodyJsonapi
func (*ListChannelsNotFoundBodyJsonapi) ContextValidate ¶
func (o *ListChannelsNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels not found body jsonapi based on context it is used
func (*ListChannelsNotFoundBodyJsonapi) MarshalBinary ¶
func (o *ListChannelsNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *ListChannelsNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsOK ¶
type ListChannelsOK struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *ListChannelsOKBody }
ListChannelsOK describes a response with status code 200, with default header values.
List of Slack channels
func NewListChannelsOK ¶
func NewListChannelsOK() *ListChannelsOK
NewListChannelsOK creates a ListChannelsOK with default headers values
func (*ListChannelsOK) Code ¶
func (o *ListChannelsOK) Code() int
Code gets the status code for the list channels o k response
func (*ListChannelsOK) Error ¶
func (o *ListChannelsOK) Error() string
func (*ListChannelsOK) GetPayload ¶
func (o *ListChannelsOK) GetPayload() *ListChannelsOKBody
func (*ListChannelsOK) IsClientError ¶
func (o *ListChannelsOK) IsClientError() bool
IsClientError returns true when this list channels o k response has a 4xx status code
func (*ListChannelsOK) IsCode ¶
func (o *ListChannelsOK) IsCode(code int) bool
IsCode returns true when this list channels o k response a status code equal to that given
func (*ListChannelsOK) IsRedirect ¶
func (o *ListChannelsOK) IsRedirect() bool
IsRedirect returns true when this list channels o k response has a 3xx status code
func (*ListChannelsOK) IsServerError ¶
func (o *ListChannelsOK) IsServerError() bool
IsServerError returns true when this list channels o k response has a 5xx status code
func (*ListChannelsOK) IsSuccess ¶
func (o *ListChannelsOK) IsSuccess() bool
IsSuccess returns true when this list channels o k response has a 2xx status code
func (*ListChannelsOK) String ¶
func (o *ListChannelsOK) String() string
type ListChannelsOKBody ¶
type ListChannelsOKBody struct { // data // Required: true Data []*models.SlackChannel `json:"data"` // jsonapi // Required: true Jsonapi *models.JSONAPI `json:"jsonapi"` // links // Required: true Links *models.PaginatedLinks `json:"links"` }
ListChannelsOKBody list channels o k body swagger:model ListChannelsOKBody
func (*ListChannelsOKBody) ContextValidate ¶
ContextValidate validate this list channels o k body based on the context it is used
func (*ListChannelsOKBody) MarshalBinary ¶
func (o *ListChannelsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsOKBody) UnmarshalBinary ¶
func (o *ListChannelsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsParams ¶
type ListChannelsParams struct { /* EndingBefore. Return the page of results immediately before this cursor */ EndingBefore *string /* Limit. Number of results to return per page Format: int32 Default: 1000 */ Limit *int32 /* OrgID. Org ID Format: uuid */ OrgID strfmt.UUID /* StartingAfter. Return the page of results immediately after this cursor */ StartingAfter *string /* TenantID. Tenant ID Format: uuid */ TenantID strfmt.UUID /* Version. The requested version of the endpoint to process the request */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListChannelsParams contains all the parameters to send to the API endpoint
for the list channels operation. Typically these are written to a http.Request.
func NewListChannelsParams ¶
func NewListChannelsParams() *ListChannelsParams
NewListChannelsParams creates a new ListChannelsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListChannelsParamsWithContext ¶
func NewListChannelsParamsWithContext(ctx context.Context) *ListChannelsParams
NewListChannelsParamsWithContext creates a new ListChannelsParams object with the ability to set a context for a request.
func NewListChannelsParamsWithHTTPClient ¶
func NewListChannelsParamsWithHTTPClient(client *http.Client) *ListChannelsParams
NewListChannelsParamsWithHTTPClient creates a new ListChannelsParams object with the ability to set a custom HTTPClient for a request.
func NewListChannelsParamsWithTimeout ¶
func NewListChannelsParamsWithTimeout(timeout time.Duration) *ListChannelsParams
NewListChannelsParamsWithTimeout creates a new ListChannelsParams object with the ability to set a timeout on a request.
func (*ListChannelsParams) SetContext ¶
func (o *ListChannelsParams) SetContext(ctx context.Context)
SetContext adds the context to the list channels params
func (*ListChannelsParams) SetDefaults ¶
func (o *ListChannelsParams) SetDefaults()
SetDefaults hydrates default values in the list channels params (not the query body).
All values with no default are reset to their zero value.
func (*ListChannelsParams) SetEndingBefore ¶
func (o *ListChannelsParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the list channels params
func (*ListChannelsParams) SetHTTPClient ¶
func (o *ListChannelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list channels params
func (*ListChannelsParams) SetLimit ¶
func (o *ListChannelsParams) SetLimit(limit *int32)
SetLimit adds the limit to the list channels params
func (*ListChannelsParams) SetOrgID ¶
func (o *ListChannelsParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the list channels params
func (*ListChannelsParams) SetStartingAfter ¶
func (o *ListChannelsParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the list channels params
func (*ListChannelsParams) SetTenantID ¶
func (o *ListChannelsParams) SetTenantID(tenantID strfmt.UUID)
SetTenantID adds the tenantId to the list channels params
func (*ListChannelsParams) SetTimeout ¶
func (o *ListChannelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list channels params
func (*ListChannelsParams) SetVersion ¶
func (o *ListChannelsParams) SetVersion(version string)
SetVersion adds the version to the list channels params
func (*ListChannelsParams) WithContext ¶
func (o *ListChannelsParams) WithContext(ctx context.Context) *ListChannelsParams
WithContext adds the context to the list channels params
func (*ListChannelsParams) WithDefaults ¶
func (o *ListChannelsParams) WithDefaults() *ListChannelsParams
WithDefaults hydrates default values in the list channels params (not the query body).
All values with no default are reset to their zero value.
func (*ListChannelsParams) WithEndingBefore ¶
func (o *ListChannelsParams) WithEndingBefore(endingBefore *string) *ListChannelsParams
WithEndingBefore adds the endingBefore to the list channels params
func (*ListChannelsParams) WithHTTPClient ¶
func (o *ListChannelsParams) WithHTTPClient(client *http.Client) *ListChannelsParams
WithHTTPClient adds the HTTPClient to the list channels params
func (*ListChannelsParams) WithLimit ¶
func (o *ListChannelsParams) WithLimit(limit *int32) *ListChannelsParams
WithLimit adds the limit to the list channels params
func (*ListChannelsParams) WithOrgID ¶
func (o *ListChannelsParams) WithOrgID(orgID strfmt.UUID) *ListChannelsParams
WithOrgID adds the orgID to the list channels params
func (*ListChannelsParams) WithStartingAfter ¶
func (o *ListChannelsParams) WithStartingAfter(startingAfter *string) *ListChannelsParams
WithStartingAfter adds the startingAfter to the list channels params
func (*ListChannelsParams) WithTenantID ¶
func (o *ListChannelsParams) WithTenantID(tenantID strfmt.UUID) *ListChannelsParams
WithTenantID adds the tenantID to the list channels params
func (*ListChannelsParams) WithTimeout ¶
func (o *ListChannelsParams) WithTimeout(timeout time.Duration) *ListChannelsParams
WithTimeout adds the timeout to the list channels params
func (*ListChannelsParams) WithVersion ¶
func (o *ListChannelsParams) WithVersion(version string) *ListChannelsParams
WithVersion adds the version to the list channels params
func (*ListChannelsParams) WriteToRequest ¶
func (o *ListChannelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListChannelsReader ¶
type ListChannelsReader struct {
// contains filtered or unexported fields
}
ListChannelsReader is a Reader for the ListChannels structure.
func (*ListChannelsReader) ReadResponse ¶
func (o *ListChannelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListChannelsUnauthorized ¶
type ListChannelsUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
ListChannelsUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewListChannelsUnauthorized ¶
func NewListChannelsUnauthorized() *ListChannelsUnauthorized
NewListChannelsUnauthorized creates a ListChannelsUnauthorized with default headers values
func (*ListChannelsUnauthorized) Code ¶
func (o *ListChannelsUnauthorized) Code() int
Code gets the status code for the list channels unauthorized response
func (*ListChannelsUnauthorized) Error ¶
func (o *ListChannelsUnauthorized) Error() string
func (*ListChannelsUnauthorized) GetPayload ¶
func (o *ListChannelsUnauthorized) GetPayload() *ListChannelsUnauthorizedBody
func (*ListChannelsUnauthorized) IsClientError ¶
func (o *ListChannelsUnauthorized) IsClientError() bool
IsClientError returns true when this list channels unauthorized response has a 4xx status code
func (*ListChannelsUnauthorized) IsCode ¶
func (o *ListChannelsUnauthorized) IsCode(code int) bool
IsCode returns true when this list channels unauthorized response a status code equal to that given
func (*ListChannelsUnauthorized) IsRedirect ¶
func (o *ListChannelsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list channels unauthorized response has a 3xx status code
func (*ListChannelsUnauthorized) IsServerError ¶
func (o *ListChannelsUnauthorized) IsServerError() bool
IsServerError returns true when this list channels unauthorized response has a 5xx status code
func (*ListChannelsUnauthorized) IsSuccess ¶
func (o *ListChannelsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list channels unauthorized response has a 2xx status code
func (*ListChannelsUnauthorized) String ¶
func (o *ListChannelsUnauthorized) String() string
type ListChannelsUnauthorizedBody ¶
type ListChannelsUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListChannelsUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *ListChannelsUnauthorizedBodyJsonapi `json:"jsonapi"` }
ListChannelsUnauthorizedBody list channels unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListChannelsUnauthorizedBody
func (*ListChannelsUnauthorizedBody) ContextValidate ¶
func (o *ListChannelsUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list channels unauthorized body based on the context it is used
func (*ListChannelsUnauthorizedBody) MarshalBinary ¶
func (o *ListChannelsUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsUnauthorizedBody) UnmarshalBinary ¶
func (o *ListChannelsUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsUnauthorizedBodyErrorsItems0 ¶
type ListChannelsUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *ListChannelsUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *ListChannelsUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
ListChannelsUnauthorizedBodyErrorsItems0 list channels unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListChannelsUnauthorizedBodyErrorsItems0
func (*ListChannelsUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *ListChannelsUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list channels unauthorized body errors items0 based on the context it is used
func (*ListChannelsUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *ListChannelsUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListChannelsUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsUnauthorizedBodyErrorsItems0Links ¶
type ListChannelsUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListChannelsUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListChannelsUnauthorizedBodyErrorsItems0Links
func (*ListChannelsUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *ListChannelsUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels unauthorized body errors items0 links based on context it is used
func (*ListChannelsUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListChannelsUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListChannelsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsUnauthorizedBodyErrorsItems0Source ¶
type ListChannelsUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
ListChannelsUnauthorizedBodyErrorsItems0Source list channels unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListChannelsUnauthorizedBodyErrorsItems0Source
func (*ListChannelsUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *ListChannelsUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels unauthorized body errors items0 source based on context it is used
func (*ListChannelsUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListChannelsUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListChannelsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListChannelsUnauthorizedBodyJsonapi ¶
type ListChannelsUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
ListChannelsUnauthorizedBodyJsonapi list channels unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model ListChannelsUnauthorizedBodyJsonapi
func (*ListChannelsUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *ListChannelsUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list channels unauthorized body jsonapi based on context it is used
func (*ListChannelsUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *ListChannelsUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListChannelsUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *ListChannelsUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation