Documentation ¶
Index ¶
- type Client
- func (a *Client) GetOrganizationAccess(params *GetOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationAccessOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateOrganizationAccess(params *UpdateOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateOrganizationAccessOK, error)
- type ClientService
- type GetOrganizationAccessOK
- type GetOrganizationAccessParams
- func NewGetOrganizationAccessParams() *GetOrganizationAccessParams
- func NewGetOrganizationAccessParamsWithContext(ctx context.Context) *GetOrganizationAccessParams
- func NewGetOrganizationAccessParamsWithHTTPClient(client *http.Client) *GetOrganizationAccessParams
- func NewGetOrganizationAccessParamsWithTimeout(timeout time.Duration) *GetOrganizationAccessParams
- func (o *GetOrganizationAccessParams) SetContext(ctx context.Context)
- func (o *GetOrganizationAccessParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationAccessParams) SetOrganizationID(organizationID *int32)
- func (o *GetOrganizationAccessParams) SetPage(page *int32)
- func (o *GetOrganizationAccessParams) SetPageSize(pageSize *int32)
- func (o *GetOrganizationAccessParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationAccessParams) SetUserID(userID *string)
- func (o *GetOrganizationAccessParams) WithContext(ctx context.Context) *GetOrganizationAccessParams
- func (o *GetOrganizationAccessParams) WithHTTPClient(client *http.Client) *GetOrganizationAccessParams
- func (o *GetOrganizationAccessParams) WithOrganizationID(organizationID *int32) *GetOrganizationAccessParams
- func (o *GetOrganizationAccessParams) WithPage(page *int32) *GetOrganizationAccessParams
- func (o *GetOrganizationAccessParams) WithPageSize(pageSize *int32) *GetOrganizationAccessParams
- func (o *GetOrganizationAccessParams) WithTimeout(timeout time.Duration) *GetOrganizationAccessParams
- func (o *GetOrganizationAccessParams) WithUserID(userID *string) *GetOrganizationAccessParams
- func (o *GetOrganizationAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationAccessReader
- type UpdateOrganizationAccessOK
- type UpdateOrganizationAccessParams
- func NewUpdateOrganizationAccessParams() *UpdateOrganizationAccessParams
- func NewUpdateOrganizationAccessParamsWithContext(ctx context.Context) *UpdateOrganizationAccessParams
- func NewUpdateOrganizationAccessParamsWithHTTPClient(client *http.Client) *UpdateOrganizationAccessParams
- func NewUpdateOrganizationAccessParamsWithTimeout(timeout time.Duration) *UpdateOrganizationAccessParams
- func (o *UpdateOrganizationAccessParams) SetContext(ctx context.Context)
- func (o *UpdateOrganizationAccessParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrganizationAccessParams) SetList(list []*models.OrganizationAccess)
- func (o *UpdateOrganizationAccessParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrganizationAccessParams) WithContext(ctx context.Context) *UpdateOrganizationAccessParams
- func (o *UpdateOrganizationAccessParams) WithHTTPClient(client *http.Client) *UpdateOrganizationAccessParams
- func (o *UpdateOrganizationAccessParams) WithList(list []*models.OrganizationAccess) *UpdateOrganizationAccessParams
- func (o *UpdateOrganizationAccessParams) WithTimeout(timeout time.Duration) *UpdateOrganizationAccessParams
- func (o *UpdateOrganizationAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrganizationAccessReader
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 organization access API
func (*Client) GetOrganizationAccess ¶
func (a *Client) GetOrganizationAccess(params *GetOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationAccessOK, error)
GetOrganizationAccess get organization access API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateOrganizationAccess ¶ added in v1.2.0
func (a *Client) UpdateOrganizationAccess(params *UpdateOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateOrganizationAccessOK, error)
UpdateOrganizationAccess update organization access API
type ClientService ¶
type ClientService interface { GetOrganizationAccess(params *GetOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationAccessOK, error) UpdateOrganizationAccess(params *UpdateOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateOrganizationAccessOK, 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 organization access API client.
type GetOrganizationAccessOK ¶
type GetOrganizationAccessOK struct {
Payload *models.APICollectionOfOrganizationAccess
}
GetOrganizationAccessOK handles this case with default header values.
Success
func NewGetOrganizationAccessOK ¶
func NewGetOrganizationAccessOK() *GetOrganizationAccessOK
NewGetOrganizationAccessOK creates a GetOrganizationAccessOK with default headers values
func (*GetOrganizationAccessOK) Error ¶
func (o *GetOrganizationAccessOK) Error() string
func (*GetOrganizationAccessOK) GetPayload ¶
func (o *GetOrganizationAccessOK) GetPayload() *models.APICollectionOfOrganizationAccess
type GetOrganizationAccessParams ¶
type GetOrganizationAccessParams struct { /*OrganizationID*/ OrganizationID *int32 /*Page*/ Page *int32 /*PageSize*/ PageSize *int32 /*UserID*/ UserID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationAccessParams contains all the parameters to send to the API endpoint for the get organization access operation typically these are written to a http.Request
func NewGetOrganizationAccessParams ¶
func NewGetOrganizationAccessParams() *GetOrganizationAccessParams
NewGetOrganizationAccessParams creates a new GetOrganizationAccessParams object with the default values initialized.
func NewGetOrganizationAccessParamsWithContext ¶
func NewGetOrganizationAccessParamsWithContext(ctx context.Context) *GetOrganizationAccessParams
NewGetOrganizationAccessParamsWithContext creates a new GetOrganizationAccessParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrganizationAccessParamsWithHTTPClient ¶
func NewGetOrganizationAccessParamsWithHTTPClient(client *http.Client) *GetOrganizationAccessParams
NewGetOrganizationAccessParamsWithHTTPClient creates a new GetOrganizationAccessParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrganizationAccessParamsWithTimeout ¶
func NewGetOrganizationAccessParamsWithTimeout(timeout time.Duration) *GetOrganizationAccessParams
NewGetOrganizationAccessParamsWithTimeout creates a new GetOrganizationAccessParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrganizationAccessParams) SetContext ¶
func (o *GetOrganizationAccessParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization access params
func (*GetOrganizationAccessParams) SetHTTPClient ¶
func (o *GetOrganizationAccessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organization access params
func (*GetOrganizationAccessParams) SetOrganizationID ¶
func (o *GetOrganizationAccessParams) SetOrganizationID(organizationID *int32)
SetOrganizationID adds the organizationId to the get organization access params
func (*GetOrganizationAccessParams) SetPage ¶
func (o *GetOrganizationAccessParams) SetPage(page *int32)
SetPage adds the page to the get organization access params
func (*GetOrganizationAccessParams) SetPageSize ¶
func (o *GetOrganizationAccessParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the get organization access params
func (*GetOrganizationAccessParams) SetTimeout ¶
func (o *GetOrganizationAccessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization access params
func (*GetOrganizationAccessParams) SetUserID ¶
func (o *GetOrganizationAccessParams) SetUserID(userID *string)
SetUserID adds the userId to the get organization access params
func (*GetOrganizationAccessParams) WithContext ¶
func (o *GetOrganizationAccessParams) WithContext(ctx context.Context) *GetOrganizationAccessParams
WithContext adds the context to the get organization access params
func (*GetOrganizationAccessParams) WithHTTPClient ¶
func (o *GetOrganizationAccessParams) WithHTTPClient(client *http.Client) *GetOrganizationAccessParams
WithHTTPClient adds the HTTPClient to the get organization access params
func (*GetOrganizationAccessParams) WithOrganizationID ¶
func (o *GetOrganizationAccessParams) WithOrganizationID(organizationID *int32) *GetOrganizationAccessParams
WithOrganizationID adds the organizationID to the get organization access params
func (*GetOrganizationAccessParams) WithPage ¶
func (o *GetOrganizationAccessParams) WithPage(page *int32) *GetOrganizationAccessParams
WithPage adds the page to the get organization access params
func (*GetOrganizationAccessParams) WithPageSize ¶
func (o *GetOrganizationAccessParams) WithPageSize(pageSize *int32) *GetOrganizationAccessParams
WithPageSize adds the pageSize to the get organization access params
func (*GetOrganizationAccessParams) WithTimeout ¶
func (o *GetOrganizationAccessParams) WithTimeout(timeout time.Duration) *GetOrganizationAccessParams
WithTimeout adds the timeout to the get organization access params
func (*GetOrganizationAccessParams) WithUserID ¶
func (o *GetOrganizationAccessParams) WithUserID(userID *string) *GetOrganizationAccessParams
WithUserID adds the userID to the get organization access params
func (*GetOrganizationAccessParams) WriteToRequest ¶
func (o *GetOrganizationAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationAccessReader ¶
type GetOrganizationAccessReader struct {
// contains filtered or unexported fields
}
GetOrganizationAccessReader is a Reader for the GetOrganizationAccess structure.
func (*GetOrganizationAccessReader) ReadResponse ¶
func (o *GetOrganizationAccessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOrganizationAccessOK ¶ added in v1.2.0
type UpdateOrganizationAccessOK struct {
Payload []*models.OrganizationAccess
}
UpdateOrganizationAccessOK handles this case with default header values.
Success
func NewUpdateOrganizationAccessOK ¶ added in v1.2.0
func NewUpdateOrganizationAccessOK() *UpdateOrganizationAccessOK
NewUpdateOrganizationAccessOK creates a UpdateOrganizationAccessOK with default headers values
func (*UpdateOrganizationAccessOK) Error ¶ added in v1.2.0
func (o *UpdateOrganizationAccessOK) Error() string
func (*UpdateOrganizationAccessOK) GetPayload ¶ added in v1.2.0
func (o *UpdateOrganizationAccessOK) GetPayload() []*models.OrganizationAccess
type UpdateOrganizationAccessParams ¶ added in v1.2.0
type UpdateOrganizationAccessParams struct { /*List*/ List []*models.OrganizationAccess Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateOrganizationAccessParams contains all the parameters to send to the API endpoint for the update organization access operation typically these are written to a http.Request
func NewUpdateOrganizationAccessParams ¶ added in v1.2.0
func NewUpdateOrganizationAccessParams() *UpdateOrganizationAccessParams
NewUpdateOrganizationAccessParams creates a new UpdateOrganizationAccessParams object with the default values initialized.
func NewUpdateOrganizationAccessParamsWithContext ¶ added in v1.2.0
func NewUpdateOrganizationAccessParamsWithContext(ctx context.Context) *UpdateOrganizationAccessParams
NewUpdateOrganizationAccessParamsWithContext creates a new UpdateOrganizationAccessParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateOrganizationAccessParamsWithHTTPClient ¶ added in v1.2.0
func NewUpdateOrganizationAccessParamsWithHTTPClient(client *http.Client) *UpdateOrganizationAccessParams
NewUpdateOrganizationAccessParamsWithHTTPClient creates a new UpdateOrganizationAccessParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateOrganizationAccessParamsWithTimeout ¶ added in v1.2.0
func NewUpdateOrganizationAccessParamsWithTimeout(timeout time.Duration) *UpdateOrganizationAccessParams
NewUpdateOrganizationAccessParamsWithTimeout creates a new UpdateOrganizationAccessParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateOrganizationAccessParams) SetContext ¶ added in v1.2.0
func (o *UpdateOrganizationAccessParams) SetContext(ctx context.Context)
SetContext adds the context to the update organization access params
func (*UpdateOrganizationAccessParams) SetHTTPClient ¶ added in v1.2.0
func (o *UpdateOrganizationAccessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update organization access params
func (*UpdateOrganizationAccessParams) SetList ¶ added in v1.2.0
func (o *UpdateOrganizationAccessParams) SetList(list []*models.OrganizationAccess)
SetList adds the list to the update organization access params
func (*UpdateOrganizationAccessParams) SetTimeout ¶ added in v1.2.0
func (o *UpdateOrganizationAccessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update organization access params
func (*UpdateOrganizationAccessParams) WithContext ¶ added in v1.2.0
func (o *UpdateOrganizationAccessParams) WithContext(ctx context.Context) *UpdateOrganizationAccessParams
WithContext adds the context to the update organization access params
func (*UpdateOrganizationAccessParams) WithHTTPClient ¶ added in v1.2.0
func (o *UpdateOrganizationAccessParams) WithHTTPClient(client *http.Client) *UpdateOrganizationAccessParams
WithHTTPClient adds the HTTPClient to the update organization access params
func (*UpdateOrganizationAccessParams) WithList ¶ added in v1.2.0
func (o *UpdateOrganizationAccessParams) WithList(list []*models.OrganizationAccess) *UpdateOrganizationAccessParams
WithList adds the list to the update organization access params
func (*UpdateOrganizationAccessParams) WithTimeout ¶ added in v1.2.0
func (o *UpdateOrganizationAccessParams) WithTimeout(timeout time.Duration) *UpdateOrganizationAccessParams
WithTimeout adds the timeout to the update organization access params
func (*UpdateOrganizationAccessParams) WriteToRequest ¶ added in v1.2.0
func (o *UpdateOrganizationAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOrganizationAccessReader ¶ added in v1.2.0
type UpdateOrganizationAccessReader struct {
// contains filtered or unexported fields
}
UpdateOrganizationAccessReader is a Reader for the UpdateOrganizationAccess structure.
func (*UpdateOrganizationAccessReader) ReadResponse ¶ added in v1.2.0
func (o *UpdateOrganizationAccessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.