Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateContentSourceUsingPOST(params *CreateContentSourceUsingPOSTParams) (*CreateContentSourceUsingPOSTCreated, error)
- func (a *Client) DeleteContentSourceUsingDELETE(params *DeleteContentSourceUsingDELETEParams) (*DeleteContentSourceUsingDELETENoContent, error)
- func (a *Client) GetContentSourceUsingGET(params *GetContentSourceUsingGETParams) (*GetContentSourceUsingGETOK, error)
- func (a *Client) ListContentSourcesUsingGET(params *ListContentSourcesUsingGETParams) (*ListContentSourcesUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateContentSourceUsingPOSTBadRequest
- type CreateContentSourceUsingPOSTCreated
- type CreateContentSourceUsingPOSTForbidden
- 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) 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) 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 DeleteContentSourceUsingDELETENoContent
- 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) 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) 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 GetContentSourceUsingGETNotFound
- type GetContentSourceUsingGETOK
- 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) 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) 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 ListContentSourcesUsingGETOK
- 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) 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) 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
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) (*CreateContentSourceUsingPOSTCreated, error)
CreateContentSourceUsingPOST creates a content source
Returns the new content source
func (*Client) DeleteContentSourceUsingDELETE ¶
func (a *Client) DeleteContentSourceUsingDELETE(params *DeleteContentSourceUsingDELETEParams) (*DeleteContentSourceUsingDELETENoContent, error)
DeleteContentSourceUsingDELETE deletes a content source
func (*Client) GetContentSourceUsingGET ¶
func (a *Client) GetContentSourceUsingGET(params *GetContentSourceUsingGETParams) (*GetContentSourceUsingGETOK, error)
GetContentSourceUsingGET gets a content source
func (*Client) ListContentSourcesUsingGET ¶ added in v0.2.18
func (a *Client) ListContentSourcesUsingGET(params *ListContentSourcesUsingGETParams) (*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 ClientService ¶ added in v0.2.18
type ClientService interface {
CreateContentSourceUsingPOST(params *CreateContentSourceUsingPOSTParams) (*CreateContentSourceUsingPOSTCreated, error)
DeleteContentSourceUsingDELETE(params *DeleteContentSourceUsingDELETEParams) (*DeleteContentSourceUsingDELETENoContent, error)
GetContentSourceUsingGET(params *GetContentSourceUsingGETParams) (*GetContentSourceUsingGETOK, error)
ListContentSourcesUsingGET(params *ListContentSourcesUsingGETParams) (*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 handles this case 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
type CreateContentSourceUsingPOSTCreated ¶
type CreateContentSourceUsingPOSTCreated struct {
Payload *models.ContentSource
}
CreateContentSourceUsingPOSTCreated handles this case 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
type CreateContentSourceUsingPOSTForbidden ¶
type CreateContentSourceUsingPOSTForbidden struct {
}
CreateContentSourceUsingPOSTForbidden handles this case 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
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 values initialized.
func NewCreateContentSourceUsingPOSTParamsWithContext ¶
func NewCreateContentSourceUsingPOSTParamsWithContext(ctx context.Context) *CreateContentSourceUsingPOSTParams
NewCreateContentSourceUsingPOSTParamsWithContext creates a new CreateContentSourceUsingPOSTParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DeleteContentSourceUsingDELETENoContent ¶
type DeleteContentSourceUsingDELETENoContent struct {
}
DeleteContentSourceUsingDELETENoContent handles this case 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
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
*/
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 values initialized.
func NewDeleteContentSourceUsingDELETEParamsWithContext ¶
func NewDeleteContentSourceUsingDELETEParamsWithContext(ctx context.Context) *DeleteContentSourceUsingDELETEParams
NewDeleteContentSourceUsingDELETEParamsWithContext creates a new DeleteContentSourceUsingDELETEParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetContentSourceUsingGETNotFound ¶
GetContentSourceUsingGETNotFound handles this case 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
type GetContentSourceUsingGETOK ¶
type GetContentSourceUsingGETOK struct {
Payload *models.ContentSource
}
GetContentSourceUsingGETOK handles this case 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
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
*/
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 values initialized.
func NewGetContentSourceUsingGETParamsWithContext ¶
func NewGetContentSourceUsingGETParamsWithContext(ctx context.Context) *GetContentSourceUsingGETParams
NewGetContentSourceUsingGETParamsWithContext creates a new GetContentSourceUsingGETParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ListContentSourcesUsingGETOK ¶ added in v0.2.18
type ListContentSourcesUsingGETOK struct {
Payload *models.ContentSources
}
ListContentSourcesUsingGETOK handles this case 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
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 values initialized.
func NewListContentSourcesUsingGETParamsWithContext ¶ added in v0.2.18
func NewListContentSourcesUsingGETParamsWithContext(ctx context.Context) *ListContentSourcesUsingGETParams
NewListContentSourcesUsingGETParamsWithContext creates a new ListContentSourcesUsingGETParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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.
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