Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateContentSourceUsingPOST(params *CreateContentSourceUsingPOSTParams, opts ...ClientOption) (*CreateContentSourceUsingPOSTCreated, error)
- func (a *Client) DeleteContentSourceUsingDELETE(params *DeleteContentSourceUsingDELETEParams, opts ...ClientOption) (*DeleteContentSourceUsingDELETENoContent, error)
- func (a *Client) GetContentSourceUsingGET(params *GetContentSourceUsingGETParams, opts ...ClientOption) (*GetContentSourceUsingGETOK, error)
- func (a *Client) ListContentSourcesUsingGET(params *ListContentSourcesUsingGETParams, opts ...ClientOption) (*ListContentSourcesUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateContentSourceUsingPOSTBadRequest
- func (o *CreateContentSourceUsingPOSTBadRequest) Error() string
- func (o *CreateContentSourceUsingPOSTBadRequest) GetPayload() *models.Error
- func (o *CreateContentSourceUsingPOSTBadRequest) IsClientError() bool
- func (o *CreateContentSourceUsingPOSTBadRequest) IsCode(code int) bool
- func (o *CreateContentSourceUsingPOSTBadRequest) IsRedirect() bool
- func (o *CreateContentSourceUsingPOSTBadRequest) IsServerError() bool
- func (o *CreateContentSourceUsingPOSTBadRequest) IsSuccess() bool
- func (o *CreateContentSourceUsingPOSTBadRequest) String() string
- type CreateContentSourceUsingPOSTCreated
- func (o *CreateContentSourceUsingPOSTCreated) Error() string
- func (o *CreateContentSourceUsingPOSTCreated) GetPayload() *models.ContentSource
- func (o *CreateContentSourceUsingPOSTCreated) IsClientError() bool
- func (o *CreateContentSourceUsingPOSTCreated) IsCode(code int) bool
- func (o *CreateContentSourceUsingPOSTCreated) IsRedirect() bool
- func (o *CreateContentSourceUsingPOSTCreated) IsServerError() bool
- func (o *CreateContentSourceUsingPOSTCreated) IsSuccess() bool
- func (o *CreateContentSourceUsingPOSTCreated) String() string
- type CreateContentSourceUsingPOSTForbidden
- func (o *CreateContentSourceUsingPOSTForbidden) Error() string
- func (o *CreateContentSourceUsingPOSTForbidden) IsClientError() bool
- func (o *CreateContentSourceUsingPOSTForbidden) IsCode(code int) bool
- func (o *CreateContentSourceUsingPOSTForbidden) IsRedirect() bool
- func (o *CreateContentSourceUsingPOSTForbidden) IsServerError() bool
- func (o *CreateContentSourceUsingPOSTForbidden) IsSuccess() bool
- func (o *CreateContentSourceUsingPOSTForbidden) String() string
- type CreateContentSourceUsingPOSTParams
- func NewCreateContentSourceUsingPOSTParams() *CreateContentSourceUsingPOSTParams
- func NewCreateContentSourceUsingPOSTParamsWithContext(ctx context.Context) *CreateContentSourceUsingPOSTParams
- func NewCreateContentSourceUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateContentSourceUsingPOSTParams
- func NewCreateContentSourceUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateContentSourceUsingPOSTParams
- func (o *CreateContentSourceUsingPOSTParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateContentSourceUsingPOSTParams) SetContext(ctx context.Context)
- func (o *CreateContentSourceUsingPOSTParams) SetDefaults()
- func (o *CreateContentSourceUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *CreateContentSourceUsingPOSTParams) SetSource(source *models.ContentSource)
- func (o *CreateContentSourceUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *CreateContentSourceUsingPOSTParams) WithAPIVersion(aPIVersion *string) *CreateContentSourceUsingPOSTParams
- func (o *CreateContentSourceUsingPOSTParams) WithContext(ctx context.Context) *CreateContentSourceUsingPOSTParams
- func (o *CreateContentSourceUsingPOSTParams) WithDefaults() *CreateContentSourceUsingPOSTParams
- func (o *CreateContentSourceUsingPOSTParams) WithHTTPClient(client *http.Client) *CreateContentSourceUsingPOSTParams
- func (o *CreateContentSourceUsingPOSTParams) WithSource(source *models.ContentSource) *CreateContentSourceUsingPOSTParams
- func (o *CreateContentSourceUsingPOSTParams) WithTimeout(timeout time.Duration) *CreateContentSourceUsingPOSTParams
- func (o *CreateContentSourceUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateContentSourceUsingPOSTReader
- type DeleteContentSourceUsingDELETEForbidden
- func (o *DeleteContentSourceUsingDELETEForbidden) Error() string
- func (o *DeleteContentSourceUsingDELETEForbidden) IsClientError() bool
- func (o *DeleteContentSourceUsingDELETEForbidden) IsCode(code int) bool
- func (o *DeleteContentSourceUsingDELETEForbidden) IsRedirect() bool
- func (o *DeleteContentSourceUsingDELETEForbidden) IsServerError() bool
- func (o *DeleteContentSourceUsingDELETEForbidden) IsSuccess() bool
- func (o *DeleteContentSourceUsingDELETEForbidden) String() string
- type DeleteContentSourceUsingDELETENoContent
- func (o *DeleteContentSourceUsingDELETENoContent) Error() string
- func (o *DeleteContentSourceUsingDELETENoContent) IsClientError() bool
- func (o *DeleteContentSourceUsingDELETENoContent) IsCode(code int) bool
- func (o *DeleteContentSourceUsingDELETENoContent) IsRedirect() bool
- func (o *DeleteContentSourceUsingDELETENoContent) IsServerError() bool
- func (o *DeleteContentSourceUsingDELETENoContent) IsSuccess() bool
- func (o *DeleteContentSourceUsingDELETENoContent) String() string
- type DeleteContentSourceUsingDELETENotFound
- func (o *DeleteContentSourceUsingDELETENotFound) Error() string
- func (o *DeleteContentSourceUsingDELETENotFound) GetPayload() *models.Error
- func (o *DeleteContentSourceUsingDELETENotFound) IsClientError() bool
- func (o *DeleteContentSourceUsingDELETENotFound) IsCode(code int) bool
- func (o *DeleteContentSourceUsingDELETENotFound) IsRedirect() bool
- func (o *DeleteContentSourceUsingDELETENotFound) IsServerError() bool
- func (o *DeleteContentSourceUsingDELETENotFound) IsSuccess() bool
- func (o *DeleteContentSourceUsingDELETENotFound) String() string
- type DeleteContentSourceUsingDELETEParams
- func NewDeleteContentSourceUsingDELETEParams() *DeleteContentSourceUsingDELETEParams
- func NewDeleteContentSourceUsingDELETEParamsWithContext(ctx context.Context) *DeleteContentSourceUsingDELETEParams
- func NewDeleteContentSourceUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteContentSourceUsingDELETEParams
- func NewDeleteContentSourceUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteContentSourceUsingDELETEParams
- func (o *DeleteContentSourceUsingDELETEParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteContentSourceUsingDELETEParams) SetContext(ctx context.Context)
- func (o *DeleteContentSourceUsingDELETEParams) SetDefaults()
- func (o *DeleteContentSourceUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *DeleteContentSourceUsingDELETEParams) SetID(id strfmt.UUID)
- func (o *DeleteContentSourceUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *DeleteContentSourceUsingDELETEParams) WithAPIVersion(aPIVersion *string) *DeleteContentSourceUsingDELETEParams
- func (o *DeleteContentSourceUsingDELETEParams) WithContext(ctx context.Context) *DeleteContentSourceUsingDELETEParams
- func (o *DeleteContentSourceUsingDELETEParams) WithDefaults() *DeleteContentSourceUsingDELETEParams
- func (o *DeleteContentSourceUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteContentSourceUsingDELETEParams
- func (o *DeleteContentSourceUsingDELETEParams) WithID(id strfmt.UUID) *DeleteContentSourceUsingDELETEParams
- func (o *DeleteContentSourceUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteContentSourceUsingDELETEParams
- func (o *DeleteContentSourceUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteContentSourceUsingDELETEReader
- type DeleteContentSourceUsingDELETEUnauthorized
- func (o *DeleteContentSourceUsingDELETEUnauthorized) Error() string
- func (o *DeleteContentSourceUsingDELETEUnauthorized) IsClientError() bool
- func (o *DeleteContentSourceUsingDELETEUnauthorized) IsCode(code int) bool
- func (o *DeleteContentSourceUsingDELETEUnauthorized) IsRedirect() bool
- func (o *DeleteContentSourceUsingDELETEUnauthorized) IsServerError() bool
- func (o *DeleteContentSourceUsingDELETEUnauthorized) IsSuccess() bool
- func (o *DeleteContentSourceUsingDELETEUnauthorized) String() string
- type GetContentSourceUsingGETForbidden
- func (o *GetContentSourceUsingGETForbidden) Error() string
- func (o *GetContentSourceUsingGETForbidden) IsClientError() bool
- func (o *GetContentSourceUsingGETForbidden) IsCode(code int) bool
- func (o *GetContentSourceUsingGETForbidden) IsRedirect() bool
- func (o *GetContentSourceUsingGETForbidden) IsServerError() bool
- func (o *GetContentSourceUsingGETForbidden) IsSuccess() bool
- func (o *GetContentSourceUsingGETForbidden) String() string
- type GetContentSourceUsingGETNotFound
- func (o *GetContentSourceUsingGETNotFound) Error() string
- func (o *GetContentSourceUsingGETNotFound) GetPayload() *models.Error
- func (o *GetContentSourceUsingGETNotFound) IsClientError() bool
- func (o *GetContentSourceUsingGETNotFound) IsCode(code int) bool
- func (o *GetContentSourceUsingGETNotFound) IsRedirect() bool
- func (o *GetContentSourceUsingGETNotFound) IsServerError() bool
- func (o *GetContentSourceUsingGETNotFound) IsSuccess() bool
- func (o *GetContentSourceUsingGETNotFound) String() string
- type GetContentSourceUsingGETOK
- func (o *GetContentSourceUsingGETOK) Error() string
- func (o *GetContentSourceUsingGETOK) GetPayload() *models.ContentSource
- func (o *GetContentSourceUsingGETOK) IsClientError() bool
- func (o *GetContentSourceUsingGETOK) IsCode(code int) bool
- func (o *GetContentSourceUsingGETOK) IsRedirect() bool
- func (o *GetContentSourceUsingGETOK) IsServerError() bool
- func (o *GetContentSourceUsingGETOK) IsSuccess() bool
- func (o *GetContentSourceUsingGETOK) String() string
- type GetContentSourceUsingGETParams
- func NewGetContentSourceUsingGETParams() *GetContentSourceUsingGETParams
- func NewGetContentSourceUsingGETParamsWithContext(ctx context.Context) *GetContentSourceUsingGETParams
- func NewGetContentSourceUsingGETParamsWithHTTPClient(client *http.Client) *GetContentSourceUsingGETParams
- func NewGetContentSourceUsingGETParamsWithTimeout(timeout time.Duration) *GetContentSourceUsingGETParams
- func (o *GetContentSourceUsingGETParams) SetAPIVersion(aPIVersion *string)
- func (o *GetContentSourceUsingGETParams) SetContext(ctx context.Context)
- func (o *GetContentSourceUsingGETParams) SetDefaults()
- func (o *GetContentSourceUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetContentSourceUsingGETParams) SetID(id strfmt.UUID)
- func (o *GetContentSourceUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetContentSourceUsingGETParams) WithAPIVersion(aPIVersion *string) *GetContentSourceUsingGETParams
- func (o *GetContentSourceUsingGETParams) WithContext(ctx context.Context) *GetContentSourceUsingGETParams
- func (o *GetContentSourceUsingGETParams) WithDefaults() *GetContentSourceUsingGETParams
- func (o *GetContentSourceUsingGETParams) WithHTTPClient(client *http.Client) *GetContentSourceUsingGETParams
- func (o *GetContentSourceUsingGETParams) WithID(id strfmt.UUID) *GetContentSourceUsingGETParams
- func (o *GetContentSourceUsingGETParams) WithTimeout(timeout time.Duration) *GetContentSourceUsingGETParams
- func (o *GetContentSourceUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContentSourceUsingGETReader
- type GetContentSourceUsingGETUnauthorized
- func (o *GetContentSourceUsingGETUnauthorized) Error() string
- func (o *GetContentSourceUsingGETUnauthorized) IsClientError() bool
- func (o *GetContentSourceUsingGETUnauthorized) IsCode(code int) bool
- func (o *GetContentSourceUsingGETUnauthorized) IsRedirect() bool
- func (o *GetContentSourceUsingGETUnauthorized) IsServerError() bool
- func (o *GetContentSourceUsingGETUnauthorized) IsSuccess() bool
- func (o *GetContentSourceUsingGETUnauthorized) String() string
- type ListContentSourcesUsingGETForbidden
- func (o *ListContentSourcesUsingGETForbidden) Error() string
- func (o *ListContentSourcesUsingGETForbidden) IsClientError() bool
- func (o *ListContentSourcesUsingGETForbidden) IsCode(code int) bool
- func (o *ListContentSourcesUsingGETForbidden) IsRedirect() bool
- func (o *ListContentSourcesUsingGETForbidden) IsServerError() bool
- func (o *ListContentSourcesUsingGETForbidden) IsSuccess() bool
- func (o *ListContentSourcesUsingGETForbidden) String() string
- type ListContentSourcesUsingGETNotFound
- func (o *ListContentSourcesUsingGETNotFound) Error() string
- func (o *ListContentSourcesUsingGETNotFound) GetPayload() *models.Error
- func (o *ListContentSourcesUsingGETNotFound) IsClientError() bool
- func (o *ListContentSourcesUsingGETNotFound) IsCode(code int) bool
- func (o *ListContentSourcesUsingGETNotFound) IsRedirect() bool
- func (o *ListContentSourcesUsingGETNotFound) IsServerError() bool
- func (o *ListContentSourcesUsingGETNotFound) IsSuccess() bool
- func (o *ListContentSourcesUsingGETNotFound) String() string
- type ListContentSourcesUsingGETOK
- func (o *ListContentSourcesUsingGETOK) Error() string
- func (o *ListContentSourcesUsingGETOK) GetPayload() *models.ContentSources
- func (o *ListContentSourcesUsingGETOK) IsClientError() bool
- func (o *ListContentSourcesUsingGETOK) IsCode(code int) bool
- func (o *ListContentSourcesUsingGETOK) IsRedirect() bool
- func (o *ListContentSourcesUsingGETOK) IsServerError() bool
- func (o *ListContentSourcesUsingGETOK) IsSuccess() bool
- func (o *ListContentSourcesUsingGETOK) String() string
- type ListContentSourcesUsingGETParams
- func NewListContentSourcesUsingGETParams() *ListContentSourcesUsingGETParams
- func NewListContentSourcesUsingGETParamsWithContext(ctx context.Context) *ListContentSourcesUsingGETParams
- func NewListContentSourcesUsingGETParamsWithHTTPClient(client *http.Client) *ListContentSourcesUsingGETParams
- func NewListContentSourcesUsingGETParamsWithTimeout(timeout time.Duration) *ListContentSourcesUsingGETParams
- func (o *ListContentSourcesUsingGETParams) SetAPIVersion(aPIVersion *string)
- func (o *ListContentSourcesUsingGETParams) SetContentType(contentType *string)
- func (o *ListContentSourcesUsingGETParams) SetContext(ctx context.Context)
- func (o *ListContentSourcesUsingGETParams) SetDefaults()
- func (o *ListContentSourcesUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *ListContentSourcesUsingGETParams) SetIntegrationID(integrationID *string)
- func (o *ListContentSourcesUsingGETParams) SetName(name *string)
- func (o *ListContentSourcesUsingGETParams) SetProjectIds(projectIds []string)
- func (o *ListContentSourcesUsingGETParams) SetRepository(repository *string)
- func (o *ListContentSourcesUsingGETParams) SetSearch(search *string)
- func (o *ListContentSourcesUsingGETParams) SetSyncEnabled(syncEnabled *bool)
- func (o *ListContentSourcesUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *ListContentSourcesUsingGETParams) SetTypeIds(typeIds []string)
- func (o *ListContentSourcesUsingGETParams) WithAPIVersion(aPIVersion *string) *ListContentSourcesUsingGETParams
- func (o *ListContentSourcesUsingGETParams) WithContentType(contentType *string) *ListContentSourcesUsingGETParams
- func (o *ListContentSourcesUsingGETParams) WithContext(ctx context.Context) *ListContentSourcesUsingGETParams
- func (o *ListContentSourcesUsingGETParams) WithDefaults() *ListContentSourcesUsingGETParams
- func (o *ListContentSourcesUsingGETParams) WithHTTPClient(client *http.Client) *ListContentSourcesUsingGETParams
- func (o *ListContentSourcesUsingGETParams) WithIntegrationID(integrationID *string) *ListContentSourcesUsingGETParams
- func (o *ListContentSourcesUsingGETParams) WithName(name *string) *ListContentSourcesUsingGETParams
- func (o *ListContentSourcesUsingGETParams) WithProjectIds(projectIds []string) *ListContentSourcesUsingGETParams
- func (o *ListContentSourcesUsingGETParams) WithRepository(repository *string) *ListContentSourcesUsingGETParams
- func (o *ListContentSourcesUsingGETParams) WithSearch(search *string) *ListContentSourcesUsingGETParams
- func (o *ListContentSourcesUsingGETParams) WithSyncEnabled(syncEnabled *bool) *ListContentSourcesUsingGETParams
- func (o *ListContentSourcesUsingGETParams) WithTimeout(timeout time.Duration) *ListContentSourcesUsingGETParams
- func (o *ListContentSourcesUsingGETParams) WithTypeIds(typeIds []string) *ListContentSourcesUsingGETParams
- func (o *ListContentSourcesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListContentSourcesUsingGETReader
- type ListContentSourcesUsingGETUnauthorized
- func (o *ListContentSourcesUsingGETUnauthorized) Error() string
- func (o *ListContentSourcesUsingGETUnauthorized) IsClientError() bool
- func (o *ListContentSourcesUsingGETUnauthorized) IsCode(code int) bool
- func (o *ListContentSourcesUsingGETUnauthorized) IsRedirect() bool
- func (o *ListContentSourcesUsingGETUnauthorized) IsServerError() bool
- func (o *ListContentSourcesUsingGETUnauthorized) IsSuccess() bool
- func (o *ListContentSourcesUsingGETUnauthorized) String() string
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 content source API
func (*Client) CreateContentSourceUsingPOST ¶
func (a *Client) CreateContentSourceUsingPOST(params *CreateContentSourceUsingPOSTParams, opts ...ClientOption) (*CreateContentSourceUsingPOSTCreated, error)
CreateContentSourceUsingPOST creates a content source
Returns the new content source
func (*Client) DeleteContentSourceUsingDELETE ¶
func (a *Client) DeleteContentSourceUsingDELETE(params *DeleteContentSourceUsingDELETEParams, opts ...ClientOption) (*DeleteContentSourceUsingDELETENoContent, error)
DeleteContentSourceUsingDELETE deletes a content source
func (*Client) GetContentSourceUsingGET ¶
func (a *Client) GetContentSourceUsingGET(params *GetContentSourceUsingGETParams, opts ...ClientOption) (*GetContentSourceUsingGETOK, error)
GetContentSourceUsingGET gets a content source
func (*Client) ListContentSourcesUsingGET ¶ added in v0.2.18
func (a *Client) ListContentSourcesUsingGET(params *ListContentSourcesUsingGETParams, opts ...ClientOption) (*ListContentSourcesUsingGETOK, error)
ListContentSourcesUsingGET gets content sources
Use filter parameters to narrow down the results
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.2.20
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.2.18
type ClientService interface { CreateContentSourceUsingPOST(params *CreateContentSourceUsingPOSTParams, opts ...ClientOption) (*CreateContentSourceUsingPOSTCreated, error) DeleteContentSourceUsingDELETE(params *DeleteContentSourceUsingDELETEParams, opts ...ClientOption) (*DeleteContentSourceUsingDELETENoContent, error) GetContentSourceUsingGET(params *GetContentSourceUsingGETParams, opts ...ClientOption) (*GetContentSourceUsingGETOK, error) ListContentSourcesUsingGET(params *ListContentSourcesUsingGETParams, opts ...ClientOption) (*ListContentSourcesUsingGETOK, 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 content source API client.
type CreateContentSourceUsingPOSTBadRequest ¶
CreateContentSourceUsingPOSTBadRequest describes a response with status code 400, with default header values.
Invalid request data
func NewCreateContentSourceUsingPOSTBadRequest ¶
func NewCreateContentSourceUsingPOSTBadRequest() *CreateContentSourceUsingPOSTBadRequest
NewCreateContentSourceUsingPOSTBadRequest creates a CreateContentSourceUsingPOSTBadRequest with default headers values
func (*CreateContentSourceUsingPOSTBadRequest) Error ¶
func (o *CreateContentSourceUsingPOSTBadRequest) Error() string
func (*CreateContentSourceUsingPOSTBadRequest) GetPayload ¶ added in v0.2.9
func (o *CreateContentSourceUsingPOSTBadRequest) GetPayload() *models.Error
func (*CreateContentSourceUsingPOSTBadRequest) IsClientError ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTBadRequest) IsClientError() bool
IsClientError returns true when this create content source using p o s t bad request response has a 4xx status code
func (*CreateContentSourceUsingPOSTBadRequest) IsCode ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTBadRequest) IsCode(code int) bool
IsCode returns true when this create content source using p o s t bad request response a status code equal to that given
func (*CreateContentSourceUsingPOSTBadRequest) IsRedirect ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTBadRequest) IsRedirect() bool
IsRedirect returns true when this create content source using p o s t bad request response has a 3xx status code
func (*CreateContentSourceUsingPOSTBadRequest) IsServerError ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTBadRequest) IsServerError() bool
IsServerError returns true when this create content source using p o s t bad request response has a 5xx status code
func (*CreateContentSourceUsingPOSTBadRequest) IsSuccess ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTBadRequest) IsSuccess() bool
IsSuccess returns true when this create content source using p o s t bad request response has a 2xx status code
func (*CreateContentSourceUsingPOSTBadRequest) String ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTBadRequest) String() string
type CreateContentSourceUsingPOSTCreated ¶
type CreateContentSourceUsingPOSTCreated struct {
Payload *models.ContentSource
}
CreateContentSourceUsingPOSTCreated describes a response with status code 201, with default header values.
Created content source
func NewCreateContentSourceUsingPOSTCreated ¶
func NewCreateContentSourceUsingPOSTCreated() *CreateContentSourceUsingPOSTCreated
NewCreateContentSourceUsingPOSTCreated creates a CreateContentSourceUsingPOSTCreated with default headers values
func (*CreateContentSourceUsingPOSTCreated) Error ¶
func (o *CreateContentSourceUsingPOSTCreated) Error() string
func (*CreateContentSourceUsingPOSTCreated) GetPayload ¶
func (o *CreateContentSourceUsingPOSTCreated) GetPayload() *models.ContentSource
func (*CreateContentSourceUsingPOSTCreated) IsClientError ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTCreated) IsClientError() bool
IsClientError returns true when this create content source using p o s t created response has a 4xx status code
func (*CreateContentSourceUsingPOSTCreated) IsCode ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTCreated) IsCode(code int) bool
IsCode returns true when this create content source using p o s t created response a status code equal to that given
func (*CreateContentSourceUsingPOSTCreated) IsRedirect ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTCreated) IsRedirect() bool
IsRedirect returns true when this create content source using p o s t created response has a 3xx status code
func (*CreateContentSourceUsingPOSTCreated) IsServerError ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTCreated) IsServerError() bool
IsServerError returns true when this create content source using p o s t created response has a 5xx status code
func (*CreateContentSourceUsingPOSTCreated) IsSuccess ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTCreated) IsSuccess() bool
IsSuccess returns true when this create content source using p o s t created response has a 2xx status code
func (*CreateContentSourceUsingPOSTCreated) String ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTCreated) String() string
type CreateContentSourceUsingPOSTForbidden ¶
type CreateContentSourceUsingPOSTForbidden struct { }
CreateContentSourceUsingPOSTForbidden describes a response with status code 403, with default header values.
Invalid project id or integration id
func NewCreateContentSourceUsingPOSTForbidden ¶
func NewCreateContentSourceUsingPOSTForbidden() *CreateContentSourceUsingPOSTForbidden
NewCreateContentSourceUsingPOSTForbidden creates a CreateContentSourceUsingPOSTForbidden with default headers values
func (*CreateContentSourceUsingPOSTForbidden) Error ¶
func (o *CreateContentSourceUsingPOSTForbidden) Error() string
func (*CreateContentSourceUsingPOSTForbidden) IsClientError ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTForbidden) IsClientError() bool
IsClientError returns true when this create content source using p o s t forbidden response has a 4xx status code
func (*CreateContentSourceUsingPOSTForbidden) IsCode ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTForbidden) IsCode(code int) bool
IsCode returns true when this create content source using p o s t forbidden response a status code equal to that given
func (*CreateContentSourceUsingPOSTForbidden) IsRedirect ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTForbidden) IsRedirect() bool
IsRedirect returns true when this create content source using p o s t forbidden response has a 3xx status code
func (*CreateContentSourceUsingPOSTForbidden) IsServerError ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTForbidden) IsServerError() bool
IsServerError returns true when this create content source using p o s t forbidden response has a 5xx status code
func (*CreateContentSourceUsingPOSTForbidden) IsSuccess ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTForbidden) IsSuccess() bool
IsSuccess returns true when this create content source using p o s t forbidden response has a 2xx status code
func (*CreateContentSourceUsingPOSTForbidden) String ¶ added in v0.5.0
func (o *CreateContentSourceUsingPOSTForbidden) String() string
type CreateContentSourceUsingPOSTParams ¶
type CreateContentSourceUsingPOSTParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about */ APIVersion *string /* Source. source */ Source *models.ContentSource Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateContentSourceUsingPOSTParams contains all the parameters to send to the API endpoint
for the create content source using p o s t operation. Typically these are written to a http.Request.
func NewCreateContentSourceUsingPOSTParams ¶
func NewCreateContentSourceUsingPOSTParams() *CreateContentSourceUsingPOSTParams
NewCreateContentSourceUsingPOSTParams creates a new CreateContentSourceUsingPOSTParams 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 NewCreateContentSourceUsingPOSTParamsWithContext ¶
func NewCreateContentSourceUsingPOSTParamsWithContext(ctx context.Context) *CreateContentSourceUsingPOSTParams
NewCreateContentSourceUsingPOSTParamsWithContext creates a new CreateContentSourceUsingPOSTParams object with the ability to set a context for a request.
func NewCreateContentSourceUsingPOSTParamsWithHTTPClient ¶
func NewCreateContentSourceUsingPOSTParamsWithHTTPClient(client *http.Client) *CreateContentSourceUsingPOSTParams
NewCreateContentSourceUsingPOSTParamsWithHTTPClient creates a new CreateContentSourceUsingPOSTParams object with the ability to set a custom HTTPClient for a request.
func NewCreateContentSourceUsingPOSTParamsWithTimeout ¶
func NewCreateContentSourceUsingPOSTParamsWithTimeout(timeout time.Duration) *CreateContentSourceUsingPOSTParams
NewCreateContentSourceUsingPOSTParamsWithTimeout creates a new CreateContentSourceUsingPOSTParams object with the ability to set a timeout on a request.
func (*CreateContentSourceUsingPOSTParams) SetAPIVersion ¶
func (o *CreateContentSourceUsingPOSTParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create content source using p o s t params
func (*CreateContentSourceUsingPOSTParams) SetContext ¶
func (o *CreateContentSourceUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the create content source using p o s t params
func (*CreateContentSourceUsingPOSTParams) SetDefaults ¶ added in v0.2.20
func (o *CreateContentSourceUsingPOSTParams) SetDefaults()
SetDefaults hydrates default values in the create content source using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*CreateContentSourceUsingPOSTParams) SetHTTPClient ¶
func (o *CreateContentSourceUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create content source using p o s t params
func (*CreateContentSourceUsingPOSTParams) SetSource ¶
func (o *CreateContentSourceUsingPOSTParams) SetSource(source *models.ContentSource)
SetSource adds the source to the create content source using p o s t params
func (*CreateContentSourceUsingPOSTParams) SetTimeout ¶
func (o *CreateContentSourceUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create content source using p o s t params
func (*CreateContentSourceUsingPOSTParams) WithAPIVersion ¶
func (o *CreateContentSourceUsingPOSTParams) WithAPIVersion(aPIVersion *string) *CreateContentSourceUsingPOSTParams
WithAPIVersion adds the aPIVersion to the create content source using p o s t params
func (*CreateContentSourceUsingPOSTParams) WithContext ¶
func (o *CreateContentSourceUsingPOSTParams) WithContext(ctx context.Context) *CreateContentSourceUsingPOSTParams
WithContext adds the context to the create content source using p o s t params
func (*CreateContentSourceUsingPOSTParams) WithDefaults ¶ added in v0.2.20
func (o *CreateContentSourceUsingPOSTParams) WithDefaults() *CreateContentSourceUsingPOSTParams
WithDefaults hydrates default values in the create content source using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*CreateContentSourceUsingPOSTParams) WithHTTPClient ¶
func (o *CreateContentSourceUsingPOSTParams) WithHTTPClient(client *http.Client) *CreateContentSourceUsingPOSTParams
WithHTTPClient adds the HTTPClient to the create content source using p o s t params
func (*CreateContentSourceUsingPOSTParams) WithSource ¶
func (o *CreateContentSourceUsingPOSTParams) WithSource(source *models.ContentSource) *CreateContentSourceUsingPOSTParams
WithSource adds the source to the create content source using p o s t params
func (*CreateContentSourceUsingPOSTParams) WithTimeout ¶
func (o *CreateContentSourceUsingPOSTParams) WithTimeout(timeout time.Duration) *CreateContentSourceUsingPOSTParams
WithTimeout adds the timeout to the create content source using p o s t params
func (*CreateContentSourceUsingPOSTParams) WriteToRequest ¶
func (o *CreateContentSourceUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateContentSourceUsingPOSTReader ¶
type CreateContentSourceUsingPOSTReader struct {
// contains filtered or unexported fields
}
CreateContentSourceUsingPOSTReader is a Reader for the CreateContentSourceUsingPOST structure.
func (*CreateContentSourceUsingPOSTReader) ReadResponse ¶
func (o *CreateContentSourceUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteContentSourceUsingDELETEForbidden ¶ added in v0.5.0
type DeleteContentSourceUsingDELETEForbidden struct { }
DeleteContentSourceUsingDELETEForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteContentSourceUsingDELETEForbidden ¶ added in v0.5.0
func NewDeleteContentSourceUsingDELETEForbidden() *DeleteContentSourceUsingDELETEForbidden
NewDeleteContentSourceUsingDELETEForbidden creates a DeleteContentSourceUsingDELETEForbidden with default headers values
func (*DeleteContentSourceUsingDELETEForbidden) Error ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETEForbidden) Error() string
func (*DeleteContentSourceUsingDELETEForbidden) IsClientError ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETEForbidden) IsClientError() bool
IsClientError returns true when this delete content source using d e l e t e forbidden response has a 4xx status code
func (*DeleteContentSourceUsingDELETEForbidden) IsCode ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETEForbidden) IsCode(code int) bool
IsCode returns true when this delete content source using d e l e t e forbidden response a status code equal to that given
func (*DeleteContentSourceUsingDELETEForbidden) IsRedirect ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETEForbidden) IsRedirect() bool
IsRedirect returns true when this delete content source using d e l e t e forbidden response has a 3xx status code
func (*DeleteContentSourceUsingDELETEForbidden) IsServerError ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETEForbidden) IsServerError() bool
IsServerError returns true when this delete content source using d e l e t e forbidden response has a 5xx status code
func (*DeleteContentSourceUsingDELETEForbidden) IsSuccess ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETEForbidden) IsSuccess() bool
IsSuccess returns true when this delete content source using d e l e t e forbidden response has a 2xx status code
func (*DeleteContentSourceUsingDELETEForbidden) String ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETEForbidden) String() string
type DeleteContentSourceUsingDELETENoContent ¶
type DeleteContentSourceUsingDELETENoContent struct { }
DeleteContentSourceUsingDELETENoContent describes a response with status code 204, with default header values.
No Content
func NewDeleteContentSourceUsingDELETENoContent ¶
func NewDeleteContentSourceUsingDELETENoContent() *DeleteContentSourceUsingDELETENoContent
NewDeleteContentSourceUsingDELETENoContent creates a DeleteContentSourceUsingDELETENoContent with default headers values
func (*DeleteContentSourceUsingDELETENoContent) Error ¶
func (o *DeleteContentSourceUsingDELETENoContent) Error() string
func (*DeleteContentSourceUsingDELETENoContent) IsClientError ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETENoContent) IsClientError() bool
IsClientError returns true when this delete content source using d e l e t e no content response has a 4xx status code
func (*DeleteContentSourceUsingDELETENoContent) IsCode ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETENoContent) IsCode(code int) bool
IsCode returns true when this delete content source using d e l e t e no content response a status code equal to that given
func (*DeleteContentSourceUsingDELETENoContent) IsRedirect ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETENoContent) IsRedirect() bool
IsRedirect returns true when this delete content source using d e l e t e no content response has a 3xx status code
func (*DeleteContentSourceUsingDELETENoContent) IsServerError ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETENoContent) IsServerError() bool
IsServerError returns true when this delete content source using d e l e t e no content response has a 5xx status code
func (*DeleteContentSourceUsingDELETENoContent) IsSuccess ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETENoContent) IsSuccess() bool
IsSuccess returns true when this delete content source using d e l e t e no content response has a 2xx status code
func (*DeleteContentSourceUsingDELETENoContent) String ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETENoContent) String() string
type DeleteContentSourceUsingDELETENotFound ¶ added in v0.5.0
DeleteContentSourceUsingDELETENotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteContentSourceUsingDELETENotFound ¶ added in v0.5.0
func NewDeleteContentSourceUsingDELETENotFound() *DeleteContentSourceUsingDELETENotFound
NewDeleteContentSourceUsingDELETENotFound creates a DeleteContentSourceUsingDELETENotFound with default headers values
func (*DeleteContentSourceUsingDELETENotFound) Error ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETENotFound) Error() string
func (*DeleteContentSourceUsingDELETENotFound) GetPayload ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETENotFound) GetPayload() *models.Error
func (*DeleteContentSourceUsingDELETENotFound) IsClientError ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETENotFound) IsClientError() bool
IsClientError returns true when this delete content source using d e l e t e not found response has a 4xx status code
func (*DeleteContentSourceUsingDELETENotFound) IsCode ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETENotFound) IsCode(code int) bool
IsCode returns true when this delete content source using d e l e t e not found response a status code equal to that given
func (*DeleteContentSourceUsingDELETENotFound) IsRedirect ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETENotFound) IsRedirect() bool
IsRedirect returns true when this delete content source using d e l e t e not found response has a 3xx status code
func (*DeleteContentSourceUsingDELETENotFound) IsServerError ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETENotFound) IsServerError() bool
IsServerError returns true when this delete content source using d e l e t e not found response has a 5xx status code
func (*DeleteContentSourceUsingDELETENotFound) IsSuccess ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETENotFound) IsSuccess() bool
IsSuccess returns true when this delete content source using d e l e t e not found response has a 2xx status code
func (*DeleteContentSourceUsingDELETENotFound) String ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETENotFound) String() string
type DeleteContentSourceUsingDELETEParams ¶
type DeleteContentSourceUsingDELETEParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about */ APIVersion *string /* ID. ID of the content source Format: uuid */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteContentSourceUsingDELETEParams contains all the parameters to send to the API endpoint
for the delete content source using d e l e t e operation. Typically these are written to a http.Request.
func NewDeleteContentSourceUsingDELETEParams ¶
func NewDeleteContentSourceUsingDELETEParams() *DeleteContentSourceUsingDELETEParams
NewDeleteContentSourceUsingDELETEParams creates a new DeleteContentSourceUsingDELETEParams 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 NewDeleteContentSourceUsingDELETEParamsWithContext ¶
func NewDeleteContentSourceUsingDELETEParamsWithContext(ctx context.Context) *DeleteContentSourceUsingDELETEParams
NewDeleteContentSourceUsingDELETEParamsWithContext creates a new DeleteContentSourceUsingDELETEParams object with the ability to set a context for a request.
func NewDeleteContentSourceUsingDELETEParamsWithHTTPClient ¶
func NewDeleteContentSourceUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteContentSourceUsingDELETEParams
NewDeleteContentSourceUsingDELETEParamsWithHTTPClient creates a new DeleteContentSourceUsingDELETEParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteContentSourceUsingDELETEParamsWithTimeout ¶
func NewDeleteContentSourceUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteContentSourceUsingDELETEParams
NewDeleteContentSourceUsingDELETEParamsWithTimeout creates a new DeleteContentSourceUsingDELETEParams object with the ability to set a timeout on a request.
func (*DeleteContentSourceUsingDELETEParams) SetAPIVersion ¶
func (o *DeleteContentSourceUsingDELETEParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete content source using d e l e t e params
func (*DeleteContentSourceUsingDELETEParams) SetContext ¶
func (o *DeleteContentSourceUsingDELETEParams) SetContext(ctx context.Context)
SetContext adds the context to the delete content source using d e l e t e params
func (*DeleteContentSourceUsingDELETEParams) SetDefaults ¶ added in v0.2.20
func (o *DeleteContentSourceUsingDELETEParams) SetDefaults()
SetDefaults hydrates default values in the delete content source using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteContentSourceUsingDELETEParams) SetHTTPClient ¶
func (o *DeleteContentSourceUsingDELETEParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete content source using d e l e t e params
func (*DeleteContentSourceUsingDELETEParams) SetID ¶
func (o *DeleteContentSourceUsingDELETEParams) SetID(id strfmt.UUID)
SetID adds the id to the delete content source using d e l e t e params
func (*DeleteContentSourceUsingDELETEParams) SetTimeout ¶
func (o *DeleteContentSourceUsingDELETEParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete content source using d e l e t e params
func (*DeleteContentSourceUsingDELETEParams) WithAPIVersion ¶
func (o *DeleteContentSourceUsingDELETEParams) WithAPIVersion(aPIVersion *string) *DeleteContentSourceUsingDELETEParams
WithAPIVersion adds the aPIVersion to the delete content source using d e l e t e params
func (*DeleteContentSourceUsingDELETEParams) WithContext ¶
func (o *DeleteContentSourceUsingDELETEParams) WithContext(ctx context.Context) *DeleteContentSourceUsingDELETEParams
WithContext adds the context to the delete content source using d e l e t e params
func (*DeleteContentSourceUsingDELETEParams) WithDefaults ¶ added in v0.2.20
func (o *DeleteContentSourceUsingDELETEParams) WithDefaults() *DeleteContentSourceUsingDELETEParams
WithDefaults hydrates default values in the delete content source using d e l e t e params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteContentSourceUsingDELETEParams) WithHTTPClient ¶
func (o *DeleteContentSourceUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteContentSourceUsingDELETEParams
WithHTTPClient adds the HTTPClient to the delete content source using d e l e t e params
func (*DeleteContentSourceUsingDELETEParams) WithID ¶
func (o *DeleteContentSourceUsingDELETEParams) WithID(id strfmt.UUID) *DeleteContentSourceUsingDELETEParams
WithID adds the id to the delete content source using d e l e t e params
func (*DeleteContentSourceUsingDELETEParams) WithTimeout ¶
func (o *DeleteContentSourceUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteContentSourceUsingDELETEParams
WithTimeout adds the timeout to the delete content source using d e l e t e params
func (*DeleteContentSourceUsingDELETEParams) WriteToRequest ¶
func (o *DeleteContentSourceUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteContentSourceUsingDELETEReader ¶
type DeleteContentSourceUsingDELETEReader struct {
// contains filtered or unexported fields
}
DeleteContentSourceUsingDELETEReader is a Reader for the DeleteContentSourceUsingDELETE structure.
func (*DeleteContentSourceUsingDELETEReader) ReadResponse ¶
func (o *DeleteContentSourceUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteContentSourceUsingDELETEUnauthorized ¶ added in v0.5.0
type DeleteContentSourceUsingDELETEUnauthorized struct { }
DeleteContentSourceUsingDELETEUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteContentSourceUsingDELETEUnauthorized ¶ added in v0.5.0
func NewDeleteContentSourceUsingDELETEUnauthorized() *DeleteContentSourceUsingDELETEUnauthorized
NewDeleteContentSourceUsingDELETEUnauthorized creates a DeleteContentSourceUsingDELETEUnauthorized with default headers values
func (*DeleteContentSourceUsingDELETEUnauthorized) Error ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETEUnauthorized) Error() string
func (*DeleteContentSourceUsingDELETEUnauthorized) IsClientError ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETEUnauthorized) IsClientError() bool
IsClientError returns true when this delete content source using d e l e t e unauthorized response has a 4xx status code
func (*DeleteContentSourceUsingDELETEUnauthorized) IsCode ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETEUnauthorized) IsCode(code int) bool
IsCode returns true when this delete content source using d e l e t e unauthorized response a status code equal to that given
func (*DeleteContentSourceUsingDELETEUnauthorized) IsRedirect ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETEUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete content source using d e l e t e unauthorized response has a 3xx status code
func (*DeleteContentSourceUsingDELETEUnauthorized) IsServerError ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETEUnauthorized) IsServerError() bool
IsServerError returns true when this delete content source using d e l e t e unauthorized response has a 5xx status code
func (*DeleteContentSourceUsingDELETEUnauthorized) IsSuccess ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETEUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete content source using d e l e t e unauthorized response has a 2xx status code
func (*DeleteContentSourceUsingDELETEUnauthorized) String ¶ added in v0.5.0
func (o *DeleteContentSourceUsingDELETEUnauthorized) String() string
type GetContentSourceUsingGETForbidden ¶ added in v0.5.0
type GetContentSourceUsingGETForbidden struct { }
GetContentSourceUsingGETForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetContentSourceUsingGETForbidden ¶ added in v0.5.0
func NewGetContentSourceUsingGETForbidden() *GetContentSourceUsingGETForbidden
NewGetContentSourceUsingGETForbidden creates a GetContentSourceUsingGETForbidden with default headers values
func (*GetContentSourceUsingGETForbidden) Error ¶ added in v0.5.0
func (o *GetContentSourceUsingGETForbidden) Error() string
func (*GetContentSourceUsingGETForbidden) IsClientError ¶ added in v0.5.0
func (o *GetContentSourceUsingGETForbidden) IsClientError() bool
IsClientError returns true when this get content source using g e t forbidden response has a 4xx status code
func (*GetContentSourceUsingGETForbidden) IsCode ¶ added in v0.5.0
func (o *GetContentSourceUsingGETForbidden) IsCode(code int) bool
IsCode returns true when this get content source using g e t forbidden response a status code equal to that given
func (*GetContentSourceUsingGETForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetContentSourceUsingGETForbidden) IsRedirect() bool
IsRedirect returns true when this get content source using g e t forbidden response has a 3xx status code
func (*GetContentSourceUsingGETForbidden) IsServerError ¶ added in v0.5.0
func (o *GetContentSourceUsingGETForbidden) IsServerError() bool
IsServerError returns true when this get content source using g e t forbidden response has a 5xx status code
func (*GetContentSourceUsingGETForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetContentSourceUsingGETForbidden) IsSuccess() bool
IsSuccess returns true when this get content source using g e t forbidden response has a 2xx status code
func (*GetContentSourceUsingGETForbidden) String ¶ added in v0.5.0
func (o *GetContentSourceUsingGETForbidden) String() string
type GetContentSourceUsingGETNotFound ¶
GetContentSourceUsingGETNotFound describes a response with status code 404, with default header values.
Content source not found
func NewGetContentSourceUsingGETNotFound ¶
func NewGetContentSourceUsingGETNotFound() *GetContentSourceUsingGETNotFound
NewGetContentSourceUsingGETNotFound creates a GetContentSourceUsingGETNotFound with default headers values
func (*GetContentSourceUsingGETNotFound) Error ¶
func (o *GetContentSourceUsingGETNotFound) Error() string
func (*GetContentSourceUsingGETNotFound) GetPayload ¶ added in v0.2.9
func (o *GetContentSourceUsingGETNotFound) GetPayload() *models.Error
func (*GetContentSourceUsingGETNotFound) IsClientError ¶ added in v0.5.0
func (o *GetContentSourceUsingGETNotFound) IsClientError() bool
IsClientError returns true when this get content source using g e t not found response has a 4xx status code
func (*GetContentSourceUsingGETNotFound) IsCode ¶ added in v0.5.0
func (o *GetContentSourceUsingGETNotFound) IsCode(code int) bool
IsCode returns true when this get content source using g e t not found response a status code equal to that given
func (*GetContentSourceUsingGETNotFound) IsRedirect ¶ added in v0.5.0
func (o *GetContentSourceUsingGETNotFound) IsRedirect() bool
IsRedirect returns true when this get content source using g e t not found response has a 3xx status code
func (*GetContentSourceUsingGETNotFound) IsServerError ¶ added in v0.5.0
func (o *GetContentSourceUsingGETNotFound) IsServerError() bool
IsServerError returns true when this get content source using g e t not found response has a 5xx status code
func (*GetContentSourceUsingGETNotFound) IsSuccess ¶ added in v0.5.0
func (o *GetContentSourceUsingGETNotFound) IsSuccess() bool
IsSuccess returns true when this get content source using g e t not found response has a 2xx status code
func (*GetContentSourceUsingGETNotFound) String ¶ added in v0.5.0
func (o *GetContentSourceUsingGETNotFound) String() string
type GetContentSourceUsingGETOK ¶
type GetContentSourceUsingGETOK struct {
Payload *models.ContentSource
}
GetContentSourceUsingGETOK describes a response with status code 200, with default header values.
Content source
func NewGetContentSourceUsingGETOK ¶
func NewGetContentSourceUsingGETOK() *GetContentSourceUsingGETOK
NewGetContentSourceUsingGETOK creates a GetContentSourceUsingGETOK with default headers values
func (*GetContentSourceUsingGETOK) Error ¶
func (o *GetContentSourceUsingGETOK) Error() string
func (*GetContentSourceUsingGETOK) GetPayload ¶
func (o *GetContentSourceUsingGETOK) GetPayload() *models.ContentSource
func (*GetContentSourceUsingGETOK) IsClientError ¶ added in v0.5.0
func (o *GetContentSourceUsingGETOK) IsClientError() bool
IsClientError returns true when this get content source using g e t o k response has a 4xx status code
func (*GetContentSourceUsingGETOK) IsCode ¶ added in v0.5.0
func (o *GetContentSourceUsingGETOK) IsCode(code int) bool
IsCode returns true when this get content source using g e t o k response a status code equal to that given
func (*GetContentSourceUsingGETOK) IsRedirect ¶ added in v0.5.0
func (o *GetContentSourceUsingGETOK) IsRedirect() bool
IsRedirect returns true when this get content source using g e t o k response has a 3xx status code
func (*GetContentSourceUsingGETOK) IsServerError ¶ added in v0.5.0
func (o *GetContentSourceUsingGETOK) IsServerError() bool
IsServerError returns true when this get content source using g e t o k response has a 5xx status code
func (*GetContentSourceUsingGETOK) IsSuccess ¶ added in v0.5.0
func (o *GetContentSourceUsingGETOK) IsSuccess() bool
IsSuccess returns true when this get content source using g e t o k response has a 2xx status code
func (*GetContentSourceUsingGETOK) String ¶ added in v0.5.0
func (o *GetContentSourceUsingGETOK) String() string
type GetContentSourceUsingGETParams ¶
type GetContentSourceUsingGETParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about */ APIVersion *string /* ID. ID of the content source Format: uuid */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetContentSourceUsingGETParams contains all the parameters to send to the API endpoint
for the get content source using g e t operation. Typically these are written to a http.Request.
func NewGetContentSourceUsingGETParams ¶
func NewGetContentSourceUsingGETParams() *GetContentSourceUsingGETParams
NewGetContentSourceUsingGETParams creates a new GetContentSourceUsingGETParams 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 NewGetContentSourceUsingGETParamsWithContext ¶
func NewGetContentSourceUsingGETParamsWithContext(ctx context.Context) *GetContentSourceUsingGETParams
NewGetContentSourceUsingGETParamsWithContext creates a new GetContentSourceUsingGETParams object with the ability to set a context for a request.
func NewGetContentSourceUsingGETParamsWithHTTPClient ¶
func NewGetContentSourceUsingGETParamsWithHTTPClient(client *http.Client) *GetContentSourceUsingGETParams
NewGetContentSourceUsingGETParamsWithHTTPClient creates a new GetContentSourceUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewGetContentSourceUsingGETParamsWithTimeout ¶
func NewGetContentSourceUsingGETParamsWithTimeout(timeout time.Duration) *GetContentSourceUsingGETParams
NewGetContentSourceUsingGETParamsWithTimeout creates a new GetContentSourceUsingGETParams object with the ability to set a timeout on a request.
func (*GetContentSourceUsingGETParams) SetAPIVersion ¶
func (o *GetContentSourceUsingGETParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get content source using get params
func (*GetContentSourceUsingGETParams) SetContext ¶
func (o *GetContentSourceUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get content source using get params
func (*GetContentSourceUsingGETParams) SetDefaults ¶ added in v0.2.20
func (o *GetContentSourceUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get content source using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetContentSourceUsingGETParams) SetHTTPClient ¶
func (o *GetContentSourceUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get content source using get params
func (*GetContentSourceUsingGETParams) SetID ¶
func (o *GetContentSourceUsingGETParams) SetID(id strfmt.UUID)
SetID adds the id to the get content source using get params
func (*GetContentSourceUsingGETParams) SetTimeout ¶
func (o *GetContentSourceUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get content source using get params
func (*GetContentSourceUsingGETParams) WithAPIVersion ¶
func (o *GetContentSourceUsingGETParams) WithAPIVersion(aPIVersion *string) *GetContentSourceUsingGETParams
WithAPIVersion adds the aPIVersion to the get content source using get params
func (*GetContentSourceUsingGETParams) WithContext ¶
func (o *GetContentSourceUsingGETParams) WithContext(ctx context.Context) *GetContentSourceUsingGETParams
WithContext adds the context to the get content source using get params
func (*GetContentSourceUsingGETParams) WithDefaults ¶ added in v0.2.20
func (o *GetContentSourceUsingGETParams) WithDefaults() *GetContentSourceUsingGETParams
WithDefaults hydrates default values in the get content source using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetContentSourceUsingGETParams) WithHTTPClient ¶
func (o *GetContentSourceUsingGETParams) WithHTTPClient(client *http.Client) *GetContentSourceUsingGETParams
WithHTTPClient adds the HTTPClient to the get content source using get params
func (*GetContentSourceUsingGETParams) WithID ¶
func (o *GetContentSourceUsingGETParams) WithID(id strfmt.UUID) *GetContentSourceUsingGETParams
WithID adds the id to the get content source using get params
func (*GetContentSourceUsingGETParams) WithTimeout ¶
func (o *GetContentSourceUsingGETParams) WithTimeout(timeout time.Duration) *GetContentSourceUsingGETParams
WithTimeout adds the timeout to the get content source using get params
func (*GetContentSourceUsingGETParams) WriteToRequest ¶
func (o *GetContentSourceUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetContentSourceUsingGETReader ¶
type GetContentSourceUsingGETReader struct {
// contains filtered or unexported fields
}
GetContentSourceUsingGETReader is a Reader for the GetContentSourceUsingGET structure.
func (*GetContentSourceUsingGETReader) ReadResponse ¶
func (o *GetContentSourceUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetContentSourceUsingGETUnauthorized ¶ added in v0.5.0
type GetContentSourceUsingGETUnauthorized struct { }
GetContentSourceUsingGETUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetContentSourceUsingGETUnauthorized ¶ added in v0.5.0
func NewGetContentSourceUsingGETUnauthorized() *GetContentSourceUsingGETUnauthorized
NewGetContentSourceUsingGETUnauthorized creates a GetContentSourceUsingGETUnauthorized with default headers values
func (*GetContentSourceUsingGETUnauthorized) Error ¶ added in v0.5.0
func (o *GetContentSourceUsingGETUnauthorized) Error() string
func (*GetContentSourceUsingGETUnauthorized) IsClientError ¶ added in v0.5.0
func (o *GetContentSourceUsingGETUnauthorized) IsClientError() bool
IsClientError returns true when this get content source using g e t unauthorized response has a 4xx status code
func (*GetContentSourceUsingGETUnauthorized) IsCode ¶ added in v0.5.0
func (o *GetContentSourceUsingGETUnauthorized) IsCode(code int) bool
IsCode returns true when this get content source using g e t unauthorized response a status code equal to that given
func (*GetContentSourceUsingGETUnauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetContentSourceUsingGETUnauthorized) IsRedirect() bool
IsRedirect returns true when this get content source using g e t unauthorized response has a 3xx status code
func (*GetContentSourceUsingGETUnauthorized) IsServerError ¶ added in v0.5.0
func (o *GetContentSourceUsingGETUnauthorized) IsServerError() bool
IsServerError returns true when this get content source using g e t unauthorized response has a 5xx status code
func (*GetContentSourceUsingGETUnauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetContentSourceUsingGETUnauthorized) IsSuccess() bool
IsSuccess returns true when this get content source using g e t unauthorized response has a 2xx status code
func (*GetContentSourceUsingGETUnauthorized) String ¶ added in v0.5.0
func (o *GetContentSourceUsingGETUnauthorized) String() string
type ListContentSourcesUsingGETForbidden ¶ added in v0.5.0
type ListContentSourcesUsingGETForbidden struct { }
ListContentSourcesUsingGETForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListContentSourcesUsingGETForbidden ¶ added in v0.5.0
func NewListContentSourcesUsingGETForbidden() *ListContentSourcesUsingGETForbidden
NewListContentSourcesUsingGETForbidden creates a ListContentSourcesUsingGETForbidden with default headers values
func (*ListContentSourcesUsingGETForbidden) Error ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETForbidden) Error() string
func (*ListContentSourcesUsingGETForbidden) IsClientError ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETForbidden) IsClientError() bool
IsClientError returns true when this list content sources using g e t forbidden response has a 4xx status code
func (*ListContentSourcesUsingGETForbidden) IsCode ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETForbidden) IsCode(code int) bool
IsCode returns true when this list content sources using g e t forbidden response a status code equal to that given
func (*ListContentSourcesUsingGETForbidden) IsRedirect ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETForbidden) IsRedirect() bool
IsRedirect returns true when this list content sources using g e t forbidden response has a 3xx status code
func (*ListContentSourcesUsingGETForbidden) IsServerError ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETForbidden) IsServerError() bool
IsServerError returns true when this list content sources using g e t forbidden response has a 5xx status code
func (*ListContentSourcesUsingGETForbidden) IsSuccess ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETForbidden) IsSuccess() bool
IsSuccess returns true when this list content sources using g e t forbidden response has a 2xx status code
func (*ListContentSourcesUsingGETForbidden) String ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETForbidden) String() string
type ListContentSourcesUsingGETNotFound ¶ added in v0.5.0
ListContentSourcesUsingGETNotFound describes a response with status code 404, with default header values.
Not Found
func NewListContentSourcesUsingGETNotFound ¶ added in v0.5.0
func NewListContentSourcesUsingGETNotFound() *ListContentSourcesUsingGETNotFound
NewListContentSourcesUsingGETNotFound creates a ListContentSourcesUsingGETNotFound with default headers values
func (*ListContentSourcesUsingGETNotFound) Error ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETNotFound) Error() string
func (*ListContentSourcesUsingGETNotFound) GetPayload ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETNotFound) GetPayload() *models.Error
func (*ListContentSourcesUsingGETNotFound) IsClientError ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETNotFound) IsClientError() bool
IsClientError returns true when this list content sources using g e t not found response has a 4xx status code
func (*ListContentSourcesUsingGETNotFound) IsCode ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETNotFound) IsCode(code int) bool
IsCode returns true when this list content sources using g e t not found response a status code equal to that given
func (*ListContentSourcesUsingGETNotFound) IsRedirect ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETNotFound) IsRedirect() bool
IsRedirect returns true when this list content sources using g e t not found response has a 3xx status code
func (*ListContentSourcesUsingGETNotFound) IsServerError ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETNotFound) IsServerError() bool
IsServerError returns true when this list content sources using g e t not found response has a 5xx status code
func (*ListContentSourcesUsingGETNotFound) IsSuccess ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETNotFound) IsSuccess() bool
IsSuccess returns true when this list content sources using g e t not found response has a 2xx status code
func (*ListContentSourcesUsingGETNotFound) String ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETNotFound) String() string
type ListContentSourcesUsingGETOK ¶ added in v0.2.18
type ListContentSourcesUsingGETOK struct {
Payload *models.ContentSources
}
ListContentSourcesUsingGETOK describes a response with status code 200, with default header values.
Content sources
func NewListContentSourcesUsingGETOK ¶ added in v0.2.18
func NewListContentSourcesUsingGETOK() *ListContentSourcesUsingGETOK
NewListContentSourcesUsingGETOK creates a ListContentSourcesUsingGETOK with default headers values
func (*ListContentSourcesUsingGETOK) Error ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETOK) Error() string
func (*ListContentSourcesUsingGETOK) GetPayload ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETOK) GetPayload() *models.ContentSources
func (*ListContentSourcesUsingGETOK) IsClientError ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETOK) IsClientError() bool
IsClientError returns true when this list content sources using g e t o k response has a 4xx status code
func (*ListContentSourcesUsingGETOK) IsCode ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETOK) IsCode(code int) bool
IsCode returns true when this list content sources using g e t o k response a status code equal to that given
func (*ListContentSourcesUsingGETOK) IsRedirect ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETOK) IsRedirect() bool
IsRedirect returns true when this list content sources using g e t o k response has a 3xx status code
func (*ListContentSourcesUsingGETOK) IsServerError ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETOK) IsServerError() bool
IsServerError returns true when this list content sources using g e t o k response has a 5xx status code
func (*ListContentSourcesUsingGETOK) IsSuccess ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETOK) IsSuccess() bool
IsSuccess returns true when this list content sources using g e t o k response has a 2xx status code
func (*ListContentSourcesUsingGETOK) String ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETOK) String() string
type ListContentSourcesUsingGETParams ¶ added in v0.2.18
type ListContentSourcesUsingGETParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about */ APIVersion *string /* ContentType. Search based on Content Type */ ContentType *string /* IntegrationID. Search based on integrationId */ IntegrationID *string /* Name. Search based on Content Source name */ Name *string /* ProjectIds. Search based on associated projects */ ProjectIds []string /* Repository. Search based on repository */ Repository *string /* Search. Search based on name or repository */ Search *string /* SyncEnabled. Search based on whether sync is enabled or not */ SyncEnabled *bool /* TypeIds. Search based on Content Source Type Ids */ TypeIds []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListContentSourcesUsingGETParams contains all the parameters to send to the API endpoint
for the list content sources using g e t operation. Typically these are written to a http.Request.
func NewListContentSourcesUsingGETParams ¶ added in v0.2.18
func NewListContentSourcesUsingGETParams() *ListContentSourcesUsingGETParams
NewListContentSourcesUsingGETParams creates a new ListContentSourcesUsingGETParams 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 NewListContentSourcesUsingGETParamsWithContext ¶ added in v0.2.18
func NewListContentSourcesUsingGETParamsWithContext(ctx context.Context) *ListContentSourcesUsingGETParams
NewListContentSourcesUsingGETParamsWithContext creates a new ListContentSourcesUsingGETParams object with the ability to set a context for a request.
func NewListContentSourcesUsingGETParamsWithHTTPClient ¶ added in v0.2.18
func NewListContentSourcesUsingGETParamsWithHTTPClient(client *http.Client) *ListContentSourcesUsingGETParams
NewListContentSourcesUsingGETParamsWithHTTPClient creates a new ListContentSourcesUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewListContentSourcesUsingGETParamsWithTimeout ¶ added in v0.2.18
func NewListContentSourcesUsingGETParamsWithTimeout(timeout time.Duration) *ListContentSourcesUsingGETParams
NewListContentSourcesUsingGETParamsWithTimeout creates a new ListContentSourcesUsingGETParams object with the ability to set a timeout on a request.
func (*ListContentSourcesUsingGETParams) SetAPIVersion ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the list content sources using get params
func (*ListContentSourcesUsingGETParams) SetContentType ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) SetContentType(contentType *string)
SetContentType adds the contentType to the list content sources using get params
func (*ListContentSourcesUsingGETParams) SetContext ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the list content sources using get params
func (*ListContentSourcesUsingGETParams) SetDefaults ¶ added in v0.2.20
func (o *ListContentSourcesUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the list content sources using get params (not the query body).
All values with no default are reset to their zero value.
func (*ListContentSourcesUsingGETParams) SetHTTPClient ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list content sources using get params
func (*ListContentSourcesUsingGETParams) SetIntegrationID ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) SetIntegrationID(integrationID *string)
SetIntegrationID adds the integrationId to the list content sources using get params
func (*ListContentSourcesUsingGETParams) SetName ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) SetName(name *string)
SetName adds the name to the list content sources using get params
func (*ListContentSourcesUsingGETParams) SetProjectIds ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) SetProjectIds(projectIds []string)
SetProjectIds adds the projectIds to the list content sources using get params
func (*ListContentSourcesUsingGETParams) SetRepository ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) SetRepository(repository *string)
SetRepository adds the repository to the list content sources using get params
func (*ListContentSourcesUsingGETParams) SetSearch ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) SetSearch(search *string)
SetSearch adds the search to the list content sources using get params
func (*ListContentSourcesUsingGETParams) SetSyncEnabled ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) SetSyncEnabled(syncEnabled *bool)
SetSyncEnabled adds the syncEnabled to the list content sources using get params
func (*ListContentSourcesUsingGETParams) SetTimeout ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list content sources using get params
func (*ListContentSourcesUsingGETParams) SetTypeIds ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) SetTypeIds(typeIds []string)
SetTypeIds adds the typeIds to the list content sources using get params
func (*ListContentSourcesUsingGETParams) WithAPIVersion ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) WithAPIVersion(aPIVersion *string) *ListContentSourcesUsingGETParams
WithAPIVersion adds the aPIVersion to the list content sources using get params
func (*ListContentSourcesUsingGETParams) WithContentType ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) WithContentType(contentType *string) *ListContentSourcesUsingGETParams
WithContentType adds the contentType to the list content sources using get params
func (*ListContentSourcesUsingGETParams) WithContext ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) WithContext(ctx context.Context) *ListContentSourcesUsingGETParams
WithContext adds the context to the list content sources using get params
func (*ListContentSourcesUsingGETParams) WithDefaults ¶ added in v0.2.20
func (o *ListContentSourcesUsingGETParams) WithDefaults() *ListContentSourcesUsingGETParams
WithDefaults hydrates default values in the list content sources using get params (not the query body).
All values with no default are reset to their zero value.
func (*ListContentSourcesUsingGETParams) WithHTTPClient ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) WithHTTPClient(client *http.Client) *ListContentSourcesUsingGETParams
WithHTTPClient adds the HTTPClient to the list content sources using get params
func (*ListContentSourcesUsingGETParams) WithIntegrationID ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) WithIntegrationID(integrationID *string) *ListContentSourcesUsingGETParams
WithIntegrationID adds the integrationID to the list content sources using get params
func (*ListContentSourcesUsingGETParams) WithName ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) WithName(name *string) *ListContentSourcesUsingGETParams
WithName adds the name to the list content sources using get params
func (*ListContentSourcesUsingGETParams) WithProjectIds ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) WithProjectIds(projectIds []string) *ListContentSourcesUsingGETParams
WithProjectIds adds the projectIds to the list content sources using get params
func (*ListContentSourcesUsingGETParams) WithRepository ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) WithRepository(repository *string) *ListContentSourcesUsingGETParams
WithRepository adds the repository to the list content sources using get params
func (*ListContentSourcesUsingGETParams) WithSearch ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) WithSearch(search *string) *ListContentSourcesUsingGETParams
WithSearch adds the search to the list content sources using get params
func (*ListContentSourcesUsingGETParams) WithSyncEnabled ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) WithSyncEnabled(syncEnabled *bool) *ListContentSourcesUsingGETParams
WithSyncEnabled adds the syncEnabled to the list content sources using get params
func (*ListContentSourcesUsingGETParams) WithTimeout ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) WithTimeout(timeout time.Duration) *ListContentSourcesUsingGETParams
WithTimeout adds the timeout to the list content sources using get params
func (*ListContentSourcesUsingGETParams) WithTypeIds ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) WithTypeIds(typeIds []string) *ListContentSourcesUsingGETParams
WithTypeIds adds the typeIds to the list content sources using get params
func (*ListContentSourcesUsingGETParams) WriteToRequest ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListContentSourcesUsingGETReader ¶ added in v0.2.18
type ListContentSourcesUsingGETReader struct {
// contains filtered or unexported fields
}
ListContentSourcesUsingGETReader is a Reader for the ListContentSourcesUsingGET structure.
func (*ListContentSourcesUsingGETReader) ReadResponse ¶ added in v0.2.18
func (o *ListContentSourcesUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListContentSourcesUsingGETUnauthorized ¶ added in v0.5.0
type ListContentSourcesUsingGETUnauthorized struct { }
ListContentSourcesUsingGETUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListContentSourcesUsingGETUnauthorized ¶ added in v0.5.0
func NewListContentSourcesUsingGETUnauthorized() *ListContentSourcesUsingGETUnauthorized
NewListContentSourcesUsingGETUnauthorized creates a ListContentSourcesUsingGETUnauthorized with default headers values
func (*ListContentSourcesUsingGETUnauthorized) Error ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETUnauthorized) Error() string
func (*ListContentSourcesUsingGETUnauthorized) IsClientError ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETUnauthorized) IsClientError() bool
IsClientError returns true when this list content sources using g e t unauthorized response has a 4xx status code
func (*ListContentSourcesUsingGETUnauthorized) IsCode ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETUnauthorized) IsCode(code int) bool
IsCode returns true when this list content sources using g e t unauthorized response a status code equal to that given
func (*ListContentSourcesUsingGETUnauthorized) IsRedirect ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETUnauthorized) IsRedirect() bool
IsRedirect returns true when this list content sources using g e t unauthorized response has a 3xx status code
func (*ListContentSourcesUsingGETUnauthorized) IsServerError ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETUnauthorized) IsServerError() bool
IsServerError returns true when this list content sources using g e t unauthorized response has a 5xx status code
func (*ListContentSourcesUsingGETUnauthorized) IsSuccess ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETUnauthorized) IsSuccess() bool
IsSuccess returns true when this list content sources using g e t unauthorized response has a 2xx status code
func (*ListContentSourcesUsingGETUnauthorized) String ¶ added in v0.5.0
func (o *ListContentSourcesUsingGETUnauthorized) String() string
Source Files ¶
- content_source_client.go
- create_content_source_using_post_parameters.go
- create_content_source_using_post_responses.go
- delete_content_source_using_delete_parameters.go
- delete_content_source_using_delete_responses.go
- get_content_source_using_get_parameters.go
- get_content_source_using_get_responses.go
- list_content_sources_using_get_parameters.go
- list_content_sources_using_get_responses.go