Documentation ¶
Index ¶
- type Client
- func (a *Client) GetOrganizationAccess(params *GetOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOrganizationAccessOK, error)
- func (a *Client) GrantOrganizationAccess(params *GrantOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GrantOrganizationAccessOK, error)
- func (a *Client) PutOrganizationAccess(params *PutOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutOrganizationAccessOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- 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) SetDefaults()
- 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) WithDefaults() *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 GrantOrganizationAccessOK
- type GrantOrganizationAccessParams
- func NewGrantOrganizationAccessParams() *GrantOrganizationAccessParams
- func NewGrantOrganizationAccessParamsWithContext(ctx context.Context) *GrantOrganizationAccessParams
- func NewGrantOrganizationAccessParamsWithHTTPClient(client *http.Client) *GrantOrganizationAccessParams
- func NewGrantOrganizationAccessParamsWithTimeout(timeout time.Duration) *GrantOrganizationAccessParams
- func (o *GrantOrganizationAccessParams) SetContext(ctx context.Context)
- func (o *GrantOrganizationAccessParams) SetDefaults()
- func (o *GrantOrganizationAccessParams) SetHTTPClient(client *http.Client)
- func (o *GrantOrganizationAccessParams) SetOrganizationID(organizationID *int32)
- func (o *GrantOrganizationAccessParams) SetPage(page *int32)
- func (o *GrantOrganizationAccessParams) SetPageSize(pageSize *int32)
- func (o *GrantOrganizationAccessParams) SetTimeout(timeout time.Duration)
- func (o *GrantOrganizationAccessParams) SetUserID(userID *string)
- func (o *GrantOrganizationAccessParams) WithContext(ctx context.Context) *GrantOrganizationAccessParams
- func (o *GrantOrganizationAccessParams) WithDefaults() *GrantOrganizationAccessParams
- func (o *GrantOrganizationAccessParams) WithHTTPClient(client *http.Client) *GrantOrganizationAccessParams
- func (o *GrantOrganizationAccessParams) WithOrganizationID(organizationID *int32) *GrantOrganizationAccessParams
- func (o *GrantOrganizationAccessParams) WithPage(page *int32) *GrantOrganizationAccessParams
- func (o *GrantOrganizationAccessParams) WithPageSize(pageSize *int32) *GrantOrganizationAccessParams
- func (o *GrantOrganizationAccessParams) WithTimeout(timeout time.Duration) *GrantOrganizationAccessParams
- func (o *GrantOrganizationAccessParams) WithUserID(userID *string) *GrantOrganizationAccessParams
- func (o *GrantOrganizationAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GrantOrganizationAccessReader
- type PutOrganizationAccessOK
- type PutOrganizationAccessParams
- func NewPutOrganizationAccessParams() *PutOrganizationAccessParams
- func NewPutOrganizationAccessParamsWithContext(ctx context.Context) *PutOrganizationAccessParams
- func NewPutOrganizationAccessParamsWithHTTPClient(client *http.Client) *PutOrganizationAccessParams
- func NewPutOrganizationAccessParamsWithTimeout(timeout time.Duration) *PutOrganizationAccessParams
- func (o *PutOrganizationAccessParams) SetContext(ctx context.Context)
- func (o *PutOrganizationAccessParams) SetDefaults()
- func (o *PutOrganizationAccessParams) SetHTTPClient(client *http.Client)
- func (o *PutOrganizationAccessParams) SetList(list []*models.OrganizationAccess)
- func (o *PutOrganizationAccessParams) SetTimeout(timeout time.Duration)
- func (o *PutOrganizationAccessParams) WithContext(ctx context.Context) *PutOrganizationAccessParams
- func (o *PutOrganizationAccessParams) WithDefaults() *PutOrganizationAccessParams
- func (o *PutOrganizationAccessParams) WithHTTPClient(client *http.Client) *PutOrganizationAccessParams
- func (o *PutOrganizationAccessParams) WithList(list []*models.OrganizationAccess) *PutOrganizationAccessParams
- func (o *PutOrganizationAccessParams) WithTimeout(timeout time.Duration) *PutOrganizationAccessParams
- func (o *PutOrganizationAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutOrganizationAccessReader
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, opts ...ClientOption) (*GetOrganizationAccessOK, error)
GetOrganizationAccess get organization access API
func (*Client) GrantOrganizationAccess ¶
func (a *Client) GrantOrganizationAccess(params *GrantOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GrantOrganizationAccessOK, error)
GrantOrganizationAccess grant organization access API
func (*Client) PutOrganizationAccess ¶
func (a *Client) PutOrganizationAccess(params *PutOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutOrganizationAccessOK, error)
PutOrganizationAccess put organization access 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 { GetOrganizationAccess(params *GetOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationAccessOK, error) GrantOrganizationAccess(params *GrantOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GrantOrganizationAccessOK, error) PutOrganizationAccess(params *PutOrganizationAccessParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutOrganizationAccessOK, 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 describes a response with status code 200, 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. // // Format: int32 OrganizationID *int32 // Page. // // Format: int32 // Default: 1 Page *int32 // PageSize. // // Format: int32 // Default: 10000 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 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 NewGetOrganizationAccessParamsWithContext ¶
func NewGetOrganizationAccessParamsWithContext(ctx context.Context) *GetOrganizationAccessParams
NewGetOrganizationAccessParamsWithContext creates a new GetOrganizationAccessParams object with 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 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 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) SetDefaults ¶
func (o *GetOrganizationAccessParams) SetDefaults()
SetDefaults hydrates default values in the get organization access params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetOrganizationAccessParams) WithDefaults() *GetOrganizationAccessParams
WithDefaults hydrates default values in the get organization access params (not the query body).
All values with no default are reset to their zero value.
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 GrantOrganizationAccessOK ¶
type GrantOrganizationAccessOK struct {
Payload *models.APICollectionOfOrganizationAccess
}
GrantOrganizationAccessOK describes a response with status code 200, with default header values.
Success
func NewGrantOrganizationAccessOK ¶
func NewGrantOrganizationAccessOK() *GrantOrganizationAccessOK
NewGrantOrganizationAccessOK creates a GrantOrganizationAccessOK with default headers values
func (*GrantOrganizationAccessOK) Error ¶
func (o *GrantOrganizationAccessOK) Error() string
func (*GrantOrganizationAccessOK) GetPayload ¶
func (o *GrantOrganizationAccessOK) GetPayload() *models.APICollectionOfOrganizationAccess
type GrantOrganizationAccessParams ¶
type GrantOrganizationAccessParams struct { // OrganizationID. // // Format: int32 OrganizationID *int32 // Page. // // Format: int32 // Default: 1 Page *int32 // PageSize. // // Format: int32 // Default: 10000 PageSize *int32 // UserID. UserID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GrantOrganizationAccessParams contains all the parameters to send to the API endpoint
for the grant organization access operation. Typically these are written to a http.Request.
func NewGrantOrganizationAccessParams ¶
func NewGrantOrganizationAccessParams() *GrantOrganizationAccessParams
NewGrantOrganizationAccessParams creates a new GrantOrganizationAccessParams 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 NewGrantOrganizationAccessParamsWithContext ¶
func NewGrantOrganizationAccessParamsWithContext(ctx context.Context) *GrantOrganizationAccessParams
NewGrantOrganizationAccessParamsWithContext creates a new GrantOrganizationAccessParams object with the ability to set a context for a request.
func NewGrantOrganizationAccessParamsWithHTTPClient ¶
func NewGrantOrganizationAccessParamsWithHTTPClient(client *http.Client) *GrantOrganizationAccessParams
NewGrantOrganizationAccessParamsWithHTTPClient creates a new GrantOrganizationAccessParams object with the ability to set a custom HTTPClient for a request.
func NewGrantOrganizationAccessParamsWithTimeout ¶
func NewGrantOrganizationAccessParamsWithTimeout(timeout time.Duration) *GrantOrganizationAccessParams
NewGrantOrganizationAccessParamsWithTimeout creates a new GrantOrganizationAccessParams object with the ability to set a timeout on a request.
func (*GrantOrganizationAccessParams) SetContext ¶
func (o *GrantOrganizationAccessParams) SetContext(ctx context.Context)
SetContext adds the context to the grant organization access params
func (*GrantOrganizationAccessParams) SetDefaults ¶
func (o *GrantOrganizationAccessParams) SetDefaults()
SetDefaults hydrates default values in the grant organization access params (not the query body).
All values with no default are reset to their zero value.
func (*GrantOrganizationAccessParams) SetHTTPClient ¶
func (o *GrantOrganizationAccessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the grant organization access params
func (*GrantOrganizationAccessParams) SetOrganizationID ¶
func (o *GrantOrganizationAccessParams) SetOrganizationID(organizationID *int32)
SetOrganizationID adds the organizationId to the grant organization access params
func (*GrantOrganizationAccessParams) SetPage ¶
func (o *GrantOrganizationAccessParams) SetPage(page *int32)
SetPage adds the page to the grant organization access params
func (*GrantOrganizationAccessParams) SetPageSize ¶
func (o *GrantOrganizationAccessParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the grant organization access params
func (*GrantOrganizationAccessParams) SetTimeout ¶
func (o *GrantOrganizationAccessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the grant organization access params
func (*GrantOrganizationAccessParams) SetUserID ¶
func (o *GrantOrganizationAccessParams) SetUserID(userID *string)
SetUserID adds the userId to the grant organization access params
func (*GrantOrganizationAccessParams) WithContext ¶
func (o *GrantOrganizationAccessParams) WithContext(ctx context.Context) *GrantOrganizationAccessParams
WithContext adds the context to the grant organization access params
func (*GrantOrganizationAccessParams) WithDefaults ¶
func (o *GrantOrganizationAccessParams) WithDefaults() *GrantOrganizationAccessParams
WithDefaults hydrates default values in the grant organization access params (not the query body).
All values with no default are reset to their zero value.
func (*GrantOrganizationAccessParams) WithHTTPClient ¶
func (o *GrantOrganizationAccessParams) WithHTTPClient(client *http.Client) *GrantOrganizationAccessParams
WithHTTPClient adds the HTTPClient to the grant organization access params
func (*GrantOrganizationAccessParams) WithOrganizationID ¶
func (o *GrantOrganizationAccessParams) WithOrganizationID(organizationID *int32) *GrantOrganizationAccessParams
WithOrganizationID adds the organizationID to the grant organization access params
func (*GrantOrganizationAccessParams) WithPage ¶
func (o *GrantOrganizationAccessParams) WithPage(page *int32) *GrantOrganizationAccessParams
WithPage adds the page to the grant organization access params
func (*GrantOrganizationAccessParams) WithPageSize ¶
func (o *GrantOrganizationAccessParams) WithPageSize(pageSize *int32) *GrantOrganizationAccessParams
WithPageSize adds the pageSize to the grant organization access params
func (*GrantOrganizationAccessParams) WithTimeout ¶
func (o *GrantOrganizationAccessParams) WithTimeout(timeout time.Duration) *GrantOrganizationAccessParams
WithTimeout adds the timeout to the grant organization access params
func (*GrantOrganizationAccessParams) WithUserID ¶
func (o *GrantOrganizationAccessParams) WithUserID(userID *string) *GrantOrganizationAccessParams
WithUserID adds the userID to the grant organization access params
func (*GrantOrganizationAccessParams) WriteToRequest ¶
func (o *GrantOrganizationAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GrantOrganizationAccessReader ¶
type GrantOrganizationAccessReader struct {
// contains filtered or unexported fields
}
GrantOrganizationAccessReader is a Reader for the GrantOrganizationAccess structure.
func (*GrantOrganizationAccessReader) ReadResponse ¶
func (o *GrantOrganizationAccessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutOrganizationAccessOK ¶
type PutOrganizationAccessOK struct {
Payload []*models.OrganizationAccess
}
PutOrganizationAccessOK describes a response with status code 200, with default header values.
Success
func NewPutOrganizationAccessOK ¶
func NewPutOrganizationAccessOK() *PutOrganizationAccessOK
NewPutOrganizationAccessOK creates a PutOrganizationAccessOK with default headers values
func (*PutOrganizationAccessOK) Error ¶
func (o *PutOrganizationAccessOK) Error() string
func (*PutOrganizationAccessOK) GetPayload ¶
func (o *PutOrganizationAccessOK) GetPayload() []*models.OrganizationAccess
type PutOrganizationAccessParams ¶
type PutOrganizationAccessParams struct { // List. List []*models.OrganizationAccess Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutOrganizationAccessParams contains all the parameters to send to the API endpoint
for the put organization access operation. Typically these are written to a http.Request.
func NewPutOrganizationAccessParams ¶
func NewPutOrganizationAccessParams() *PutOrganizationAccessParams
NewPutOrganizationAccessParams creates a new PutOrganizationAccessParams 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 NewPutOrganizationAccessParamsWithContext ¶
func NewPutOrganizationAccessParamsWithContext(ctx context.Context) *PutOrganizationAccessParams
NewPutOrganizationAccessParamsWithContext creates a new PutOrganizationAccessParams object with the ability to set a context for a request.
func NewPutOrganizationAccessParamsWithHTTPClient ¶
func NewPutOrganizationAccessParamsWithHTTPClient(client *http.Client) *PutOrganizationAccessParams
NewPutOrganizationAccessParamsWithHTTPClient creates a new PutOrganizationAccessParams object with the ability to set a custom HTTPClient for a request.
func NewPutOrganizationAccessParamsWithTimeout ¶
func NewPutOrganizationAccessParamsWithTimeout(timeout time.Duration) *PutOrganizationAccessParams
NewPutOrganizationAccessParamsWithTimeout creates a new PutOrganizationAccessParams object with the ability to set a timeout on a request.
func (*PutOrganizationAccessParams) SetContext ¶
func (o *PutOrganizationAccessParams) SetContext(ctx context.Context)
SetContext adds the context to the put organization access params
func (*PutOrganizationAccessParams) SetDefaults ¶
func (o *PutOrganizationAccessParams) SetDefaults()
SetDefaults hydrates default values in the put organization access params (not the query body).
All values with no default are reset to their zero value.
func (*PutOrganizationAccessParams) SetHTTPClient ¶
func (o *PutOrganizationAccessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put organization access params
func (*PutOrganizationAccessParams) SetList ¶
func (o *PutOrganizationAccessParams) SetList(list []*models.OrganizationAccess)
SetList adds the list to the put organization access params
func (*PutOrganizationAccessParams) SetTimeout ¶
func (o *PutOrganizationAccessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put organization access params
func (*PutOrganizationAccessParams) WithContext ¶
func (o *PutOrganizationAccessParams) WithContext(ctx context.Context) *PutOrganizationAccessParams
WithContext adds the context to the put organization access params
func (*PutOrganizationAccessParams) WithDefaults ¶
func (o *PutOrganizationAccessParams) WithDefaults() *PutOrganizationAccessParams
WithDefaults hydrates default values in the put organization access params (not the query body).
All values with no default are reset to their zero value.
func (*PutOrganizationAccessParams) WithHTTPClient ¶
func (o *PutOrganizationAccessParams) WithHTTPClient(client *http.Client) *PutOrganizationAccessParams
WithHTTPClient adds the HTTPClient to the put organization access params
func (*PutOrganizationAccessParams) WithList ¶
func (o *PutOrganizationAccessParams) WithList(list []*models.OrganizationAccess) *PutOrganizationAccessParams
WithList adds the list to the put organization access params
func (*PutOrganizationAccessParams) WithTimeout ¶
func (o *PutOrganizationAccessParams) WithTimeout(timeout time.Duration) *PutOrganizationAccessParams
WithTimeout adds the timeout to the put organization access params
func (*PutOrganizationAccessParams) WriteToRequest ¶
func (o *PutOrganizationAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutOrganizationAccessReader ¶
type PutOrganizationAccessReader struct {
// contains filtered or unexported fields
}
PutOrganizationAccessReader is a Reader for the PutOrganizationAccess structure.
func (*PutOrganizationAccessReader) ReadResponse ¶
func (o *PutOrganizationAccessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.