role_attributes

package
v0.21.251 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: Apache-2.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 role attributes API

func (*Client) ListEdgeRouterRoleAttributes

func (a *Client) ListEdgeRouterRoleAttributes(params *ListEdgeRouterRoleAttributesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterRoleAttributesOK, error)

ListEdgeRouterRoleAttributes lists role attributes in use by edge routers

Retrieves a list of role attributes in use by edge routers; supports filtering, sorting, and pagination. Requires admin access.

func (*Client) ListIdentityRoleAttributes

func (a *Client) ListIdentityRoleAttributes(params *ListIdentityRoleAttributesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListIdentityRoleAttributesOK, error)

ListIdentityRoleAttributes lists role attributes in use by identities

Retrieves a list of role attributes in use by identities; supports filtering, sorting, and pagination. Requires admin access.

func (*Client) ListServiceRoleAttributes

func (a *Client) ListServiceRoleAttributes(params *ListServiceRoleAttributesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceRoleAttributesOK, error)

ListServiceRoleAttributes lists role attributes in use by services

Retrieves a list of role attributes in use by services; supports filtering, sorting, and pagination. Requires admin access.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ListEdgeRouterRoleAttributes(params *ListEdgeRouterRoleAttributesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEdgeRouterRoleAttributesOK, error)

	ListIdentityRoleAttributes(params *ListIdentityRoleAttributesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListIdentityRoleAttributesOK, error)

	ListServiceRoleAttributes(params *ListServiceRoleAttributesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceRoleAttributesOK, 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 role attributes API client.

type ListEdgeRouterRoleAttributesBadRequest added in v0.19.176

type ListEdgeRouterRoleAttributesBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
ListEdgeRouterRoleAttributesBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewListEdgeRouterRoleAttributesBadRequest added in v0.19.176

func NewListEdgeRouterRoleAttributesBadRequest() *ListEdgeRouterRoleAttributesBadRequest

NewListEdgeRouterRoleAttributesBadRequest creates a ListEdgeRouterRoleAttributesBadRequest with default headers values

func (*ListEdgeRouterRoleAttributesBadRequest) Error added in v0.19.176

func (*ListEdgeRouterRoleAttributesBadRequest) GetPayload added in v0.19.176

type ListEdgeRouterRoleAttributesOK

type ListEdgeRouterRoleAttributesOK struct {
	Payload *rest_model.ListRoleAttributesEnvelope
}
ListEdgeRouterRoleAttributesOK describes a response with status code 200, with default header values.

A list of role attributes

func NewListEdgeRouterRoleAttributesOK

func NewListEdgeRouterRoleAttributesOK() *ListEdgeRouterRoleAttributesOK

NewListEdgeRouterRoleAttributesOK creates a ListEdgeRouterRoleAttributesOK with default headers values

func (*ListEdgeRouterRoleAttributesOK) Error

func (*ListEdgeRouterRoleAttributesOK) GetPayload

type ListEdgeRouterRoleAttributesParams

type ListEdgeRouterRoleAttributesParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

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

ListEdgeRouterRoleAttributesParams contains all the parameters to send to the API endpoint

for the list edge router role attributes operation.

Typically these are written to a http.Request.

func NewListEdgeRouterRoleAttributesParams

func NewListEdgeRouterRoleAttributesParams() *ListEdgeRouterRoleAttributesParams

NewListEdgeRouterRoleAttributesParams creates a new ListEdgeRouterRoleAttributesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListEdgeRouterRoleAttributesParamsWithContext

func NewListEdgeRouterRoleAttributesParamsWithContext(ctx context.Context) *ListEdgeRouterRoleAttributesParams

NewListEdgeRouterRoleAttributesParamsWithContext creates a new ListEdgeRouterRoleAttributesParams object with the ability to set a context for a request.

func NewListEdgeRouterRoleAttributesParamsWithHTTPClient

func NewListEdgeRouterRoleAttributesParamsWithHTTPClient(client *http.Client) *ListEdgeRouterRoleAttributesParams

NewListEdgeRouterRoleAttributesParamsWithHTTPClient creates a new ListEdgeRouterRoleAttributesParams object with the ability to set a custom HTTPClient for a request.

func NewListEdgeRouterRoleAttributesParamsWithTimeout

func NewListEdgeRouterRoleAttributesParamsWithTimeout(timeout time.Duration) *ListEdgeRouterRoleAttributesParams

NewListEdgeRouterRoleAttributesParamsWithTimeout creates a new ListEdgeRouterRoleAttributesParams object with the ability to set a timeout on a request.

func (*ListEdgeRouterRoleAttributesParams) SetContext

SetContext adds the context to the list edge router role attributes params

func (*ListEdgeRouterRoleAttributesParams) SetDefaults

func (o *ListEdgeRouterRoleAttributesParams) SetDefaults()

SetDefaults hydrates default values in the list edge router role attributes params (not the query body).

All values with no default are reset to their zero value.

func (*ListEdgeRouterRoleAttributesParams) SetFilter

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

SetFilter adds the filter to the list edge router role attributes params

func (*ListEdgeRouterRoleAttributesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list edge router role attributes params

func (*ListEdgeRouterRoleAttributesParams) SetLimit

func (o *ListEdgeRouterRoleAttributesParams) SetLimit(limit *int64)

SetLimit adds the limit to the list edge router role attributes params

func (*ListEdgeRouterRoleAttributesParams) SetOffset

func (o *ListEdgeRouterRoleAttributesParams) SetOffset(offset *int64)

SetOffset adds the offset to the list edge router role attributes params

func (*ListEdgeRouterRoleAttributesParams) SetTimeout

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

SetTimeout adds the timeout to the list edge router role attributes params

func (*ListEdgeRouterRoleAttributesParams) WithContext

WithContext adds the context to the list edge router role attributes params

func (*ListEdgeRouterRoleAttributesParams) WithDefaults

WithDefaults hydrates default values in the list edge router role attributes params (not the query body).

All values with no default are reset to their zero value.

func (*ListEdgeRouterRoleAttributesParams) WithFilter

WithFilter adds the filter to the list edge router role attributes params

func (*ListEdgeRouterRoleAttributesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list edge router role attributes params

func (*ListEdgeRouterRoleAttributesParams) WithLimit

WithLimit adds the limit to the list edge router role attributes params

func (*ListEdgeRouterRoleAttributesParams) WithOffset

WithOffset adds the offset to the list edge router role attributes params

func (*ListEdgeRouterRoleAttributesParams) WithTimeout

WithTimeout adds the timeout to the list edge router role attributes params

func (*ListEdgeRouterRoleAttributesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListEdgeRouterRoleAttributesReader

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

ListEdgeRouterRoleAttributesReader is a Reader for the ListEdgeRouterRoleAttributes structure.

func (*ListEdgeRouterRoleAttributesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListEdgeRouterRoleAttributesUnauthorized

type ListEdgeRouterRoleAttributesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListEdgeRouterRoleAttributesUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListEdgeRouterRoleAttributesUnauthorized

func NewListEdgeRouterRoleAttributesUnauthorized() *ListEdgeRouterRoleAttributesUnauthorized

NewListEdgeRouterRoleAttributesUnauthorized creates a ListEdgeRouterRoleAttributesUnauthorized with default headers values

func (*ListEdgeRouterRoleAttributesUnauthorized) Error

func (*ListEdgeRouterRoleAttributesUnauthorized) GetPayload

type ListIdentityRoleAttributesBadRequest added in v0.19.176

type ListIdentityRoleAttributesBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
ListIdentityRoleAttributesBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewListIdentityRoleAttributesBadRequest added in v0.19.176

func NewListIdentityRoleAttributesBadRequest() *ListIdentityRoleAttributesBadRequest

NewListIdentityRoleAttributesBadRequest creates a ListIdentityRoleAttributesBadRequest with default headers values

func (*ListIdentityRoleAttributesBadRequest) Error added in v0.19.176

func (*ListIdentityRoleAttributesBadRequest) GetPayload added in v0.19.176

type ListIdentityRoleAttributesOK

type ListIdentityRoleAttributesOK struct {
	Payload *rest_model.ListRoleAttributesEnvelope
}
ListIdentityRoleAttributesOK describes a response with status code 200, with default header values.

A list of role attributes

func NewListIdentityRoleAttributesOK

func NewListIdentityRoleAttributesOK() *ListIdentityRoleAttributesOK

NewListIdentityRoleAttributesOK creates a ListIdentityRoleAttributesOK with default headers values

func (*ListIdentityRoleAttributesOK) Error

func (*ListIdentityRoleAttributesOK) GetPayload

type ListIdentityRoleAttributesParams

type ListIdentityRoleAttributesParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

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

ListIdentityRoleAttributesParams contains all the parameters to send to the API endpoint

for the list identity role attributes operation.

Typically these are written to a http.Request.

func NewListIdentityRoleAttributesParams

func NewListIdentityRoleAttributesParams() *ListIdentityRoleAttributesParams

NewListIdentityRoleAttributesParams creates a new ListIdentityRoleAttributesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListIdentityRoleAttributesParamsWithContext

func NewListIdentityRoleAttributesParamsWithContext(ctx context.Context) *ListIdentityRoleAttributesParams

NewListIdentityRoleAttributesParamsWithContext creates a new ListIdentityRoleAttributesParams object with the ability to set a context for a request.

func NewListIdentityRoleAttributesParamsWithHTTPClient

func NewListIdentityRoleAttributesParamsWithHTTPClient(client *http.Client) *ListIdentityRoleAttributesParams

NewListIdentityRoleAttributesParamsWithHTTPClient creates a new ListIdentityRoleAttributesParams object with the ability to set a custom HTTPClient for a request.

func NewListIdentityRoleAttributesParamsWithTimeout

func NewListIdentityRoleAttributesParamsWithTimeout(timeout time.Duration) *ListIdentityRoleAttributesParams

NewListIdentityRoleAttributesParamsWithTimeout creates a new ListIdentityRoleAttributesParams object with the ability to set a timeout on a request.

func (*ListIdentityRoleAttributesParams) SetContext

SetContext adds the context to the list identity role attributes params

func (*ListIdentityRoleAttributesParams) SetDefaults

func (o *ListIdentityRoleAttributesParams) SetDefaults()

SetDefaults hydrates default values in the list identity role attributes params (not the query body).

All values with no default are reset to their zero value.

func (*ListIdentityRoleAttributesParams) SetFilter

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

SetFilter adds the filter to the list identity role attributes params

func (*ListIdentityRoleAttributesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list identity role attributes params

func (*ListIdentityRoleAttributesParams) SetLimit

func (o *ListIdentityRoleAttributesParams) SetLimit(limit *int64)

SetLimit adds the limit to the list identity role attributes params

func (*ListIdentityRoleAttributesParams) SetOffset

func (o *ListIdentityRoleAttributesParams) SetOffset(offset *int64)

SetOffset adds the offset to the list identity role attributes params

func (*ListIdentityRoleAttributesParams) SetTimeout

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

SetTimeout adds the timeout to the list identity role attributes params

func (*ListIdentityRoleAttributesParams) WithContext

WithContext adds the context to the list identity role attributes params

func (*ListIdentityRoleAttributesParams) WithDefaults

WithDefaults hydrates default values in the list identity role attributes params (not the query body).

All values with no default are reset to their zero value.

func (*ListIdentityRoleAttributesParams) WithFilter

WithFilter adds the filter to the list identity role attributes params

func (*ListIdentityRoleAttributesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list identity role attributes params

func (*ListIdentityRoleAttributesParams) WithLimit

WithLimit adds the limit to the list identity role attributes params

func (*ListIdentityRoleAttributesParams) WithOffset

WithOffset adds the offset to the list identity role attributes params

func (*ListIdentityRoleAttributesParams) WithTimeout

WithTimeout adds the timeout to the list identity role attributes params

func (*ListIdentityRoleAttributesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListIdentityRoleAttributesReader

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

ListIdentityRoleAttributesReader is a Reader for the ListIdentityRoleAttributes structure.

func (*ListIdentityRoleAttributesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListIdentityRoleAttributesUnauthorized

type ListIdentityRoleAttributesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListIdentityRoleAttributesUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListIdentityRoleAttributesUnauthorized

func NewListIdentityRoleAttributesUnauthorized() *ListIdentityRoleAttributesUnauthorized

NewListIdentityRoleAttributesUnauthorized creates a ListIdentityRoleAttributesUnauthorized with default headers values

func (*ListIdentityRoleAttributesUnauthorized) Error

func (*ListIdentityRoleAttributesUnauthorized) GetPayload

type ListServiceRoleAttributesBadRequest added in v0.19.176

type ListServiceRoleAttributesBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
ListServiceRoleAttributesBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewListServiceRoleAttributesBadRequest added in v0.19.176

func NewListServiceRoleAttributesBadRequest() *ListServiceRoleAttributesBadRequest

NewListServiceRoleAttributesBadRequest creates a ListServiceRoleAttributesBadRequest with default headers values

func (*ListServiceRoleAttributesBadRequest) Error added in v0.19.176

func (*ListServiceRoleAttributesBadRequest) GetPayload added in v0.19.176

type ListServiceRoleAttributesOK

type ListServiceRoleAttributesOK struct {
	Payload *rest_model.ListRoleAttributesEnvelope
}
ListServiceRoleAttributesOK describes a response with status code 200, with default header values.

A list of role attributes

func NewListServiceRoleAttributesOK

func NewListServiceRoleAttributesOK() *ListServiceRoleAttributesOK

NewListServiceRoleAttributesOK creates a ListServiceRoleAttributesOK with default headers values

func (*ListServiceRoleAttributesOK) Error

func (*ListServiceRoleAttributesOK) GetPayload

type ListServiceRoleAttributesParams

type ListServiceRoleAttributesParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

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

ListServiceRoleAttributesParams contains all the parameters to send to the API endpoint

for the list service role attributes operation.

Typically these are written to a http.Request.

func NewListServiceRoleAttributesParams

func NewListServiceRoleAttributesParams() *ListServiceRoleAttributesParams

NewListServiceRoleAttributesParams creates a new ListServiceRoleAttributesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListServiceRoleAttributesParamsWithContext

func NewListServiceRoleAttributesParamsWithContext(ctx context.Context) *ListServiceRoleAttributesParams

NewListServiceRoleAttributesParamsWithContext creates a new ListServiceRoleAttributesParams object with the ability to set a context for a request.

func NewListServiceRoleAttributesParamsWithHTTPClient

func NewListServiceRoleAttributesParamsWithHTTPClient(client *http.Client) *ListServiceRoleAttributesParams

NewListServiceRoleAttributesParamsWithHTTPClient creates a new ListServiceRoleAttributesParams object with the ability to set a custom HTTPClient for a request.

func NewListServiceRoleAttributesParamsWithTimeout

func NewListServiceRoleAttributesParamsWithTimeout(timeout time.Duration) *ListServiceRoleAttributesParams

NewListServiceRoleAttributesParamsWithTimeout creates a new ListServiceRoleAttributesParams object with the ability to set a timeout on a request.

func (*ListServiceRoleAttributesParams) SetContext

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

SetContext adds the context to the list service role attributes params

func (*ListServiceRoleAttributesParams) SetDefaults

func (o *ListServiceRoleAttributesParams) SetDefaults()

SetDefaults hydrates default values in the list service role attributes params (not the query body).

All values with no default are reset to their zero value.

func (*ListServiceRoleAttributesParams) SetFilter

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

SetFilter adds the filter to the list service role attributes params

func (*ListServiceRoleAttributesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list service role attributes params

func (*ListServiceRoleAttributesParams) SetLimit

func (o *ListServiceRoleAttributesParams) SetLimit(limit *int64)

SetLimit adds the limit to the list service role attributes params

func (*ListServiceRoleAttributesParams) SetOffset

func (o *ListServiceRoleAttributesParams) SetOffset(offset *int64)

SetOffset adds the offset to the list service role attributes params

func (*ListServiceRoleAttributesParams) SetTimeout

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

SetTimeout adds the timeout to the list service role attributes params

func (*ListServiceRoleAttributesParams) WithContext

WithContext adds the context to the list service role attributes params

func (*ListServiceRoleAttributesParams) WithDefaults

WithDefaults hydrates default values in the list service role attributes params (not the query body).

All values with no default are reset to their zero value.

func (*ListServiceRoleAttributesParams) WithFilter

WithFilter adds the filter to the list service role attributes params

func (*ListServiceRoleAttributesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list service role attributes params

func (*ListServiceRoleAttributesParams) WithLimit

WithLimit adds the limit to the list service role attributes params

func (*ListServiceRoleAttributesParams) WithOffset

WithOffset adds the offset to the list service role attributes params

func (*ListServiceRoleAttributesParams) WithTimeout

WithTimeout adds the timeout to the list service role attributes params

func (*ListServiceRoleAttributesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServiceRoleAttributesReader

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

ListServiceRoleAttributesReader is a Reader for the ListServiceRoleAttributes structure.

func (*ListServiceRoleAttributesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServiceRoleAttributesUnauthorized

type ListServiceRoleAttributesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListServiceRoleAttributesUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListServiceRoleAttributesUnauthorized

func NewListServiceRoleAttributesUnauthorized() *ListServiceRoleAttributesUnauthorized

NewListServiceRoleAttributesUnauthorized creates a ListServiceRoleAttributesUnauthorized with default headers values

func (*ListServiceRoleAttributesUnauthorized) Error

func (*ListServiceRoleAttributesUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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