zone_topo

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: ISC 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 zone topo API

func (*Client) GetZoneTopoes

func (a *Client) GetZoneTopoes(params *GetZoneTopoesParams, opts ...ClientOption) (*GetZoneTopoesOK, error)

GetZoneTopoes get zone topoes API

func (*Client) GetZoneTopoesConnection

func (a *Client) GetZoneTopoesConnection(params *GetZoneTopoesConnectionParams, opts ...ClientOption) (*GetZoneTopoesConnectionOK, error)

GetZoneTopoesConnection get zone topoes connection API

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 {
	GetZoneTopoes(params *GetZoneTopoesParams, opts ...ClientOption) (*GetZoneTopoesOK, error)

	GetZoneTopoesConnection(params *GetZoneTopoesConnectionParams, opts ...ClientOption) (*GetZoneTopoesConnectionOK, 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 zone topo API client.

type GetZoneTopoesBadRequest

type GetZoneTopoesBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetZoneTopoesBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetZoneTopoesBadRequest

func NewGetZoneTopoesBadRequest() *GetZoneTopoesBadRequest

NewGetZoneTopoesBadRequest creates a GetZoneTopoesBadRequest with default headers values

func (*GetZoneTopoesBadRequest) Error

func (o *GetZoneTopoesBadRequest) Error() string

func (*GetZoneTopoesBadRequest) GetPayload

func (o *GetZoneTopoesBadRequest) GetPayload() *models.ErrorBody

type GetZoneTopoesConnectionBadRequest

type GetZoneTopoesConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetZoneTopoesConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetZoneTopoesConnectionBadRequest

func NewGetZoneTopoesConnectionBadRequest() *GetZoneTopoesConnectionBadRequest

NewGetZoneTopoesConnectionBadRequest creates a GetZoneTopoesConnectionBadRequest with default headers values

func (*GetZoneTopoesConnectionBadRequest) Error

func (*GetZoneTopoesConnectionBadRequest) GetPayload

type GetZoneTopoesConnectionInternalServerError

type GetZoneTopoesConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetZoneTopoesConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetZoneTopoesConnectionInternalServerError

func NewGetZoneTopoesConnectionInternalServerError() *GetZoneTopoesConnectionInternalServerError

NewGetZoneTopoesConnectionInternalServerError creates a GetZoneTopoesConnectionInternalServerError with default headers values

func (*GetZoneTopoesConnectionInternalServerError) Error

func (*GetZoneTopoesConnectionInternalServerError) GetPayload

type GetZoneTopoesConnectionNotFound

type GetZoneTopoesConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetZoneTopoesConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetZoneTopoesConnectionNotFound

func NewGetZoneTopoesConnectionNotFound() *GetZoneTopoesConnectionNotFound

NewGetZoneTopoesConnectionNotFound creates a GetZoneTopoesConnectionNotFound with default headers values

func (*GetZoneTopoesConnectionNotFound) Error

func (*GetZoneTopoesConnectionNotFound) GetPayload

type GetZoneTopoesConnectionOK

type GetZoneTopoesConnectionOK struct {
	XTowerRequestID string

	Payload *models.ZoneTopoConnection
}
GetZoneTopoesConnectionOK describes a response with status code 200, with default header values.

GetZoneTopoesConnectionOK get zone topoes connection o k

func NewGetZoneTopoesConnectionOK

func NewGetZoneTopoesConnectionOK() *GetZoneTopoesConnectionOK

NewGetZoneTopoesConnectionOK creates a GetZoneTopoesConnectionOK with default headers values

func (*GetZoneTopoesConnectionOK) Error

func (o *GetZoneTopoesConnectionOK) Error() string

func (*GetZoneTopoesConnectionOK) GetPayload

type GetZoneTopoesConnectionParams

type GetZoneTopoesConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetZoneTopoesConnectionRequestBody

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

GetZoneTopoesConnectionParams contains all the parameters to send to the API endpoint

for the get zone topoes connection operation.

Typically these are written to a http.Request.

func NewGetZoneTopoesConnectionParams

func NewGetZoneTopoesConnectionParams() *GetZoneTopoesConnectionParams

NewGetZoneTopoesConnectionParams creates a new GetZoneTopoesConnectionParams 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 NewGetZoneTopoesConnectionParamsWithContext

func NewGetZoneTopoesConnectionParamsWithContext(ctx context.Context) *GetZoneTopoesConnectionParams

NewGetZoneTopoesConnectionParamsWithContext creates a new GetZoneTopoesConnectionParams object with the ability to set a context for a request.

func NewGetZoneTopoesConnectionParamsWithHTTPClient

func NewGetZoneTopoesConnectionParamsWithHTTPClient(client *http.Client) *GetZoneTopoesConnectionParams

NewGetZoneTopoesConnectionParamsWithHTTPClient creates a new GetZoneTopoesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetZoneTopoesConnectionParamsWithTimeout

func NewGetZoneTopoesConnectionParamsWithTimeout(timeout time.Duration) *GetZoneTopoesConnectionParams

NewGetZoneTopoesConnectionParamsWithTimeout creates a new GetZoneTopoesConnectionParams object with the ability to set a timeout on a request.

func (*GetZoneTopoesConnectionParams) SetContentLanguage

func (o *GetZoneTopoesConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get zone topoes connection params

func (*GetZoneTopoesConnectionParams) SetContext

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

SetContext adds the context to the get zone topoes connection params

func (*GetZoneTopoesConnectionParams) SetDefaults

func (o *GetZoneTopoesConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get zone topoes connection params (not the query body).

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

func (*GetZoneTopoesConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get zone topoes connection params

func (*GetZoneTopoesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get zone topoes connection params

func (*GetZoneTopoesConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get zone topoes connection params

func (*GetZoneTopoesConnectionParams) WithContentLanguage

func (o *GetZoneTopoesConnectionParams) WithContentLanguage(contentLanguage *string) *GetZoneTopoesConnectionParams

WithContentLanguage adds the contentLanguage to the get zone topoes connection params

func (*GetZoneTopoesConnectionParams) WithContext

WithContext adds the context to the get zone topoes connection params

func (*GetZoneTopoesConnectionParams) WithDefaults

WithDefaults hydrates default values in the get zone topoes connection params (not the query body).

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

func (*GetZoneTopoesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get zone topoes connection params

func (*GetZoneTopoesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get zone topoes connection params

func (*GetZoneTopoesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get zone topoes connection params

func (*GetZoneTopoesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetZoneTopoesConnectionReader

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

GetZoneTopoesConnectionReader is a Reader for the GetZoneTopoesConnection structure.

func (*GetZoneTopoesConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetZoneTopoesInternalServerError

type GetZoneTopoesInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetZoneTopoesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetZoneTopoesInternalServerError

func NewGetZoneTopoesInternalServerError() *GetZoneTopoesInternalServerError

NewGetZoneTopoesInternalServerError creates a GetZoneTopoesInternalServerError with default headers values

func (*GetZoneTopoesInternalServerError) Error

func (*GetZoneTopoesInternalServerError) GetPayload

type GetZoneTopoesNotFound

type GetZoneTopoesNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetZoneTopoesNotFound describes a response with status code 404, with default header values.

Not found

func NewGetZoneTopoesNotFound

func NewGetZoneTopoesNotFound() *GetZoneTopoesNotFound

NewGetZoneTopoesNotFound creates a GetZoneTopoesNotFound with default headers values

func (*GetZoneTopoesNotFound) Error

func (o *GetZoneTopoesNotFound) Error() string

func (*GetZoneTopoesNotFound) GetPayload

func (o *GetZoneTopoesNotFound) GetPayload() *models.ErrorBody

type GetZoneTopoesOK

type GetZoneTopoesOK struct {
	XTowerRequestID string

	Payload []*models.ZoneTopo
}
GetZoneTopoesOK describes a response with status code 200, with default header values.

GetZoneTopoesOK get zone topoes o k

func NewGetZoneTopoesOK

func NewGetZoneTopoesOK() *GetZoneTopoesOK

NewGetZoneTopoesOK creates a GetZoneTopoesOK with default headers values

func (*GetZoneTopoesOK) Error

func (o *GetZoneTopoesOK) Error() string

func (*GetZoneTopoesOK) GetPayload

func (o *GetZoneTopoesOK) GetPayload() []*models.ZoneTopo

type GetZoneTopoesParams

type GetZoneTopoesParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetZoneTopoesRequestBody

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

GetZoneTopoesParams contains all the parameters to send to the API endpoint

for the get zone topoes operation.

Typically these are written to a http.Request.

func NewGetZoneTopoesParams

func NewGetZoneTopoesParams() *GetZoneTopoesParams

NewGetZoneTopoesParams creates a new GetZoneTopoesParams 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 NewGetZoneTopoesParamsWithContext

func NewGetZoneTopoesParamsWithContext(ctx context.Context) *GetZoneTopoesParams

NewGetZoneTopoesParamsWithContext creates a new GetZoneTopoesParams object with the ability to set a context for a request.

func NewGetZoneTopoesParamsWithHTTPClient

func NewGetZoneTopoesParamsWithHTTPClient(client *http.Client) *GetZoneTopoesParams

NewGetZoneTopoesParamsWithHTTPClient creates a new GetZoneTopoesParams object with the ability to set a custom HTTPClient for a request.

func NewGetZoneTopoesParamsWithTimeout

func NewGetZoneTopoesParamsWithTimeout(timeout time.Duration) *GetZoneTopoesParams

NewGetZoneTopoesParamsWithTimeout creates a new GetZoneTopoesParams object with the ability to set a timeout on a request.

func (*GetZoneTopoesParams) SetContentLanguage

func (o *GetZoneTopoesParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get zone topoes params

func (*GetZoneTopoesParams) SetContext

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

SetContext adds the context to the get zone topoes params

func (*GetZoneTopoesParams) SetDefaults

func (o *GetZoneTopoesParams) SetDefaults()

SetDefaults hydrates default values in the get zone topoes params (not the query body).

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

func (*GetZoneTopoesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get zone topoes params

func (*GetZoneTopoesParams) SetRequestBody

func (o *GetZoneTopoesParams) SetRequestBody(requestBody *models.GetZoneTopoesRequestBody)

SetRequestBody adds the requestBody to the get zone topoes params

func (*GetZoneTopoesParams) SetTimeout

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

SetTimeout adds the timeout to the get zone topoes params

func (*GetZoneTopoesParams) WithContentLanguage

func (o *GetZoneTopoesParams) WithContentLanguage(contentLanguage *string) *GetZoneTopoesParams

WithContentLanguage adds the contentLanguage to the get zone topoes params

func (*GetZoneTopoesParams) WithContext

WithContext adds the context to the get zone topoes params

func (*GetZoneTopoesParams) WithDefaults

func (o *GetZoneTopoesParams) WithDefaults() *GetZoneTopoesParams

WithDefaults hydrates default values in the get zone topoes params (not the query body).

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

func (*GetZoneTopoesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get zone topoes params

func (*GetZoneTopoesParams) WithRequestBody

func (o *GetZoneTopoesParams) WithRequestBody(requestBody *models.GetZoneTopoesRequestBody) *GetZoneTopoesParams

WithRequestBody adds the requestBody to the get zone topoes params

func (*GetZoneTopoesParams) WithTimeout

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

WithTimeout adds the timeout to the get zone topoes params

func (*GetZoneTopoesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetZoneTopoesReader

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

GetZoneTopoesReader is a Reader for the GetZoneTopoes structure.

func (*GetZoneTopoesReader) ReadResponse

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