Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type SyncPerspectiveGroupUsingPOSTAccepted
- type SyncPerspectiveGroupUsingPOSTOK
- type SyncPerspectiveGroupUsingPOSTParams
- func NewSyncPerspectiveGroupUsingPOSTParams() *SyncPerspectiveGroupUsingPOSTParams
- func NewSyncPerspectiveGroupUsingPOSTParamsWithContext(ctx context.Context) *SyncPerspectiveGroupUsingPOSTParams
- func NewSyncPerspectiveGroupUsingPOSTParamsWithHTTPClient(client *http.Client) *SyncPerspectiveGroupUsingPOSTParams
- func NewSyncPerspectiveGroupUsingPOSTParamsWithTimeout(timeout time.Duration) *SyncPerspectiveGroupUsingPOSTParams
- func (o *SyncPerspectiveGroupUsingPOSTParams) SetAPIVersion(aPIVersion *string)
- func (o *SyncPerspectiveGroupUsingPOSTParams) SetContext(ctx context.Context)
- func (o *SyncPerspectiveGroupUsingPOSTParams) SetDefaults()
- func (o *SyncPerspectiveGroupUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *SyncPerspectiveGroupUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *SyncPerspectiveGroupUsingPOSTParams) WithAPIVersion(aPIVersion *string) *SyncPerspectiveGroupUsingPOSTParams
- func (o *SyncPerspectiveGroupUsingPOSTParams) WithContext(ctx context.Context) *SyncPerspectiveGroupUsingPOSTParams
- func (o *SyncPerspectiveGroupUsingPOSTParams) WithDefaults() *SyncPerspectiveGroupUsingPOSTParams
- func (o *SyncPerspectiveGroupUsingPOSTParams) WithHTTPClient(client *http.Client) *SyncPerspectiveGroupUsingPOSTParams
- func (o *SyncPerspectiveGroupUsingPOSTParams) WithTimeout(timeout time.Duration) *SyncPerspectiveGroupUsingPOSTParams
- func (o *SyncPerspectiveGroupUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SyncPerspectiveGroupUsingPOSTReader
- type SyncPerspectiveGroupUsingPOSTUnauthorized
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 ¶
func (a *Client) SyncPerspectiveGroupUsingPOST(params *SyncPerspectiveGroupUsingPOSTParams, opts ...ClientOption) (*SyncPerspectiveGroupUsingPOSTOK, *SyncPerspectiveGroupUsingPOSTAccepted, error)
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 (o *SyncPerspectiveGroupUsingPOSTAccepted) Error() string
func (*SyncPerspectiveGroupUsingPOSTAccepted) GetPayload ¶
func (o *SyncPerspectiveGroupUsingPOSTAccepted) GetPayload() *models.ResponseEntity
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 (o *SyncPerspectiveGroupUsingPOSTOK) Error() string
func (*SyncPerspectiveGroupUsingPOSTOK) GetPayload ¶
func (o *SyncPerspectiveGroupUsingPOSTOK) GetPayload() *models.ResponseEntity
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 ¶
func (o *SyncPerspectiveGroupUsingPOSTParams) SetContext(ctx context.Context)
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 ¶
func (o *SyncPerspectiveGroupUsingPOSTParams) WithAPIVersion(aPIVersion *string) *SyncPerspectiveGroupUsingPOSTParams
WithAPIVersion adds the aPIVersion to the sync perspective group using p o s t params
func (*SyncPerspectiveGroupUsingPOSTParams) WithContext ¶
func (o *SyncPerspectiveGroupUsingPOSTParams) WithContext(ctx context.Context) *SyncPerspectiveGroupUsingPOSTParams
WithContext adds the context to the sync perspective group using p o s t params
func (*SyncPerspectiveGroupUsingPOSTParams) WithDefaults ¶
func (o *SyncPerspectiveGroupUsingPOSTParams) WithDefaults() *SyncPerspectiveGroupUsingPOSTParams
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 ¶
func (o *SyncPerspectiveGroupUsingPOSTParams) WithHTTPClient(client *http.Client) *SyncPerspectiveGroupUsingPOSTParams
WithHTTPClient adds the HTTPClient to the sync perspective group using p o s t params
func (*SyncPerspectiveGroupUsingPOSTParams) WithTimeout ¶
func (o *SyncPerspectiveGroupUsingPOSTParams) WithTimeout(timeout time.Duration) *SyncPerspectiveGroupUsingPOSTParams
WithTimeout adds the timeout to the sync perspective group using p o s t params
func (*SyncPerspectiveGroupUsingPOSTParams) WriteToRequest ¶
func (o *SyncPerspectiveGroupUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SyncPerspectiveGroupUsingPOSTUnauthorized) Error() string