perspective_sync

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 10 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 perspective sync API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SyncPerspectiveGroupUsingPOST

SyncPerspectiveGroupUsingPOST ons demand perspective sync

To do on demand perspective sync for within the given org

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	SyncPerspectiveGroupUsingPOST(params *SyncPerspectiveGroupUsingPOSTParams, opts ...ClientOption) (*SyncPerspectiveGroupUsingPOSTOK, *SyncPerspectiveGroupUsingPOSTAccepted, 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 perspective sync API client.

type SyncPerspectiveGroupUsingPOSTAccepted

type SyncPerspectiveGroupUsingPOSTAccepted struct {
	Payload *models.ResponseEntity
}
SyncPerspectiveGroupUsingPOSTAccepted describes a response with status code 202, with default header values.

OK

func NewSyncPerspectiveGroupUsingPOSTAccepted

func NewSyncPerspectiveGroupUsingPOSTAccepted() *SyncPerspectiveGroupUsingPOSTAccepted

NewSyncPerspectiveGroupUsingPOSTAccepted creates a SyncPerspectiveGroupUsingPOSTAccepted with default headers values

func (*SyncPerspectiveGroupUsingPOSTAccepted) Error

func (*SyncPerspectiveGroupUsingPOSTAccepted) GetPayload

type SyncPerspectiveGroupUsingPOSTOK

type SyncPerspectiveGroupUsingPOSTOK struct {
	Payload *models.ResponseEntity
}
SyncPerspectiveGroupUsingPOSTOK describes a response with status code 200, with default header values.

OK

func NewSyncPerspectiveGroupUsingPOSTOK

func NewSyncPerspectiveGroupUsingPOSTOK() *SyncPerspectiveGroupUsingPOSTOK

NewSyncPerspectiveGroupUsingPOSTOK creates a SyncPerspectiveGroupUsingPOSTOK with default headers values

func (*SyncPerspectiveGroupUsingPOSTOK) Error

func (*SyncPerspectiveGroupUsingPOSTOK) GetPayload

type SyncPerspectiveGroupUsingPOSTParams

type SyncPerspectiveGroupUsingPOSTParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SyncPerspectiveGroupUsingPOSTParams contains all the parameters to send to the API endpoint

for the sync perspective group using p o s t operation.

Typically these are written to a http.Request.

func NewSyncPerspectiveGroupUsingPOSTParams

func NewSyncPerspectiveGroupUsingPOSTParams() *SyncPerspectiveGroupUsingPOSTParams

NewSyncPerspectiveGroupUsingPOSTParams creates a new SyncPerspectiveGroupUsingPOSTParams 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 NewSyncPerspectiveGroupUsingPOSTParamsWithContext

func NewSyncPerspectiveGroupUsingPOSTParamsWithContext(ctx context.Context) *SyncPerspectiveGroupUsingPOSTParams

NewSyncPerspectiveGroupUsingPOSTParamsWithContext creates a new SyncPerspectiveGroupUsingPOSTParams object with the ability to set a context for a request.

func NewSyncPerspectiveGroupUsingPOSTParamsWithHTTPClient

func NewSyncPerspectiveGroupUsingPOSTParamsWithHTTPClient(client *http.Client) *SyncPerspectiveGroupUsingPOSTParams

NewSyncPerspectiveGroupUsingPOSTParamsWithHTTPClient creates a new SyncPerspectiveGroupUsingPOSTParams object with the ability to set a custom HTTPClient for a request.

func NewSyncPerspectiveGroupUsingPOSTParamsWithTimeout

func NewSyncPerspectiveGroupUsingPOSTParamsWithTimeout(timeout time.Duration) *SyncPerspectiveGroupUsingPOSTParams

NewSyncPerspectiveGroupUsingPOSTParamsWithTimeout creates a new SyncPerspectiveGroupUsingPOSTParams object with the ability to set a timeout on a request.

func (*SyncPerspectiveGroupUsingPOSTParams) SetAPIVersion

func (o *SyncPerspectiveGroupUsingPOSTParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the sync perspective group using p o s t params

func (*SyncPerspectiveGroupUsingPOSTParams) SetContext

SetContext adds the context to the sync perspective group using p o s t params

func (*SyncPerspectiveGroupUsingPOSTParams) SetDefaults

func (o *SyncPerspectiveGroupUsingPOSTParams) SetDefaults()

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

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

func (*SyncPerspectiveGroupUsingPOSTParams) SetHTTPClient

func (o *SyncPerspectiveGroupUsingPOSTParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the sync perspective group using p o s t params

func (*SyncPerspectiveGroupUsingPOSTParams) SetTimeout

func (o *SyncPerspectiveGroupUsingPOSTParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the sync perspective group using p o s t params

func (*SyncPerspectiveGroupUsingPOSTParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the sync perspective group using p o s t params

func (*SyncPerspectiveGroupUsingPOSTParams) WithContext

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

func (*SyncPerspectiveGroupUsingPOSTParams) WithDefaults

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

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

func (*SyncPerspectiveGroupUsingPOSTParams) WithHTTPClient

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

func (*SyncPerspectiveGroupUsingPOSTParams) WithTimeout

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

func (*SyncPerspectiveGroupUsingPOSTParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SyncPerspectiveGroupUsingPOSTReader

type SyncPerspectiveGroupUsingPOSTReader struct {
	// contains filtered or unexported fields
}

SyncPerspectiveGroupUsingPOSTReader is a Reader for the SyncPerspectiveGroupUsingPOST structure.

func (*SyncPerspectiveGroupUsingPOSTReader) ReadResponse

func (o *SyncPerspectiveGroupUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SyncPerspectiveGroupUsingPOSTUnauthorized

type SyncPerspectiveGroupUsingPOSTUnauthorized struct {
}
SyncPerspectiveGroupUsingPOSTUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewSyncPerspectiveGroupUsingPOSTUnauthorized

func NewSyncPerspectiveGroupUsingPOSTUnauthorized() *SyncPerspectiveGroupUsingPOSTUnauthorized

NewSyncPerspectiveGroupUsingPOSTUnauthorized creates a SyncPerspectiveGroupUsingPOSTUnauthorized with default headers values

func (*SyncPerspectiveGroupUsingPOSTUnauthorized) Error

Jump to

Keyboard shortcuts

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