Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetPermissionsUsingGETForbidden
- type GetPermissionsUsingGETNotFound
- type GetPermissionsUsingGETOK
- type GetPermissionsUsingGETParams
- func NewGetPermissionsUsingGETParams() *GetPermissionsUsingGETParams
- func NewGetPermissionsUsingGETParamsWithContext(ctx context.Context) *GetPermissionsUsingGETParams
- func NewGetPermissionsUsingGETParamsWithHTTPClient(client *http.Client) *GetPermissionsUsingGETParams
- func NewGetPermissionsUsingGETParamsWithTimeout(timeout time.Duration) *GetPermissionsUsingGETParams
- func (o *GetPermissionsUsingGETParams) SetContext(ctx context.Context)
- func (o *GetPermissionsUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetPermissionsUsingGETParams) SetIsProjectSpecific(isProjectSpecific *bool)
- func (o *GetPermissionsUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetPermissionsUsingGETParams) WithContext(ctx context.Context) *GetPermissionsUsingGETParams
- func (o *GetPermissionsUsingGETParams) WithHTTPClient(client *http.Client) *GetPermissionsUsingGETParams
- func (o *GetPermissionsUsingGETParams) WithIsProjectSpecific(isProjectSpecific *bool) *GetPermissionsUsingGETParams
- func (o *GetPermissionsUsingGETParams) WithTimeout(timeout time.Duration) *GetPermissionsUsingGETParams
- func (o *GetPermissionsUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPermissionsUsingGETReader
- type GetPermissionsUsingGETUnauthorized
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 permissions API
func (*Client) GetPermissionsUsingGET ¶
func (a *Client) GetPermissionsUsingGET(params *GetPermissionsUsingGETParams) (*GetPermissionsUsingGETOK, error)
GetPermissionsUsingGET gets permissions
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetPermissionsUsingGET(params *GetPermissionsUsingGETParams) (*GetPermissionsUsingGETOK, 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 permissions API client.
type GetPermissionsUsingGETForbidden ¶
type GetPermissionsUsingGETForbidden struct { }
GetPermissionsUsingGETForbidden handles this case with default header values.
Forbidden
func NewGetPermissionsUsingGETForbidden ¶
func NewGetPermissionsUsingGETForbidden() *GetPermissionsUsingGETForbidden
NewGetPermissionsUsingGETForbidden creates a GetPermissionsUsingGETForbidden with default headers values
func (*GetPermissionsUsingGETForbidden) Error ¶
func (o *GetPermissionsUsingGETForbidden) Error() string
type GetPermissionsUsingGETNotFound ¶
type GetPermissionsUsingGETNotFound struct { }
GetPermissionsUsingGETNotFound handles this case with default header values.
Not Found
func NewGetPermissionsUsingGETNotFound ¶
func NewGetPermissionsUsingGETNotFound() *GetPermissionsUsingGETNotFound
NewGetPermissionsUsingGETNotFound creates a GetPermissionsUsingGETNotFound with default headers values
func (*GetPermissionsUsingGETNotFound) Error ¶
func (o *GetPermissionsUsingGETNotFound) Error() string
type GetPermissionsUsingGETOK ¶
type GetPermissionsUsingGETOK struct {
Payload *models.ListHolderDtoPermissionDto
}
GetPermissionsUsingGETOK handles this case with default header values.
OK
func NewGetPermissionsUsingGETOK ¶
func NewGetPermissionsUsingGETOK() *GetPermissionsUsingGETOK
NewGetPermissionsUsingGETOK creates a GetPermissionsUsingGETOK with default headers values
func (*GetPermissionsUsingGETOK) Error ¶
func (o *GetPermissionsUsingGETOK) Error() string
func (*GetPermissionsUsingGETOK) GetPayload ¶
func (o *GetPermissionsUsingGETOK) GetPayload() *models.ListHolderDtoPermissionDto
type GetPermissionsUsingGETParams ¶
type GetPermissionsUsingGETParams struct { /*IsProjectSpecific isProjectSpecific */ IsProjectSpecific *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPermissionsUsingGETParams contains all the parameters to send to the API endpoint for the get permissions using g e t operation typically these are written to a http.Request
func NewGetPermissionsUsingGETParams ¶
func NewGetPermissionsUsingGETParams() *GetPermissionsUsingGETParams
NewGetPermissionsUsingGETParams creates a new GetPermissionsUsingGETParams object with the default values initialized.
func NewGetPermissionsUsingGETParamsWithContext ¶
func NewGetPermissionsUsingGETParamsWithContext(ctx context.Context) *GetPermissionsUsingGETParams
NewGetPermissionsUsingGETParamsWithContext creates a new GetPermissionsUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetPermissionsUsingGETParamsWithHTTPClient ¶
func NewGetPermissionsUsingGETParamsWithHTTPClient(client *http.Client) *GetPermissionsUsingGETParams
NewGetPermissionsUsingGETParamsWithHTTPClient creates a new GetPermissionsUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPermissionsUsingGETParamsWithTimeout ¶
func NewGetPermissionsUsingGETParamsWithTimeout(timeout time.Duration) *GetPermissionsUsingGETParams
NewGetPermissionsUsingGETParamsWithTimeout creates a new GetPermissionsUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPermissionsUsingGETParams) SetContext ¶
func (o *GetPermissionsUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get permissions using g e t params
func (*GetPermissionsUsingGETParams) SetHTTPClient ¶
func (o *GetPermissionsUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get permissions using g e t params
func (*GetPermissionsUsingGETParams) SetIsProjectSpecific ¶
func (o *GetPermissionsUsingGETParams) SetIsProjectSpecific(isProjectSpecific *bool)
SetIsProjectSpecific adds the isProjectSpecific to the get permissions using g e t params
func (*GetPermissionsUsingGETParams) SetTimeout ¶
func (o *GetPermissionsUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get permissions using g e t params
func (*GetPermissionsUsingGETParams) WithContext ¶
func (o *GetPermissionsUsingGETParams) WithContext(ctx context.Context) *GetPermissionsUsingGETParams
WithContext adds the context to the get permissions using g e t params
func (*GetPermissionsUsingGETParams) WithHTTPClient ¶
func (o *GetPermissionsUsingGETParams) WithHTTPClient(client *http.Client) *GetPermissionsUsingGETParams
WithHTTPClient adds the HTTPClient to the get permissions using g e t params
func (*GetPermissionsUsingGETParams) WithIsProjectSpecific ¶
func (o *GetPermissionsUsingGETParams) WithIsProjectSpecific(isProjectSpecific *bool) *GetPermissionsUsingGETParams
WithIsProjectSpecific adds the isProjectSpecific to the get permissions using g e t params
func (*GetPermissionsUsingGETParams) WithTimeout ¶
func (o *GetPermissionsUsingGETParams) WithTimeout(timeout time.Duration) *GetPermissionsUsingGETParams
WithTimeout adds the timeout to the get permissions using g e t params
func (*GetPermissionsUsingGETParams) WriteToRequest ¶
func (o *GetPermissionsUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPermissionsUsingGETReader ¶
type GetPermissionsUsingGETReader struct {
// contains filtered or unexported fields
}
GetPermissionsUsingGETReader is a Reader for the GetPermissionsUsingGET structure.
func (*GetPermissionsUsingGETReader) ReadResponse ¶
func (o *GetPermissionsUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPermissionsUsingGETUnauthorized ¶
type GetPermissionsUsingGETUnauthorized struct { }
GetPermissionsUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetPermissionsUsingGETUnauthorized ¶
func NewGetPermissionsUsingGETUnauthorized() *GetPermissionsUsingGETUnauthorized
NewGetPermissionsUsingGETUnauthorized creates a GetPermissionsUsingGETUnauthorized with default headers values
func (*GetPermissionsUsingGETUnauthorized) Error ¶
func (o *GetPermissionsUsingGETUnauthorized) Error() string