perspective_sync

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 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) SyncPerspectiveGroupUsingPOST2 added in v0.4.0

SyncPerspectiveGroupUsingPOST2 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 {
	SyncPerspectiveGroupUsingPOST2(params *SyncPerspectiveGroupUsingPOST2Params, opts ...ClientOption) (*SyncPerspectiveGroupUsingPOST2OK, *SyncPerspectiveGroupUsingPOST2Accepted, 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 SyncPerspectiveGroupUsingPOST2Accepted added in v0.4.0

type SyncPerspectiveGroupUsingPOST2Accepted struct {
	Payload *models.ResponseEntity
}

SyncPerspectiveGroupUsingPOST2Accepted describes a response with status code 202, with default header values.

OK

func NewSyncPerspectiveGroupUsingPOST2Accepted added in v0.4.0

func NewSyncPerspectiveGroupUsingPOST2Accepted() *SyncPerspectiveGroupUsingPOST2Accepted

NewSyncPerspectiveGroupUsingPOST2Accepted creates a SyncPerspectiveGroupUsingPOST2Accepted with default headers values

func (*SyncPerspectiveGroupUsingPOST2Accepted) Error added in v0.4.0

func (*SyncPerspectiveGroupUsingPOST2Accepted) GetPayload added in v0.4.0

func (*SyncPerspectiveGroupUsingPOST2Accepted) IsClientError added in v0.5.0

func (o *SyncPerspectiveGroupUsingPOST2Accepted) IsClientError() bool

IsClientError returns true when this sync perspective group using p o s t2 accepted response has a 4xx status code

func (*SyncPerspectiveGroupUsingPOST2Accepted) IsCode added in v0.5.0

IsCode returns true when this sync perspective group using p o s t2 accepted response a status code equal to that given

func (*SyncPerspectiveGroupUsingPOST2Accepted) IsRedirect added in v0.5.0

IsRedirect returns true when this sync perspective group using p o s t2 accepted response has a 3xx status code

func (*SyncPerspectiveGroupUsingPOST2Accepted) IsServerError added in v0.5.0

func (o *SyncPerspectiveGroupUsingPOST2Accepted) IsServerError() bool

IsServerError returns true when this sync perspective group using p o s t2 accepted response has a 5xx status code

func (*SyncPerspectiveGroupUsingPOST2Accepted) IsSuccess added in v0.5.0

IsSuccess returns true when this sync perspective group using p o s t2 accepted response has a 2xx status code

func (*SyncPerspectiveGroupUsingPOST2Accepted) String added in v0.5.0

type SyncPerspectiveGroupUsingPOST2OK added in v0.4.0

type SyncPerspectiveGroupUsingPOST2OK struct {
	Payload *models.ResponseEntity
}

SyncPerspectiveGroupUsingPOST2OK describes a response with status code 200, with default header values.

OK

func NewSyncPerspectiveGroupUsingPOST2OK added in v0.4.0

func NewSyncPerspectiveGroupUsingPOST2OK() *SyncPerspectiveGroupUsingPOST2OK

NewSyncPerspectiveGroupUsingPOST2OK creates a SyncPerspectiveGroupUsingPOST2OK with default headers values

func (*SyncPerspectiveGroupUsingPOST2OK) Error added in v0.4.0

func (*SyncPerspectiveGroupUsingPOST2OK) GetPayload added in v0.4.0

func (*SyncPerspectiveGroupUsingPOST2OK) IsClientError added in v0.5.0

func (o *SyncPerspectiveGroupUsingPOST2OK) IsClientError() bool

IsClientError returns true when this sync perspective group using p o s t2 o k response has a 4xx status code

func (*SyncPerspectiveGroupUsingPOST2OK) IsCode added in v0.5.0

func (o *SyncPerspectiveGroupUsingPOST2OK) IsCode(code int) bool

IsCode returns true when this sync perspective group using p o s t2 o k response a status code equal to that given

func (*SyncPerspectiveGroupUsingPOST2OK) IsRedirect added in v0.5.0

func (o *SyncPerspectiveGroupUsingPOST2OK) IsRedirect() bool

IsRedirect returns true when this sync perspective group using p o s t2 o k response has a 3xx status code

func (*SyncPerspectiveGroupUsingPOST2OK) IsServerError added in v0.5.0

func (o *SyncPerspectiveGroupUsingPOST2OK) IsServerError() bool

IsServerError returns true when this sync perspective group using p o s t2 o k response has a 5xx status code

func (*SyncPerspectiveGroupUsingPOST2OK) IsSuccess added in v0.5.0

func (o *SyncPerspectiveGroupUsingPOST2OK) IsSuccess() bool

IsSuccess returns true when this sync perspective group using p o s t2 o k response has a 2xx status code

func (*SyncPerspectiveGroupUsingPOST2OK) String added in v0.5.0

type SyncPerspectiveGroupUsingPOST2Params added in v0.4.0

type SyncPerspectiveGroupUsingPOST2Params 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
}

SyncPerspectiveGroupUsingPOST2Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewSyncPerspectiveGroupUsingPOST2Params added in v0.4.0

func NewSyncPerspectiveGroupUsingPOST2Params() *SyncPerspectiveGroupUsingPOST2Params

NewSyncPerspectiveGroupUsingPOST2Params creates a new SyncPerspectiveGroupUsingPOST2Params 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 NewSyncPerspectiveGroupUsingPOST2ParamsWithContext added in v0.4.0

func NewSyncPerspectiveGroupUsingPOST2ParamsWithContext(ctx context.Context) *SyncPerspectiveGroupUsingPOST2Params

NewSyncPerspectiveGroupUsingPOST2ParamsWithContext creates a new SyncPerspectiveGroupUsingPOST2Params object with the ability to set a context for a request.

func NewSyncPerspectiveGroupUsingPOST2ParamsWithHTTPClient added in v0.4.0

func NewSyncPerspectiveGroupUsingPOST2ParamsWithHTTPClient(client *http.Client) *SyncPerspectiveGroupUsingPOST2Params

NewSyncPerspectiveGroupUsingPOST2ParamsWithHTTPClient creates a new SyncPerspectiveGroupUsingPOST2Params object with the ability to set a custom HTTPClient for a request.

func NewSyncPerspectiveGroupUsingPOST2ParamsWithTimeout added in v0.4.0

func NewSyncPerspectiveGroupUsingPOST2ParamsWithTimeout(timeout time.Duration) *SyncPerspectiveGroupUsingPOST2Params

NewSyncPerspectiveGroupUsingPOST2ParamsWithTimeout creates a new SyncPerspectiveGroupUsingPOST2Params object with the ability to set a timeout on a request.

func (*SyncPerspectiveGroupUsingPOST2Params) SetAPIVersion added in v0.4.0

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

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

func (*SyncPerspectiveGroupUsingPOST2Params) SetContext added in v0.4.0

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

func (*SyncPerspectiveGroupUsingPOST2Params) SetDefaults added in v0.4.0

func (o *SyncPerspectiveGroupUsingPOST2Params) SetDefaults()

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

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

func (*SyncPerspectiveGroupUsingPOST2Params) SetHTTPClient added in v0.4.0

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

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

func (*SyncPerspectiveGroupUsingPOST2Params) SetTimeout added in v0.4.0

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

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

func (*SyncPerspectiveGroupUsingPOST2Params) WithAPIVersion added in v0.4.0

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

func (*SyncPerspectiveGroupUsingPOST2Params) WithContext added in v0.4.0

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

func (*SyncPerspectiveGroupUsingPOST2Params) WithDefaults added in v0.4.0

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

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

func (*SyncPerspectiveGroupUsingPOST2Params) WithHTTPClient added in v0.4.0

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

func (*SyncPerspectiveGroupUsingPOST2Params) WithTimeout added in v0.4.0

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

func (*SyncPerspectiveGroupUsingPOST2Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type SyncPerspectiveGroupUsingPOST2Reader added in v0.4.0

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

SyncPerspectiveGroupUsingPOST2Reader is a Reader for the SyncPerspectiveGroupUsingPOST2 structure.

func (*SyncPerspectiveGroupUsingPOST2Reader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type SyncPerspectiveGroupUsingPOST2Unauthorized added in v0.4.0

type SyncPerspectiveGroupUsingPOST2Unauthorized struct {
}

SyncPerspectiveGroupUsingPOST2Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewSyncPerspectiveGroupUsingPOST2Unauthorized added in v0.4.0

func NewSyncPerspectiveGroupUsingPOST2Unauthorized() *SyncPerspectiveGroupUsingPOST2Unauthorized

NewSyncPerspectiveGroupUsingPOST2Unauthorized creates a SyncPerspectiveGroupUsingPOST2Unauthorized with default headers values

func (*SyncPerspectiveGroupUsingPOST2Unauthorized) Error added in v0.4.0

func (*SyncPerspectiveGroupUsingPOST2Unauthorized) IsClientError added in v0.5.0

IsClientError returns true when this sync perspective group using p o s t2 unauthorized response has a 4xx status code

func (*SyncPerspectiveGroupUsingPOST2Unauthorized) IsCode added in v0.5.0

IsCode returns true when this sync perspective group using p o s t2 unauthorized response a status code equal to that given

func (*SyncPerspectiveGroupUsingPOST2Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this sync perspective group using p o s t2 unauthorized response has a 3xx status code

func (*SyncPerspectiveGroupUsingPOST2Unauthorized) IsServerError added in v0.5.0

IsServerError returns true when this sync perspective group using p o s t2 unauthorized response has a 5xx status code

func (*SyncPerspectiveGroupUsingPOST2Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this sync perspective group using p o s t2 unauthorized response has a 2xx status code

func (*SyncPerspectiveGroupUsingPOST2Unauthorized) String added in v0.5.0

Jump to

Keyboard shortcuts

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