Documentation ¶
Index ¶
- type Client
- func (a *Client) GetOrganizationByID(params *GetOrganizationByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOrganizationByIDOK, error)
- 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 ClientOption
- type ClientService
- type GetOrganizationByIDOK
- type GetOrganizationByIDParams
- func NewGetOrganizationByIDParams() *GetOrganizationByIDParams
- func NewGetOrganizationByIDParamsWithContext(ctx context.Context) *GetOrganizationByIDParams
- func NewGetOrganizationByIDParamsWithHTTPClient(client *http.Client) *GetOrganizationByIDParams
- func NewGetOrganizationByIDParamsWithTimeout(timeout time.Duration) *GetOrganizationByIDParams
- func (o *GetOrganizationByIDParams) SetContext(ctx context.Context)
- func (o *GetOrganizationByIDParams) SetDefaults()
- func (o *GetOrganizationByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationByIDParams) SetID(id int32)
- func (o *GetOrganizationByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationByIDParams) WithContext(ctx context.Context) *GetOrganizationByIDParams
- func (o *GetOrganizationByIDParams) WithDefaults() *GetOrganizationByIDParams
- func (o *GetOrganizationByIDParams) WithHTTPClient(client *http.Client) *GetOrganizationByIDParams
- func (o *GetOrganizationByIDParams) WithID(id int32) *GetOrganizationByIDParams
- func (o *GetOrganizationByIDParams) WithTimeout(timeout time.Duration) *GetOrganizationByIDParams
- func (o *GetOrganizationByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationByIDReader
- 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) GetOrganizationByID ¶
func (a *Client) GetOrganizationByID(params *GetOrganizationByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationByIDOK, error)
GetOrganizationByID get organization by Id API
func (*Client) GetOrganizationSalesContact ¶
func (a *Client) GetOrganizationSalesContact(params *GetOrganizationSalesContactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationSalesContactOK, error)
GetOrganizationSalesContact get organization sales contact API
func (*Client) GetOrganizations ¶
func (a *Client) GetOrganizations(params *GetOrganizationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationsOK, error)
GetOrganizations get organizations API
func (*Client) HasAccessAsync ¶
func (a *Client) HasAccessAsync(params *HasAccessAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetOrganizationByID(params *GetOrganizationByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationByIDOK, error) GetOrganizationSalesContact(params *GetOrganizationSalesContactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationSalesContactOK, error) GetOrganizations(params *GetOrganizationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationsOK, error) HasAccessAsync(params *HasAccessAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 GetOrganizationByIDOK ¶
type GetOrganizationByIDOK struct {
Payload *models.Organization
}
GetOrganizationByIDOK describes a response with status code 200, with default header values.
Success
func NewGetOrganizationByIDOK ¶
func NewGetOrganizationByIDOK() *GetOrganizationByIDOK
NewGetOrganizationByIDOK creates a GetOrganizationByIDOK with default headers values
func (*GetOrganizationByIDOK) Error ¶
func (o *GetOrganizationByIDOK) Error() string
func (*GetOrganizationByIDOK) GetPayload ¶
func (o *GetOrganizationByIDOK) GetPayload() *models.Organization
type GetOrganizationByIDParams ¶
type GetOrganizationByIDParams struct { // ID. // // Format: int32 ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationByIDParams contains all the parameters to send to the API endpoint
for the get organization by Id operation. Typically these are written to a http.Request.
func NewGetOrganizationByIDParams ¶
func NewGetOrganizationByIDParams() *GetOrganizationByIDParams
NewGetOrganizationByIDParams creates a new GetOrganizationByIDParams 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 NewGetOrganizationByIDParamsWithContext ¶
func NewGetOrganizationByIDParamsWithContext(ctx context.Context) *GetOrganizationByIDParams
NewGetOrganizationByIDParamsWithContext creates a new GetOrganizationByIDParams object with the ability to set a context for a request.
func NewGetOrganizationByIDParamsWithHTTPClient ¶
func NewGetOrganizationByIDParamsWithHTTPClient(client *http.Client) *GetOrganizationByIDParams
NewGetOrganizationByIDParamsWithHTTPClient creates a new GetOrganizationByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrganizationByIDParamsWithTimeout ¶
func NewGetOrganizationByIDParamsWithTimeout(timeout time.Duration) *GetOrganizationByIDParams
NewGetOrganizationByIDParamsWithTimeout creates a new GetOrganizationByIDParams object with the ability to set a timeout on a request.
func (*GetOrganizationByIDParams) SetContext ¶
func (o *GetOrganizationByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization by Id params
func (*GetOrganizationByIDParams) SetDefaults ¶
func (o *GetOrganizationByIDParams) SetDefaults()
SetDefaults hydrates default values in the get organization by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationByIDParams) SetHTTPClient ¶
func (o *GetOrganizationByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organization by Id params
func (*GetOrganizationByIDParams) SetID ¶
func (o *GetOrganizationByIDParams) SetID(id int32)
SetID adds the id to the get organization by Id params
func (*GetOrganizationByIDParams) SetTimeout ¶
func (o *GetOrganizationByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization by Id params
func (*GetOrganizationByIDParams) WithContext ¶
func (o *GetOrganizationByIDParams) WithContext(ctx context.Context) *GetOrganizationByIDParams
WithContext adds the context to the get organization by Id params
func (*GetOrganizationByIDParams) WithDefaults ¶
func (o *GetOrganizationByIDParams) WithDefaults() *GetOrganizationByIDParams
WithDefaults hydrates default values in the get organization by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationByIDParams) WithHTTPClient ¶
func (o *GetOrganizationByIDParams) WithHTTPClient(client *http.Client) *GetOrganizationByIDParams
WithHTTPClient adds the HTTPClient to the get organization by Id params
func (*GetOrganizationByIDParams) WithID ¶
func (o *GetOrganizationByIDParams) WithID(id int32) *GetOrganizationByIDParams
WithID adds the id to the get organization by Id params
func (*GetOrganizationByIDParams) WithTimeout ¶
func (o *GetOrganizationByIDParams) WithTimeout(timeout time.Duration) *GetOrganizationByIDParams
WithTimeout adds the timeout to the get organization by Id params
func (*GetOrganizationByIDParams) WriteToRequest ¶
func (o *GetOrganizationByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationByIDReader ¶
type GetOrganizationByIDReader struct {
// contains filtered or unexported fields
}
GetOrganizationByIDReader is a Reader for the GetOrganizationByID structure.
func (*GetOrganizationByIDReader) ReadResponse ¶
func (o *GetOrganizationByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationSalesContactOK ¶
type GetOrganizationSalesContactOK struct {
Payload *models.OrganizationSalesContact
}
GetOrganizationSalesContactOK describes a response with status code 200, 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. // // Format: int32 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 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 NewGetOrganizationSalesContactParamsWithContext ¶
func NewGetOrganizationSalesContactParamsWithContext(ctx context.Context) *GetOrganizationSalesContactParams
NewGetOrganizationSalesContactParamsWithContext creates a new GetOrganizationSalesContactParams object with 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 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 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) SetDefaults ¶
func (o *GetOrganizationSalesContactParams) SetDefaults()
SetDefaults hydrates default values in the get organization sales contact params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetOrganizationSalesContactParams) WithDefaults() *GetOrganizationSalesContactParams
WithDefaults hydrates default values in the get organization sales contact params (not the query body).
All values with no default are reset to their zero value.
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 ¶
type GetOrganizationsOK struct {
Payload *models.APICollectionOfOrganization
}
GetOrganizationsOK describes a response with status code 200, with default header values.
Success
func NewGetOrganizationsOK ¶
func NewGetOrganizationsOK() *GetOrganizationsOK
NewGetOrganizationsOK creates a GetOrganizationsOK with default headers values
func (*GetOrganizationsOK) Error ¶
func (o *GetOrganizationsOK) Error() string
func (*GetOrganizationsOK) GetPayload ¶
func (o *GetOrganizationsOK) GetPayload() *models.APICollectionOfOrganization
type GetOrganizationsParams ¶
type GetOrganizationsParams struct { // Page. // // Format: int32 Page *int32 // PageSize. // // Format: int32 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 ¶
func NewGetOrganizationsParams() *GetOrganizationsParams
NewGetOrganizationsParams creates a new GetOrganizationsParams 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 NewGetOrganizationsParamsWithContext ¶
func NewGetOrganizationsParamsWithContext(ctx context.Context) *GetOrganizationsParams
NewGetOrganizationsParamsWithContext creates a new GetOrganizationsParams object with the ability to set a context for a request.
func NewGetOrganizationsParamsWithHTTPClient ¶
func NewGetOrganizationsParamsWithHTTPClient(client *http.Client) *GetOrganizationsParams
NewGetOrganizationsParamsWithHTTPClient creates a new GetOrganizationsParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrganizationsParamsWithTimeout ¶
func NewGetOrganizationsParamsWithTimeout(timeout time.Duration) *GetOrganizationsParams
NewGetOrganizationsParamsWithTimeout creates a new GetOrganizationsParams object with the ability to set a timeout on a request.
func (*GetOrganizationsParams) SetContext ¶
func (o *GetOrganizationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get organizations params
func (*GetOrganizationsParams) SetDefaults ¶
func (o *GetOrganizationsParams) SetDefaults()
SetDefaults hydrates default values in the get organizations params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationsParams) SetHTTPClient ¶
func (o *GetOrganizationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organizations params
func (*GetOrganizationsParams) SetPage ¶
func (o *GetOrganizationsParams) SetPage(page *int32)
SetPage adds the page to the get organizations params
func (*GetOrganizationsParams) SetPageSize ¶
func (o *GetOrganizationsParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the get organizations params
func (*GetOrganizationsParams) SetSearch ¶
func (o *GetOrganizationsParams) SetSearch(search *string)
SetSearch adds the search to the get organizations params
func (*GetOrganizationsParams) SetTimeout ¶
func (o *GetOrganizationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organizations params
func (*GetOrganizationsParams) WithContext ¶
func (o *GetOrganizationsParams) WithContext(ctx context.Context) *GetOrganizationsParams
WithContext adds the context to the get organizations params
func (*GetOrganizationsParams) WithDefaults ¶
func (o *GetOrganizationsParams) WithDefaults() *GetOrganizationsParams
WithDefaults hydrates default values in the get organizations params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationsParams) WithHTTPClient ¶
func (o *GetOrganizationsParams) WithHTTPClient(client *http.Client) *GetOrganizationsParams
WithHTTPClient adds the HTTPClient to the get organizations params
func (*GetOrganizationsParams) WithPage ¶
func (o *GetOrganizationsParams) WithPage(page *int32) *GetOrganizationsParams
WithPage adds the page to the get organizations params
func (*GetOrganizationsParams) WithPageSize ¶
func (o *GetOrganizationsParams) WithPageSize(pageSize *int32) *GetOrganizationsParams
WithPageSize adds the pageSize to the get organizations params
func (*GetOrganizationsParams) WithSearch ¶
func (o *GetOrganizationsParams) WithSearch(search *string) *GetOrganizationsParams
WithSearch adds the search to the get organizations params
func (*GetOrganizationsParams) WithTimeout ¶
func (o *GetOrganizationsParams) WithTimeout(timeout time.Duration) *GetOrganizationsParams
WithTimeout adds the timeout to the get organizations params
func (*GetOrganizationsParams) WriteToRequest ¶
func (o *GetOrganizationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationsReader ¶
type GetOrganizationsReader struct {
// contains filtered or unexported fields
}
GetOrganizationsReader is a Reader for the GetOrganizations structure.
func (*GetOrganizationsReader) ReadResponse ¶
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 describes a response with status code 200, 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. // // Format: int32 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 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 NewHasAccessAsyncParamsWithContext ¶
func NewHasAccessAsyncParamsWithContext(ctx context.Context) *HasAccessAsyncParams
NewHasAccessAsyncParamsWithContext creates a new HasAccessAsyncParams object with 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 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 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) SetDefaults ¶
func (o *HasAccessAsyncParams) SetDefaults()
SetDefaults hydrates default values in the has access async params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *HasAccessAsyncParams) WithDefaults() *HasAccessAsyncParams
WithDefaults hydrates default values in the has access async params (not the query body).
All values with no default are reset to their zero value.
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.
Source Files ¶
- get_organization_by_id_parameters.go
- get_organization_by_id_responses.go
- get_organization_sales_contact_parameters.go
- get_organization_sales_contact_responses.go
- get_organizations_parameters.go
- get_organizations_responses.go
- has_access_async_parameters.go
- has_access_async_responses.go
- organizations_client.go