Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type SyncPerspectiveGroupUsingPOST2Accepted
- func (o *SyncPerspectiveGroupUsingPOST2Accepted) Error() string
- func (o *SyncPerspectiveGroupUsingPOST2Accepted) GetPayload() *models.ResponseEntity
- func (o *SyncPerspectiveGroupUsingPOST2Accepted) IsClientError() bool
- func (o *SyncPerspectiveGroupUsingPOST2Accepted) IsCode(code int) bool
- func (o *SyncPerspectiveGroupUsingPOST2Accepted) IsRedirect() bool
- func (o *SyncPerspectiveGroupUsingPOST2Accepted) IsServerError() bool
- func (o *SyncPerspectiveGroupUsingPOST2Accepted) IsSuccess() bool
- func (o *SyncPerspectiveGroupUsingPOST2Accepted) String() string
- type SyncPerspectiveGroupUsingPOST2OK
- func (o *SyncPerspectiveGroupUsingPOST2OK) Error() string
- func (o *SyncPerspectiveGroupUsingPOST2OK) GetPayload() *models.ResponseEntity
- func (o *SyncPerspectiveGroupUsingPOST2OK) IsClientError() bool
- func (o *SyncPerspectiveGroupUsingPOST2OK) IsCode(code int) bool
- func (o *SyncPerspectiveGroupUsingPOST2OK) IsRedirect() bool
- func (o *SyncPerspectiveGroupUsingPOST2OK) IsServerError() bool
- func (o *SyncPerspectiveGroupUsingPOST2OK) IsSuccess() bool
- func (o *SyncPerspectiveGroupUsingPOST2OK) String() string
- type SyncPerspectiveGroupUsingPOST2Params
- func NewSyncPerspectiveGroupUsingPOST2Params() *SyncPerspectiveGroupUsingPOST2Params
- func NewSyncPerspectiveGroupUsingPOST2ParamsWithContext(ctx context.Context) *SyncPerspectiveGroupUsingPOST2Params
- func NewSyncPerspectiveGroupUsingPOST2ParamsWithHTTPClient(client *http.Client) *SyncPerspectiveGroupUsingPOST2Params
- func NewSyncPerspectiveGroupUsingPOST2ParamsWithTimeout(timeout time.Duration) *SyncPerspectiveGroupUsingPOST2Params
- func (o *SyncPerspectiveGroupUsingPOST2Params) SetAPIVersion(aPIVersion *string)
- func (o *SyncPerspectiveGroupUsingPOST2Params) SetContext(ctx context.Context)
- func (o *SyncPerspectiveGroupUsingPOST2Params) SetDefaults()
- func (o *SyncPerspectiveGroupUsingPOST2Params) SetHTTPClient(client *http.Client)
- func (o *SyncPerspectiveGroupUsingPOST2Params) SetTimeout(timeout time.Duration)
- func (o *SyncPerspectiveGroupUsingPOST2Params) WithAPIVersion(aPIVersion *string) *SyncPerspectiveGroupUsingPOST2Params
- func (o *SyncPerspectiveGroupUsingPOST2Params) WithContext(ctx context.Context) *SyncPerspectiveGroupUsingPOST2Params
- func (o *SyncPerspectiveGroupUsingPOST2Params) WithDefaults() *SyncPerspectiveGroupUsingPOST2Params
- func (o *SyncPerspectiveGroupUsingPOST2Params) WithHTTPClient(client *http.Client) *SyncPerspectiveGroupUsingPOST2Params
- func (o *SyncPerspectiveGroupUsingPOST2Params) WithTimeout(timeout time.Duration) *SyncPerspectiveGroupUsingPOST2Params
- func (o *SyncPerspectiveGroupUsingPOST2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SyncPerspectiveGroupUsingPOST2Reader
- type SyncPerspectiveGroupUsingPOST2Unauthorized
- func (o *SyncPerspectiveGroupUsingPOST2Unauthorized) Error() string
- func (o *SyncPerspectiveGroupUsingPOST2Unauthorized) IsClientError() bool
- func (o *SyncPerspectiveGroupUsingPOST2Unauthorized) IsCode(code int) bool
- func (o *SyncPerspectiveGroupUsingPOST2Unauthorized) IsRedirect() bool
- func (o *SyncPerspectiveGroupUsingPOST2Unauthorized) IsServerError() bool
- func (o *SyncPerspectiveGroupUsingPOST2Unauthorized) IsSuccess() bool
- func (o *SyncPerspectiveGroupUsingPOST2Unauthorized) String() string
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
func (a *Client) SyncPerspectiveGroupUsingPOST2(params *SyncPerspectiveGroupUsingPOST2Params, opts ...ClientOption) (*SyncPerspectiveGroupUsingPOST2OK, *SyncPerspectiveGroupUsingPOST2Accepted, error)
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 (o *SyncPerspectiveGroupUsingPOST2Accepted) Error() string
func (*SyncPerspectiveGroupUsingPOST2Accepted) GetPayload ¶ added in v0.4.0
func (o *SyncPerspectiveGroupUsingPOST2Accepted) GetPayload() *models.ResponseEntity
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
func (o *SyncPerspectiveGroupUsingPOST2Accepted) IsCode(code int) bool
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
func (o *SyncPerspectiveGroupUsingPOST2Accepted) IsRedirect() bool
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
func (o *SyncPerspectiveGroupUsingPOST2Accepted) IsSuccess() bool
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
func (o *SyncPerspectiveGroupUsingPOST2Accepted) String() string
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 (o *SyncPerspectiveGroupUsingPOST2OK) Error() string
func (*SyncPerspectiveGroupUsingPOST2OK) GetPayload ¶ added in v0.4.0
func (o *SyncPerspectiveGroupUsingPOST2OK) GetPayload() *models.ResponseEntity
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
func (o *SyncPerspectiveGroupUsingPOST2OK) String() string
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
func (o *SyncPerspectiveGroupUsingPOST2Params) SetContext(ctx context.Context)
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
func (o *SyncPerspectiveGroupUsingPOST2Params) WithAPIVersion(aPIVersion *string) *SyncPerspectiveGroupUsingPOST2Params
WithAPIVersion adds the aPIVersion to the sync perspective group using p o s t 2 params
func (*SyncPerspectiveGroupUsingPOST2Params) WithContext ¶ added in v0.4.0
func (o *SyncPerspectiveGroupUsingPOST2Params) WithContext(ctx context.Context) *SyncPerspectiveGroupUsingPOST2Params
WithContext adds the context to the sync perspective group using p o s t 2 params
func (*SyncPerspectiveGroupUsingPOST2Params) WithDefaults ¶ added in v0.4.0
func (o *SyncPerspectiveGroupUsingPOST2Params) WithDefaults() *SyncPerspectiveGroupUsingPOST2Params
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
func (o *SyncPerspectiveGroupUsingPOST2Params) WithHTTPClient(client *http.Client) *SyncPerspectiveGroupUsingPOST2Params
WithHTTPClient adds the HTTPClient to the sync perspective group using p o s t 2 params
func (*SyncPerspectiveGroupUsingPOST2Params) WithTimeout ¶ added in v0.4.0
func (o *SyncPerspectiveGroupUsingPOST2Params) WithTimeout(timeout time.Duration) *SyncPerspectiveGroupUsingPOST2Params
WithTimeout adds the timeout to the sync perspective group using p o s t 2 params
func (*SyncPerspectiveGroupUsingPOST2Params) WriteToRequest ¶ added in v0.4.0
func (o *SyncPerspectiveGroupUsingPOST2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SyncPerspectiveGroupUsingPOST2Unauthorized) Error() string
func (*SyncPerspectiveGroupUsingPOST2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *SyncPerspectiveGroupUsingPOST2Unauthorized) IsClientError() bool
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
func (o *SyncPerspectiveGroupUsingPOST2Unauthorized) IsCode(code int) bool
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
func (o *SyncPerspectiveGroupUsingPOST2Unauthorized) IsRedirect() bool
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
func (o *SyncPerspectiveGroupUsingPOST2Unauthorized) IsServerError() bool
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
func (o *SyncPerspectiveGroupUsingPOST2Unauthorized) IsSuccess() bool
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
func (o *SyncPerspectiveGroupUsingPOST2Unauthorized) String() string