a_c_e

package
v7.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 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 CreateAceBadRequest

type CreateAceBadRequest struct {

	// isStream: false
	*models.APIError
}

CreateAceBadRequest handles this case with default header values.

Bad request

func NewCreateAceBadRequest

func NewCreateAceBadRequest() *CreateAceBadRequest

NewCreateAceBadRequest creates a CreateAceBadRequest with default headers values

func (*CreateAceBadRequest) Code

func (o *CreateAceBadRequest) Code() int

Code gets the status code for the create ace bad request response

func (*CreateAceBadRequest) Error

func (o *CreateAceBadRequest) Error() string

func (*CreateAceBadRequest) IsClientError

func (o *CreateAceBadRequest) IsClientError() bool

IsClientError returns true when this create ace bad request response has a 4xx status code

func (*CreateAceBadRequest) IsCode

func (o *CreateAceBadRequest) IsCode(code int) bool

IsCode returns true when this create ace bad request response a status code equal to that given

func (*CreateAceBadRequest) IsRedirect

func (o *CreateAceBadRequest) IsRedirect() bool

IsRedirect returns true when this create ace bad request response has a 3xx status code

func (*CreateAceBadRequest) IsServerError

func (o *CreateAceBadRequest) IsServerError() bool

IsServerError returns true when this create ace bad request response has a 5xx status code

func (*CreateAceBadRequest) IsSuccess

func (o *CreateAceBadRequest) IsSuccess() bool

IsSuccess returns true when this create ace bad request response has a 2xx status code

type CreateAceConflict

type CreateAceConflict struct {

	// isStream: false
	*models.APIError
}

CreateAceConflict handles this case with default header values.

Conflict

func NewCreateAceConflict

func NewCreateAceConflict() *CreateAceConflict

NewCreateAceConflict creates a CreateAceConflict with default headers values

func (*CreateAceConflict) Code

func (o *CreateAceConflict) Code() int

Code gets the status code for the create ace conflict response

func (*CreateAceConflict) Error

func (o *CreateAceConflict) Error() string

func (*CreateAceConflict) IsClientError

func (o *CreateAceConflict) IsClientError() bool

IsClientError returns true when this create ace conflict response has a 4xx status code

func (*CreateAceConflict) IsCode

func (o *CreateAceConflict) IsCode(code int) bool

IsCode returns true when this create ace conflict response a status code equal to that given

func (*CreateAceConflict) IsRedirect

func (o *CreateAceConflict) IsRedirect() bool

IsRedirect returns true when this create ace conflict response has a 3xx status code

func (*CreateAceConflict) IsServerError

func (o *CreateAceConflict) IsServerError() bool

IsServerError returns true when this create ace conflict response has a 5xx status code

func (*CreateAceConflict) IsSuccess

func (o *CreateAceConflict) IsSuccess() bool

IsSuccess returns true when this create ace conflict response has a 2xx status code

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) Code

func (o *CreateAceCreated) Code() int

Code gets the status code for the create ace created response

func (*CreateAceCreated) Error

func (o *CreateAceCreated) Error() string

func (*CreateAceCreated) IsClientError

func (o *CreateAceCreated) IsClientError() bool

IsClientError returns true when this create ace created response has a 4xx status code

func (*CreateAceCreated) IsCode

func (o *CreateAceCreated) IsCode(code int) bool

IsCode returns true when this create ace created response a status code equal to that given

func (*CreateAceCreated) IsRedirect

func (o *CreateAceCreated) IsRedirect() bool

IsRedirect returns true when this create ace created response has a 3xx status code

func (*CreateAceCreated) IsServerError

func (o *CreateAceCreated) IsServerError() bool

IsServerError returns true when this create ace created response has a 5xx status code

func (*CreateAceCreated) IsSuccess

func (o *CreateAceCreated) IsSuccess() bool

IsSuccess returns true when this create ace created response has a 2xx status code

type CreateAceNotFound

type CreateAceNotFound struct {

	// isStream: false
	*models.APIError
}

CreateAceNotFound handles this case with default header values.

Not Found

func NewCreateAceNotFound

func NewCreateAceNotFound() *CreateAceNotFound

NewCreateAceNotFound creates a CreateAceNotFound with default headers values

func (*CreateAceNotFound) Code

func (o *CreateAceNotFound) Code() int

Code gets the status code for the create ace not found response

func (*CreateAceNotFound) Error

func (o *CreateAceNotFound) Error() string

func (*CreateAceNotFound) IsClientError

func (o *CreateAceNotFound) IsClientError() bool

IsClientError returns true when this create ace not found response has a 4xx status code

func (*CreateAceNotFound) IsCode

func (o *CreateAceNotFound) IsCode(code int) bool

