a_c_e

package
v6.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 12 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 {
	Defaults client.Defaults
	// contains filtered or unexported fields
}

Client for a c e API

func New

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

New creates a new a c e API client.

func (*Client) CreateAce

func (c *Client) CreateAce() *CreateAceRequest

Client.CreateAce creates a new CreateAceRequest object with the default values initialized.

func (*Client) DeleteAce

func (c *Client) DeleteAce() *DeleteAceRequest

Client.DeleteAce creates a new DeleteAceRequest object with the default values initialized.

func (*Client) GetAce

func (c *Client) GetAce() *GetAceRequest

Client.GetAce creates a new GetAceRequest object with the default values initialized.

func (*Client) ListAces

func (c *Client) ListAces() *ListAcesRequest

Client.ListAces creates a new ListAcesRequest object with the default values initialized.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateAceCreated

type CreateAceCreated struct {

	// isStream: false
	*models.AceCreationResponse
}

CreateAceCreated handles this case with default header values.

ACE creation response

func NewCreateAceCreated

func NewCreateAceCreated() *CreateAceCreated

NewCreateAceCreated creates a CreateAceCreated with default headers values

func (*CreateAceCreated) Error

func (o *CreateAceCreated) Error() string

type CreateAceReader

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

CreateAceReader is a Reader for the CreateAce structure.

func (*CreateAceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateAceRequest

type CreateAceRequest struct {
	*models.AceCreation

	RoleID strfmt.UUID

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

func (*CreateAceRequest) Do

create ace API

func (*CreateAceRequest) FromJson

func (o *CreateAceRequest) FromJson(j string) (*CreateAceRequest, error)

func (*CreateAceRequest) MustDo

func (a *CreateAceRequest) MustDo() *CreateAceCreated

func (*CreateAceRequest) WithACECreationRequest

func (o *CreateAceRequest) WithACECreationRequest(aCECreationRequest models.AceCreation) *CreateAceRequest

func (*CreateAceRequest) WithContext

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

//////////////// WithContext adds the context to the create ace Request

func (*CreateAceRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create ace Request

func (*CreateAceRequest) WithRoleID

func (o *CreateAceRequest) WithRoleID(roleID strfmt.UUID) *CreateAceRequest

func (*CreateAceRequest) WithoutACECreationRequest

func (o *CreateAceRequest) WithoutACECreationRequest() *CreateAceRequest

func (*CreateAceRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type DeleteAceNoContent

type DeleteAceNoContent struct {
}

DeleteAceNoContent handles this case with default header values.

ACE deleted OK

func NewDeleteAceNoContent

func NewDeleteAceNoContent() *DeleteAceNoContent

NewDeleteAceNoContent creates a DeleteAceNoContent with default headers values

func (*DeleteAceNoContent) Error

func (o *DeleteAceNoContent) Error() string

type DeleteAceReader

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

DeleteAceReader is a Reader for the DeleteAce structure.

func (*DeleteAceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAceRequest

type DeleteAceRequest struct {
	AceID strfmt.UUID

	RoleID strfmt.UUID

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

func (*DeleteAceRequest) Do

delete ace API

func (*DeleteAceRequest) FromJson

func (o *DeleteAceRequest) FromJson(j string) (*DeleteAceRequest, error)

func (*DeleteAceRequest) MustDo

func (a *DeleteAceRequest) MustDo() *DeleteAceNoContent

func (*DeleteAceRequest) WithAceID

func (o *DeleteAceRequest) WithAceID(aceID strfmt.UUID) *DeleteAceRequest

func (*DeleteAceRequest) WithContext

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

//////////////// WithContext adds the context to the delete ace Request

func (*DeleteAceRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete ace Request

func (*DeleteAceRequest) WithRoleID

func (o *DeleteAceRequest) WithRoleID(roleID strfmt.UUID) *DeleteAceRequest

func (*DeleteAceRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type GetAceOK

type GetAceOK struct {

	// isStream: false
	*models.AceDetailsResponse
}

GetAceOK handles this case with default header values.

ACE details

func NewGetAceOK

func NewGetAceOK() *GetAceOK

NewGetAceOK creates a GetAceOK with default headers values

func (*GetAceOK) Error

func (o *GetAceOK) Error() string

type GetAceReader

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

GetAceReader is a Reader for the GetAce structure.

func (*GetAceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAceRequest

type GetAceRequest struct {
	AceID strfmt.UUID

	RoleID strfmt.UUID

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

func (*GetAceRequest) Do

func (a *GetAceRequest) Do() (*GetAceOK, error)

get ace API

func (*GetAceRequest) FromJson

func (o *GetAceRequest) FromJson(j string) (*GetAceRequest, error)

func (*GetAceRequest) MustDo

func (a *GetAceRequest) MustDo() *GetAceOK

func (*GetAceRequest) WithAceID

func (o *GetAceRequest) WithAceID(aceID strfmt.UUID) *GetAceRequest

func (*GetAceRequest) WithContext

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

//////////////// WithContext adds the context to the get ace Request

func (*GetAceRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get ace Request

func (*GetAceRequest) WithRoleID

func (o *GetAceRequest) WithRoleID(roleID strfmt.UUID) *GetAceRequest

func (*GetAceRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type ListAcesOK

type ListAcesOK struct {

	// isStream: false
	*models.AceDetailsListResponse
}

ListAcesOK handles this case with default header values.

List of ACE details

func NewListAcesOK

func NewListAcesOK() *ListAcesOK

NewListAcesOK creates a ListAcesOK with default headers values

func (*ListAcesOK) Error

func (o *ListAcesOK) Error() string

type ListAcesReader

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

ListAcesReader is a Reader for the ListAces structure.

func (*ListAcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAcesRequest

type ListAcesRequest struct {
	RoleID strfmt.UUID

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

func (*ListAcesRequest) Do

func (a *ListAcesRequest) Do() (*ListAcesOK, error)

list aces API

func (*ListAcesRequest) FromJson

func (o *ListAcesRequest) FromJson(j string) (*ListAcesRequest, error)

func (*ListAcesRequest) MustDo

func (a *ListAcesRequest) MustDo() *ListAcesOK

func (*ListAcesRequest) WithContext

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

//////////////// WithContext adds the context to the list aces Request

func (*ListAcesRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list aces Request

func (*ListAcesRequest) WithRoleID

func (o *ListAcesRequest) WithRoleID(roleID strfmt.UUID) *ListAcesRequest

func (*ListAcesRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

Jump to

Keyboard shortcuts

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