Documentation ¶
Index ¶
- type Client
- func (a *Client) GetSyncRequestUsingGET(params *GetSyncRequestUsingGETParams) (*GetSyncRequestUsingGETOK, error)
- func (a *Client) ScheduleSyncAllUsingPOST(params *ScheduleSyncAllUsingPOSTParams) (*ScheduleSyncAllUsingPOSTAccepted, error)
- func (a *Client) ScheduleSyncUsingPOST(params *ScheduleSyncUsingPOSTParams) (*ScheduleSyncUsingPOSTAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SyncHistoryUsingGET(params *SyncHistoryUsingGETParams) (*SyncHistoryUsingGETOK, error)
- type ClientService
- type GetSyncRequestUsingGETNotFound
- type GetSyncRequestUsingGETOK
- type GetSyncRequestUsingGETParams
- func NewGetSyncRequestUsingGETParams() *GetSyncRequestUsingGETParams
- func NewGetSyncRequestUsingGETParamsWithContext(ctx context.Context) *GetSyncRequestUsingGETParams
- func NewGetSyncRequestUsingGETParamsWithHTTPClient(client *http.Client) *GetSyncRequestUsingGETParams
- func NewGetSyncRequestUsingGETParamsWithTimeout(timeout time.Duration) *GetSyncRequestUsingGETParams
- func (o *GetSyncRequestUsingGETParams) SetAPIVersion(aPIVersion *string)
- func (o *GetSyncRequestUsingGETParams) SetContext(ctx context.Context)
- func (o *GetSyncRequestUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetSyncRequestUsingGETParams) SetID(id strfmt.UUID)
- func (o *GetSyncRequestUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetSyncRequestUsingGETParams) WithAPIVersion(aPIVersion *string) *GetSyncRequestUsingGETParams
- func (o *GetSyncRequestUsingGETParams) WithContext(ctx context.Context) *GetSyncRequestUsingGETParams
- func (o *GetSyncRequestUsingGETParams) WithHTTPClient(client *http.Client) *GetSyncRequestUsingGETParams
- func (o *GetSyncRequestUsingGETParams) WithID(id strfmt.UUID) *GetSyncRequestUsingGETParams
- func (o *GetSyncRequestUsingGETParams) WithTimeout(timeout time.Duration) *GetSyncRequestUsingGETParams
- func (o *GetSyncRequestUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSyncRequestUsingGETReader
- type ScheduleSyncAllUsingPOSTAccepted
- type ScheduleSyncAllUsingPOSTParams
- func NewScheduleSyncAllUsingPOSTParams() *ScheduleSyncAllUsingPOSTParams
- func NewScheduleSyncAllUsingPOSTParamsWithContext(ctx context.Context) *ScheduleSyncAllUsingPOSTParams
- func NewScheduleSyncAllUsingPOSTParamsWithHTTPClient(client *http.Client) *ScheduleSyncAllUsingPOSTParams
- func NewScheduleSyncAllUsingPOSTParamsWithTimeout(timeout time.Duration) *ScheduleSyncAllUsingPOSTParams
- func (o *ScheduleSyncAllUsingPOSTParams) SetAPIVersion(aPIVersion *string)
- func (o *ScheduleSyncAllUsingPOSTParams) SetContext(ctx context.Context)
- func (o *ScheduleSyncAllUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *ScheduleSyncAllUsingPOSTParams) SetRequest(request *models.SourceControlSyncAllRequest)
- func (o *ScheduleSyncAllUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *ScheduleSyncAllUsingPOSTParams) WithAPIVersion(aPIVersion *string) *ScheduleSyncAllUsingPOSTParams
- func (o *ScheduleSyncAllUsingPOSTParams) WithContext(ctx context.Context) *ScheduleSyncAllUsingPOSTParams
- func (o *ScheduleSyncAllUsingPOSTParams) WithHTTPClient(client *http.Client) *ScheduleSyncAllUsingPOSTParams
- func (o *ScheduleSyncAllUsingPOSTParams) WithRequest(request *models.SourceControlSyncAllRequest) *ScheduleSyncAllUsingPOSTParams
- func (o *ScheduleSyncAllUsingPOSTParams) WithTimeout(timeout time.Duration) *ScheduleSyncAllUsingPOSTParams
- func (o *ScheduleSyncAllUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ScheduleSyncAllUsingPOSTReader
- type ScheduleSyncUsingPOSTAccepted
- type ScheduleSyncUsingPOSTNotFound
- type ScheduleSyncUsingPOSTParams
- func NewScheduleSyncUsingPOSTParams() *ScheduleSyncUsingPOSTParams
- func NewScheduleSyncUsingPOSTParamsWithContext(ctx context.Context) *ScheduleSyncUsingPOSTParams
- func NewScheduleSyncUsingPOSTParamsWithHTTPClient(client *http.Client) *ScheduleSyncUsingPOSTParams
- func NewScheduleSyncUsingPOSTParamsWithTimeout(timeout time.Duration) *ScheduleSyncUsingPOSTParams
- func (o *ScheduleSyncUsingPOSTParams) SetAPIVersion(aPIVersion *string)
- func (o *ScheduleSyncUsingPOSTParams) SetContext(ctx context.Context)
- func (o *ScheduleSyncUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *ScheduleSyncUsingPOSTParams) SetRequest(request *models.SourceControlSyncRequest)
- func (o *ScheduleSyncUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *ScheduleSyncUsingPOSTParams) WithAPIVersion(aPIVersion *string) *ScheduleSyncUsingPOSTParams
- func (o *ScheduleSyncUsingPOSTParams) WithContext(ctx context.Context) *ScheduleSyncUsingPOSTParams
- func (o *ScheduleSyncUsingPOSTParams) WithHTTPClient(client *http.Client) *ScheduleSyncUsingPOSTParams
- func (o *ScheduleSyncUsingPOSTParams) WithRequest(request *models.SourceControlSyncRequest) *ScheduleSyncUsingPOSTParams
- func (o *ScheduleSyncUsingPOSTParams) WithTimeout(timeout time.Duration) *ScheduleSyncUsingPOSTParams
- func (o *ScheduleSyncUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ScheduleSyncUsingPOSTReader
- type SyncHistoryUsingGETOK
- type SyncHistoryUsingGETParams
- func NewSyncHistoryUsingGETParams() *SyncHistoryUsingGETParams
- func NewSyncHistoryUsingGETParamsWithContext(ctx context.Context) *SyncHistoryUsingGETParams
- func NewSyncHistoryUsingGETParamsWithHTTPClient(client *http.Client) *SyncHistoryUsingGETParams
- func NewSyncHistoryUsingGETParamsWithTimeout(timeout time.Duration) *SyncHistoryUsingGETParams
- func (o *SyncHistoryUsingGETParams) SetAPIVersion(aPIVersion *string)
- func (o *SyncHistoryUsingGETParams) SetContentName(contentName *string)
- func (o *SyncHistoryUsingGETParams) SetContentType(contentType *string)
- func (o *SyncHistoryUsingGETParams) SetContext(ctx context.Context)
- func (o *SyncHistoryUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *SyncHistoryUsingGETParams) SetIntegrationID(integrationID *string)
- func (o *SyncHistoryUsingGETParams) SetProjectIds(projectIds []string)
- func (o *SyncHistoryUsingGETParams) SetRequestID(requestID *string)
- func (o *SyncHistoryUsingGETParams) SetSourceIds(sourceIds []strfmt.UUID)
- func (o *SyncHistoryUsingGETParams) SetStatus(status *string)
- func (o *SyncHistoryUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *SyncHistoryUsingGETParams) WithAPIVersion(aPIVersion *string) *SyncHistoryUsingGETParams
- func (o *SyncHistoryUsingGETParams) WithContentName(contentName *string) *SyncHistoryUsingGETParams
- func (o *SyncHistoryUsingGETParams) WithContentType(contentType *string) *SyncHistoryUsingGETParams
- func (o *SyncHistoryUsingGETParams) WithContext(ctx context.Context) *SyncHistoryUsingGETParams
- func (o *SyncHistoryUsingGETParams) WithHTTPClient(client *http.Client) *SyncHistoryUsingGETParams
- func (o *SyncHistoryUsingGETParams) WithIntegrationID(integrationID *string) *SyncHistoryUsingGETParams
- func (o *SyncHistoryUsingGETParams) WithProjectIds(projectIds []string) *SyncHistoryUsingGETParams
- func (o *SyncHistoryUsingGETParams) WithRequestID(requestID *string) *SyncHistoryUsingGETParams
- func (o *SyncHistoryUsingGETParams) WithSourceIds(sourceIds []strfmt.UUID) *SyncHistoryUsingGETParams
- func (o *SyncHistoryUsingGETParams) WithStatus(status *string) *SyncHistoryUsingGETParams
- func (o *SyncHistoryUsingGETParams) WithTimeout(timeout time.Duration) *SyncHistoryUsingGETParams
- func (o *SyncHistoryUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SyncHistoryUsingGETReader
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 source control sync API
func (*Client) GetSyncRequestUsingGET ¶
func (a *Client) GetSyncRequestUsingGET(params *GetSyncRequestUsingGETParams) (*GetSyncRequestUsingGETOK, error)
GetSyncRequestUsingGET gets a sync request by id
func (*Client) ScheduleSyncAllUsingPOST ¶
func (a *Client) ScheduleSyncAllUsingPOST(params *ScheduleSyncAllUsingPOSTParams) (*ScheduleSyncAllUsingPOSTAccepted, error)
ScheduleSyncAllUsingPOST submits sync request for the projects
Request sync for the sources belonging to the user's projects or specified projects
func (*Client) ScheduleSyncUsingPOST ¶
func (a *Client) ScheduleSyncUsingPOST(params *ScheduleSyncUsingPOSTParams) (*ScheduleSyncUsingPOSTAccepted, error)
ScheduleSyncUsingPOST creates a sync request
Request sync for a content source
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SyncHistoryUsingGET ¶
func (a *Client) SyncHistoryUsingGET(params *SyncHistoryUsingGETParams) (*SyncHistoryUsingGETOK, error)
SyncHistoryUsingGET gets sync history
Get history for files synced via source control sync
type ClientService ¶ added in v0.2.18
type ClientService interface { GetSyncRequestUsingGET(params *GetSyncRequestUsingGETParams) (*GetSyncRequestUsingGETOK, error) ScheduleSyncAllUsingPOST(params *ScheduleSyncAllUsingPOSTParams) (*ScheduleSyncAllUsingPOSTAccepted, error) ScheduleSyncUsingPOST(params *ScheduleSyncUsingPOSTParams) (*ScheduleSyncUsingPOSTAccepted, error) SyncHistoryUsingGET(params *SyncHistoryUsingGETParams) (*SyncHistoryUsingGETOK, 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 source control sync API client.
type GetSyncRequestUsingGETNotFound ¶
GetSyncRequestUsingGETNotFound handles this case with default header values.
request not found
func NewGetSyncRequestUsingGETNotFound ¶
func NewGetSyncRequestUsingGETNotFound() *GetSyncRequestUsingGETNotFound
NewGetSyncRequestUsingGETNotFound creates a GetSyncRequestUsingGETNotFound with default headers values
func (*GetSyncRequestUsingGETNotFound) Error ¶
func (o *GetSyncRequestUsingGETNotFound) Error() string
func (*GetSyncRequestUsingGETNotFound) GetPayload ¶ added in v0.2.9
func (o *GetSyncRequestUsingGETNotFound) GetPayload() *models.Error
type GetSyncRequestUsingGETOK ¶
type GetSyncRequestUsingGETOK struct {
Payload *models.SourceControlSyncRequest
}
GetSyncRequestUsingGETOK handles this case with default header values.
Sync request for id
func NewGetSyncRequestUsingGETOK ¶
func NewGetSyncRequestUsingGETOK() *GetSyncRequestUsingGETOK
NewGetSyncRequestUsingGETOK creates a GetSyncRequestUsingGETOK with default headers values
func (*GetSyncRequestUsingGETOK) Error ¶
func (o *GetSyncRequestUsingGETOK) Error() string
func (*GetSyncRequestUsingGETOK) GetPayload ¶
func (o *GetSyncRequestUsingGETOK) GetPayload() *models.SourceControlSyncRequest
type GetSyncRequestUsingGETParams ¶
type GetSyncRequestUsingGETParams 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 sync request */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSyncRequestUsingGETParams contains all the parameters to send to the API endpoint for the get sync request using g e t operation typically these are written to a http.Request
func NewGetSyncRequestUsingGETParams ¶
func NewGetSyncRequestUsingGETParams() *GetSyncRequestUsingGETParams
NewGetSyncRequestUsingGETParams creates a new GetSyncRequestUsingGETParams object with the default values initialized.
func NewGetSyncRequestUsingGETParamsWithContext ¶
func NewGetSyncRequestUsingGETParamsWithContext(ctx context.Context) *GetSyncRequestUsingGETParams
NewGetSyncRequestUsingGETParamsWithContext creates a new GetSyncRequestUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetSyncRequestUsingGETParamsWithHTTPClient ¶
func NewGetSyncRequestUsingGETParamsWithHTTPClient(client *http.Client) *GetSyncRequestUsingGETParams
NewGetSyncRequestUsingGETParamsWithHTTPClient creates a new GetSyncRequestUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSyncRequestUsingGETParamsWithTimeout ¶
func NewGetSyncRequestUsingGETParamsWithTimeout(timeout time.Duration) *GetSyncRequestUsingGETParams
NewGetSyncRequestUsingGETParamsWithTimeout creates a new GetSyncRequestUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSyncRequestUsingGETParams) SetAPIVersion ¶
func (o *GetSyncRequestUsingGETParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get sync request using get params
func (*GetSyncRequestUsingGETParams) SetContext ¶
func (o *GetSyncRequestUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get sync request using get params
func (*GetSyncRequestUsingGETParams) SetHTTPClient ¶
func (o *GetSyncRequestUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get sync request using get params
func (*GetSyncRequestUsingGETParams) SetID ¶
func (o *GetSyncRequestUsingGETParams) SetID(id strfmt.UUID)
SetID adds the id to the get sync request using get params
func (*GetSyncRequestUsingGETParams) SetTimeout ¶
func (o *GetSyncRequestUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get sync request using get params
func (*GetSyncRequestUsingGETParams) WithAPIVersion ¶
func (o *GetSyncRequestUsingGETParams) WithAPIVersion(aPIVersion *string) *GetSyncRequestUsingGETParams
WithAPIVersion adds the aPIVersion to the get sync request using get params
func (*GetSyncRequestUsingGETParams) WithContext ¶
func (o *GetSyncRequestUsingGETParams) WithContext(ctx context.Context) *GetSyncRequestUsingGETParams
WithContext adds the context to the get sync request using get params
func (*GetSyncRequestUsingGETParams) WithHTTPClient ¶
func (o *GetSyncRequestUsingGETParams) WithHTTPClient(client *http.Client) *GetSyncRequestUsingGETParams
WithHTTPClient adds the HTTPClient to the get sync request using get params
func (*GetSyncRequestUsingGETParams) WithID ¶
func (o *GetSyncRequestUsingGETParams) WithID(id strfmt.UUID) *GetSyncRequestUsingGETParams
WithID adds the id to the get sync request using get params
func (*GetSyncRequestUsingGETParams) WithTimeout ¶
func (o *GetSyncRequestUsingGETParams) WithTimeout(timeout time.Duration) *GetSyncRequestUsingGETParams
WithTimeout adds the timeout to the get sync request using get params
func (*GetSyncRequestUsingGETParams) WriteToRequest ¶
func (o *GetSyncRequestUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSyncRequestUsingGETReader ¶
type GetSyncRequestUsingGETReader struct {
// contains filtered or unexported fields
}
GetSyncRequestUsingGETReader is a Reader for the GetSyncRequestUsingGET structure.
func (*GetSyncRequestUsingGETReader) ReadResponse ¶
func (o *GetSyncRequestUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ScheduleSyncAllUsingPOSTAccepted ¶
type ScheduleSyncAllUsingPOSTAccepted struct {
Payload *models.SourceControlSyncRequests
}
ScheduleSyncAllUsingPOSTAccepted handles this case with default header values.
Submitted sync requests
func NewScheduleSyncAllUsingPOSTAccepted ¶
func NewScheduleSyncAllUsingPOSTAccepted() *ScheduleSyncAllUsingPOSTAccepted
NewScheduleSyncAllUsingPOSTAccepted creates a ScheduleSyncAllUsingPOSTAccepted with default headers values
func (*ScheduleSyncAllUsingPOSTAccepted) Error ¶
func (o *ScheduleSyncAllUsingPOSTAccepted) Error() string
func (*ScheduleSyncAllUsingPOSTAccepted) GetPayload ¶
func (o *ScheduleSyncAllUsingPOSTAccepted) GetPayload() *models.SourceControlSyncRequests
type ScheduleSyncAllUsingPOSTParams ¶
type ScheduleSyncAllUsingPOSTParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about */ APIVersion *string /*Request request */ Request *models.SourceControlSyncAllRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ScheduleSyncAllUsingPOSTParams contains all the parameters to send to the API endpoint for the schedule sync all using p o s t operation typically these are written to a http.Request
func NewScheduleSyncAllUsingPOSTParams ¶
func NewScheduleSyncAllUsingPOSTParams() *ScheduleSyncAllUsingPOSTParams
NewScheduleSyncAllUsingPOSTParams creates a new ScheduleSyncAllUsingPOSTParams object with the default values initialized.
func NewScheduleSyncAllUsingPOSTParamsWithContext ¶
func NewScheduleSyncAllUsingPOSTParamsWithContext(ctx context.Context) *ScheduleSyncAllUsingPOSTParams
NewScheduleSyncAllUsingPOSTParamsWithContext creates a new ScheduleSyncAllUsingPOSTParams object with the default values initialized, and the ability to set a context for a request
func NewScheduleSyncAllUsingPOSTParamsWithHTTPClient ¶
func NewScheduleSyncAllUsingPOSTParamsWithHTTPClient(client *http.Client) *ScheduleSyncAllUsingPOSTParams
NewScheduleSyncAllUsingPOSTParamsWithHTTPClient creates a new ScheduleSyncAllUsingPOSTParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewScheduleSyncAllUsingPOSTParamsWithTimeout ¶
func NewScheduleSyncAllUsingPOSTParamsWithTimeout(timeout time.Duration) *ScheduleSyncAllUsingPOSTParams
NewScheduleSyncAllUsingPOSTParamsWithTimeout creates a new ScheduleSyncAllUsingPOSTParams object with the default values initialized, and the ability to set a timeout on a request
func (*ScheduleSyncAllUsingPOSTParams) SetAPIVersion ¶
func (o *ScheduleSyncAllUsingPOSTParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the schedule sync all using p o s t params
func (*ScheduleSyncAllUsingPOSTParams) SetContext ¶
func (o *ScheduleSyncAllUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the schedule sync all using p o s t params
func (*ScheduleSyncAllUsingPOSTParams) SetHTTPClient ¶
func (o *ScheduleSyncAllUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the schedule sync all using p o s t params
func (*ScheduleSyncAllUsingPOSTParams) SetRequest ¶
func (o *ScheduleSyncAllUsingPOSTParams) SetRequest(request *models.SourceControlSyncAllRequest)
SetRequest adds the request to the schedule sync all using p o s t params
func (*ScheduleSyncAllUsingPOSTParams) SetTimeout ¶
func (o *ScheduleSyncAllUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the schedule sync all using p o s t params
func (*ScheduleSyncAllUsingPOSTParams) WithAPIVersion ¶
func (o *ScheduleSyncAllUsingPOSTParams) WithAPIVersion(aPIVersion *string) *ScheduleSyncAllUsingPOSTParams
WithAPIVersion adds the aPIVersion to the schedule sync all using p o s t params
func (*ScheduleSyncAllUsingPOSTParams) WithContext ¶
func (o *ScheduleSyncAllUsingPOSTParams) WithContext(ctx context.Context) *ScheduleSyncAllUsingPOSTParams
WithContext adds the context to the schedule sync all using p o s t params
func (*ScheduleSyncAllUsingPOSTParams) WithHTTPClient ¶
func (o *ScheduleSyncAllUsingPOSTParams) WithHTTPClient(client *http.Client) *ScheduleSyncAllUsingPOSTParams
WithHTTPClient adds the HTTPClient to the schedule sync all using p o s t params
func (*ScheduleSyncAllUsingPOSTParams) WithRequest ¶
func (o *ScheduleSyncAllUsingPOSTParams) WithRequest(request *models.SourceControlSyncAllRequest) *ScheduleSyncAllUsingPOSTParams
WithRequest adds the request to the schedule sync all using p o s t params
func (*ScheduleSyncAllUsingPOSTParams) WithTimeout ¶
func (o *ScheduleSyncAllUsingPOSTParams) WithTimeout(timeout time.Duration) *ScheduleSyncAllUsingPOSTParams
WithTimeout adds the timeout to the schedule sync all using p o s t params
func (*ScheduleSyncAllUsingPOSTParams) WriteToRequest ¶
func (o *ScheduleSyncAllUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ScheduleSyncAllUsingPOSTReader ¶
type ScheduleSyncAllUsingPOSTReader struct {
// contains filtered or unexported fields
}
ScheduleSyncAllUsingPOSTReader is a Reader for the ScheduleSyncAllUsingPOST structure.
func (*ScheduleSyncAllUsingPOSTReader) ReadResponse ¶
func (o *ScheduleSyncAllUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ScheduleSyncUsingPOSTAccepted ¶
type ScheduleSyncUsingPOSTAccepted struct {
Payload *models.SourceControlSyncRequest
}
ScheduleSyncUsingPOSTAccepted handles this case with default header values.
Submitted sync requests
func NewScheduleSyncUsingPOSTAccepted ¶
func NewScheduleSyncUsingPOSTAccepted() *ScheduleSyncUsingPOSTAccepted
NewScheduleSyncUsingPOSTAccepted creates a ScheduleSyncUsingPOSTAccepted with default headers values
func (*ScheduleSyncUsingPOSTAccepted) Error ¶
func (o *ScheduleSyncUsingPOSTAccepted) Error() string
func (*ScheduleSyncUsingPOSTAccepted) GetPayload ¶
func (o *ScheduleSyncUsingPOSTAccepted) GetPayload() *models.SourceControlSyncRequest
type ScheduleSyncUsingPOSTNotFound ¶
ScheduleSyncUsingPOSTNotFound handles this case with default header values.
source not found
func NewScheduleSyncUsingPOSTNotFound ¶
func NewScheduleSyncUsingPOSTNotFound() *ScheduleSyncUsingPOSTNotFound
NewScheduleSyncUsingPOSTNotFound creates a ScheduleSyncUsingPOSTNotFound with default headers values
func (*ScheduleSyncUsingPOSTNotFound) Error ¶
func (o *ScheduleSyncUsingPOSTNotFound) Error() string
func (*ScheduleSyncUsingPOSTNotFound) GetPayload ¶ added in v0.2.9
func (o *ScheduleSyncUsingPOSTNotFound) GetPayload() *models.Error
type ScheduleSyncUsingPOSTParams ¶
type ScheduleSyncUsingPOSTParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about */ APIVersion *string /*Request request */ Request *models.SourceControlSyncRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ScheduleSyncUsingPOSTParams contains all the parameters to send to the API endpoint for the schedule sync using p o s t operation typically these are written to a http.Request
func NewScheduleSyncUsingPOSTParams ¶
func NewScheduleSyncUsingPOSTParams() *ScheduleSyncUsingPOSTParams
NewScheduleSyncUsingPOSTParams creates a new ScheduleSyncUsingPOSTParams object with the default values initialized.
func NewScheduleSyncUsingPOSTParamsWithContext ¶
func NewScheduleSyncUsingPOSTParamsWithContext(ctx context.Context) *ScheduleSyncUsingPOSTParams
NewScheduleSyncUsingPOSTParamsWithContext creates a new ScheduleSyncUsingPOSTParams object with the default values initialized, and the ability to set a context for a request
func NewScheduleSyncUsingPOSTParamsWithHTTPClient ¶
func NewScheduleSyncUsingPOSTParamsWithHTTPClient(client *http.Client) *ScheduleSyncUsingPOSTParams
NewScheduleSyncUsingPOSTParamsWithHTTPClient creates a new ScheduleSyncUsingPOSTParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewScheduleSyncUsingPOSTParamsWithTimeout ¶
func NewScheduleSyncUsingPOSTParamsWithTimeout(timeout time.Duration) *ScheduleSyncUsingPOSTParams
NewScheduleSyncUsingPOSTParamsWithTimeout creates a new ScheduleSyncUsingPOSTParams object with the default values initialized, and the ability to set a timeout on a request
func (*ScheduleSyncUsingPOSTParams) SetAPIVersion ¶
func (o *ScheduleSyncUsingPOSTParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the schedule sync using p o s t params
func (*ScheduleSyncUsingPOSTParams) SetContext ¶
func (o *ScheduleSyncUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the schedule sync using p o s t params
func (*ScheduleSyncUsingPOSTParams) SetHTTPClient ¶
func (o *ScheduleSyncUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the schedule sync using p o s t params
func (*ScheduleSyncUsingPOSTParams) SetRequest ¶
func (o *ScheduleSyncUsingPOSTParams) SetRequest(request *models.SourceControlSyncRequest)
SetRequest adds the request to the schedule sync using p o s t params
func (*ScheduleSyncUsingPOSTParams) SetTimeout ¶
func (o *ScheduleSyncUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the schedule sync using p o s t params
func (*ScheduleSyncUsingPOSTParams) WithAPIVersion ¶
func (o *ScheduleSyncUsingPOSTParams) WithAPIVersion(aPIVersion *string) *ScheduleSyncUsingPOSTParams
WithAPIVersion adds the aPIVersion to the schedule sync using p o s t params
func (*ScheduleSyncUsingPOSTParams) WithContext ¶
func (o *ScheduleSyncUsingPOSTParams) WithContext(ctx context.Context) *ScheduleSyncUsingPOSTParams
WithContext adds the context to the schedule sync using p o s t params
func (*ScheduleSyncUsingPOSTParams) WithHTTPClient ¶
func (o *ScheduleSyncUsingPOSTParams) WithHTTPClient(client *http.Client) *ScheduleSyncUsingPOSTParams
WithHTTPClient adds the HTTPClient to the schedule sync using p o s t params
func (*ScheduleSyncUsingPOSTParams) WithRequest ¶
func (o *ScheduleSyncUsingPOSTParams) WithRequest(request *models.SourceControlSyncRequest) *ScheduleSyncUsingPOSTParams
WithRequest adds the request to the schedule sync using p o s t params
func (*ScheduleSyncUsingPOSTParams) WithTimeout ¶
func (o *ScheduleSyncUsingPOSTParams) WithTimeout(timeout time.Duration) *ScheduleSyncUsingPOSTParams
WithTimeout adds the timeout to the schedule sync using p o s t params
func (*ScheduleSyncUsingPOSTParams) WriteToRequest ¶
func (o *ScheduleSyncUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ScheduleSyncUsingPOSTReader ¶
type ScheduleSyncUsingPOSTReader struct {
// contains filtered or unexported fields
}
ScheduleSyncUsingPOSTReader is a Reader for the ScheduleSyncUsingPOST structure.
func (*ScheduleSyncUsingPOSTReader) ReadResponse ¶
func (o *ScheduleSyncUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SyncHistoryUsingGETOK ¶
type SyncHistoryUsingGETOK struct {
Payload *models.SourceControlSyncHistory
}
SyncHistoryUsingGETOK handles this case with default header values.
Sync history
func NewSyncHistoryUsingGETOK ¶
func NewSyncHistoryUsingGETOK() *SyncHistoryUsingGETOK
NewSyncHistoryUsingGETOK creates a SyncHistoryUsingGETOK with default headers values
func (*SyncHistoryUsingGETOK) Error ¶
func (o *SyncHistoryUsingGETOK) Error() string
func (*SyncHistoryUsingGETOK) GetPayload ¶
func (o *SyncHistoryUsingGETOK) GetPayload() *models.SourceControlSyncHistory
type SyncHistoryUsingGETParams ¶
type SyncHistoryUsingGETParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about */ APIVersion *string /*ContentName Search based on content name */ ContentName *string /*ContentType Search based on content type */ ContentType *string /*IntegrationID Search based on integration id */ IntegrationID *string /*ProjectIds Search based on project ids */ ProjectIds []string /*RequestID Search based on request Id */ RequestID *string /*SourceIds Search based on content source ids */ SourceIds []strfmt.UUID /*Status Search based on sync status */ Status *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SyncHistoryUsingGETParams contains all the parameters to send to the API endpoint for the sync history using g e t operation typically these are written to a http.Request
func NewSyncHistoryUsingGETParams ¶
func NewSyncHistoryUsingGETParams() *SyncHistoryUsingGETParams
NewSyncHistoryUsingGETParams creates a new SyncHistoryUsingGETParams object with the default values initialized.
func NewSyncHistoryUsingGETParamsWithContext ¶
func NewSyncHistoryUsingGETParamsWithContext(ctx context.Context) *SyncHistoryUsingGETParams
NewSyncHistoryUsingGETParamsWithContext creates a new SyncHistoryUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewSyncHistoryUsingGETParamsWithHTTPClient ¶
func NewSyncHistoryUsingGETParamsWithHTTPClient(client *http.Client) *SyncHistoryUsingGETParams
NewSyncHistoryUsingGETParamsWithHTTPClient creates a new SyncHistoryUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSyncHistoryUsingGETParamsWithTimeout ¶
func NewSyncHistoryUsingGETParamsWithTimeout(timeout time.Duration) *SyncHistoryUsingGETParams
NewSyncHistoryUsingGETParamsWithTimeout creates a new SyncHistoryUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*SyncHistoryUsingGETParams) SetAPIVersion ¶
func (o *SyncHistoryUsingGETParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the sync history using get params
func (*SyncHistoryUsingGETParams) SetContentName ¶
func (o *SyncHistoryUsingGETParams) SetContentName(contentName *string)
SetContentName adds the contentName to the sync history using get params
func (*SyncHistoryUsingGETParams) SetContentType ¶
func (o *SyncHistoryUsingGETParams) SetContentType(contentType *string)
SetContentType adds the contentType to the sync history using get params
func (*SyncHistoryUsingGETParams) SetContext ¶
func (o *SyncHistoryUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the sync history using get params
func (*SyncHistoryUsingGETParams) SetHTTPClient ¶
func (o *SyncHistoryUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the sync history using get params
func (*SyncHistoryUsingGETParams) SetIntegrationID ¶
func (o *SyncHistoryUsingGETParams) SetIntegrationID(integrationID *string)
SetIntegrationID adds the integrationId to the sync history using get params
func (*SyncHistoryUsingGETParams) SetProjectIds ¶
func (o *SyncHistoryUsingGETParams) SetProjectIds(projectIds []string)
SetProjectIds adds the projectIds to the sync history using get params
func (*SyncHistoryUsingGETParams) SetRequestID ¶
func (o *SyncHistoryUsingGETParams) SetRequestID(requestID *string)
SetRequestID adds the requestId to the sync history using get params
func (*SyncHistoryUsingGETParams) SetSourceIds ¶
func (o *SyncHistoryUsingGETParams) SetSourceIds(sourceIds []strfmt.UUID)
SetSourceIds adds the sourceIds to the sync history using get params
func (*SyncHistoryUsingGETParams) SetStatus ¶
func (o *SyncHistoryUsingGETParams) SetStatus(status *string)
SetStatus adds the status to the sync history using get params
func (*SyncHistoryUsingGETParams) SetTimeout ¶
func (o *SyncHistoryUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the sync history using get params
func (*SyncHistoryUsingGETParams) WithAPIVersion ¶
func (o *SyncHistoryUsingGETParams) WithAPIVersion(aPIVersion *string) *SyncHistoryUsingGETParams
WithAPIVersion adds the aPIVersion to the sync history using get params
func (*SyncHistoryUsingGETParams) WithContentName ¶
func (o *SyncHistoryUsingGETParams) WithContentName(contentName *string) *SyncHistoryUsingGETParams
WithContentName adds the contentName to the sync history using get params
func (*SyncHistoryUsingGETParams) WithContentType ¶
func (o *SyncHistoryUsingGETParams) WithContentType(contentType *string) *SyncHistoryUsingGETParams
WithContentType adds the contentType to the sync history using get params
func (*SyncHistoryUsingGETParams) WithContext ¶
func (o *SyncHistoryUsingGETParams) WithContext(ctx context.Context) *SyncHistoryUsingGETParams
WithContext adds the context to the sync history using get params
func (*SyncHistoryUsingGETParams) WithHTTPClient ¶
func (o *SyncHistoryUsingGETParams) WithHTTPClient(client *http.Client) *SyncHistoryUsingGETParams
WithHTTPClient adds the HTTPClient to the sync history using get params
func (*SyncHistoryUsingGETParams) WithIntegrationID ¶
func (o *SyncHistoryUsingGETParams) WithIntegrationID(integrationID *string) *SyncHistoryUsingGETParams
WithIntegrationID adds the integrationID to the sync history using get params
func (*SyncHistoryUsingGETParams) WithProjectIds ¶
func (o *SyncHistoryUsingGETParams) WithProjectIds(projectIds []string) *SyncHistoryUsingGETParams
WithProjectIds adds the projectIds to the sync history using get params
func (*SyncHistoryUsingGETParams) WithRequestID ¶
func (o *SyncHistoryUsingGETParams) WithRequestID(requestID *string) *SyncHistoryUsingGETParams
WithRequestID adds the requestID to the sync history using get params
func (*SyncHistoryUsingGETParams) WithSourceIds ¶
func (o *SyncHistoryUsingGETParams) WithSourceIds(sourceIds []strfmt.UUID) *SyncHistoryUsingGETParams
WithSourceIds adds the sourceIds to the sync history using get params
func (*SyncHistoryUsingGETParams) WithStatus ¶
func (o *SyncHistoryUsingGETParams) WithStatus(status *string) *SyncHistoryUsingGETParams
WithStatus adds the status to the sync history using get params
func (*SyncHistoryUsingGETParams) WithTimeout ¶
func (o *SyncHistoryUsingGETParams) WithTimeout(timeout time.Duration) *SyncHistoryUsingGETParams
WithTimeout adds the timeout to the sync history using get params
func (*SyncHistoryUsingGETParams) WriteToRequest ¶
func (o *SyncHistoryUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SyncHistoryUsingGETReader ¶
type SyncHistoryUsingGETReader struct {
// contains filtered or unexported fields
}
SyncHistoryUsingGETReader is a Reader for the SyncHistoryUsingGET structure.
func (*SyncHistoryUsingGETReader) ReadResponse ¶
func (o *SyncHistoryUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- get_sync_request_using_get_parameters.go
- get_sync_request_using_get_responses.go
- schedule_sync_all_using_post_parameters.go
- schedule_sync_all_using_post_responses.go
- schedule_sync_using_post_parameters.go
- schedule_sync_using_post_responses.go
- source_control_sync_client.go
- sync_history_using_get_parameters.go
- sync_history_using_get_responses.go