search_universal_absolute

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddMemberOK

type AddMemberOK struct {
}

AddMemberOK handles this case with default header values.

No response was specified

func NewAddMemberOK

func NewAddMemberOK() *AddMemberOK

NewAddMemberOK creates a AddMemberOK with default headers values

func (*AddMemberOK) Error

func (o *AddMemberOK) Error() string

type AddMemberParams

type AddMemberParams struct {

	/*JSONBody
	  Placeholder because PUT requests should have a body. Set to '{}', the content will be ignored.

	*/
	JSONBody *string
	/*Rolename*/
	Rolename string
	/*Username*/
	Username string

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

AddMemberParams contains all the parameters to send to the API endpoint for the add member operation typically these are written to a http.Request

func NewAddMemberParams

func NewAddMemberParams() *AddMemberParams

NewAddMemberParams creates a new AddMemberParams object with the default values initialized.

func NewAddMemberParamsWithContext

func NewAddMemberParamsWithContext(ctx context.Context) *AddMemberParams

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

func NewAddMemberParamsWithHTTPClient

func NewAddMemberParamsWithHTTPClient(client *http.Client) *AddMemberParams

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

func NewAddMemberParamsWithTimeout

func NewAddMemberParamsWithTimeout(timeout time.Duration) *AddMemberParams

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

func (*AddMemberParams) SetContext

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

SetContext adds the context to the add member params

func (*AddMemberParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add member params

func (*AddMemberParams) SetJSONBody

func (o *AddMemberParams) SetJSONBody(jSONBody *string)

SetJSONBody adds the jsonBody to the add member params

func (*AddMemberParams) SetRolename

func (o *AddMemberParams) SetRolename(rolename string)

SetRolename adds the rolename to the add member params

func (*AddMemberParams) SetTimeout

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

SetTimeout adds the timeout to the add member params

func (*AddMemberParams) SetUsername

func (o *AddMemberParams) SetUsername(username string)

SetUsername adds the username to the add member params

func (*AddMemberParams) WithContext

func (o *AddMemberParams) WithContext(ctx context.Context) *AddMemberParams

WithContext adds the context to the add member params

func (*AddMemberParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add member params

func (*AddMemberParams) WithJSONBody

func (o *AddMemberParams) WithJSONBody(jSONBody *string) *AddMemberParams

WithJSONBody adds the jSONBody to the add member params

func (*AddMemberParams) WithRolename

func (o *AddMemberParams) WithRolename(rolename string) *AddMemberParams

WithRolename adds the rolename to the add member params

func (*AddMemberParams) WithTimeout

func (o *AddMemberParams) WithTimeout(timeout time.Duration) *AddMemberParams

WithTimeout adds the timeout to the add member params

func (*AddMemberParams) WithUsername

func (o *AddMemberParams) WithUsername(username string) *AddMemberParams

WithUsername adds the username to the add member params

func (*AddMemberParams) WriteToRequest

func (o *AddMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddMemberReader

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

AddMemberReader is a Reader for the AddMember structure.

func (*AddMemberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for search universal absolute API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new search universal absolute API client.

func (*Client) AddMember

func (a *Client) AddMember(params *AddMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AddMemberOK, error)

AddMember adds a user to a role

func (*Client) GetMembers

func (a *Client) GetMembers(params *GetMembersParams, authInfo runtime.ClientAuthInfoWriter) (*GetMembersOK, error)

GetMembers retrieves the role s members

func (*Client) ListAll

func (a *Client) ListAll(params *ListAllParams, authInfo runtime.ClientAuthInfoWriter) (*ListAllOK, error)

ListAll lists all roles

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetMembersOK

type GetMembersOK struct {
	Payload *models.RoleMembershipResponse
}

GetMembersOK handles this case with default header values.

No response was specified

func NewGetMembersOK

func NewGetMembersOK() *GetMembersOK

NewGetMembersOK creates a GetMembersOK with default headers values

func (*GetMembersOK) Error

func (o *GetMembersOK) Error() string

type GetMembersParams

type GetMembersParams struct {

	/*Rolename*/
	Rolename string

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

GetMembersParams contains all the parameters to send to the API endpoint for the get members operation typically these are written to a http.Request

func NewGetMembersParams

func NewGetMembersParams() *GetMembersParams

NewGetMembersParams creates a new GetMembersParams object with the default values initialized.

func NewGetMembersParamsWithContext

func NewGetMembersParamsWithContext(ctx context.Context) *GetMembersParams

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

func NewGetMembersParamsWithHTTPClient

func NewGetMembersParamsWithHTTPClient(client *http.Client) *GetMembersParams

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

func NewGetMembersParamsWithTimeout

func NewGetMembersParamsWithTimeout(timeout time.Duration) *GetMembersParams

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

func (*GetMembersParams) SetContext

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

SetContext adds the context to the get members params

func (*GetMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get members params

func (*GetMembersParams) SetRolename

func (o *GetMembersParams) SetRolename(rolename string)

SetRolename adds the rolename to the get members params

func (*GetMembersParams) SetTimeout

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

SetTimeout adds the timeout to the get members params

func (*GetMembersParams) WithContext

func (o *GetMembersParams) WithContext(ctx context.Context) *GetMembersParams

WithContext adds the context to the get members params

func (*GetMembersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get members params

func (*GetMembersParams) WithRolename

func (o *GetMembersParams) WithRolename(rolename string) *GetMembersParams

WithRolename adds the rolename to the get members params

func (*GetMembersParams) WithTimeout

func (o *GetMembersParams) WithTimeout(timeout time.Duration) *GetMembersParams

WithTimeout adds the timeout to the get members params

func (*GetMembersParams) WriteToRequest

func (o *GetMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetMembersReader

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

GetMembersReader is a Reader for the GetMembers structure.

func (*GetMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAllOK

type ListAllOK struct {
	Payload *models.RolesResponse
}

ListAllOK handles this case with default header values.

No response was specified

func NewListAllOK

func NewListAllOK() *ListAllOK

NewListAllOK creates a ListAllOK with default headers values

func (*ListAllOK) Error

func (o *ListAllOK) Error() string

type ListAllParams

type ListAllParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListAllParams contains all the parameters to send to the API endpoint for the list all operation typically these are written to a http.Request

func NewListAllParams

func NewListAllParams() *ListAllParams

NewListAllParams creates a new ListAllParams object with the default values initialized.

func NewListAllParamsWithContext

func NewListAllParamsWithContext(ctx context.Context) *ListAllParams

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

func NewListAllParamsWithHTTPClient

func NewListAllParamsWithHTTPClient(client *http.Client) *ListAllParams

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

func NewListAllParamsWithTimeout

func NewListAllParamsWithTimeout(timeout time.Duration) *ListAllParams

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

func (*ListAllParams) SetContext

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

SetContext adds the context to the list all params

func (*ListAllParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list all params

func (*ListAllParams) SetTimeout

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

SetTimeout adds the timeout to the list all params

func (*ListAllParams) WithContext

func (o *ListAllParams) WithContext(ctx context.Context) *ListAllParams

WithContext adds the context to the list all params

func (*ListAllParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list all params

func (*ListAllParams) WithTimeout

func (o *ListAllParams) WithTimeout(timeout time.Duration) *ListAllParams

WithTimeout adds the timeout to the list all params

func (*ListAllParams) WriteToRequest

func (o *ListAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListAllReader

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

ListAllReader is a Reader for the ListAll structure.

func (*ListAllReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadOK

type ReadOK struct {
	Payload *models.RoleResponse
}

ReadOK handles this case with default header values.

No response was specified

func NewReadOK

func NewReadOK() *ReadOK

NewReadOK creates a ReadOK with default headers values

func (*ReadOK) Error

func (o *ReadOK) Error() string

type ReadParams

type ReadParams struct {

	/*Rolename*/
	Rolename string

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

ReadParams contains all the parameters to send to the API endpoint for the read operation typically these are written to a http.Request

func NewReadParams

func NewReadParams() *ReadParams

NewReadParams creates a new ReadParams object with the default values initialized.

func NewReadParamsWithContext

func NewReadParamsWithContext(ctx context.Context) *ReadParams

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

func NewReadParamsWithHTTPClient

func NewReadParamsWithHTTPClient(client *http.Client) *ReadParams

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

func NewReadParamsWithTimeout

func NewReadParamsWithTimeout(timeout time.Duration) *ReadParams

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

func (*ReadParams) SetContext

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

SetContext adds the context to the read params

func (*ReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read params

func (*ReadParams) SetRolename

func (o *ReadParams) SetRolename(rolename string)

SetRolename adds the rolename to the read params

func (*ReadParams) SetTimeout

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

SetTimeout adds the timeout to the read params

func (*ReadParams) WithContext

func (o *ReadParams) WithContext(ctx context.Context) *ReadParams

WithContext adds the context to the read params

func (*ReadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read params

func (*ReadParams) WithRolename

func (o *ReadParams) WithRolename(rolename string) *ReadParams

WithRolename adds the rolename to the read params

func (*ReadParams) WithTimeout

func (o *ReadParams) WithTimeout(timeout time.Duration) *ReadParams

WithTimeout adds the timeout to the read params

func (*ReadParams) WriteToRequest

func (o *ReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadReader

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

ReadReader is a Reader for the Read structure.

func (*ReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveMemberOK

type RemoveMemberOK struct {
}

RemoveMemberOK handles this case with default header values.

No response was specified

func NewRemoveMemberOK

func NewRemoveMemberOK() *RemoveMemberOK

NewRemoveMemberOK creates a RemoveMemberOK with default headers values

func (*RemoveMemberOK) Error

func (o *RemoveMemberOK) Error() string

type RemoveMemberParams

type RemoveMemberParams struct {

	/*Rolename*/
	Rolename string
	/*Username*/
	Username string

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

RemoveMemberParams contains all the parameters to send to the API endpoint for the remove member operation typically these are written to a http.Request

func NewRemoveMemberParams

func NewRemoveMemberParams() *RemoveMemberParams

NewRemoveMemberParams creates a new RemoveMemberParams object with the default values initialized.

func NewRemoveMemberParamsWithContext

func NewRemoveMemberParamsWithContext(ctx context.Context) *RemoveMemberParams

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

func NewRemoveMemberParamsWithHTTPClient

func NewRemoveMemberParamsWithHTTPClient(client *http.Client) *RemoveMemberParams

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

func NewRemoveMemberParamsWithTimeout

func NewRemoveMemberParamsWithTimeout(timeout time.Duration) *RemoveMemberParams

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

func (*RemoveMemberParams) SetContext

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

SetContext adds the context to the remove member params

func (*RemoveMemberParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove member params

func (*RemoveMemberParams) SetRolename

func (o *RemoveMemberParams) SetRolename(rolename string)

SetRolename adds the rolename to the remove member params

func (*RemoveMemberParams) SetTimeout

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

SetTimeout adds the timeout to the remove member params

func (*RemoveMemberParams) SetUsername

func (o *RemoveMemberParams) SetUsername(username string)

SetUsername adds the username to the remove member params

func (*RemoveMemberParams) WithContext

WithContext adds the context to the remove member params

func (*RemoveMemberParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove member params

func (*RemoveMemberParams) WithRolename

func (o *RemoveMemberParams) WithRolename(rolename string) *RemoveMemberParams

WithRolename adds the rolename to the remove member params

func (*RemoveMemberParams) WithTimeout

func (o *RemoveMemberParams) WithTimeout(timeout time.Duration) *RemoveMemberParams

WithTimeout adds the timeout to the remove member params

func (*RemoveMemberParams) WithUsername

func (o *RemoveMemberParams) WithUsername(username string) *RemoveMemberParams

WithUsername adds the username to the remove member params

func (*RemoveMemberParams) WriteToRequest

func (o *RemoveMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RemoveMemberReader

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

RemoveMemberReader is a Reader for the RemoveMember structure.

func (*RemoveMemberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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