admin_tree_service

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 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 Client

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

Client for admin tree service API

func New

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

New creates a new admin tree service API client.

func (*Client) ListAdminTree

func (a *Client) ListAdminTree(params *ListAdminTreeParams) (*ListAdminTreeOK, error)

ListAdminTree lists files and folders starting at the root first level lists the datasources

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StatAdminTree

func (a *Client) StatAdminTree(params *StatAdminTreeParams) (*StatAdminTreeOK, error)

StatAdminTree reads a node information inside the admin tree

type ListAdminTreeOK

type ListAdminTreeOK struct {
	Payload *models.RestNodesCollection
}

ListAdminTreeOK handles this case with default header values.

ListAdminTreeOK list admin tree o k

func NewListAdminTreeOK

func NewListAdminTreeOK() *ListAdminTreeOK

NewListAdminTreeOK creates a ListAdminTreeOK with default headers values

func (*ListAdminTreeOK) Error

func (o *ListAdminTreeOK) Error() string

type ListAdminTreeParams

type ListAdminTreeParams struct {

	/*Body*/
	Body *models.TreeListNodesRequest

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

ListAdminTreeParams contains all the parameters to send to the API endpoint for the list admin tree operation typically these are written to a http.Request

func NewListAdminTreeParams

func NewListAdminTreeParams() *ListAdminTreeParams

NewListAdminTreeParams creates a new ListAdminTreeParams object with the default values initialized.

func NewListAdminTreeParamsWithContext

func NewListAdminTreeParamsWithContext(ctx context.Context) *ListAdminTreeParams

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

func NewListAdminTreeParamsWithHTTPClient

func NewListAdminTreeParamsWithHTTPClient(client *http.Client) *ListAdminTreeParams

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

func NewListAdminTreeParamsWithTimeout

func NewListAdminTreeParamsWithTimeout(timeout time.Duration) *ListAdminTreeParams

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

func (*ListAdminTreeParams) SetBody

SetBody adds the body to the list admin tree params

func (*ListAdminTreeParams) SetContext

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

SetContext adds the context to the list admin tree params

func (*ListAdminTreeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list admin tree params

func (*ListAdminTreeParams) SetTimeout

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

SetTimeout adds the timeout to the list admin tree params

func (*ListAdminTreeParams) WithBody

WithBody adds the body to the list admin tree params

func (*ListAdminTreeParams) WithContext

WithContext adds the context to the list admin tree params

func (*ListAdminTreeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list admin tree params

func (*ListAdminTreeParams) WithTimeout

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

WithTimeout adds the timeout to the list admin tree params

func (*ListAdminTreeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListAdminTreeReader

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

ListAdminTreeReader is a Reader for the ListAdminTree structure.

func (*ListAdminTreeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StatAdminTreeOK

type StatAdminTreeOK struct {
	Payload *models.TreeReadNodeResponse
}

StatAdminTreeOK handles this case with default header values.

StatAdminTreeOK stat admin tree o k

func NewStatAdminTreeOK

func NewStatAdminTreeOK() *StatAdminTreeOK

NewStatAdminTreeOK creates a StatAdminTreeOK with default headers values

func (*StatAdminTreeOK) Error

func (o *StatAdminTreeOK) Error() string

type StatAdminTreeParams

type StatAdminTreeParams struct {

	/*Body*/
	Body *models.TreeReadNodeRequest

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

StatAdminTreeParams contains all the parameters to send to the API endpoint for the stat admin tree operation typically these are written to a http.Request

func NewStatAdminTreeParams

func NewStatAdminTreeParams() *StatAdminTreeParams

NewStatAdminTreeParams creates a new StatAdminTreeParams object with the default values initialized.

func NewStatAdminTreeParamsWithContext

func NewStatAdminTreeParamsWithContext(ctx context.Context) *StatAdminTreeParams

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

func NewStatAdminTreeParamsWithHTTPClient

func NewStatAdminTreeParamsWithHTTPClient(client *http.Client) *StatAdminTreeParams

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

func NewStatAdminTreeParamsWithTimeout

func NewStatAdminTreeParamsWithTimeout(timeout time.Duration) *StatAdminTreeParams

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

func (*StatAdminTreeParams) SetBody

SetBody adds the body to the stat admin tree params

func (*StatAdminTreeParams) SetContext

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

SetContext adds the context to the stat admin tree params

func (*StatAdminTreeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stat admin tree params

func (*StatAdminTreeParams) SetTimeout

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

SetTimeout adds the timeout to the stat admin tree params

func (*StatAdminTreeParams) WithBody

WithBody adds the body to the stat admin tree params

func (*StatAdminTreeParams) WithContext

WithContext adds the context to the stat admin tree params

func (*StatAdminTreeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stat admin tree params

func (*StatAdminTreeParams) WithTimeout

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

WithTimeout adds the timeout to the stat admin tree params

func (*StatAdminTreeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StatAdminTreeReader

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

StatAdminTreeReader is a Reader for the StatAdminTree structure.

func (*StatAdminTreeReader) ReadResponse

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