source_control_sync

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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, opts ...ClientOption) (*GetSyncRequestUsingGETOK, error)

GetSyncRequestUsingGET gets a sync request by id

func (*Client) ScheduleSyncAllUsingPOST

func (a *Client) ScheduleSyncAllUsingPOST(params *ScheduleSyncAllUsingPOSTParams, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*SyncHistoryUsingGETOK, error)

SyncHistoryUsingGET gets sync history

Get history for files synced via source control sync

type ClientOption added in v0.2.20

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.2.18

type ClientService interface {
	GetSyncRequestUsingGET(params *GetSyncRequestUsingGETParams, opts ...ClientOption) (*GetSyncRequestUsingGETOK, error)

	ScheduleSyncAllUsingPOST(params *ScheduleSyncAllUsingPOSTParams, opts ...ClientOption) (*ScheduleSyncAllUsingPOSTAccepted, error)

	ScheduleSyncUsingPOST(params *ScheduleSyncUsingPOSTParams, opts ...ClientOption) (*ScheduleSyncUsingPOSTAccepted, error)

	SyncHistoryUsingGET(params *SyncHistoryUsingGETParams, opts ...ClientOption) (*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

type GetSyncRequestUsingGETNotFound struct {
	Payload *models.Error
}
GetSyncRequestUsingGETNotFound describes a response with status code 404, with default header values.

request not found

func NewGetSyncRequestUsingGETNotFound

func NewGetSyncRequestUsingGETNotFound() *GetSyncRequestUsingGETNotFound

NewGetSyncRequestUsingGETNotFound creates a GetSyncRequestUsingGETNotFound with default headers values

func (*GetSyncRequestUsingGETNotFound) Error

func (*GetSyncRequestUsingGETNotFound) GetPayload added in v0.2.9

func (o *GetSyncRequestUsingGETNotFound) GetPayload() *models.Error

type GetSyncRequestUsingGETOK

type GetSyncRequestUsingGETOK struct {
	Payload *models.SourceControlSyncRequest
}
GetSyncRequestUsingGETOK describes a response with status code 200, 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

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

	   Format: uuid
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSyncRequestUsingGETParamsWithContext

func NewGetSyncRequestUsingGETParamsWithContext(ctx context.Context) *GetSyncRequestUsingGETParams

NewGetSyncRequestUsingGETParamsWithContext creates a new GetSyncRequestUsingGETParams object with 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 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 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) SetDefaults added in v0.2.20

func (o *GetSyncRequestUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the get sync request using get params (not the query body).

All values with no default are reset to their zero value.

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

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

WithContext adds the context to the get sync request using get params

func (*GetSyncRequestUsingGETParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get sync request using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetSyncRequestUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get sync request using get params

func (*GetSyncRequestUsingGETParams) WithID

WithID adds the id to the get sync request using get params

func (*GetSyncRequestUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get sync request using get params

func (*GetSyncRequestUsingGETParams) WriteToRequest

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 describes a response with status code 202, with default header values.

Submitted sync requests

func NewScheduleSyncAllUsingPOSTAccepted

func NewScheduleSyncAllUsingPOSTAccepted() *ScheduleSyncAllUsingPOSTAccepted

NewScheduleSyncAllUsingPOSTAccepted creates a ScheduleSyncAllUsingPOSTAccepted with default headers values

func (*ScheduleSyncAllUsingPOSTAccepted) Error

func (*ScheduleSyncAllUsingPOSTAccepted) GetPayload

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewScheduleSyncAllUsingPOSTParamsWithContext

func NewScheduleSyncAllUsingPOSTParamsWithContext(ctx context.Context) *ScheduleSyncAllUsingPOSTParams

NewScheduleSyncAllUsingPOSTParamsWithContext creates a new ScheduleSyncAllUsingPOSTParams object with 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 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 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) SetDefaults added in v0.2.20

func (o *ScheduleSyncAllUsingPOSTParams) SetDefaults()

SetDefaults hydrates default values in the schedule sync all using p o s t params (not the query body).

All values with no default are reset to their zero value.

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

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

WithAPIVersion adds the aPIVersion to the schedule sync all using p o s t params

func (*ScheduleSyncAllUsingPOSTParams) WithContext

WithContext adds the context to the schedule sync all using p o s t params

func (*ScheduleSyncAllUsingPOSTParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the schedule sync all using p o s t params (not the query body).

All values with no default are reset to their zero value.

func (*ScheduleSyncAllUsingPOSTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the schedule sync all using p o s t params

func (*ScheduleSyncAllUsingPOSTParams) WithRequest

WithRequest adds the request to the schedule sync all using p o s t params

func (*ScheduleSyncAllUsingPOSTParams) WithTimeout

WithTimeout adds the timeout to the schedule sync all using p o s t params

func (*ScheduleSyncAllUsingPOSTParams) WriteToRequest

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 describes a response with status code 202, with default header values.

Submitted sync requests

func NewScheduleSyncUsingPOSTAccepted

func NewScheduleSyncUsingPOSTAccepted() *ScheduleSyncUsingPOSTAccepted

NewScheduleSyncUsingPOSTAccepted creates a ScheduleSyncUsingPOSTAccepted with default headers values

func (*ScheduleSyncUsingPOSTAccepted) Error

func (*ScheduleSyncUsingPOSTAccepted) GetPayload

type ScheduleSyncUsingPOSTNotFound

type ScheduleSyncUsingPOSTNotFound struct {
	Payload *models.Error
}
ScheduleSyncUsingPOSTNotFound describes a response with status code 404, with default header values.

source not found

func NewScheduleSyncUsingPOSTNotFound

func NewScheduleSyncUsingPOSTNotFound() *ScheduleSyncUsingPOSTNotFound

NewScheduleSyncUsingPOSTNotFound creates a ScheduleSyncUsingPOSTNotFound with default headers values

func (*ScheduleSyncUsingPOSTNotFound) Error

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewScheduleSyncUsingPOSTParamsWithContext

func NewScheduleSyncUsingPOSTParamsWithContext(ctx context.Context) *ScheduleSyncUsingPOSTParams

NewScheduleSyncUsingPOSTParamsWithContext creates a new ScheduleSyncUsingPOSTParams object with 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 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 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) SetDefaults added in v0.2.20

func (o *ScheduleSyncUsingPOSTParams) SetDefaults()

SetDefaults hydrates default values in the schedule sync using p o s t params (not the query body).

All values with no default are reset to their zero value.

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

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

WithContext adds the context to the schedule sync using p o s t params

func (*ScheduleSyncUsingPOSTParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the schedule sync using p o s t params (not the query body).

All values with no default are reset to their zero value.

func (*ScheduleSyncUsingPOSTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the schedule sync using p o s t params

func (*ScheduleSyncUsingPOSTParams) WithRequest

WithRequest adds the request to the schedule sync using p o s t params

func (*ScheduleSyncUsingPOSTParams) WithTimeout

WithTimeout adds the timeout to the schedule sync using p o s t params

func (*ScheduleSyncUsingPOSTParams) WriteToRequest

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 describes a response with status code 200, 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

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSyncHistoryUsingGETParamsWithContext

func NewSyncHistoryUsingGETParamsWithContext(ctx context.Context) *SyncHistoryUsingGETParams

NewSyncHistoryUsingGETParamsWithContext creates a new SyncHistoryUsingGETParams object with 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 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 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) SetDefaults added in v0.2.20

func (o *SyncHistoryUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the sync history using get params (not the query body).

All values with no default are reset to their zero value.

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

WithContext adds the context to the sync history using get params

func (*SyncHistoryUsingGETParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the sync history using get params (not the query body).

All values with no default are reset to their zero value.

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

WithStatus adds the status to the sync history using get params

func (*SyncHistoryUsingGETParams) WithTimeout

WithTimeout adds the timeout to the sync history using get params

func (*SyncHistoryUsingGETParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL