role_attributes

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 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) (*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) (*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) (*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 ClientService

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

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

	ListServiceRoleAttributes(params *ListServiceRoleAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*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 ListEdgeRouterRoleAttributesOK

type ListEdgeRouterRoleAttributesOK struct {
	Payload *rest_model.ListRoleAttributesEnvelope
}

ListEdgeRouterRoleAttributesOK handles this case 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 values initialized.

func NewListEdgeRouterRoleAttributesParamsWithContext

func NewListEdgeRouterRoleAttributesParamsWithContext(ctx context.Context) *ListEdgeRouterRoleAttributesParams

NewListEdgeRouterRoleAttributesParamsWithContext creates a new ListEdgeRouterRoleAttributesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 ListIdentityRoleAttributesOK

type ListIdentityRoleAttributesOK struct {
	Payload *rest_model.ListRoleAttributesEnvelope
}

ListIdentityRoleAttributesOK handles this case 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 values initialized.

func NewListIdentityRoleAttributesParamsWithContext

func NewListIdentityRoleAttributesParamsWithContext(ctx context.Context) *ListIdentityRoleAttributesParams

NewListIdentityRoleAttributesParamsWithContext creates a new ListIdentityRoleAttributesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 ListServiceRoleAttributesOK

type ListServiceRoleAttributesOK struct {
	Payload *rest_model.ListRoleAttributesEnvelope
}

ListServiceRoleAttributesOK handles this case 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 values initialized.

func NewListServiceRoleAttributesParamsWithContext

func NewListServiceRoleAttributesParamsWithContext(ctx context.Context) *ListServiceRoleAttributesParams

NewListServiceRoleAttributesParamsWithContext creates a new ListServiceRoleAttributesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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