Documentation ¶
Index ¶
- type Client
- func (a *Client) GetNodeTopoes(params *GetNodeTopoesParams, opts ...ClientOption) (*GetNodeTopoesOK, error)
- func (a *Client) GetNodeTopoesConnection(params *GetNodeTopoesConnectionParams, opts ...ClientOption) (*GetNodeTopoesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNodeTopo(params *UpdateNodeTopoParams, opts ...ClientOption) (*UpdateNodeTopoOK, error)
- type ClientOption
- type ClientService
- type GetNodeTopoesBadRequest
- type GetNodeTopoesConnectionBadRequest
- type GetNodeTopoesConnectionInternalServerError
- type GetNodeTopoesConnectionNotFound
- type GetNodeTopoesConnectionOK
- type GetNodeTopoesConnectionParams
- func NewGetNodeTopoesConnectionParams() *GetNodeTopoesConnectionParams
- func NewGetNodeTopoesConnectionParamsWithContext(ctx context.Context) *GetNodeTopoesConnectionParams
- func NewGetNodeTopoesConnectionParamsWithHTTPClient(client *http.Client) *GetNodeTopoesConnectionParams
- func NewGetNodeTopoesConnectionParamsWithTimeout(timeout time.Duration) *GetNodeTopoesConnectionParams
- func (o *GetNodeTopoesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetNodeTopoesConnectionParams) SetContext(ctx context.Context)
- func (o *GetNodeTopoesConnectionParams) SetDefaults()
- func (o *GetNodeTopoesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetNodeTopoesConnectionParams) SetRequestBody(requestBody *models.GetNodeTopoesConnectionRequestBody)
- func (o *GetNodeTopoesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetNodeTopoesConnectionParams) WithContentLanguage(contentLanguage *string) *GetNodeTopoesConnectionParams
- func (o *GetNodeTopoesConnectionParams) WithContext(ctx context.Context) *GetNodeTopoesConnectionParams
- func (o *GetNodeTopoesConnectionParams) WithDefaults() *GetNodeTopoesConnectionParams
- func (o *GetNodeTopoesConnectionParams) WithHTTPClient(client *http.Client) *GetNodeTopoesConnectionParams
- func (o *GetNodeTopoesConnectionParams) WithRequestBody(requestBody *models.GetNodeTopoesConnectionRequestBody) *GetNodeTopoesConnectionParams
- func (o *GetNodeTopoesConnectionParams) WithTimeout(timeout time.Duration) *GetNodeTopoesConnectionParams
- func (o *GetNodeTopoesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNodeTopoesConnectionReader
- type GetNodeTopoesInternalServerError
- type GetNodeTopoesNotFound
- type GetNodeTopoesOK
- type GetNodeTopoesParams
- func (o *GetNodeTopoesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetNodeTopoesParams) SetContext(ctx context.Context)
- func (o *GetNodeTopoesParams) SetDefaults()
- func (o *GetNodeTopoesParams) SetHTTPClient(client *http.Client)
- func (o *GetNodeTopoesParams) SetRequestBody(requestBody *models.GetNodeTopoesRequestBody)
- func (o *GetNodeTopoesParams) SetTimeout(timeout time.Duration)
- func (o *GetNodeTopoesParams) WithContentLanguage(contentLanguage *string) *GetNodeTopoesParams
- func (o *GetNodeTopoesParams) WithContext(ctx context.Context) *GetNodeTopoesParams
- func (o *GetNodeTopoesParams) WithDefaults() *GetNodeTopoesParams
- func (o *GetNodeTopoesParams) WithHTTPClient(client *http.Client) *GetNodeTopoesParams
- func (o *GetNodeTopoesParams) WithRequestBody(requestBody *models.GetNodeTopoesRequestBody) *GetNodeTopoesParams
- func (o *GetNodeTopoesParams) WithTimeout(timeout time.Duration) *GetNodeTopoesParams
- func (o *GetNodeTopoesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNodeTopoesReader
- type UpdateNodeTopoBadRequest
- type UpdateNodeTopoInternalServerError
- type UpdateNodeTopoNotFound
- type UpdateNodeTopoOK
- type UpdateNodeTopoParams
- func NewUpdateNodeTopoParams() *UpdateNodeTopoParams
- func NewUpdateNodeTopoParamsWithContext(ctx context.Context) *UpdateNodeTopoParams
- func NewUpdateNodeTopoParamsWithHTTPClient(client *http.Client) *UpdateNodeTopoParams
- func NewUpdateNodeTopoParamsWithTimeout(timeout time.Duration) *UpdateNodeTopoParams
- func (o *UpdateNodeTopoParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateNodeTopoParams) SetContext(ctx context.Context)
- func (o *UpdateNodeTopoParams) SetDefaults()
- func (o *UpdateNodeTopoParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNodeTopoParams) SetRequestBody(requestBody models.NodeTopoUpdationParams)
- func (o *UpdateNodeTopoParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNodeTopoParams) WithContentLanguage(contentLanguage *string) *UpdateNodeTopoParams
- func (o *UpdateNodeTopoParams) WithContext(ctx context.Context) *UpdateNodeTopoParams
- func (o *UpdateNodeTopoParams) WithDefaults() *UpdateNodeTopoParams
- func (o *UpdateNodeTopoParams) WithHTTPClient(client *http.Client) *UpdateNodeTopoParams
- func (o *UpdateNodeTopoParams) WithRequestBody(requestBody models.NodeTopoUpdationParams) *UpdateNodeTopoParams
- func (o *UpdateNodeTopoParams) WithTimeout(timeout time.Duration) *UpdateNodeTopoParams
- func (o *UpdateNodeTopoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNodeTopoReader
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 node topo API
func (*Client) GetNodeTopoes ¶
func (a *Client) GetNodeTopoes(params *GetNodeTopoesParams, opts ...ClientOption) (*GetNodeTopoesOK, error)
GetNodeTopoes get node topoes API
func (*Client) GetNodeTopoesConnection ¶
func (a *Client) GetNodeTopoesConnection(params *GetNodeTopoesConnectionParams, opts ...ClientOption) (*GetNodeTopoesConnectionOK, error)
GetNodeTopoesConnection get node topoes connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateNodeTopo ¶
func (a *Client) UpdateNodeTopo(params *UpdateNodeTopoParams, opts ...ClientOption) (*UpdateNodeTopoOK, error)
UpdateNodeTopo update node topo API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetNodeTopoes(params *GetNodeTopoesParams, opts ...ClientOption) (*GetNodeTopoesOK, error) GetNodeTopoesConnection(params *GetNodeTopoesConnectionParams, opts ...ClientOption) (*GetNodeTopoesConnectionOK, error) UpdateNodeTopo(params *UpdateNodeTopoParams, opts ...ClientOption) (*UpdateNodeTopoOK, 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 node topo API client.
type GetNodeTopoesBadRequest ¶
GetNodeTopoesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetNodeTopoesBadRequest ¶
func NewGetNodeTopoesBadRequest() *GetNodeTopoesBadRequest
NewGetNodeTopoesBadRequest creates a GetNodeTopoesBadRequest with default headers values
func (*GetNodeTopoesBadRequest) Error ¶
func (o *GetNodeTopoesBadRequest) Error() string
func (*GetNodeTopoesBadRequest) GetPayload ¶
func (o *GetNodeTopoesBadRequest) GetPayload() *models.ErrorBody
type GetNodeTopoesConnectionBadRequest ¶
GetNodeTopoesConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetNodeTopoesConnectionBadRequest ¶
func NewGetNodeTopoesConnectionBadRequest() *GetNodeTopoesConnectionBadRequest
NewGetNodeTopoesConnectionBadRequest creates a GetNodeTopoesConnectionBadRequest with default headers values
func (*GetNodeTopoesConnectionBadRequest) Error ¶
func (o *GetNodeTopoesConnectionBadRequest) Error() string
func (*GetNodeTopoesConnectionBadRequest) GetPayload ¶
func (o *GetNodeTopoesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetNodeTopoesConnectionInternalServerError ¶
type GetNodeTopoesConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetNodeTopoesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetNodeTopoesConnectionInternalServerError ¶
func NewGetNodeTopoesConnectionInternalServerError() *GetNodeTopoesConnectionInternalServerError
NewGetNodeTopoesConnectionInternalServerError creates a GetNodeTopoesConnectionInternalServerError with default headers values
func (*GetNodeTopoesConnectionInternalServerError) Error ¶
func (o *GetNodeTopoesConnectionInternalServerError) Error() string
func (*GetNodeTopoesConnectionInternalServerError) GetPayload ¶
func (o *GetNodeTopoesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetNodeTopoesConnectionNotFound ¶
GetNodeTopoesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetNodeTopoesConnectionNotFound ¶
func NewGetNodeTopoesConnectionNotFound() *GetNodeTopoesConnectionNotFound
NewGetNodeTopoesConnectionNotFound creates a GetNodeTopoesConnectionNotFound with default headers values
func (*GetNodeTopoesConnectionNotFound) Error ¶
func (o *GetNodeTopoesConnectionNotFound) Error() string
func (*GetNodeTopoesConnectionNotFound) GetPayload ¶
func (o *GetNodeTopoesConnectionNotFound) GetPayload() *models.ErrorBody
type GetNodeTopoesConnectionOK ¶
type GetNodeTopoesConnectionOK struct { XTowerRequestID string Payload *models.NodeTopoConnection }
GetNodeTopoesConnectionOK describes a response with status code 200, with default header values.
GetNodeTopoesConnectionOK get node topoes connection o k
func NewGetNodeTopoesConnectionOK ¶
func NewGetNodeTopoesConnectionOK() *GetNodeTopoesConnectionOK
NewGetNodeTopoesConnectionOK creates a GetNodeTopoesConnectionOK with default headers values
func (*GetNodeTopoesConnectionOK) Error ¶
func (o *GetNodeTopoesConnectionOK) Error() string
func (*GetNodeTopoesConnectionOK) GetPayload ¶
func (o *GetNodeTopoesConnectionOK) GetPayload() *models.NodeTopoConnection
type GetNodeTopoesConnectionParams ¶
type GetNodeTopoesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetNodeTopoesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNodeTopoesConnectionParams contains all the parameters to send to the API endpoint
for the get node topoes connection operation. Typically these are written to a http.Request.
func NewGetNodeTopoesConnectionParams ¶
func NewGetNodeTopoesConnectionParams() *GetNodeTopoesConnectionParams
NewGetNodeTopoesConnectionParams creates a new GetNodeTopoesConnectionParams 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 NewGetNodeTopoesConnectionParamsWithContext ¶
func NewGetNodeTopoesConnectionParamsWithContext(ctx context.Context) *GetNodeTopoesConnectionParams
NewGetNodeTopoesConnectionParamsWithContext creates a new GetNodeTopoesConnectionParams object with the ability to set a context for a request.
func NewGetNodeTopoesConnectionParamsWithHTTPClient ¶
func NewGetNodeTopoesConnectionParamsWithHTTPClient(client *http.Client) *GetNodeTopoesConnectionParams
NewGetNodeTopoesConnectionParamsWithHTTPClient creates a new GetNodeTopoesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetNodeTopoesConnectionParamsWithTimeout ¶
func NewGetNodeTopoesConnectionParamsWithTimeout(timeout time.Duration) *GetNodeTopoesConnectionParams
NewGetNodeTopoesConnectionParamsWithTimeout creates a new GetNodeTopoesConnectionParams object with the ability to set a timeout on a request.
func (*GetNodeTopoesConnectionParams) SetContentLanguage ¶
func (o *GetNodeTopoesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get node topoes connection params
func (*GetNodeTopoesConnectionParams) SetContext ¶
func (o *GetNodeTopoesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get node topoes connection params
func (*GetNodeTopoesConnectionParams) SetDefaults ¶
func (o *GetNodeTopoesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get node topoes connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetNodeTopoesConnectionParams) SetHTTPClient ¶
func (o *GetNodeTopoesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get node topoes connection params
func (*GetNodeTopoesConnectionParams) SetRequestBody ¶
func (o *GetNodeTopoesConnectionParams) SetRequestBody(requestBody *models.GetNodeTopoesConnectionRequestBody)
SetRequestBody adds the requestBody to the get node topoes connection params
func (*GetNodeTopoesConnectionParams) SetTimeout ¶
func (o *GetNodeTopoesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get node topoes connection params
func (*GetNodeTopoesConnectionParams) WithContentLanguage ¶
func (o *GetNodeTopoesConnectionParams) WithContentLanguage(contentLanguage *string) *GetNodeTopoesConnectionParams
WithContentLanguage adds the contentLanguage to the get node topoes connection params
func (*GetNodeTopoesConnectionParams) WithContext ¶
func (o *GetNodeTopoesConnectionParams) WithContext(ctx context.Context) *GetNodeTopoesConnectionParams
WithContext adds the context to the get node topoes connection params
func (*GetNodeTopoesConnectionParams) WithDefaults ¶
func (o *GetNodeTopoesConnectionParams) WithDefaults() *GetNodeTopoesConnectionParams
WithDefaults hydrates default values in the get node topoes connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetNodeTopoesConnectionParams) WithHTTPClient ¶
func (o *GetNodeTopoesConnectionParams) WithHTTPClient(client *http.Client) *GetNodeTopoesConnectionParams
WithHTTPClient adds the HTTPClient to the get node topoes connection params
func (*GetNodeTopoesConnectionParams) WithRequestBody ¶
func (o *GetNodeTopoesConnectionParams) WithRequestBody(requestBody *models.GetNodeTopoesConnectionRequestBody) *GetNodeTopoesConnectionParams
WithRequestBody adds the requestBody to the get node topoes connection params
func (*GetNodeTopoesConnectionParams) WithTimeout ¶
func (o *GetNodeTopoesConnectionParams) WithTimeout(timeout time.Duration) *GetNodeTopoesConnectionParams
WithTimeout adds the timeout to the get node topoes connection params
func (*GetNodeTopoesConnectionParams) WriteToRequest ¶
func (o *GetNodeTopoesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNodeTopoesConnectionReader ¶
type GetNodeTopoesConnectionReader struct {
// contains filtered or unexported fields
}
GetNodeTopoesConnectionReader is a Reader for the GetNodeTopoesConnection structure.
func (*GetNodeTopoesConnectionReader) ReadResponse ¶
func (o *GetNodeTopoesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNodeTopoesInternalServerError ¶
GetNodeTopoesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetNodeTopoesInternalServerError ¶
func NewGetNodeTopoesInternalServerError() *GetNodeTopoesInternalServerError
NewGetNodeTopoesInternalServerError creates a GetNodeTopoesInternalServerError with default headers values
func (*GetNodeTopoesInternalServerError) Error ¶
func (o *GetNodeTopoesInternalServerError) Error() string
func (*GetNodeTopoesInternalServerError) GetPayload ¶
func (o *GetNodeTopoesInternalServerError) GetPayload() *models.ErrorBody
type GetNodeTopoesNotFound ¶
GetNodeTopoesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetNodeTopoesNotFound ¶
func NewGetNodeTopoesNotFound() *GetNodeTopoesNotFound
NewGetNodeTopoesNotFound creates a GetNodeTopoesNotFound with default headers values
func (*GetNodeTopoesNotFound) Error ¶
func (o *GetNodeTopoesNotFound) Error() string
func (*GetNodeTopoesNotFound) GetPayload ¶
func (o *GetNodeTopoesNotFound) GetPayload() *models.ErrorBody
type GetNodeTopoesOK ¶
GetNodeTopoesOK describes a response with status code 200, with default header values.
GetNodeTopoesOK get node topoes o k
func NewGetNodeTopoesOK ¶
func NewGetNodeTopoesOK() *GetNodeTopoesOK
NewGetNodeTopoesOK creates a GetNodeTopoesOK with default headers values
func (*GetNodeTopoesOK) Error ¶
func (o *GetNodeTopoesOK) Error() string
func (*GetNodeTopoesOK) GetPayload ¶
func (o *GetNodeTopoesOK) GetPayload() []*models.NodeTopo
type GetNodeTopoesParams ¶
type GetNodeTopoesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetNodeTopoesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNodeTopoesParams contains all the parameters to send to the API endpoint
for the get node topoes operation. Typically these are written to a http.Request.
func NewGetNodeTopoesParams ¶
func NewGetNodeTopoesParams() *GetNodeTopoesParams
NewGetNodeTopoesParams creates a new GetNodeTopoesParams 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 NewGetNodeTopoesParamsWithContext ¶
func NewGetNodeTopoesParamsWithContext(ctx context.Context) *GetNodeTopoesParams
NewGetNodeTopoesParamsWithContext creates a new GetNodeTopoesParams object with the ability to set a context for a request.
func NewGetNodeTopoesParamsWithHTTPClient ¶
func NewGetNodeTopoesParamsWithHTTPClient(client *http.Client) *GetNodeTopoesParams
NewGetNodeTopoesParamsWithHTTPClient creates a new GetNodeTopoesParams object with the ability to set a custom HTTPClient for a request.
func NewGetNodeTopoesParamsWithTimeout ¶
func NewGetNodeTopoesParamsWithTimeout(timeout time.Duration) *GetNodeTopoesParams
NewGetNodeTopoesParamsWithTimeout creates a new GetNodeTopoesParams object with the ability to set a timeout on a request.
func (*GetNodeTopoesParams) SetContentLanguage ¶
func (o *GetNodeTopoesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get node topoes params
func (*GetNodeTopoesParams) SetContext ¶
func (o *GetNodeTopoesParams) SetContext(ctx context.Context)
SetContext adds the context to the get node topoes params
func (*GetNodeTopoesParams) SetDefaults ¶
func (o *GetNodeTopoesParams) SetDefaults()
SetDefaults hydrates default values in the get node topoes params (not the query body).
All values with no default are reset to their zero value.
func (*GetNodeTopoesParams) SetHTTPClient ¶
func (o *GetNodeTopoesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get node topoes params
func (*GetNodeTopoesParams) SetRequestBody ¶
func (o *GetNodeTopoesParams) SetRequestBody(requestBody *models.GetNodeTopoesRequestBody)
SetRequestBody adds the requestBody to the get node topoes params
func (*GetNodeTopoesParams) SetTimeout ¶
func (o *GetNodeTopoesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get node topoes params
func (*GetNodeTopoesParams) WithContentLanguage ¶
func (o *GetNodeTopoesParams) WithContentLanguage(contentLanguage *string) *GetNodeTopoesParams
WithContentLanguage adds the contentLanguage to the get node topoes params
func (*GetNodeTopoesParams) WithContext ¶
func (o *GetNodeTopoesParams) WithContext(ctx context.Context) *GetNodeTopoesParams
WithContext adds the context to the get node topoes params
func (*GetNodeTopoesParams) WithDefaults ¶
func (o *GetNodeTopoesParams) WithDefaults() *GetNodeTopoesParams
WithDefaults hydrates default values in the get node topoes params (not the query body).
All values with no default are reset to their zero value.
func (*GetNodeTopoesParams) WithHTTPClient ¶
func (o *GetNodeTopoesParams) WithHTTPClient(client *http.Client) *GetNodeTopoesParams
WithHTTPClient adds the HTTPClient to the get node topoes params
func (*GetNodeTopoesParams) WithRequestBody ¶
func (o *GetNodeTopoesParams) WithRequestBody(requestBody *models.GetNodeTopoesRequestBody) *GetNodeTopoesParams
WithRequestBody adds the requestBody to the get node topoes params
func (*GetNodeTopoesParams) WithTimeout ¶
func (o *GetNodeTopoesParams) WithTimeout(timeout time.Duration) *GetNodeTopoesParams
WithTimeout adds the timeout to the get node topoes params
func (*GetNodeTopoesParams) WriteToRequest ¶
func (o *GetNodeTopoesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNodeTopoesReader ¶
type GetNodeTopoesReader struct {
// contains filtered or unexported fields
}
GetNodeTopoesReader is a Reader for the GetNodeTopoes structure.
func (*GetNodeTopoesReader) ReadResponse ¶
func (o *GetNodeTopoesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNodeTopoBadRequest ¶
UpdateNodeTopoBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateNodeTopoBadRequest ¶
func NewUpdateNodeTopoBadRequest() *UpdateNodeTopoBadRequest
NewUpdateNodeTopoBadRequest creates a UpdateNodeTopoBadRequest with default headers values
func (*UpdateNodeTopoBadRequest) Error ¶
func (o *UpdateNodeTopoBadRequest) Error() string
func (*UpdateNodeTopoBadRequest) GetPayload ¶
func (o *UpdateNodeTopoBadRequest) GetPayload() *models.ErrorBody
type UpdateNodeTopoInternalServerError ¶
UpdateNodeTopoInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateNodeTopoInternalServerError ¶
func NewUpdateNodeTopoInternalServerError() *UpdateNodeTopoInternalServerError
NewUpdateNodeTopoInternalServerError creates a UpdateNodeTopoInternalServerError with default headers values
func (*UpdateNodeTopoInternalServerError) Error ¶
func (o *UpdateNodeTopoInternalServerError) Error() string
func (*UpdateNodeTopoInternalServerError) GetPayload ¶
func (o *UpdateNodeTopoInternalServerError) GetPayload() *models.ErrorBody
type UpdateNodeTopoNotFound ¶
UpdateNodeTopoNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateNodeTopoNotFound ¶
func NewUpdateNodeTopoNotFound() *UpdateNodeTopoNotFound
NewUpdateNodeTopoNotFound creates a UpdateNodeTopoNotFound with default headers values
func (*UpdateNodeTopoNotFound) Error ¶
func (o *UpdateNodeTopoNotFound) Error() string
func (*UpdateNodeTopoNotFound) GetPayload ¶
func (o *UpdateNodeTopoNotFound) GetPayload() *models.ErrorBody
type UpdateNodeTopoOK ¶
type UpdateNodeTopoOK struct { XTowerRequestID string Payload []*models.WithTaskNodeTopo }
UpdateNodeTopoOK describes a response with status code 200, with default header values.
UpdateNodeTopoOK update node topo o k
func NewUpdateNodeTopoOK ¶
func NewUpdateNodeTopoOK() *UpdateNodeTopoOK
NewUpdateNodeTopoOK creates a UpdateNodeTopoOK with default headers values
func (*UpdateNodeTopoOK) Error ¶
func (o *UpdateNodeTopoOK) Error() string
func (*UpdateNodeTopoOK) GetPayload ¶
func (o *UpdateNodeTopoOK) GetPayload() []*models.WithTaskNodeTopo
type UpdateNodeTopoParams ¶
type UpdateNodeTopoParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody models.NodeTopoUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNodeTopoParams contains all the parameters to send to the API endpoint
for the update node topo operation. Typically these are written to a http.Request.
func NewUpdateNodeTopoParams ¶
func NewUpdateNodeTopoParams() *UpdateNodeTopoParams
NewUpdateNodeTopoParams creates a new UpdateNodeTopoParams 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 NewUpdateNodeTopoParamsWithContext ¶
func NewUpdateNodeTopoParamsWithContext(ctx context.Context) *UpdateNodeTopoParams
NewUpdateNodeTopoParamsWithContext creates a new UpdateNodeTopoParams object with the ability to set a context for a request.
func NewUpdateNodeTopoParamsWithHTTPClient ¶
func NewUpdateNodeTopoParamsWithHTTPClient(client *http.Client) *UpdateNodeTopoParams
NewUpdateNodeTopoParamsWithHTTPClient creates a new UpdateNodeTopoParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNodeTopoParamsWithTimeout ¶
func NewUpdateNodeTopoParamsWithTimeout(timeout time.Duration) *UpdateNodeTopoParams
NewUpdateNodeTopoParamsWithTimeout creates a new UpdateNodeTopoParams object with the ability to set a timeout on a request.
func (*UpdateNodeTopoParams) SetContentLanguage ¶
func (o *UpdateNodeTopoParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update node topo params
func (*UpdateNodeTopoParams) SetContext ¶
func (o *UpdateNodeTopoParams) SetContext(ctx context.Context)
SetContext adds the context to the update node topo params
func (*UpdateNodeTopoParams) SetDefaults ¶
func (o *UpdateNodeTopoParams) SetDefaults()
SetDefaults hydrates default values in the update node topo params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNodeTopoParams) SetHTTPClient ¶
func (o *UpdateNodeTopoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update node topo params
func (*UpdateNodeTopoParams) SetRequestBody ¶
func (o *UpdateNodeTopoParams) SetRequestBody(requestBody models.NodeTopoUpdationParams)
SetRequestBody adds the requestBody to the update node topo params
func (*UpdateNodeTopoParams) SetTimeout ¶
func (o *UpdateNodeTopoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update node topo params
func (*UpdateNodeTopoParams) WithContentLanguage ¶
func (o *UpdateNodeTopoParams) WithContentLanguage(contentLanguage *string) *UpdateNodeTopoParams
WithContentLanguage adds the contentLanguage to the update node topo params
func (*UpdateNodeTopoParams) WithContext ¶
func (o *UpdateNodeTopoParams) WithContext(ctx context.Context) *UpdateNodeTopoParams
WithContext adds the context to the update node topo params
func (*UpdateNodeTopoParams) WithDefaults ¶
func (o *UpdateNodeTopoParams) WithDefaults() *UpdateNodeTopoParams
WithDefaults hydrates default values in the update node topo params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNodeTopoParams) WithHTTPClient ¶
func (o *UpdateNodeTopoParams) WithHTTPClient(client *http.Client) *UpdateNodeTopoParams
WithHTTPClient adds the HTTPClient to the update node topo params
func (*UpdateNodeTopoParams) WithRequestBody ¶
func (o *UpdateNodeTopoParams) WithRequestBody(requestBody models.NodeTopoUpdationParams) *UpdateNodeTopoParams
WithRequestBody adds the requestBody to the update node topo params
func (*UpdateNodeTopoParams) WithTimeout ¶
func (o *UpdateNodeTopoParams) WithTimeout(timeout time.Duration) *UpdateNodeTopoParams
WithTimeout adds the timeout to the update node topo params
func (*UpdateNodeTopoParams) WriteToRequest ¶
func (o *UpdateNodeTopoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNodeTopoReader ¶
type UpdateNodeTopoReader struct {
// contains filtered or unexported fields
}
UpdateNodeTopoReader is a Reader for the UpdateNodeTopo structure.
func (*UpdateNodeTopoReader) ReadResponse ¶
func (o *UpdateNodeTopoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.