group

package
v0.0.0-...-a39a1f1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddRoleSimpleOK

type AddRoleSimpleOK struct {
	Payload *models.Role
}

AddRoleSimpleOK handles this case with default header values.

successful operation

func NewAddRoleSimpleOK

func NewAddRoleSimpleOK() *AddRoleSimpleOK

NewAddRoleSimpleOK creates a AddRoleSimpleOK with default headers values

func (*AddRoleSimpleOK) Error

func (o *AddRoleSimpleOK) Error() string

func (*AddRoleSimpleOK) GetPayload

func (o *AddRoleSimpleOK) GetPayload() *models.Role

type AddRoleSimpleParams

type AddRoleSimpleParams struct {

	/*GroupLocator*/
	GroupLocator string
	/*RoleID*/
	RoleID string
	/*Scope*/
	Scope string

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

AddRoleSimpleParams contains all the parameters to send to the API endpoint for the add role simple operation typically these are written to a http.Request

func NewAddRoleSimpleParams

func NewAddRoleSimpleParams() *AddRoleSimpleParams

NewAddRoleSimpleParams creates a new AddRoleSimpleParams object with the default values initialized.

func NewAddRoleSimpleParamsWithContext

func NewAddRoleSimpleParamsWithContext(ctx context.Context) *AddRoleSimpleParams

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

func NewAddRoleSimpleParamsWithHTTPClient

func NewAddRoleSimpleParamsWithHTTPClient(client *http.Client) *AddRoleSimpleParams

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

func NewAddRoleSimpleParamsWithTimeout

func NewAddRoleSimpleParamsWithTimeout(timeout time.Duration) *AddRoleSimpleParams

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

func (*AddRoleSimpleParams) SetContext

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

SetContext adds the context to the add role simple params

func (*AddRoleSimpleParams) SetGroupLocator

func (o *AddRoleSimpleParams) SetGroupLocator(groupLocator string)

SetGroupLocator adds the groupLocator to the add role simple params

func (*AddRoleSimpleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add role simple params

func (*AddRoleSimpleParams) SetRoleID

func (o *AddRoleSimpleParams) SetRoleID(roleID string)

SetRoleID adds the roleId to the add role simple params

func (*AddRoleSimpleParams) SetScope

func (o *AddRoleSimpleParams) SetScope(scope string)

SetScope adds the scope to the add role simple params

func (*AddRoleSimpleParams) SetTimeout

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

SetTimeout adds the timeout to the add role simple params

func (*AddRoleSimpleParams) WithContext

WithContext adds the context to the add role simple params

func (*AddRoleSimpleParams) WithGroupLocator

func (o *AddRoleSimpleParams) WithGroupLocator(groupLocator string) *AddRoleSimpleParams

WithGroupLocator adds the groupLocator to the add role simple params

func (*AddRoleSimpleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add role simple params

func (*AddRoleSimpleParams) WithRoleID

func (o *AddRoleSimpleParams) WithRoleID(roleID string) *AddRoleSimpleParams

WithRoleID adds the roleID to the add role simple params

func (*AddRoleSimpleParams) WithScope

func (o *AddRoleSimpleParams) WithScope(scope string) *AddRoleSimpleParams

WithScope adds the scope to the add role simple params

func (*AddRoleSimpleParams) WithTimeout

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

WithTimeout adds the timeout to the add role simple params

func (*AddRoleSimpleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddRoleSimpleReader

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

AddRoleSimpleReader is a Reader for the AddRoleSimple structure.

func (*AddRoleSimpleReader) ReadResponse

func (o *AddRoleSimpleReader) 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 group API

func (*Client) AddRoleSimple

func (a *Client) AddRoleSimple(params *AddRoleSimpleParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleSimpleOK, error)

AddRoleSimple add role simple API

func (*Client) DeleteGroup

func (a *Client) DeleteGroup(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) error

DeleteGroup delete group API

func (*Client) GetParentGroups

func (a *Client) GetParentGroups(params *GetParentGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetParentGroupsOK, error)

GetParentGroups get parent groups API

func (*Client) GetProperties

func (a *Client) GetProperties(params *GetPropertiesParams, authInfo runtime.ClientAuthInfoWriter) (*GetPropertiesOK, error)

GetProperties get properties API

func (*Client) ServeGroup

func (a *Client) ServeGroup(params *ServeGroupParams, authInfo runtime.ClientAuthInfoWriter) (*ServeGroupOK, error)

ServeGroup serve group API

func (*Client) ServeGroups

func (a *Client) ServeGroups(params *ServeGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*ServeGroupsOK, error)

ServeGroups serve groups API

func (*Client) SetParentGroups

func (a *Client) SetParentGroups(params *SetParentGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*SetParentGroupsOK, error)

SetParentGroups set parent groups API

func (*Client) SetRoles

func (a *Client) SetRoles(params *SetRolesParams, authInfo runtime.ClientAuthInfoWriter) (*SetRolesOK, error)

SetRoles set roles API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AddRoleSimple(params *AddRoleSimpleParams, authInfo runtime.ClientAuthInfoWriter) (*AddRoleSimpleOK, error)

	DeleteGroup(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) error

	GetParentGroups(params *GetParentGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetParentGroupsOK, error)

	GetProperties(params *GetPropertiesParams, authInfo runtime.ClientAuthInfoWriter) (*GetPropertiesOK, error)

	ServeGroup(params *ServeGroupParams, authInfo runtime.ClientAuthInfoWriter) (*ServeGroupOK, error)

	ServeGroups(params *ServeGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*ServeGroupsOK, error)

	SetParentGroups(params *SetParentGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*SetParentGroupsOK, error)

	SetRoles(params *SetRolesParams, authInfo runtime.ClientAuthInfoWriter) (*SetRolesOK, 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 group API client.

type DeleteGroupDefault

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

DeleteGroupDefault handles this case with default header values.

successful operation

func NewDeleteGroupDefault

func NewDeleteGroupDefault(code int) *DeleteGroupDefault

NewDeleteGroupDefault creates a DeleteGroupDefault with default headers values

func (*DeleteGroupDefault) Code

func (o *DeleteGroupDefault) Code() int

Code gets the status code for the delete group default response

func (*DeleteGroupDefault) Error

func (o *DeleteGroupDefault) Error() string

type DeleteGroupParams

type DeleteGroupParams struct {

	/*GroupLocator*/
	GroupLocator string

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

DeleteGroupParams contains all the parameters to send to the API endpoint for the delete group operation typically these are written to a http.Request

func NewDeleteGroupParams

func NewDeleteGroupParams() *DeleteGroupParams

NewDeleteGroupParams creates a new DeleteGroupParams object with the default values initialized.

func NewDeleteGroupParamsWithContext

func NewDeleteGroupParamsWithContext(ctx context.Context) *DeleteGroupParams

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

func NewDeleteGroupParamsWithHTTPClient

func NewDeleteGroupParamsWithHTTPClient(client *http.Client) *DeleteGroupParams

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

func NewDeleteGroupParamsWithTimeout

func NewDeleteGroupParamsWithTimeout(timeout time.Duration) *DeleteGroupParams

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

func (*DeleteGroupParams) SetContext

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

SetContext adds the context to the delete group params

func (*DeleteGroupParams) SetGroupLocator

func (o *DeleteGroupParams) SetGroupLocator(groupLocator string)

SetGroupLocator adds the groupLocator to the delete group params

func (*DeleteGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete group params

func (*DeleteGroupParams) SetTimeout

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

SetTimeout adds the timeout to the delete group params

func (*DeleteGroupParams) WithContext

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

WithContext adds the context to the delete group params

func (*DeleteGroupParams) WithGroupLocator

func (o *DeleteGroupParams) WithGroupLocator(groupLocator string) *DeleteGroupParams

WithGroupLocator adds the groupLocator to the delete group params

func (*DeleteGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete group params

func (*DeleteGroupParams) WithTimeout

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

WithTimeout adds the timeout to the delete group params

func (*DeleteGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteGroupReader

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

DeleteGroupReader is a Reader for the DeleteGroup structure.

func (*DeleteGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetParentGroupsOK

type GetParentGroupsOK struct {
	Payload *models.Groups
}

GetParentGroupsOK handles this case with default header values.

successful operation

func NewGetParentGroupsOK

func NewGetParentGroupsOK() *GetParentGroupsOK

NewGetParentGroupsOK creates a GetParentGroupsOK with default headers values

func (*GetParentGroupsOK) Error

func (o *GetParentGroupsOK) Error() string

func (*GetParentGroupsOK) GetPayload

func (o *GetParentGroupsOK) GetPayload() *models.Groups

type GetParentGroupsParams

type GetParentGroupsParams struct {

	/*Fields*/
	Fields *string
	/*GroupLocator*/
	GroupLocator string

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

GetParentGroupsParams contains all the parameters to send to the API endpoint for the get parent groups operation typically these are written to a http.Request

func NewGetParentGroupsParams

func NewGetParentGroupsParams() *GetParentGroupsParams

NewGetParentGroupsParams creates a new GetParentGroupsParams object with the default values initialized.

func NewGetParentGroupsParamsWithContext

func NewGetParentGroupsParamsWithContext(ctx context.Context) *GetParentGroupsParams

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

func NewGetParentGroupsParamsWithHTTPClient

func NewGetParentGroupsParamsWithHTTPClient(client *http.Client) *GetParentGroupsParams

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

func NewGetParentGroupsParamsWithTimeout

func NewGetParentGroupsParamsWithTimeout(timeout time.Duration) *GetParentGroupsParams

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

func (*GetParentGroupsParams) SetContext

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

SetContext adds the context to the get parent groups params

func (*GetParentGroupsParams) SetFields

func (o *GetParentGroupsParams) SetFields(fields *string)

SetFields adds the fields to the get parent groups params

func (*GetParentGroupsParams) SetGroupLocator

func (o *GetParentGroupsParams) SetGroupLocator(groupLocator string)

SetGroupLocator adds the groupLocator to the get parent groups params

func (*GetParentGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get parent groups params

func (*GetParentGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the get parent groups params

func (*GetParentGroupsParams) WithContext

WithContext adds the context to the get parent groups params

func (*GetParentGroupsParams) WithFields

func (o *GetParentGroupsParams) WithFields(fields *string) *GetParentGroupsParams

WithFields adds the fields to the get parent groups params

func (*GetParentGroupsParams) WithGroupLocator

func (o *GetParentGroupsParams) WithGroupLocator(groupLocator string) *GetParentGroupsParams

WithGroupLocator adds the groupLocator to the get parent groups params

func (*GetParentGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get parent groups params

func (*GetParentGroupsParams) WithTimeout

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

WithTimeout adds the timeout to the get parent groups params

func (*GetParentGroupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetParentGroupsReader

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

GetParentGroupsReader is a Reader for the GetParentGroups structure.

func (*GetParentGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPropertiesOK

type GetPropertiesOK struct {
	Payload *models.Properties
}

GetPropertiesOK handles this case with default header values.

successful operation

func NewGetPropertiesOK

func NewGetPropertiesOK() *GetPropertiesOK

NewGetPropertiesOK creates a GetPropertiesOK with default headers values

func (*GetPropertiesOK) Error

func (o *GetPropertiesOK) Error() string

func (*GetPropertiesOK) GetPayload

func (o *GetPropertiesOK) GetPayload() *models.Properties

type GetPropertiesParams

type GetPropertiesParams struct {

	/*Fields*/
	Fields *string
	/*GroupLocator*/
	GroupLocator string

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

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

func NewGetPropertiesParams

func NewGetPropertiesParams() *GetPropertiesParams

NewGetPropertiesParams creates a new GetPropertiesParams object with the default values initialized.

func NewGetPropertiesParamsWithContext

func NewGetPropertiesParamsWithContext(ctx context.Context) *GetPropertiesParams

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

func NewGetPropertiesParamsWithHTTPClient

func NewGetPropertiesParamsWithHTTPClient(client *http.Client) *GetPropertiesParams

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

func NewGetPropertiesParamsWithTimeout

func NewGetPropertiesParamsWithTimeout(timeout time.Duration) *GetPropertiesParams

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

func (*GetPropertiesParams) SetContext

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

SetContext adds the context to the get properties params

func (*GetPropertiesParams) SetFields

func (o *GetPropertiesParams) SetFields(fields *string)

SetFields adds the fields to the get properties params

func (*GetPropertiesParams) SetGroupLocator

func (o *GetPropertiesParams) SetGroupLocator(groupLocator string)

SetGroupLocator adds the groupLocator to the get properties params

func (*GetPropertiesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get properties params

func (*GetPropertiesParams) SetTimeout

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

SetTimeout adds the timeout to the get properties params

func (*GetPropertiesParams) WithContext

WithContext adds the context to the get properties params

func (*GetPropertiesParams) WithFields

func (o *GetPropertiesParams) WithFields(fields *string) *GetPropertiesParams

WithFields adds the fields to the get properties params

func (*GetPropertiesParams) WithGroupLocator

func (o *GetPropertiesParams) WithGroupLocator(groupLocator string) *GetPropertiesParams

WithGroupLocator adds the groupLocator to the get properties params

func (*GetPropertiesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get properties params

func (*GetPropertiesParams) WithTimeout

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

WithTimeout adds the timeout to the get properties params

func (*GetPropertiesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPropertiesReader

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

GetPropertiesReader is a Reader for the GetProperties structure.

func (*GetPropertiesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServeGroupOK

type ServeGroupOK struct {
	Payload *models.Group
}

ServeGroupOK handles this case with default header values.

successful operation

func NewServeGroupOK

func NewServeGroupOK() *ServeGroupOK

NewServeGroupOK creates a ServeGroupOK with default headers values

func (*ServeGroupOK) Error

func (o *ServeGroupOK) Error() string

func (*ServeGroupOK) GetPayload

func (o *ServeGroupOK) GetPayload() *models.Group

type ServeGroupParams

type ServeGroupParams struct {

	/*Fields*/
	Fields *string
	/*GroupLocator*/
	GroupLocator string

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

ServeGroupParams contains all the parameters to send to the API endpoint for the serve group operation typically these are written to a http.Request

func NewServeGroupParams

func NewServeGroupParams() *ServeGroupParams

NewServeGroupParams creates a new ServeGroupParams object with the default values initialized.

func NewServeGroupParamsWithContext

func NewServeGroupParamsWithContext(ctx context.Context) *ServeGroupParams

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

func NewServeGroupParamsWithHTTPClient

func NewServeGroupParamsWithHTTPClient(client *http.Client) *ServeGroupParams

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

func NewServeGroupParamsWithTimeout

func NewServeGroupParamsWithTimeout(timeout time.Duration) *ServeGroupParams

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

func (*ServeGroupParams) SetContext

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

SetContext adds the context to the serve group params

func (*ServeGroupParams) SetFields

func (o *ServeGroupParams) SetFields(fields *string)

SetFields adds the fields to the serve group params

func (*ServeGroupParams) SetGroupLocator

func (o *ServeGroupParams) SetGroupLocator(groupLocator string)

SetGroupLocator adds the groupLocator to the serve group params

func (*ServeGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the serve group params

func (*ServeGroupParams) SetTimeout

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

SetTimeout adds the timeout to the serve group params

func (*ServeGroupParams) WithContext

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

WithContext adds the context to the serve group params

func (*ServeGroupParams) WithFields

func (o *ServeGroupParams) WithFields(fields *string) *ServeGroupParams

WithFields adds the fields to the serve group params

func (*ServeGroupParams) WithGroupLocator

func (o *ServeGroupParams) WithGroupLocator(groupLocator string) *ServeGroupParams

WithGroupLocator adds the groupLocator to the serve group params

func (*ServeGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the serve group params

func (*ServeGroupParams) WithTimeout

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

WithTimeout adds the timeout to the serve group params

func (*ServeGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ServeGroupReader

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

ServeGroupReader is a Reader for the ServeGroup structure.

func (*ServeGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ServeGroupsOK

type ServeGroupsOK struct {
	Payload *models.Groups
}

ServeGroupsOK handles this case with default header values.

successful operation

func NewServeGroupsOK

func NewServeGroupsOK() *ServeGroupsOK

NewServeGroupsOK creates a ServeGroupsOK with default headers values

func (*ServeGroupsOK) Error

func (o *ServeGroupsOK) Error() string

func (*ServeGroupsOK) GetPayload

func (o *ServeGroupsOK) GetPayload() *models.Groups

type ServeGroupsParams

type ServeGroupsParams struct {

	/*Fields*/
	Fields *string

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

ServeGroupsParams contains all the parameters to send to the API endpoint for the serve groups operation typically these are written to a http.Request

func NewServeGroupsParams

func NewServeGroupsParams() *ServeGroupsParams

NewServeGroupsParams creates a new ServeGroupsParams object with the default values initialized.

func NewServeGroupsParamsWithContext

func NewServeGroupsParamsWithContext(ctx context.Context) *ServeGroupsParams

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

func NewServeGroupsParamsWithHTTPClient

func NewServeGroupsParamsWithHTTPClient(client *http.Client) *ServeGroupsParams

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

func NewServeGroupsParamsWithTimeout

func NewServeGroupsParamsWithTimeout(timeout time.Duration) *ServeGroupsParams

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

func (*ServeGroupsParams) SetContext

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

SetContext adds the context to the serve groups params

func (*ServeGroupsParams) SetFields

func (o *ServeGroupsParams) SetFields(fields *string)

SetFields adds the fields to the serve groups params

func (*ServeGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the serve groups params

func (*ServeGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the serve groups params

func (*ServeGroupsParams) WithContext

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

WithContext adds the context to the serve groups params

func (*ServeGroupsParams) WithFields

func (o *ServeGroupsParams) WithFields(fields *string) *ServeGroupsParams

WithFields adds the fields to the serve groups params

func (*ServeGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the serve groups params

func (*ServeGroupsParams) WithTimeout

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

WithTimeout adds the timeout to the serve groups params

func (*ServeGroupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ServeGroupsReader

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

ServeGroupsReader is a Reader for the ServeGroups structure.

func (*ServeGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetParentGroupsOK

type SetParentGroupsOK struct {
	Payload *models.Groups
}

SetParentGroupsOK handles this case with default header values.

successful operation

func NewSetParentGroupsOK

func NewSetParentGroupsOK() *SetParentGroupsOK

NewSetParentGroupsOK creates a SetParentGroupsOK with default headers values

func (*SetParentGroupsOK) Error

func (o *SetParentGroupsOK) Error() string

func (*SetParentGroupsOK) GetPayload

func (o *SetParentGroupsOK) GetPayload() *models.Groups

type SetParentGroupsParams

type SetParentGroupsParams struct {

	/*Body*/
	Body *models.Groups
	/*Fields*/
	Fields *string
	/*GroupLocator*/
	GroupLocator string

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

SetParentGroupsParams contains all the parameters to send to the API endpoint for the set parent groups operation typically these are written to a http.Request

func NewSetParentGroupsParams

func NewSetParentGroupsParams() *SetParentGroupsParams

NewSetParentGroupsParams creates a new SetParentGroupsParams object with the default values initialized.

func NewSetParentGroupsParamsWithContext

func NewSetParentGroupsParamsWithContext(ctx context.Context) *SetParentGroupsParams

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

func NewSetParentGroupsParamsWithHTTPClient

func NewSetParentGroupsParamsWithHTTPClient(client *http.Client) *SetParentGroupsParams

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

func NewSetParentGroupsParamsWithTimeout

func NewSetParentGroupsParamsWithTimeout(timeout time.Duration) *SetParentGroupsParams

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

func (*SetParentGroupsParams) SetBody

func (o *SetParentGroupsParams) SetBody(body *models.Groups)

SetBody adds the body to the set parent groups params

func (*SetParentGroupsParams) SetContext

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

SetContext adds the context to the set parent groups params

func (*SetParentGroupsParams) SetFields

func (o *SetParentGroupsParams) SetFields(fields *string)

SetFields adds the fields to the set parent groups params

func (*SetParentGroupsParams) SetGroupLocator

func (o *SetParentGroupsParams) SetGroupLocator(groupLocator string)

SetGroupLocator adds the groupLocator to the set parent groups params

func (*SetParentGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set parent groups params

func (*SetParentGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the set parent groups params

func (*SetParentGroupsParams) WithBody

WithBody adds the body to the set parent groups params

func (*SetParentGroupsParams) WithContext

WithContext adds the context to the set parent groups params

func (*SetParentGroupsParams) WithFields

func (o *SetParentGroupsParams) WithFields(fields *string) *SetParentGroupsParams

WithFields adds the fields to the set parent groups params

func (*SetParentGroupsParams) WithGroupLocator

func (o *SetParentGroupsParams) WithGroupLocator(groupLocator string) *SetParentGroupsParams

WithGroupLocator adds the groupLocator to the set parent groups params

func (*SetParentGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set parent groups params

func (*SetParentGroupsParams) WithTimeout

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

WithTimeout adds the timeout to the set parent groups params

func (*SetParentGroupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SetParentGroupsReader

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

SetParentGroupsReader is a Reader for the SetParentGroups structure.

func (*SetParentGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetRolesOK

type SetRolesOK struct {
	Payload *models.Roles
}

SetRolesOK handles this case with default header values.

successful operation

func NewSetRolesOK

func NewSetRolesOK() *SetRolesOK

NewSetRolesOK creates a SetRolesOK with default headers values

func (*SetRolesOK) Error

func (o *SetRolesOK) Error() string

func (*SetRolesOK) GetPayload

func (o *SetRolesOK) GetPayload() *models.Roles

type SetRolesParams

type SetRolesParams struct {

	/*Body*/
	Body *models.Roles
	/*GroupLocator*/
	GroupLocator string

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

SetRolesParams contains all the parameters to send to the API endpoint for the set roles operation typically these are written to a http.Request

func NewSetRolesParams

func NewSetRolesParams() *SetRolesParams

NewSetRolesParams creates a new SetRolesParams object with the default values initialized.

func NewSetRolesParamsWithContext

func NewSetRolesParamsWithContext(ctx context.Context) *SetRolesParams

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

func NewSetRolesParamsWithHTTPClient

func NewSetRolesParamsWithHTTPClient(client *http.Client) *SetRolesParams

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

func NewSetRolesParamsWithTimeout

func NewSetRolesParamsWithTimeout(timeout time.Duration) *SetRolesParams

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

func (*SetRolesParams) SetBody

func (o *SetRolesParams) SetBody(body *models.Roles)

SetBody adds the body to the set roles params

func (*SetRolesParams) SetContext

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

SetContext adds the context to the set roles params

func (*SetRolesParams) SetGroupLocator

func (o *SetRolesParams) SetGroupLocator(groupLocator string)

SetGroupLocator adds the groupLocator to the set roles params

func (*SetRolesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set roles params

func (*SetRolesParams) SetTimeout

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

SetTimeout adds the timeout to the set roles params

func (*SetRolesParams) WithBody

func (o *SetRolesParams) WithBody(body *models.Roles) *SetRolesParams

WithBody adds the body to the set roles params

func (*SetRolesParams) WithContext

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

WithContext adds the context to the set roles params

func (*SetRolesParams) WithGroupLocator

func (o *SetRolesParams) WithGroupLocator(groupLocator string) *SetRolesParams

WithGroupLocator adds the groupLocator to the set roles params

func (*SetRolesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set roles params

func (*SetRolesParams) WithTimeout

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

WithTimeout adds the timeout to the set roles params

func (*SetRolesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SetRolesReader

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

SetRolesReader is a Reader for the SetRoles structure.

func (*SetRolesReader) ReadResponse

func (o *SetRolesReader) 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