Documentation ¶
Index ¶
- type Client
- func (a *Client) GetOrganizationSalesContact(params *GetOrganizationSalesContactParams, ...) (*GetOrganizationSalesContactOK, error)
- func (a *Client) GetOrganizations(params *GetOrganizationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationsOK, error)
- func (a *Client) HasAccessAsync(params *HasAccessAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*HasAccessAsyncOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetOrganizationSalesContactOK
- type GetOrganizationSalesContactParams
- func NewGetOrganizationSalesContactParams() *GetOrganizationSalesContactParams
- func NewGetOrganizationSalesContactParamsWithContext(ctx context.Context) *GetOrganizationSalesContactParams
- func NewGetOrganizationSalesContactParamsWithHTTPClient(client *http.Client) *GetOrganizationSalesContactParams
- func NewGetOrganizationSalesContactParamsWithTimeout(timeout time.Duration) *GetOrganizationSalesContactParams
- func (o *GetOrganizationSalesContactParams) SetContext(ctx context.Context)
- func (o *GetOrganizationSalesContactParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationSalesContactParams) SetOrganizationID(organizationID int32)
- func (o *GetOrganizationSalesContactParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationSalesContactParams) WithContext(ctx context.Context) *GetOrganizationSalesContactParams
- func (o *GetOrganizationSalesContactParams) WithHTTPClient(client *http.Client) *GetOrganizationSalesContactParams
- func (o *GetOrganizationSalesContactParams) WithOrganizationID(organizationID int32) *GetOrganizationSalesContactParams
- func (o *GetOrganizationSalesContactParams) WithTimeout(timeout time.Duration) *GetOrganizationSalesContactParams
- func (o *GetOrganizationSalesContactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationSalesContactReader
- type GetOrganizationsOK
- type GetOrganizationsParams
- func NewGetOrganizationsParams() *GetOrganizationsParams
- func NewGetOrganizationsParamsWithContext(ctx context.Context) *GetOrganizationsParams
- func NewGetOrganizationsParamsWithHTTPClient(client *http.Client) *GetOrganizationsParams
- func NewGetOrganizationsParamsWithTimeout(timeout time.Duration) *GetOrganizationsParams
- func (o *GetOrganizationsParams) SetContext(ctx context.Context)
- func (o *GetOrganizationsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationsParams) SetPage(page *int32)
- func (o *GetOrganizationsParams) SetPageSize(pageSize *int32)
- func (o *GetOrganizationsParams) SetSearch(search *string)
- func (o *GetOrganizationsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationsParams) WithContext(ctx context.Context) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WithHTTPClient(client *http.Client) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WithPage(page *int32) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WithPageSize(pageSize *int32) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WithSearch(search *string) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WithTimeout(timeout time.Duration) *GetOrganizationsParams
- func (o *GetOrganizationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationsReader
- type HasAccessAsyncOK
- type HasAccessAsyncParams
- func NewHasAccessAsyncParams() *HasAccessAsyncParams
- func NewHasAccessAsyncParamsWithContext(ctx context.Context) *HasAccessAsyncParams
- func NewHasAccessAsyncParamsWithHTTPClient(client *http.Client) *HasAccessAsyncParams
- func NewHasAccessAsyncParamsWithTimeout(timeout time.Duration) *HasAccessAsyncParams
- func (o *HasAccessAsyncParams) SetContext(ctx context.Context)
- func (o *HasAccessAsyncParams) SetHTTPClient(client *http.Client)
- func (o *HasAccessAsyncParams) SetID(id int32)
- func (o *HasAccessAsyncParams) SetTimeout(timeout time.Duration)
- func (o *HasAccessAsyncParams) WithContext(ctx context.Context) *HasAccessAsyncParams
- func (o *HasAccessAsyncParams) WithHTTPClient(client *http.Client) *HasAccessAsyncParams
- func (o *HasAccessAsyncParams) WithID(id int32) *HasAccessAsyncParams
- func (o *HasAccessAsyncParams) WithTimeout(timeout time.Duration) *HasAccessAsyncParams
- func (o *HasAccessAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HasAccessAsyncReader
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 organizations API
func (*Client) GetOrganizationSalesContact ¶
func (a *Client) GetOrganizationSalesContact(params *GetOrganizationSalesContactParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationSalesContactOK, error)
GetOrganizationSalesContact get organization sales contact API
func (*Client) GetOrganizations ¶ added in v1.1.0
func (a *Client) GetOrganizations(params *GetOrganizationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationsOK, error)
GetOrganizations get organizations API
func (*Client) HasAccessAsync ¶
func (a *Client) HasAccessAsync(params *HasAccessAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*HasAccessAsyncOK, error)
HasAccessAsync has access async API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetOrganizationSalesContact(params *GetOrganizationSalesContactParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationSalesContactOK, error) GetOrganizations(params *GetOrganizationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationsOK, error) HasAccessAsync(params *HasAccessAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*HasAccessAsyncOK, 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 organizations API client.
type GetOrganizationSalesContactOK ¶
type GetOrganizationSalesContactOK struct {
Payload *models.OrganizationSalesContact
}
GetOrganizationSalesContactOK handles this case with default header values.
Success
func NewGetOrganizationSalesContactOK ¶
func NewGetOrganizationSalesContactOK() *GetOrganizationSalesContactOK
NewGetOrganizationSalesContactOK creates a GetOrganizationSalesContactOK with default headers values
func (*GetOrganizationSalesContactOK) Error ¶
func (o *GetOrganizationSalesContactOK) Error() string
func (*GetOrganizationSalesContactOK) GetPayload ¶
func (o *GetOrganizationSalesContactOK) GetPayload() *models.OrganizationSalesContact
type GetOrganizationSalesContactParams ¶
type GetOrganizationSalesContactParams struct { /*OrganizationID*/ OrganizationID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationSalesContactParams contains all the parameters to send to the API endpoint for the get organization sales contact operation typically these are written to a http.Request
func NewGetOrganizationSalesContactParams ¶
func NewGetOrganizationSalesContactParams() *GetOrganizationSalesContactParams
NewGetOrganizationSalesContactParams creates a new GetOrganizationSalesContactParams object with the default values initialized.
func NewGetOrganizationSalesContactParamsWithContext ¶
func NewGetOrganizationSalesContactParamsWithContext(ctx context.Context) *GetOrganizationSalesContactParams
NewGetOrganizationSalesContactParamsWithContext creates a new GetOrganizationSalesContactParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrganizationSalesContactParamsWithHTTPClient ¶
func NewGetOrganizationSalesContactParamsWithHTTPClient(client *http.Client) *GetOrganizationSalesContactParams
NewGetOrganizationSalesContactParamsWithHTTPClient creates a new GetOrganizationSalesContactParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrganizationSalesContactParamsWithTimeout ¶
func NewGetOrganizationSalesContactParamsWithTimeout(timeout time.Duration) *GetOrganizationSalesContactParams
NewGetOrganizationSalesContactParamsWithTimeout creates a new GetOrganizationSalesContactParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrganizationSalesContactParams) SetContext ¶
func (o *GetOrganizationSalesContactParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization sales contact params
func (*GetOrganizationSalesContactParams) SetHTTPClient ¶
func (o *GetOrganizationSalesContactParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organization sales contact params
func (*GetOrganizationSalesContactParams) SetOrganizationID ¶
func (o *GetOrganizationSalesContactParams) SetOrganizationID(organizationID int32)
SetOrganizationID adds the organizationId to the get organization sales contact params
func (*GetOrganizationSalesContactParams) SetTimeout ¶
func (o *GetOrganizationSalesContactParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization sales contact params
func (*GetOrganizationSalesContactParams) WithContext ¶
func (o *GetOrganizationSalesContactParams) WithContext(ctx context.Context) *GetOrganizationSalesContactParams
WithContext adds the context to the get organization sales contact params
func (*GetOrganizationSalesContactParams) WithHTTPClient ¶
func (o *GetOrganizationSalesContactParams) WithHTTPClient(client *http.Client) *GetOrganizationSalesContactParams
WithHTTPClient adds the HTTPClient to the get organization sales contact params
func (*GetOrganizationSalesContactParams) WithOrganizationID ¶
func (o *GetOrganizationSalesContactParams) WithOrganizationID(organizationID int32) *GetOrganizationSalesContactParams
WithOrganizationID adds the organizationID to the get organization sales contact params
func (*GetOrganizationSalesContactParams) WithTimeout ¶
func (o *GetOrganizationSalesContactParams) WithTimeout(timeout time.Duration) *GetOrganizationSalesContactParams
WithTimeout adds the timeout to the get organization sales contact params
func (*GetOrganizationSalesContactParams) WriteToRequest ¶
func (o *GetOrganizationSalesContactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationSalesContactReader ¶
type GetOrganizationSalesContactReader struct {
// contains filtered or unexported fields
}
GetOrganizationSalesContactReader is a Reader for the GetOrganizationSalesContact structure.
func (*GetOrganizationSalesContactReader) ReadResponse ¶
func (o *GetOrganizationSalesContactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationsOK ¶ added in v1.1.0
type GetOrganizationsOK struct {
Payload *models.APICollectionOfOrganization
}
GetOrganizationsOK handles this case with default header values.
Success
func NewGetOrganizationsOK ¶ added in v1.1.0
func NewGetOrganizationsOK() *GetOrganizationsOK
NewGetOrganizationsOK creates a GetOrganizationsOK with default headers values
func (*GetOrganizationsOK) Error ¶ added in v1.1.0
func (o *GetOrganizationsOK) Error() string
func (*GetOrganizationsOK) GetPayload ¶ added in v1.1.0
func (o *GetOrganizationsOK) GetPayload() *models.APICollectionOfOrganization
type GetOrganizationsParams ¶ added in v1.1.0
type GetOrganizationsParams struct { /*Page*/ Page *int32 /*PageSize*/ PageSize *int32 /*Search*/ Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationsParams contains all the parameters to send to the API endpoint for the get organizations operation typically these are written to a http.Request
func NewGetOrganizationsParams ¶ added in v1.1.0
func NewGetOrganizationsParams() *GetOrganizationsParams
NewGetOrganizationsParams creates a new GetOrganizationsParams object with the default values initialized.
func NewGetOrganizationsParamsWithContext ¶ added in v1.1.0
func NewGetOrganizationsParamsWithContext(ctx context.Context) *GetOrganizationsParams
NewGetOrganizationsParamsWithContext creates a new GetOrganizationsParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrganizationsParamsWithHTTPClient ¶ added in v1.1.0
func NewGetOrganizationsParamsWithHTTPClient(client *http.Client) *GetOrganizationsParams
NewGetOrganizationsParamsWithHTTPClient creates a new GetOrganizationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrganizationsParamsWithTimeout ¶ added in v1.1.0
func NewGetOrganizationsParamsWithTimeout(timeout time.Duration) *GetOrganizationsParams
NewGetOrganizationsParamsWithTimeout creates a new GetOrganizationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrganizationsParams) SetContext ¶ added in v1.1.0
func (o *GetOrganizationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get organizations params
func (*GetOrganizationsParams) SetHTTPClient ¶ added in v1.1.0
func (o *GetOrganizationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organizations params
func (*GetOrganizationsParams) SetPage ¶ added in v1.1.0
func (o *GetOrganizationsParams) SetPage(page *int32)
SetPage adds the page to the get organizations params
func (*GetOrganizationsParams) SetPageSize ¶ added in v1.1.0
func (o *GetOrganizationsParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the get organizations params
func (*GetOrganizationsParams) SetSearch ¶ added in v1.1.0
func (o *GetOrganizationsParams) SetSearch(search *string)
SetSearch adds the search to the get organizations params
func (*GetOrganizationsParams) SetTimeout ¶ added in v1.1.0
func (o *GetOrganizationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organizations params
func (*GetOrganizationsParams) WithContext ¶ added in v1.1.0
func (o *GetOrganizationsParams) WithContext(ctx context.Context) *GetOrganizationsParams
WithContext adds the context to the get organizations params
func (*GetOrganizationsParams) WithHTTPClient ¶ added in v1.1.0
func (o *GetOrganizationsParams) WithHTTPClient(client *http.Client) *GetOrganizationsParams
WithHTTPClient adds the HTTPClient to the get organizations params
func (*GetOrganizationsParams) WithPage ¶ added in v1.1.0
func (o *GetOrganizationsParams) WithPage(page *int32) *GetOrganizationsParams
WithPage adds the page to the get organizations params
func (*GetOrganizationsParams) WithPageSize ¶ added in v1.1.0
func (o *GetOrganizationsParams) WithPageSize(pageSize *int32) *GetOrganizationsParams
WithPageSize adds the pageSize to the get organizations params
func (*GetOrganizationsParams) WithSearch ¶ added in v1.1.0
func (o *GetOrganizationsParams) WithSearch(search *string) *GetOrganizationsParams
WithSearch adds the search to the get organizations params
func (*GetOrganizationsParams) WithTimeout ¶ added in v1.1.0
func (o *GetOrganizationsParams) WithTimeout(timeout time.Duration) *GetOrganizationsParams
WithTimeout adds the timeout to the get organizations params
func (*GetOrganizationsParams) WriteToRequest ¶ added in v1.1.0
func (o *GetOrganizationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationsReader ¶ added in v1.1.0
type GetOrganizationsReader struct {
// contains filtered or unexported fields
}
GetOrganizationsReader is a Reader for the GetOrganizations structure.
func (*GetOrganizationsReader) ReadResponse ¶ added in v1.1.0
func (o *GetOrganizationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HasAccessAsyncOK ¶
type HasAccessAsyncOK struct {
Payload bool
}
HasAccessAsyncOK handles this case with default header values.
Success
func NewHasAccessAsyncOK ¶
func NewHasAccessAsyncOK() *HasAccessAsyncOK
NewHasAccessAsyncOK creates a HasAccessAsyncOK with default headers values
func (*HasAccessAsyncOK) Error ¶
func (o *HasAccessAsyncOK) Error() string
func (*HasAccessAsyncOK) GetPayload ¶
func (o *HasAccessAsyncOK) GetPayload() bool
type HasAccessAsyncParams ¶
type HasAccessAsyncParams struct { /*ID*/ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HasAccessAsyncParams contains all the parameters to send to the API endpoint for the has access async operation typically these are written to a http.Request
func NewHasAccessAsyncParams ¶
func NewHasAccessAsyncParams() *HasAccessAsyncParams
NewHasAccessAsyncParams creates a new HasAccessAsyncParams object with the default values initialized.
func NewHasAccessAsyncParamsWithContext ¶
func NewHasAccessAsyncParamsWithContext(ctx context.Context) *HasAccessAsyncParams
NewHasAccessAsyncParamsWithContext creates a new HasAccessAsyncParams object with the default values initialized, and the ability to set a context for a request
func NewHasAccessAsyncParamsWithHTTPClient ¶
func NewHasAccessAsyncParamsWithHTTPClient(client *http.Client) *HasAccessAsyncParams
NewHasAccessAsyncParamsWithHTTPClient creates a new HasAccessAsyncParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewHasAccessAsyncParamsWithTimeout ¶
func NewHasAccessAsyncParamsWithTimeout(timeout time.Duration) *HasAccessAsyncParams
NewHasAccessAsyncParamsWithTimeout creates a new HasAccessAsyncParams object with the default values initialized, and the ability to set a timeout on a request
func (*HasAccessAsyncParams) SetContext ¶
func (o *HasAccessAsyncParams) SetContext(ctx context.Context)
SetContext adds the context to the has access async params
func (*HasAccessAsyncParams) SetHTTPClient ¶
func (o *HasAccessAsyncParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the has access async params
func (*HasAccessAsyncParams) SetID ¶
func (o *HasAccessAsyncParams) SetID(id int32)
SetID adds the id to the has access async params
func (*HasAccessAsyncParams) SetTimeout ¶
func (o *HasAccessAsyncParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the has access async params
func (*HasAccessAsyncParams) WithContext ¶
func (o *HasAccessAsyncParams) WithContext(ctx context.Context) *HasAccessAsyncParams
WithContext adds the context to the has access async params
func (*HasAccessAsyncParams) WithHTTPClient ¶
func (o *HasAccessAsyncParams) WithHTTPClient(client *http.Client) *HasAccessAsyncParams
WithHTTPClient adds the HTTPClient to the has access async params
func (*HasAccessAsyncParams) WithID ¶
func (o *HasAccessAsyncParams) WithID(id int32) *HasAccessAsyncParams
WithID adds the id to the has access async params
func (*HasAccessAsyncParams) WithTimeout ¶
func (o *HasAccessAsyncParams) WithTimeout(timeout time.Duration) *HasAccessAsyncParams
WithTimeout adds the timeout to the has access async params
func (*HasAccessAsyncParams) WriteToRequest ¶
func (o *HasAccessAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HasAccessAsyncReader ¶
type HasAccessAsyncReader struct {
// contains filtered or unexported fields
}
HasAccessAsyncReader is a Reader for the HasAccessAsync structure.
func (*HasAccessAsyncReader) ReadResponse ¶
func (o *HasAccessAsyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.