permissions

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

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

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

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

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

WithContext adds the context to the get permissions using g e t params

func (*GetPermissionsUsingGETParams) WithHTTPClient

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

WithTimeout adds the timeout to the get permissions using g e t params

func (*GetPermissionsUsingGETParams) WriteToRequest

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL