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) GetContentSourcesUsingGET(params *GetContentSourcesUsingGETParams) (*GetContentSourcesUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- 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 GetContentSourcesUsingGETOK
- type GetContentSourcesUsingGETParams
- func NewGetContentSourcesUsingGETParams() *GetContentSourcesUsingGETParams
- func NewGetContentSourcesUsingGETParamsWithContext(ctx context.Context) *GetContentSourcesUsingGETParams
- func NewGetContentSourcesUsingGETParamsWithHTTPClient(client *http.Client) *GetContentSourcesUsingGETParams
- func NewGetContentSourcesUsingGETParamsWithTimeout(timeout time.Duration) *GetContentSourcesUsingGETParams
- func (o *GetContentSourcesUsingGETParams) SetAPIVersion(aPIVersion *string)
- func (o *GetContentSourcesUsingGETParams) SetContentType(contentType *string)
- func (o *GetContentSourcesUsingGETParams) SetContext(ctx context.Context)
- func (o *GetContentSourcesUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetContentSourcesUsingGETParams) SetIntegrationID(integrationID *string)
- func (o *GetContentSourcesUsingGETParams) SetName(name *string)
- func (o *GetContentSourcesUsingGETParams) SetProjectIds(projectIds []string)
- func (o *GetContentSourcesUsingGETParams) SetSyncEnabled(syncEnabled *bool)
- func (o *GetContentSourcesUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetContentSourcesUsingGETParams) SetTypeIds(typeIds []string)
- func (o *GetContentSourcesUsingGETParams) WithAPIVersion(aPIVersion *string) *GetContentSourcesUsingGETParams
- func (o *GetContentSourcesUsingGETParams) WithContentType(contentType *string) *GetContentSourcesUsingGETParams
- func (o *GetContentSourcesUsingGETParams) WithContext(ctx context.Context) *GetContentSourcesUsingGETParams
- func (o *GetContentSourcesUsingGETParams) WithHTTPClient(client *http.Client) *GetContentSourcesUsingGETParams
- func (o *GetContentSourcesUsingGETParams) WithIntegrationID(integrationID *string) *GetContentSourcesUsingGETParams
- func (o *GetContentSourcesUsingGETParams) WithName(name *string) *GetContentSourcesUsingGETParams
- func (o *GetContentSourcesUsingGETParams) WithProjectIds(projectIds []string) *GetContentSourcesUsingGETParams
- func (o *GetContentSourcesUsingGETParams) WithSyncEnabled(syncEnabled *bool) *GetContentSourcesUsingGETParams
- func (o *GetContentSourcesUsingGETParams) WithTimeout(timeout time.Duration) *GetContentSourcesUsingGETParams
- func (o *GetContentSourcesUsingGETParams) WithTypeIds(typeIds []string) *GetContentSourcesUsingGETParams
- func (o *GetContentSourcesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContentSourcesUsingGETReader
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new content source API client.
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) GetContentSourcesUsingGET ¶
func (a *Client) GetContentSourcesUsingGET(params *GetContentSourcesUsingGETParams) (*GetContentSourcesUsingGETOK, error)
GetContentSourcesUsingGET 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 CreateContentSourceUsingPOSTBadRequest ¶
type CreateContentSourceUsingPOSTBadRequest struct { }
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
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 ¶
type GetContentSourceUsingGETNotFound struct { }
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
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 GetContentSourcesUsingGETOK ¶
type GetContentSourcesUsingGETOK struct {
Payload *models.ContentSources
}
GetContentSourcesUsingGETOK handles this case with default header values.
Content sources
func NewGetContentSourcesUsingGETOK ¶
func NewGetContentSourcesUsingGETOK() *GetContentSourcesUsingGETOK
NewGetContentSourcesUsingGETOK creates a GetContentSourcesUsingGETOK with default headers values
func (*GetContentSourcesUsingGETOK) Error ¶
func (o *GetContentSourcesUsingGETOK) Error() string
func (*GetContentSourcesUsingGETOK) GetPayload ¶
func (o *GetContentSourcesUsingGETOK) GetPayload() *models.ContentSources
type GetContentSourcesUsingGETParams ¶
type GetContentSourcesUsingGETParams 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 /*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 }
GetContentSourcesUsingGETParams contains all the parameters to send to the API endpoint for the get content sources using g e t operation typically these are written to a http.Request
func NewGetContentSourcesUsingGETParams ¶
func NewGetContentSourcesUsingGETParams() *GetContentSourcesUsingGETParams
NewGetContentSourcesUsingGETParams creates a new GetContentSourcesUsingGETParams object with the default values initialized.
func NewGetContentSourcesUsingGETParamsWithContext ¶
func NewGetContentSourcesUsingGETParamsWithContext(ctx context.Context) *GetContentSourcesUsingGETParams
NewGetContentSourcesUsingGETParamsWithContext creates a new GetContentSourcesUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetContentSourcesUsingGETParamsWithHTTPClient ¶
func NewGetContentSourcesUsingGETParamsWithHTTPClient(client *http.Client) *GetContentSourcesUsingGETParams
NewGetContentSourcesUsingGETParamsWithHTTPClient creates a new GetContentSourcesUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetContentSourcesUsingGETParamsWithTimeout ¶
func NewGetContentSourcesUsingGETParamsWithTimeout(timeout time.Duration) *GetContentSourcesUsingGETParams
NewGetContentSourcesUsingGETParamsWithTimeout creates a new GetContentSourcesUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetContentSourcesUsingGETParams) SetAPIVersion ¶
func (o *GetContentSourcesUsingGETParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get content sources using get params
func (*GetContentSourcesUsingGETParams) SetContentType ¶
func (o *GetContentSourcesUsingGETParams) SetContentType(contentType *string)
SetContentType adds the contentType to the get content sources using get params
func (*GetContentSourcesUsingGETParams) SetContext ¶
func (o *GetContentSourcesUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get content sources using get params
func (*GetContentSourcesUsingGETParams) SetHTTPClient ¶
func (o *GetContentSourcesUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get content sources using get params
func (*GetContentSourcesUsingGETParams) SetIntegrationID ¶
func (o *GetContentSourcesUsingGETParams) SetIntegrationID(integrationID *string)
SetIntegrationID adds the integrationId to the get content sources using get params
func (*GetContentSourcesUsingGETParams) SetName ¶
func (o *GetContentSourcesUsingGETParams) SetName(name *string)
SetName adds the name to the get content sources using get params
func (*GetContentSourcesUsingGETParams) SetProjectIds ¶
func (o *GetContentSourcesUsingGETParams) SetProjectIds(projectIds []string)
SetProjectIds adds the projectIds to the get content sources using get params
func (*GetContentSourcesUsingGETParams) SetSyncEnabled ¶
func (o *GetContentSourcesUsingGETParams) SetSyncEnabled(syncEnabled *bool)
SetSyncEnabled adds the syncEnabled to the get content sources using get params
func (*GetContentSourcesUsingGETParams) SetTimeout ¶
func (o *GetContentSourcesUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get content sources using get params
func (*GetContentSourcesUsingGETParams) SetTypeIds ¶
func (o *GetContentSourcesUsingGETParams) SetTypeIds(typeIds []string)
SetTypeIds adds the typeIds to the get content sources using get params
func (*GetContentSourcesUsingGETParams) WithAPIVersion ¶
func (o *GetContentSourcesUsingGETParams) WithAPIVersion(aPIVersion *string) *GetContentSourcesUsingGETParams
WithAPIVersion adds the aPIVersion to the get content sources using get params
func (*GetContentSourcesUsingGETParams) WithContentType ¶
func (o *GetContentSourcesUsingGETParams) WithContentType(contentType *string) *GetContentSourcesUsingGETParams
WithContentType adds the contentType to the get content sources using get params
func (*GetContentSourcesUsingGETParams) WithContext ¶
func (o *GetContentSourcesUsingGETParams) WithContext(ctx context.Context) *GetContentSourcesUsingGETParams
WithContext adds the context to the get content sources using get params
func (*GetContentSourcesUsingGETParams) WithHTTPClient ¶
func (o *GetContentSourcesUsingGETParams) WithHTTPClient(client *http.Client) *GetContentSourcesUsingGETParams
WithHTTPClient adds the HTTPClient to the get content sources using get params
func (*GetContentSourcesUsingGETParams) WithIntegrationID ¶
func (o *GetContentSourcesUsingGETParams) WithIntegrationID(integrationID *string) *GetContentSourcesUsingGETParams
WithIntegrationID adds the integrationID to the get content sources using get params
func (*GetContentSourcesUsingGETParams) WithName ¶
func (o *GetContentSourcesUsingGETParams) WithName(name *string) *GetContentSourcesUsingGETParams
WithName adds the name to the get content sources using get params
func (*GetContentSourcesUsingGETParams) WithProjectIds ¶
func (o *GetContentSourcesUsingGETParams) WithProjectIds(projectIds []string) *GetContentSourcesUsingGETParams
WithProjectIds adds the projectIds to the get content sources using get params
func (*GetContentSourcesUsingGETParams) WithSyncEnabled ¶
func (o *GetContentSourcesUsingGETParams) WithSyncEnabled(syncEnabled *bool) *GetContentSourcesUsingGETParams
WithSyncEnabled adds the syncEnabled to the get content sources using get params
func (*GetContentSourcesUsingGETParams) WithTimeout ¶
func (o *GetContentSourcesUsingGETParams) WithTimeout(timeout time.Duration) *GetContentSourcesUsingGETParams
WithTimeout adds the timeout to the get content sources using get params
func (*GetContentSourcesUsingGETParams) WithTypeIds ¶
func (o *GetContentSourcesUsingGETParams) WithTypeIds(typeIds []string) *GetContentSourcesUsingGETParams
WithTypeIds adds the typeIds to the get content sources using get params
func (*GetContentSourcesUsingGETParams) WriteToRequest ¶
func (o *GetContentSourcesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetContentSourcesUsingGETReader ¶
type GetContentSourcesUsingGETReader struct {
// contains filtered or unexported fields
}
GetContentSourcesUsingGETReader is a Reader for the GetContentSourcesUsingGET structure.
func (*GetContentSourcesUsingGETReader) ReadResponse ¶
func (o *GetContentSourcesUsingGETReader) 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
- get_content_sources_using_get_parameters.go
- get_content_sources_using_get_responses.go