IsCode returns true when this create ace not found response a status code equal to that given

func (*CreateAceNotFound) IsRedirect

func (o *CreateAceNotFound) IsRedirect() bool

IsRedirect returns true when this create ace not found response has a 3xx status code

func (*CreateAceNotFound) IsServerError

func (o *CreateAceNotFound) IsServerError() bool

IsServerError returns true when this create ace not found response has a 5xx status code

func (*CreateAceNotFound) IsSuccess

func (o *CreateAceNotFound) IsSuccess() bool

IsSuccess returns true when this create ace not found response has a 2xx status code

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 DeleteAceBadRequest

type DeleteAceBadRequest struct {

	// isStream: false
	*models.APIError
}

DeleteAceBadRequest handles this case with default header values.

Bad request

func NewDeleteAceBadRequest

func NewDeleteAceBadRequest() *DeleteAceBadRequest

NewDeleteAceBadRequest creates a DeleteAceBadRequest with default headers values

func (*DeleteAceBadRequest) Code

func (o *DeleteAceBadRequest) Code() int

Code gets the status code for the delete ace bad request response

func (*DeleteAceBadRequest) Error

func (o *DeleteAceBadRequest) Error() string

func (*DeleteAceBadRequest) IsClientError

func (o *DeleteAceBadRequest) IsClientError() bool

IsClientError returns true when this delete ace bad request response has a 4xx status code

func (*DeleteAceBadRequest) IsCode

func (o *DeleteAceBadRequest) IsCode(code int) bool

IsCode returns true when this delete ace bad request response a status code equal to that given

func (*DeleteAceBadRequest) IsRedirect

func (o *DeleteAceBadRequest) IsRedirect() bool

IsRedirect returns true when this delete ace bad request response has a 3xx status code

func (*DeleteAceBadRequest) IsServerError

func (o *DeleteAceBadRequest) IsServerError() bool

IsServerError returns true when this delete ace bad request response has a 5xx status code

func (*DeleteAceBadRequest) IsSuccess

func (o *DeleteAceBadRequest) IsSuccess() bool

IsSuccess returns true when this delete ace bad request response has a 2xx status code

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) Code

func (o *DeleteAceNoContent) Code() int

Code gets the status code for the delete ace no content response

func (*DeleteAceNoContent) Error

func (o *DeleteAceNoContent) Error() string

func (*DeleteAceNoContent) IsClientError

func (o *DeleteAceNoContent) IsClientError() bool

IsClientError returns true when this delete ace no content response has a 4xx status code

func (*DeleteAceNoContent) IsCode

func (o *DeleteAceNoContent) IsCode(code int) bool

IsCode returns true when this delete ace no content response a status code equal to that given

func (*DeleteAceNoContent) IsRedirect

func (o *DeleteAceNoContent) IsRedirect() bool

IsRedirect returns true when this delete ace no content response has a 3xx status code

func (*DeleteAceNoContent) IsServerError

func (o *DeleteAceNoContent) IsServerError() bool

IsServerError returns true when this delete ace no content response has a 5xx status code

func (*DeleteAceNoContent) IsSuccess

func (o *DeleteAceNoContent) IsSuccess() bool

IsSuccess returns true when this delete ace no content response has a 2xx status code

type DeleteAceNotFound

type DeleteAceNotFound struct {

	// isStream: false
	*models.APIError
}

DeleteAceNotFound handles this case with default header values.

Not Found

func NewDeleteAceNotFound

func NewDeleteAceNotFound() *DeleteAceNotFound

NewDeleteAceNotFound creates a DeleteAceNotFound with default headers values

func (*DeleteAceNotFound) Code

func (o *DeleteAceNotFound) Code() int

Code gets the status code for the delete ace not found response

func (*DeleteAceNotFound) Error

func (o *DeleteAceNotFound) Error() string

func (*DeleteAceNotFound) IsClientError

func (o *DeleteAceNotFound) IsClientError() bool

IsClientError returns true when this delete ace not found response has a 4xx status code

func (*DeleteAceNotFound) IsCode

func (o *DeleteAceNotFound) IsCode(code int) bool

IsCode returns true when this delete ace not found response a status code equal to that given

func (*DeleteAceNotFound) IsRedirect

func (o *DeleteAceNotFound) IsRedirect() bool

IsRedirect returns true when this delete ace not found response has a 3xx status code

func (*DeleteAceNotFound) IsServerError

func (o *DeleteAceNotFound) IsServerError() bool

IsServerError returns true when this delete ace not found response has a 5xx status code

func (*DeleteAceNotFound) IsSuccess

func (o *DeleteAceNotFound) IsSuccess() bool

IsSuccess returns true when this delete ace not found response has a 2xx status code

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 GetAceNotFound

