parties

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 parties API

func (*Client) GetPartiesUsingGET

func (a *Client) GetPartiesUsingGET(params *GetPartiesUsingGETParams) (*GetPartiesUsingGETOK, error)

GetPartiesUsingGET retrieves all users and user groups

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetPartiesUsingGET(params *GetPartiesUsingGETParams) (*GetPartiesUsingGETOK, 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 parties API client.

type GetPartiesUsingGETForbidden

type GetPartiesUsingGETForbidden struct {
}

GetPartiesUsingGETForbidden handles this case with default header values.

Forbidden

func NewGetPartiesUsingGETForbidden

func NewGetPartiesUsingGETForbidden() *GetPartiesUsingGETForbidden

NewGetPartiesUsingGETForbidden creates a GetPartiesUsingGETForbidden with default headers values

func (*GetPartiesUsingGETForbidden) Error

type GetPartiesUsingGETNotFound

type GetPartiesUsingGETNotFound struct {
}

GetPartiesUsingGETNotFound handles this case with default header values.

Not Found

func NewGetPartiesUsingGETNotFound

func NewGetPartiesUsingGETNotFound() *GetPartiesUsingGETNotFound

NewGetPartiesUsingGETNotFound creates a GetPartiesUsingGETNotFound with default headers values

func (*GetPartiesUsingGETNotFound) Error

type GetPartiesUsingGETOK

type GetPartiesUsingGETOK struct {
	Payload *models.PagedResultDtoPartyDto
}

GetPartiesUsingGETOK handles this case with default header values.

OK

func NewGetPartiesUsingGETOK

func NewGetPartiesUsingGETOK() *GetPartiesUsingGETOK

NewGetPartiesUsingGETOK creates a GetPartiesUsingGETOK with default headers values

func (*GetPartiesUsingGETOK) Error

func (o *GetPartiesUsingGETOK) Error() string

func (*GetPartiesUsingGETOK) GetPayload

type GetPartiesUsingGETParams

type GetPartiesUsingGETParams struct {

	/*Filter
	  freeTextFilter

	*/
	Filter *string
	/*InProjectContext
	  inProjectContext

	*/
	InProjectContext *bool
	/*PageNumber
	  pageNumber

	*/
	PageNumber *int32
	/*PageSize
	  pageSize

	*/
	PageSize *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPartiesUsingGETParams contains all the parameters to send to the API endpoint for the get parties using g e t operation typically these are written to a http.Request

func NewGetPartiesUsingGETParams

func NewGetPartiesUsingGETParams() *GetPartiesUsingGETParams

NewGetPartiesUsingGETParams creates a new GetPartiesUsingGETParams object with the default values initialized.

func NewGetPartiesUsingGETParamsWithContext

func NewGetPartiesUsingGETParamsWithContext(ctx context.Context) *GetPartiesUsingGETParams

NewGetPartiesUsingGETParamsWithContext creates a new GetPartiesUsingGETParams object with the default values initialized, and the ability to set a context for a request

func NewGetPartiesUsingGETParamsWithHTTPClient

func NewGetPartiesUsingGETParamsWithHTTPClient(client *http.Client) *GetPartiesUsingGETParams

NewGetPartiesUsingGETParamsWithHTTPClient creates a new GetPartiesUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPartiesUsingGETParamsWithTimeout

func NewGetPartiesUsingGETParamsWithTimeout(timeout time.Duration) *GetPartiesUsingGETParams

NewGetPartiesUsingGETParamsWithTimeout creates a new GetPartiesUsingGETParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPartiesUsingGETParams) SetContext

func (o *GetPartiesUsingGETParams) SetContext(ctx context.Context)

SetContext adds the context to the get parties using g e t params

func (*GetPartiesUsingGETParams) SetFilter

func (o *GetPartiesUsingGETParams) SetFilter(filter *string)

SetFilter adds the filter to the get parties using g e t params

func (*GetPartiesUsingGETParams) SetHTTPClient

func (o *GetPartiesUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get parties using g e t params

func (*GetPartiesUsingGETParams) SetInProjectContext

func (o *GetPartiesUsingGETParams) SetInProjectContext(inProjectContext *bool)

SetInProjectContext adds the inProjectContext to the get parties using g e t params

func (*GetPartiesUsingGETParams) SetPageNumber

func (o *GetPartiesUsingGETParams) SetPageNumber(pageNumber *int32)

SetPageNumber adds the pageNumber to the get parties using g e t params

func (*GetPartiesUsingGETParams) SetPageSize

func (o *GetPartiesUsingGETParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get parties using g e t params

func (*GetPartiesUsingGETParams) SetTimeout

func (o *GetPartiesUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get parties using g e t params

func (*GetPartiesUsingGETParams) WithContext

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

func (*GetPartiesUsingGETParams) WithFilter

WithFilter adds the filter to the get parties using g e t params

func (*GetPartiesUsingGETParams) WithHTTPClient

func (o *GetPartiesUsingGETParams) WithHTTPClient(client *http.Client) *GetPartiesUsingGETParams

WithHTTPClient adds the HTTPClient to the get parties using g e t params

func (*GetPartiesUsingGETParams) WithInProjectContext

func (o *GetPartiesUsingGETParams) WithInProjectContext(inProjectContext *bool) *GetPartiesUsingGETParams

WithInProjectContext adds the inProjectContext to the get parties using g e t params

func (*GetPartiesUsingGETParams) WithPageNumber

func (o *GetPartiesUsingGETParams) WithPageNumber(pageNumber *int32) *GetPartiesUsingGETParams

WithPageNumber adds the pageNumber to the get parties using g e t params

func (*GetPartiesUsingGETParams) WithPageSize

func (o *GetPartiesUsingGETParams) WithPageSize(pageSize *int32) *GetPartiesUsingGETParams

WithPageSize adds the pageSize to the get parties using g e t params

func (*GetPartiesUsingGETParams) WithTimeout

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

func (*GetPartiesUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPartiesUsingGETReader

type GetPartiesUsingGETReader struct {
	// contains filtered or unexported fields
}

GetPartiesUsingGETReader is a Reader for the GetPartiesUsingGET structure.

func (*GetPartiesUsingGETReader) ReadResponse

func (o *GetPartiesUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPartiesUsingGETUnauthorized

type GetPartiesUsingGETUnauthorized struct {
}

GetPartiesUsingGETUnauthorized handles this case with default header values.

Unauthorized

func NewGetPartiesUsingGETUnauthorized

func NewGetPartiesUsingGETUnauthorized() *GetPartiesUsingGETUnauthorized

NewGetPartiesUsingGETUnauthorized creates a GetPartiesUsingGETUnauthorized with default headers values

func (*GetPartiesUsingGETUnauthorized) Error

Jump to

Keyboard shortcuts

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