type GetAceNotFound struct {

	// isStream: false
	*models.APIError
}

GetAceNotFound handles this case with default header values.

Not Found

func NewGetAceNotFound

func NewGetAceNotFound() *GetAceNotFound

NewGetAceNotFound creates a GetAceNotFound with default headers values

func (*GetAceNotFound) Code

func (o *GetAceNotFound) Code() int

Code gets the status code for the get ace not found response

func (*GetAceNotFound) Error

func (o *GetAceNotFound) Error() string

func (*GetAceNotFound) IsClientError

func (o *GetAceNotFound) IsClientError() bool

IsClientError returns true when this get ace not found response has a 4xx status code

func (*GetAceNotFound) IsCode

func (o *GetAceNotFound) IsCode(code int) bool

IsCode returns true when this get ace not found response a status code equal to that given

func (*GetAceNotFound) IsRedirect

func (o *GetAceNotFound) IsRedirect() bool

IsRedirect returns true when this get ace not found response has a 3xx status code

func (*GetAceNotFound) IsServerError

func (o *GetAceNotFound) IsServerError() bool

IsServerError returns true when this get ace not found response has a 5xx status code

func (*GetAceNotFound) IsSuccess

func (o *GetAceNotFound) IsSuccess() bool

IsSuccess returns true when this get ace not found response has a 2xx status code

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) Code

func (o *GetAceOK) Code() int

Code gets the status code for the get ace o k response

func (*GetAceOK) Error

func (o *GetAceOK) Error() string

func (*GetAceOK) IsClientError

func (o *GetAceOK) IsClientError() bool

IsClientError returns true when this get ace o k response has a 4xx status code

func (*GetAceOK) IsCode

func (o *GetAceOK) IsCode(code int) bool

IsCode returns true when this get ace o k response a status code equal to that given

func (*GetAceOK) IsRedirect

func (o *GetAceOK) IsRedirect() bool

IsRedirect returns true when this get ace o k response has a 3xx status code

func (*GetAceOK) IsServerError

func (o *GetAceOK) IsServerError() bool

IsServerError returns true when this get ace o k response has a 5xx status code

func (*GetAceOK) IsSuccess

func (o *GetAceOK) IsSuccess() bool

IsSuccess returns true when this get ace o k response has a 2xx status code

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 ListAcesNotFound

type ListAcesNotFound struct {

	// isStream: false
	*models.APIError
}

ListAcesNotFound handles this case with default header values.

Not Found

func NewListAcesNotFound

func NewListAcesNotFound() *ListAcesNotFound

NewListAcesNotFound creates a ListAcesNotFound with default headers values

func (*ListAcesNotFound) Code

func (o *ListAcesNotFound) Code() int

Code gets the status code for the list aces not found response

func (*ListAcesNotFound) Error

func (o *ListAcesNotFound) Error() string

func (*ListAcesNotFound) IsClientError

func (o *ListAcesNotFound) IsClientError() bool

IsClientError returns true when this list aces not found response has a 4xx status code

func (*ListAcesNotFound) IsCode

func (o *ListAcesNotFound) IsCode(code int) bool

IsCode returns true when this list aces not found response a status code equal to that given

func (*ListAcesNotFound) IsRedirect

func (o *ListAcesNotFound) IsRedirect() bool

IsRedirect returns true when this list aces not found response has a 3xx status code

func (*ListAcesNotFound) IsServerError

func (o *ListAcesNotFound) IsServerError() bool

IsServerError returns true when this list aces not found response has a 5xx status code

func (*ListAcesNotFound) IsSuccess

func (o *ListAcesNotFound) IsSuccess() bool

IsSuccess returns true when this list aces not found response has a 2xx status code

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) Code

func (o *ListAcesOK) Code() int

Code gets the status code for the list aces o k response

func (*ListAcesOK) Error

func (o *ListAcesOK) Error() string

func (*ListAcesOK) IsClientError

func (o *ListAcesOK) IsClientError() bool

IsClientError returns true when this list aces o k response has a 4xx status code

func (*ListAcesOK) IsCode

func (o *ListAcesOK) IsCode(code int) bool

IsCode returns true when this list aces o k response a status code equal to that given

func (*ListAcesOK) IsRedirect

func (o *ListAcesOK) IsRedirect() bool

IsRedirect returns true when this list aces o k response has a 3xx status code

func (*ListAcesOK) IsServerError

func (o *ListAcesOK) IsServerError() bool

IsServerError returns true when this list aces o k response has a 5xx status code

func (*ListAcesOK) IsSuccess

func (o *ListAcesOK) IsSuccess() bool

IsSuccess returns true when this list aces o k response has a 2xx status code

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