edge_diagnostics

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 24, 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 edge diagnostics API

func (*Client) GetDeviceTwinConfig

func (a *Client) GetDeviceTwinConfig(params *GetDeviceTwinConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceTwinConfigOK, error)

GetDeviceTwinConfig gets current device twin configuration

Get currentnext Device twin configuration for the edge node. Edge node has read this configuration when it queried Cloud controller last time.

func (*Client) GetDeviceTwinConfigByName

func (a *Client) GetDeviceTwinConfigByName(params *GetDeviceTwinConfigByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceTwinConfigByNameOK, error)

GetDeviceTwinConfigByName gets current device twin configuration

Get currentnext Device twin configuration for the edge node. Edge node has read this configuration when it queried Cloud controller last time.

func (*Client) GetDeviceTwinNextConfig

func (a *Client) GetDeviceTwinNextConfig(params *GetDeviceTwinNextConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceTwinNextConfigOK, error)

GetDeviceTwinNextConfig gets next device twin configuration

Get next Device twin configuration for the edge node. Edge node will get this configuration when it queries Cloud controller next time.

func (*Client) GetDeviceTwinNextConfigByName

func (a *Client) GetDeviceTwinNextConfigByName(params *GetDeviceTwinNextConfigByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceTwinNextConfigByNameOK, error)

GetDeviceTwinNextConfigByName gets next device twin configuration

Get next Device twin configuration for the edge node. Edge node will get this configuration when it queries Cloud controller next time.

func (*Client) GetDeviceTwinOfflineConfigByName

func (a *Client) GetDeviceTwinOfflineConfigByName(params *GetDeviceTwinOfflineConfigByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceTwinOfflineConfigByNameOK, error)

GetDeviceTwinOfflineConfigByName gets offline device twin configuration

Get offline Device twin configuration for the edge node. Edge node will get this configuration when it queries Cloud controller next time.

func (*Client) GetDeviceTwinOfflineNextConfig

func (a *Client) GetDeviceTwinOfflineNextConfig(params *GetDeviceTwinOfflineNextConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceTwinOfflineNextConfigOK, error)

GetDeviceTwinOfflineNextConfig gets offline device twin configuration

Get offline Device twin configuration for the edge node. Edge node will get this configuration when it queries Cloud controller next time.

func (*Client) GetEventsTimeline

func (a *Client) GetEventsTimeline(params *GetEventsTimelineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEventsTimelineOK, error)

GetEventsTimeline gets events timeline

Get aggregated events timeline

func (*Client) GetResourceMetricsTimeline

func (a *Client) GetResourceMetricsTimeline(params *GetResourceMetricsTimelineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceMetricsTimelineOK, error)

GetResourceMetricsTimeline gets resource usage timeline

Get the aggregated resource usage timeline as reported by the edge nodes and edge application instances.

func (*Client) GetResourceMetricsTimeline2

func (a *Client) GetResourceMetricsTimeline2(params *GetResourceMetricsTimeline2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceMetricsTimeline2OK, error)

GetResourceMetricsTimeline2 gets resource usage timeline

Get the aggregated resource usage timeline as reported by the edge nodes and edge application instances.

func (*Client) RegenDeviceConfig

func (a *Client) RegenDeviceConfig(params *RegenDeviceConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegenDeviceConfigOK, error)

RegenDeviceConfig res generate device configuration

Re-generate the device configuration. Edge node will get this configuration when it queries Cloud controller next time.

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 {
	GetDeviceTwinConfig(params *GetDeviceTwinConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceTwinConfigOK, error)

	GetDeviceTwinConfigByName(params *GetDeviceTwinConfigByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceTwinConfigByNameOK, error)

	GetDeviceTwinNextConfig(params *GetDeviceTwinNextConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceTwinNextConfigOK, error)

	GetDeviceTwinNextConfigByName(params *GetDeviceTwinNextConfigByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceTwinNextConfigByNameOK, error)

	GetDeviceTwinOfflineConfigByName(params *GetDeviceTwinOfflineConfigByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceTwinOfflineConfigByNameOK, error)

	GetDeviceTwinOfflineNextConfig(params *GetDeviceTwinOfflineNextConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceTwinOfflineNextConfigOK, error)

	GetEventsTimeline(params *GetEventsTimelineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEventsTimelineOK, error)

	GetResourceMetricsTimeline(params *GetResourceMetricsTimelineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceMetricsTimelineOK, error)

	GetResourceMetricsTimeline2(params *GetResourceMetricsTimeline2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceMetricsTimeline2OK, error)

	RegenDeviceConfig(params *RegenDeviceConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegenDeviceConfigOK, 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 edge diagnostics API client.

type GetDeviceTwinConfigBadRequest

type GetDeviceTwinConfigBadRequest struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinConfigBadRequest describes a response with status code 400, with default header values.

Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.

func NewGetDeviceTwinConfigBadRequest

func NewGetDeviceTwinConfigBadRequest() *GetDeviceTwinConfigBadRequest

NewGetDeviceTwinConfigBadRequest creates a GetDeviceTwinConfigBadRequest with default headers values

func (*GetDeviceTwinConfigBadRequest) Error

func (*GetDeviceTwinConfigBadRequest) GetPayload

type GetDeviceTwinConfigByNameBadRequest

type GetDeviceTwinConfigByNameBadRequest struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinConfigByNameBadRequest describes a response with status code 400, with default header values.

Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.

func NewGetDeviceTwinConfigByNameBadRequest

func NewGetDeviceTwinConfigByNameBadRequest() *GetDeviceTwinConfigByNameBadRequest

NewGetDeviceTwinConfigByNameBadRequest creates a GetDeviceTwinConfigByNameBadRequest with default headers values

func (*GetDeviceTwinConfigByNameBadRequest) Error

func (*GetDeviceTwinConfigByNameBadRequest) GetPayload

type GetDeviceTwinConfigByNameForbidden

type GetDeviceTwinConfigByNameForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinConfigByNameForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewGetDeviceTwinConfigByNameForbidden

func NewGetDeviceTwinConfigByNameForbidden() *GetDeviceTwinConfigByNameForbidden

NewGetDeviceTwinConfigByNameForbidden creates a GetDeviceTwinConfigByNameForbidden with default headers values

func (*GetDeviceTwinConfigByNameForbidden) Error

func (*GetDeviceTwinConfigByNameForbidden) GetPayload

type GetDeviceTwinConfigByNameGatewayTimeout

type GetDeviceTwinConfigByNameGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinConfigByNameGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetDeviceTwinConfigByNameGatewayTimeout

func NewGetDeviceTwinConfigByNameGatewayTimeout() *GetDeviceTwinConfigByNameGatewayTimeout

NewGetDeviceTwinConfigByNameGatewayTimeout creates a GetDeviceTwinConfigByNameGatewayTimeout with default headers values

func (*GetDeviceTwinConfigByNameGatewayTimeout) Error

func (*GetDeviceTwinConfigByNameGatewayTimeout) GetPayload

type GetDeviceTwinConfigByNameInternalServerError

type GetDeviceTwinConfigByNameInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinConfigByNameInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetDeviceTwinConfigByNameInternalServerError

func NewGetDeviceTwinConfigByNameInternalServerError() *GetDeviceTwinConfigByNameInternalServerError

NewGetDeviceTwinConfigByNameInternalServerError creates a GetDeviceTwinConfigByNameInternalServerError with default headers values

func (*GetDeviceTwinConfigByNameInternalServerError) Error

func (*GetDeviceTwinConfigByNameInternalServerError) GetPayload

type GetDeviceTwinConfigByNameNotFound

type GetDeviceTwinConfigByNameNotFound struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinConfigByNameNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewGetDeviceTwinConfigByNameNotFound

func NewGetDeviceTwinConfigByNameNotFound() *GetDeviceTwinConfigByNameNotFound

NewGetDeviceTwinConfigByNameNotFound creates a GetDeviceTwinConfigByNameNotFound with default headers values

func (*GetDeviceTwinConfigByNameNotFound) Error

func (*GetDeviceTwinConfigByNameNotFound) GetPayload

type GetDeviceTwinConfigByNameOK

type GetDeviceTwinConfigByNameOK struct {
	Payload *swagger_models.ConfigServiceResp
}
GetDeviceTwinConfigByNameOK describes a response with status code 200, with default header values.

A successful response.

func NewGetDeviceTwinConfigByNameOK

func NewGetDeviceTwinConfigByNameOK() *GetDeviceTwinConfigByNameOK

NewGetDeviceTwinConfigByNameOK creates a GetDeviceTwinConfigByNameOK with default headers values

func (*GetDeviceTwinConfigByNameOK) Error

func (*GetDeviceTwinConfigByNameOK) GetPayload

type GetDeviceTwinConfigByNameParams

type GetDeviceTwinConfigByNameParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	/* Name.

	   user defined device name for a device
	*/
	Name string

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

GetDeviceTwinConfigByNameParams contains all the parameters to send to the API endpoint

for the get device twin config by name operation.

Typically these are written to a http.Request.

func NewGetDeviceTwinConfigByNameParams

func NewGetDeviceTwinConfigByNameParams() *GetDeviceTwinConfigByNameParams

NewGetDeviceTwinConfigByNameParams creates a new GetDeviceTwinConfigByNameParams 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 NewGetDeviceTwinConfigByNameParamsWithContext

func NewGetDeviceTwinConfigByNameParamsWithContext(ctx context.Context) *GetDeviceTwinConfigByNameParams

NewGetDeviceTwinConfigByNameParamsWithContext creates a new GetDeviceTwinConfigByNameParams object with the ability to set a context for a request.

func NewGetDeviceTwinConfigByNameParamsWithHTTPClient

func NewGetDeviceTwinConfigByNameParamsWithHTTPClient(client *http.Client) *GetDeviceTwinConfigByNameParams

NewGetDeviceTwinConfigByNameParamsWithHTTPClient creates a new GetDeviceTwinConfigByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceTwinConfigByNameParamsWithTimeout

func NewGetDeviceTwinConfigByNameParamsWithTimeout(timeout time.Duration) *GetDeviceTwinConfigByNameParams

NewGetDeviceTwinConfigByNameParamsWithTimeout creates a new GetDeviceTwinConfigByNameParams object with the ability to set a timeout on a request.

func (*GetDeviceTwinConfigByNameParams) SetContext

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

SetContext adds the context to the get device twin config by name params

func (*GetDeviceTwinConfigByNameParams) SetDefaults

func (o *GetDeviceTwinConfigByNameParams) SetDefaults()

SetDefaults hydrates default values in the get device twin config by name params (not the query body).

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

func (*GetDeviceTwinConfigByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get device twin config by name params

func (*GetDeviceTwinConfigByNameParams) SetName

func (o *GetDeviceTwinConfigByNameParams) SetName(name string)

SetName adds the name to the get device twin config by name params

func (*GetDeviceTwinConfigByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get device twin config by name params

func (*GetDeviceTwinConfigByNameParams) SetXRequestID

func (o *GetDeviceTwinConfigByNameParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get device twin config by name params

func (*GetDeviceTwinConfigByNameParams) WithContext

WithContext adds the context to the get device twin config by name params

func (*GetDeviceTwinConfigByNameParams) WithDefaults

WithDefaults hydrates default values in the get device twin config by name params (not the query body).

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

func (*GetDeviceTwinConfigByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device twin config by name params

func (*GetDeviceTwinConfigByNameParams) WithName

WithName adds the name to the get device twin config by name params

func (*GetDeviceTwinConfigByNameParams) WithTimeout

WithTimeout adds the timeout to the get device twin config by name params

func (*GetDeviceTwinConfigByNameParams) WithXRequestID

WithXRequestID adds the xRequestID to the get device twin config by name params

func (*GetDeviceTwinConfigByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceTwinConfigByNameReader

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

GetDeviceTwinConfigByNameReader is a Reader for the GetDeviceTwinConfigByName structure.

func (*GetDeviceTwinConfigByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeviceTwinConfigByNameUnauthorized

type GetDeviceTwinConfigByNameUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinConfigByNameUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetDeviceTwinConfigByNameUnauthorized

func NewGetDeviceTwinConfigByNameUnauthorized() *GetDeviceTwinConfigByNameUnauthorized

NewGetDeviceTwinConfigByNameUnauthorized creates a GetDeviceTwinConfigByNameUnauthorized with default headers values

func (*GetDeviceTwinConfigByNameUnauthorized) Error

func (*GetDeviceTwinConfigByNameUnauthorized) GetPayload

type GetDeviceTwinConfigForbidden

type GetDeviceTwinConfigForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinConfigForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewGetDeviceTwinConfigForbidden

func NewGetDeviceTwinConfigForbidden() *GetDeviceTwinConfigForbidden

NewGetDeviceTwinConfigForbidden creates a GetDeviceTwinConfigForbidden with default headers values

func (*GetDeviceTwinConfigForbidden) Error

func (*GetDeviceTwinConfigForbidden) GetPayload

type GetDeviceTwinConfigGatewayTimeout

type GetDeviceTwinConfigGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinConfigGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetDeviceTwinConfigGatewayTimeout

func NewGetDeviceTwinConfigGatewayTimeout() *GetDeviceTwinConfigGatewayTimeout

NewGetDeviceTwinConfigGatewayTimeout creates a GetDeviceTwinConfigGatewayTimeout with default headers values

func (*GetDeviceTwinConfigGatewayTimeout) Error

func (*GetDeviceTwinConfigGatewayTimeout) GetPayload

type GetDeviceTwinConfigInternalServerError

type GetDeviceTwinConfigInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinConfigInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetDeviceTwinConfigInternalServerError

func NewGetDeviceTwinConfigInternalServerError() *GetDeviceTwinConfigInternalServerError

NewGetDeviceTwinConfigInternalServerError creates a GetDeviceTwinConfigInternalServerError with default headers values

func (*GetDeviceTwinConfigInternalServerError) Error

func (*GetDeviceTwinConfigInternalServerError) GetPayload

type GetDeviceTwinConfigNotFound

type GetDeviceTwinConfigNotFound struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinConfigNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewGetDeviceTwinConfigNotFound

func NewGetDeviceTwinConfigNotFound() *GetDeviceTwinConfigNotFound

NewGetDeviceTwinConfigNotFound creates a GetDeviceTwinConfigNotFound with default headers values

func (*GetDeviceTwinConfigNotFound) Error

func (*GetDeviceTwinConfigNotFound) GetPayload

type GetDeviceTwinConfigOK

type GetDeviceTwinConfigOK struct {
	Payload *swagger_models.ConfigServiceResp
}
GetDeviceTwinConfigOK describes a response with status code 200, with default header values.

A successful response.

func NewGetDeviceTwinConfigOK

func NewGetDeviceTwinConfigOK() *GetDeviceTwinConfigOK

NewGetDeviceTwinConfigOK creates a GetDeviceTwinConfigOK with default headers values

func (*GetDeviceTwinConfigOK) Error

func (o *GetDeviceTwinConfigOK) Error() string

func (*GetDeviceTwinConfigOK) GetPayload

type GetDeviceTwinConfigParams

type GetDeviceTwinConfigParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	/* ID.

	   system generated unique id for a device
	*/
	ID string

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

GetDeviceTwinConfigParams contains all the parameters to send to the API endpoint

for the get device twin config operation.

Typically these are written to a http.Request.

func NewGetDeviceTwinConfigParams

func NewGetDeviceTwinConfigParams() *GetDeviceTwinConfigParams

NewGetDeviceTwinConfigParams creates a new GetDeviceTwinConfigParams 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 NewGetDeviceTwinConfigParamsWithContext

func NewGetDeviceTwinConfigParamsWithContext(ctx context.Context) *GetDeviceTwinConfigParams

NewGetDeviceTwinConfigParamsWithContext creates a new GetDeviceTwinConfigParams object with the ability to set a context for a request.

func NewGetDeviceTwinConfigParamsWithHTTPClient

func NewGetDeviceTwinConfigParamsWithHTTPClient(client *http.Client) *GetDeviceTwinConfigParams

NewGetDeviceTwinConfigParamsWithHTTPClient creates a new GetDeviceTwinConfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceTwinConfigParamsWithTimeout

func NewGetDeviceTwinConfigParamsWithTimeout(timeout time.Duration) *GetDeviceTwinConfigParams

NewGetDeviceTwinConfigParamsWithTimeout creates a new GetDeviceTwinConfigParams object with the ability to set a timeout on a request.

func (*GetDeviceTwinConfigParams) SetContext

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

SetContext adds the context to the get device twin config params

func (*GetDeviceTwinConfigParams) SetDefaults

func (o *GetDeviceTwinConfigParams) SetDefaults()

SetDefaults hydrates default values in the get device twin config params (not the query body).

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

func (*GetDeviceTwinConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get device twin config params

func (*GetDeviceTwinConfigParams) SetID

func (o *GetDeviceTwinConfigParams) SetID(id string)

SetID adds the id to the get device twin config params

func (*GetDeviceTwinConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get device twin config params

func (*GetDeviceTwinConfigParams) SetXRequestID

func (o *GetDeviceTwinConfigParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get device twin config params

func (*GetDeviceTwinConfigParams) WithContext

WithContext adds the context to the get device twin config params

func (*GetDeviceTwinConfigParams) WithDefaults

WithDefaults hydrates default values in the get device twin config params (not the query body).

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

func (*GetDeviceTwinConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get device twin config params

func (*GetDeviceTwinConfigParams) WithID

WithID adds the id to the get device twin config params

func (*GetDeviceTwinConfigParams) WithTimeout

WithTimeout adds the timeout to the get device twin config params

func (*GetDeviceTwinConfigParams) WithXRequestID

func (o *GetDeviceTwinConfigParams) WithXRequestID(xRequestID *string) *GetDeviceTwinConfigParams

WithXRequestID adds the xRequestID to the get device twin config params

func (*GetDeviceTwinConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceTwinConfigReader

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

GetDeviceTwinConfigReader is a Reader for the GetDeviceTwinConfig structure.

func (*GetDeviceTwinConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeviceTwinConfigUnauthorized

type GetDeviceTwinConfigUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinConfigUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetDeviceTwinConfigUnauthorized

func NewGetDeviceTwinConfigUnauthorized() *GetDeviceTwinConfigUnauthorized

NewGetDeviceTwinConfigUnauthorized creates a GetDeviceTwinConfigUnauthorized with default headers values

func (*GetDeviceTwinConfigUnauthorized) Error

func (*GetDeviceTwinConfigUnauthorized) GetPayload

type GetDeviceTwinNextConfigBadRequest

type GetDeviceTwinNextConfigBadRequest struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinNextConfigBadRequest describes a response with status code 400, with default header values.

Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.

func NewGetDeviceTwinNextConfigBadRequest

func NewGetDeviceTwinNextConfigBadRequest() *GetDeviceTwinNextConfigBadRequest

NewGetDeviceTwinNextConfigBadRequest creates a GetDeviceTwinNextConfigBadRequest with default headers values

func (*GetDeviceTwinNextConfigBadRequest) Error

func (*GetDeviceTwinNextConfigBadRequest) GetPayload

type GetDeviceTwinNextConfigByNameBadRequest

type GetDeviceTwinNextConfigByNameBadRequest struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinNextConfigByNameBadRequest describes a response with status code 400, with default header values.

Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.

func NewGetDeviceTwinNextConfigByNameBadRequest

func NewGetDeviceTwinNextConfigByNameBadRequest() *GetDeviceTwinNextConfigByNameBadRequest

NewGetDeviceTwinNextConfigByNameBadRequest creates a GetDeviceTwinNextConfigByNameBadRequest with default headers values

func (*GetDeviceTwinNextConfigByNameBadRequest) Error

func (*GetDeviceTwinNextConfigByNameBadRequest) GetPayload

type GetDeviceTwinNextConfigByNameForbidden

type GetDeviceTwinNextConfigByNameForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinNextConfigByNameForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewGetDeviceTwinNextConfigByNameForbidden

func NewGetDeviceTwinNextConfigByNameForbidden() *GetDeviceTwinNextConfigByNameForbidden

NewGetDeviceTwinNextConfigByNameForbidden creates a GetDeviceTwinNextConfigByNameForbidden with default headers values

func (*GetDeviceTwinNextConfigByNameForbidden) Error

func (*GetDeviceTwinNextConfigByNameForbidden) GetPayload

type GetDeviceTwinNextConfigByNameGatewayTimeout

type GetDeviceTwinNextConfigByNameGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinNextConfigByNameGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetDeviceTwinNextConfigByNameGatewayTimeout

func NewGetDeviceTwinNextConfigByNameGatewayTimeout() *GetDeviceTwinNextConfigByNameGatewayTimeout

NewGetDeviceTwinNextConfigByNameGatewayTimeout creates a GetDeviceTwinNextConfigByNameGatewayTimeout with default headers values

func (*GetDeviceTwinNextConfigByNameGatewayTimeout) Error

func (*GetDeviceTwinNextConfigByNameGatewayTimeout) GetPayload

type GetDeviceTwinNextConfigByNameInternalServerError

type GetDeviceTwinNextConfigByNameInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinNextConfigByNameInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetDeviceTwinNextConfigByNameInternalServerError

func NewGetDeviceTwinNextConfigByNameInternalServerError() *GetDeviceTwinNextConfigByNameInternalServerError

NewGetDeviceTwinNextConfigByNameInternalServerError creates a GetDeviceTwinNextConfigByNameInternalServerError with default headers values

func (*GetDeviceTwinNextConfigByNameInternalServerError) Error

func (*GetDeviceTwinNextConfigByNameInternalServerError) GetPayload

type GetDeviceTwinNextConfigByNameNotFound

type GetDeviceTwinNextConfigByNameNotFound struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinNextConfigByNameNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewGetDeviceTwinNextConfigByNameNotFound

func NewGetDeviceTwinNextConfigByNameNotFound() *GetDeviceTwinNextConfigByNameNotFound

NewGetDeviceTwinNextConfigByNameNotFound creates a GetDeviceTwinNextConfigByNameNotFound with default headers values

func (*GetDeviceTwinNextConfigByNameNotFound) Error

func (*GetDeviceTwinNextConfigByNameNotFound) GetPayload

type GetDeviceTwinNextConfigByNameOK

type GetDeviceTwinNextConfigByNameOK struct {
	Payload *swagger_models.ConfigServiceResp
}
GetDeviceTwinNextConfigByNameOK describes a response with status code 200, with default header values.

A successful response.

func NewGetDeviceTwinNextConfigByNameOK

func NewGetDeviceTwinNextConfigByNameOK() *GetDeviceTwinNextConfigByNameOK

NewGetDeviceTwinNextConfigByNameOK creates a GetDeviceTwinNextConfigByNameOK with default headers values

func (*GetDeviceTwinNextConfigByNameOK) Error

func (*GetDeviceTwinNextConfigByNameOK) GetPayload

type GetDeviceTwinNextConfigByNameParams

type GetDeviceTwinNextConfigByNameParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	/* Name.

	   user defined device name for a device
	*/
	Name string

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

GetDeviceTwinNextConfigByNameParams contains all the parameters to send to the API endpoint

for the get device twin next config by name operation.

Typically these are written to a http.Request.

func NewGetDeviceTwinNextConfigByNameParams

func NewGetDeviceTwinNextConfigByNameParams() *GetDeviceTwinNextConfigByNameParams

NewGetDeviceTwinNextConfigByNameParams creates a new GetDeviceTwinNextConfigByNameParams 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 NewGetDeviceTwinNextConfigByNameParamsWithContext

func NewGetDeviceTwinNextConfigByNameParamsWithContext(ctx context.Context) *GetDeviceTwinNextConfigByNameParams

NewGetDeviceTwinNextConfigByNameParamsWithContext creates a new GetDeviceTwinNextConfigByNameParams object with the ability to set a context for a request.

func NewGetDeviceTwinNextConfigByNameParamsWithHTTPClient

func NewGetDeviceTwinNextConfigByNameParamsWithHTTPClient(client *http.Client) *GetDeviceTwinNextConfigByNameParams

NewGetDeviceTwinNextConfigByNameParamsWithHTTPClient creates a new GetDeviceTwinNextConfigByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceTwinNextConfigByNameParamsWithTimeout

func NewGetDeviceTwinNextConfigByNameParamsWithTimeout(timeout time.Duration) *GetDeviceTwinNextConfigByNameParams

NewGetDeviceTwinNextConfigByNameParamsWithTimeout creates a new GetDeviceTwinNextConfigByNameParams object with the ability to set a timeout on a request.

func (*GetDeviceTwinNextConfigByNameParams) SetContext

SetContext adds the context to the get device twin next config by name params

func (*GetDeviceTwinNextConfigByNameParams) SetDefaults

func (o *GetDeviceTwinNextConfigByNameParams) SetDefaults()

SetDefaults hydrates default values in the get device twin next config by name params (not the query body).

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

func (*GetDeviceTwinNextConfigByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get device twin next config by name params

func (*GetDeviceTwinNextConfigByNameParams) SetName

SetName adds the name to the get device twin next config by name params

func (*GetDeviceTwinNextConfigByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get device twin next config by name params

func (*GetDeviceTwinNextConfigByNameParams) SetXRequestID

func (o *GetDeviceTwinNextConfigByNameParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get device twin next config by name params

func (*GetDeviceTwinNextConfigByNameParams) WithContext

WithContext adds the context to the get device twin next config by name params

func (*GetDeviceTwinNextConfigByNameParams) WithDefaults

WithDefaults hydrates default values in the get device twin next config by name params (not the query body).

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

func (*GetDeviceTwinNextConfigByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device twin next config by name params

func (*GetDeviceTwinNextConfigByNameParams) WithName

WithName adds the name to the get device twin next config by name params

func (*GetDeviceTwinNextConfigByNameParams) WithTimeout

WithTimeout adds the timeout to the get device twin next config by name params

func (*GetDeviceTwinNextConfigByNameParams) WithXRequestID

WithXRequestID adds the xRequestID to the get device twin next config by name params

func (*GetDeviceTwinNextConfigByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceTwinNextConfigByNameReader

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

GetDeviceTwinNextConfigByNameReader is a Reader for the GetDeviceTwinNextConfigByName structure.

func (*GetDeviceTwinNextConfigByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeviceTwinNextConfigByNameUnauthorized

type GetDeviceTwinNextConfigByNameUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinNextConfigByNameUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetDeviceTwinNextConfigByNameUnauthorized

func NewGetDeviceTwinNextConfigByNameUnauthorized() *GetDeviceTwinNextConfigByNameUnauthorized

NewGetDeviceTwinNextConfigByNameUnauthorized creates a GetDeviceTwinNextConfigByNameUnauthorized with default headers values

func (*GetDeviceTwinNextConfigByNameUnauthorized) Error

func (*GetDeviceTwinNextConfigByNameUnauthorized) GetPayload

type GetDeviceTwinNextConfigForbidden

type GetDeviceTwinNextConfigForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinNextConfigForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewGetDeviceTwinNextConfigForbidden

func NewGetDeviceTwinNextConfigForbidden() *GetDeviceTwinNextConfigForbidden

NewGetDeviceTwinNextConfigForbidden creates a GetDeviceTwinNextConfigForbidden with default headers values

func (*GetDeviceTwinNextConfigForbidden) Error

func (*GetDeviceTwinNextConfigForbidden) GetPayload

type GetDeviceTwinNextConfigGatewayTimeout

type GetDeviceTwinNextConfigGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinNextConfigGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetDeviceTwinNextConfigGatewayTimeout

func NewGetDeviceTwinNextConfigGatewayTimeout() *GetDeviceTwinNextConfigGatewayTimeout

NewGetDeviceTwinNextConfigGatewayTimeout creates a GetDeviceTwinNextConfigGatewayTimeout with default headers values

func (*GetDeviceTwinNextConfigGatewayTimeout) Error

func (*GetDeviceTwinNextConfigGatewayTimeout) GetPayload

type GetDeviceTwinNextConfigInternalServerError

type GetDeviceTwinNextConfigInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinNextConfigInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetDeviceTwinNextConfigInternalServerError

func NewGetDeviceTwinNextConfigInternalServerError() *GetDeviceTwinNextConfigInternalServerError

NewGetDeviceTwinNextConfigInternalServerError creates a GetDeviceTwinNextConfigInternalServerError with default headers values

func (*GetDeviceTwinNextConfigInternalServerError) Error

func (*GetDeviceTwinNextConfigInternalServerError) GetPayload

type GetDeviceTwinNextConfigNotFound

type GetDeviceTwinNextConfigNotFound struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinNextConfigNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewGetDeviceTwinNextConfigNotFound

func NewGetDeviceTwinNextConfigNotFound() *GetDeviceTwinNextConfigNotFound

NewGetDeviceTwinNextConfigNotFound creates a GetDeviceTwinNextConfigNotFound with default headers values

func (*GetDeviceTwinNextConfigNotFound) Error

func (*GetDeviceTwinNextConfigNotFound) GetPayload

type GetDeviceTwinNextConfigOK

type GetDeviceTwinNextConfigOK struct {
	Payload *swagger_models.ConfigServiceResp
}
GetDeviceTwinNextConfigOK describes a response with status code 200, with default header values.

A successful response.

func NewGetDeviceTwinNextConfigOK

func NewGetDeviceTwinNextConfigOK() *GetDeviceTwinNextConfigOK

NewGetDeviceTwinNextConfigOK creates a GetDeviceTwinNextConfigOK with default headers values

func (*GetDeviceTwinNextConfigOK) Error

func (o *GetDeviceTwinNextConfigOK) Error() string

func (*GetDeviceTwinNextConfigOK) GetPayload

type GetDeviceTwinNextConfigParams

type GetDeviceTwinNextConfigParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	/* ID.

	   system generated unique id for a device
	*/
	ID string

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

GetDeviceTwinNextConfigParams contains all the parameters to send to the API endpoint

for the get device twin next config operation.

Typically these are written to a http.Request.

func NewGetDeviceTwinNextConfigParams

func NewGetDeviceTwinNextConfigParams() *GetDeviceTwinNextConfigParams

NewGetDeviceTwinNextConfigParams creates a new GetDeviceTwinNextConfigParams 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 NewGetDeviceTwinNextConfigParamsWithContext

func NewGetDeviceTwinNextConfigParamsWithContext(ctx context.Context) *GetDeviceTwinNextConfigParams

NewGetDeviceTwinNextConfigParamsWithContext creates a new GetDeviceTwinNextConfigParams object with the ability to set a context for a request.

func NewGetDeviceTwinNextConfigParamsWithHTTPClient

func NewGetDeviceTwinNextConfigParamsWithHTTPClient(client *http.Client) *GetDeviceTwinNextConfigParams

NewGetDeviceTwinNextConfigParamsWithHTTPClient creates a new GetDeviceTwinNextConfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceTwinNextConfigParamsWithTimeout

func NewGetDeviceTwinNextConfigParamsWithTimeout(timeout time.Duration) *GetDeviceTwinNextConfigParams

NewGetDeviceTwinNextConfigParamsWithTimeout creates a new GetDeviceTwinNextConfigParams object with the ability to set a timeout on a request.

func (*GetDeviceTwinNextConfigParams) SetContext

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

SetContext adds the context to the get device twin next config params

func (*GetDeviceTwinNextConfigParams) SetDefaults

func (o *GetDeviceTwinNextConfigParams) SetDefaults()

SetDefaults hydrates default values in the get device twin next config params (not the query body).

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

func (*GetDeviceTwinNextConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get device twin next config params

func (*GetDeviceTwinNextConfigParams) SetID

SetID adds the id to the get device twin next config params

func (*GetDeviceTwinNextConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get device twin next config params

func (*GetDeviceTwinNextConfigParams) SetXRequestID

func (o *GetDeviceTwinNextConfigParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get device twin next config params

func (*GetDeviceTwinNextConfigParams) WithContext

WithContext adds the context to the get device twin next config params

func (*GetDeviceTwinNextConfigParams) WithDefaults

WithDefaults hydrates default values in the get device twin next config params (not the query body).

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

func (*GetDeviceTwinNextConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device twin next config params

func (*GetDeviceTwinNextConfigParams) WithID

WithID adds the id to the get device twin next config params

func (*GetDeviceTwinNextConfigParams) WithTimeout

WithTimeout adds the timeout to the get device twin next config params

func (*GetDeviceTwinNextConfigParams) WithXRequestID

func (o *GetDeviceTwinNextConfigParams) WithXRequestID(xRequestID *string) *GetDeviceTwinNextConfigParams

WithXRequestID adds the xRequestID to the get device twin next config params

func (*GetDeviceTwinNextConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceTwinNextConfigReader

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

GetDeviceTwinNextConfigReader is a Reader for the GetDeviceTwinNextConfig structure.

func (*GetDeviceTwinNextConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeviceTwinNextConfigUnauthorized

type GetDeviceTwinNextConfigUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinNextConfigUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetDeviceTwinNextConfigUnauthorized

func NewGetDeviceTwinNextConfigUnauthorized() *GetDeviceTwinNextConfigUnauthorized

NewGetDeviceTwinNextConfigUnauthorized creates a GetDeviceTwinNextConfigUnauthorized with default headers values

func (*GetDeviceTwinNextConfigUnauthorized) Error

func (*GetDeviceTwinNextConfigUnauthorized) GetPayload

type GetDeviceTwinOfflineConfigByNameBadRequest

type GetDeviceTwinOfflineConfigByNameBadRequest struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinOfflineConfigByNameBadRequest describes a response with status code 400, with default header values.

Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.

func NewGetDeviceTwinOfflineConfigByNameBadRequest

func NewGetDeviceTwinOfflineConfigByNameBadRequest() *GetDeviceTwinOfflineConfigByNameBadRequest

NewGetDeviceTwinOfflineConfigByNameBadRequest creates a GetDeviceTwinOfflineConfigByNameBadRequest with default headers values

func (*GetDeviceTwinOfflineConfigByNameBadRequest) Error

func (*GetDeviceTwinOfflineConfigByNameBadRequest) GetPayload

type GetDeviceTwinOfflineConfigByNameForbidden

type GetDeviceTwinOfflineConfigByNameForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinOfflineConfigByNameForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewGetDeviceTwinOfflineConfigByNameForbidden

func NewGetDeviceTwinOfflineConfigByNameForbidden() *GetDeviceTwinOfflineConfigByNameForbidden

NewGetDeviceTwinOfflineConfigByNameForbidden creates a GetDeviceTwinOfflineConfigByNameForbidden with default headers values

func (*GetDeviceTwinOfflineConfigByNameForbidden) Error

func (*GetDeviceTwinOfflineConfigByNameForbidden) GetPayload

type GetDeviceTwinOfflineConfigByNameGatewayTimeout

type GetDeviceTwinOfflineConfigByNameGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinOfflineConfigByNameGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetDeviceTwinOfflineConfigByNameGatewayTimeout

func NewGetDeviceTwinOfflineConfigByNameGatewayTimeout() *GetDeviceTwinOfflineConfigByNameGatewayTimeout

NewGetDeviceTwinOfflineConfigByNameGatewayTimeout creates a GetDeviceTwinOfflineConfigByNameGatewayTimeout with default headers values

func (*GetDeviceTwinOfflineConfigByNameGatewayTimeout) Error

func (*GetDeviceTwinOfflineConfigByNameGatewayTimeout) GetPayload

type GetDeviceTwinOfflineConfigByNameInternalServerError

type GetDeviceTwinOfflineConfigByNameInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinOfflineConfigByNameInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetDeviceTwinOfflineConfigByNameInternalServerError

func NewGetDeviceTwinOfflineConfigByNameInternalServerError() *GetDeviceTwinOfflineConfigByNameInternalServerError

NewGetDeviceTwinOfflineConfigByNameInternalServerError creates a GetDeviceTwinOfflineConfigByNameInternalServerError with default headers values

func (*GetDeviceTwinOfflineConfigByNameInternalServerError) Error

func (*GetDeviceTwinOfflineConfigByNameInternalServerError) GetPayload

type GetDeviceTwinOfflineConfigByNameNotFound

type GetDeviceTwinOfflineConfigByNameNotFound struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinOfflineConfigByNameNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewGetDeviceTwinOfflineConfigByNameNotFound

func NewGetDeviceTwinOfflineConfigByNameNotFound() *GetDeviceTwinOfflineConfigByNameNotFound

NewGetDeviceTwinOfflineConfigByNameNotFound creates a GetDeviceTwinOfflineConfigByNameNotFound with default headers values

func (*GetDeviceTwinOfflineConfigByNameNotFound) Error

func (*GetDeviceTwinOfflineConfigByNameNotFound) GetPayload

type GetDeviceTwinOfflineConfigByNameOK

type GetDeviceTwinOfflineConfigByNameOK struct {
	Payload *swagger_models.ConfigServiceResp
}
GetDeviceTwinOfflineConfigByNameOK describes a response with status code 200, with default header values.

A successful response.

func NewGetDeviceTwinOfflineConfigByNameOK

func NewGetDeviceTwinOfflineConfigByNameOK() *GetDeviceTwinOfflineConfigByNameOK

NewGetDeviceTwinOfflineConfigByNameOK creates a GetDeviceTwinOfflineConfigByNameOK with default headers values

func (*GetDeviceTwinOfflineConfigByNameOK) Error

func (*GetDeviceTwinOfflineConfigByNameOK) GetPayload

type GetDeviceTwinOfflineConfigByNameParams

type GetDeviceTwinOfflineConfigByNameParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	/* Name.

	   user defined device name for a device
	*/
	Name string

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

GetDeviceTwinOfflineConfigByNameParams contains all the parameters to send to the API endpoint

for the get device twin offline config by name operation.

Typically these are written to a http.Request.

func NewGetDeviceTwinOfflineConfigByNameParams

func NewGetDeviceTwinOfflineConfigByNameParams() *GetDeviceTwinOfflineConfigByNameParams

NewGetDeviceTwinOfflineConfigByNameParams creates a new GetDeviceTwinOfflineConfigByNameParams 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 NewGetDeviceTwinOfflineConfigByNameParamsWithContext

func NewGetDeviceTwinOfflineConfigByNameParamsWithContext(ctx context.Context) *GetDeviceTwinOfflineConfigByNameParams

NewGetDeviceTwinOfflineConfigByNameParamsWithContext creates a new GetDeviceTwinOfflineConfigByNameParams object with the ability to set a context for a request.

func NewGetDeviceTwinOfflineConfigByNameParamsWithHTTPClient

func NewGetDeviceTwinOfflineConfigByNameParamsWithHTTPClient(client *http.Client) *GetDeviceTwinOfflineConfigByNameParams

NewGetDeviceTwinOfflineConfigByNameParamsWithHTTPClient creates a new GetDeviceTwinOfflineConfigByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceTwinOfflineConfigByNameParamsWithTimeout

func NewGetDeviceTwinOfflineConfigByNameParamsWithTimeout(timeout time.Duration) *GetDeviceTwinOfflineConfigByNameParams

NewGetDeviceTwinOfflineConfigByNameParamsWithTimeout creates a new GetDeviceTwinOfflineConfigByNameParams object with the ability to set a timeout on a request.

func (*GetDeviceTwinOfflineConfigByNameParams) SetContext

SetContext adds the context to the get device twin offline config by name params

func (*GetDeviceTwinOfflineConfigByNameParams) SetDefaults

func (o *GetDeviceTwinOfflineConfigByNameParams) SetDefaults()

SetDefaults hydrates default values in the get device twin offline config by name params (not the query body).

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

func (*GetDeviceTwinOfflineConfigByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get device twin offline config by name params

func (*GetDeviceTwinOfflineConfigByNameParams) SetName

SetName adds the name to the get device twin offline config by name params

func (*GetDeviceTwinOfflineConfigByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get device twin offline config by name params

func (*GetDeviceTwinOfflineConfigByNameParams) SetXRequestID

func (o *GetDeviceTwinOfflineConfigByNameParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get device twin offline config by name params

func (*GetDeviceTwinOfflineConfigByNameParams) WithContext

WithContext adds the context to the get device twin offline config by name params

func (*GetDeviceTwinOfflineConfigByNameParams) WithDefaults

WithDefaults hydrates default values in the get device twin offline config by name params (not the query body).

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

func (*GetDeviceTwinOfflineConfigByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device twin offline config by name params

func (*GetDeviceTwinOfflineConfigByNameParams) WithName

WithName adds the name to the get device twin offline config by name params

func (*GetDeviceTwinOfflineConfigByNameParams) WithTimeout

WithTimeout adds the timeout to the get device twin offline config by name params

func (*GetDeviceTwinOfflineConfigByNameParams) WithXRequestID

WithXRequestID adds the xRequestID to the get device twin offline config by name params

func (*GetDeviceTwinOfflineConfigByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceTwinOfflineConfigByNameReader

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

GetDeviceTwinOfflineConfigByNameReader is a Reader for the GetDeviceTwinOfflineConfigByName structure.

func (*GetDeviceTwinOfflineConfigByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeviceTwinOfflineConfigByNameUnauthorized

type GetDeviceTwinOfflineConfigByNameUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinOfflineConfigByNameUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetDeviceTwinOfflineConfigByNameUnauthorized

func NewGetDeviceTwinOfflineConfigByNameUnauthorized() *GetDeviceTwinOfflineConfigByNameUnauthorized

NewGetDeviceTwinOfflineConfigByNameUnauthorized creates a GetDeviceTwinOfflineConfigByNameUnauthorized with default headers values

func (*GetDeviceTwinOfflineConfigByNameUnauthorized) Error

func (*GetDeviceTwinOfflineConfigByNameUnauthorized) GetPayload

type GetDeviceTwinOfflineNextConfigBadRequest

type GetDeviceTwinOfflineNextConfigBadRequest struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinOfflineNextConfigBadRequest describes a response with status code 400, with default header values.

Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.

func NewGetDeviceTwinOfflineNextConfigBadRequest

func NewGetDeviceTwinOfflineNextConfigBadRequest() *GetDeviceTwinOfflineNextConfigBadRequest

NewGetDeviceTwinOfflineNextConfigBadRequest creates a GetDeviceTwinOfflineNextConfigBadRequest with default headers values

func (*GetDeviceTwinOfflineNextConfigBadRequest) Error

func (*GetDeviceTwinOfflineNextConfigBadRequest) GetPayload

type GetDeviceTwinOfflineNextConfigForbidden

type GetDeviceTwinOfflineNextConfigForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinOfflineNextConfigForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewGetDeviceTwinOfflineNextConfigForbidden

func NewGetDeviceTwinOfflineNextConfigForbidden() *GetDeviceTwinOfflineNextConfigForbidden

NewGetDeviceTwinOfflineNextConfigForbidden creates a GetDeviceTwinOfflineNextConfigForbidden with default headers values

func (*GetDeviceTwinOfflineNextConfigForbidden) Error

func (*GetDeviceTwinOfflineNextConfigForbidden) GetPayload

type GetDeviceTwinOfflineNextConfigGatewayTimeout

type GetDeviceTwinOfflineNextConfigGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinOfflineNextConfigGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetDeviceTwinOfflineNextConfigGatewayTimeout

func NewGetDeviceTwinOfflineNextConfigGatewayTimeout() *GetDeviceTwinOfflineNextConfigGatewayTimeout

NewGetDeviceTwinOfflineNextConfigGatewayTimeout creates a GetDeviceTwinOfflineNextConfigGatewayTimeout with default headers values

func (*GetDeviceTwinOfflineNextConfigGatewayTimeout) Error

func (*GetDeviceTwinOfflineNextConfigGatewayTimeout) GetPayload

type GetDeviceTwinOfflineNextConfigInternalServerError

type GetDeviceTwinOfflineNextConfigInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinOfflineNextConfigInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetDeviceTwinOfflineNextConfigInternalServerError

func NewGetDeviceTwinOfflineNextConfigInternalServerError() *GetDeviceTwinOfflineNextConfigInternalServerError

NewGetDeviceTwinOfflineNextConfigInternalServerError creates a GetDeviceTwinOfflineNextConfigInternalServerError with default headers values

func (*GetDeviceTwinOfflineNextConfigInternalServerError) Error

func (*GetDeviceTwinOfflineNextConfigInternalServerError) GetPayload

type GetDeviceTwinOfflineNextConfigNotFound

type GetDeviceTwinOfflineNextConfigNotFound struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinOfflineNextConfigNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewGetDeviceTwinOfflineNextConfigNotFound

func NewGetDeviceTwinOfflineNextConfigNotFound() *GetDeviceTwinOfflineNextConfigNotFound

NewGetDeviceTwinOfflineNextConfigNotFound creates a GetDeviceTwinOfflineNextConfigNotFound with default headers values

func (*GetDeviceTwinOfflineNextConfigNotFound) Error

func (*GetDeviceTwinOfflineNextConfigNotFound) GetPayload

type GetDeviceTwinOfflineNextConfigOK

type GetDeviceTwinOfflineNextConfigOK struct {
	Payload *swagger_models.ConfigServiceResp
}
GetDeviceTwinOfflineNextConfigOK describes a response with status code 200, with default header values.

A successful response.

func NewGetDeviceTwinOfflineNextConfigOK

func NewGetDeviceTwinOfflineNextConfigOK() *GetDeviceTwinOfflineNextConfigOK

NewGetDeviceTwinOfflineNextConfigOK creates a GetDeviceTwinOfflineNextConfigOK with default headers values

func (*GetDeviceTwinOfflineNextConfigOK) Error

func (*GetDeviceTwinOfflineNextConfigOK) GetPayload

type GetDeviceTwinOfflineNextConfigParams

type GetDeviceTwinOfflineNextConfigParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	/* ID.

	   system generated unique id for a device
	*/
	ID string

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

GetDeviceTwinOfflineNextConfigParams contains all the parameters to send to the API endpoint

for the get device twin offline next config operation.

Typically these are written to a http.Request.

func NewGetDeviceTwinOfflineNextConfigParams

func NewGetDeviceTwinOfflineNextConfigParams() *GetDeviceTwinOfflineNextConfigParams

NewGetDeviceTwinOfflineNextConfigParams creates a new GetDeviceTwinOfflineNextConfigParams 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 NewGetDeviceTwinOfflineNextConfigParamsWithContext

func NewGetDeviceTwinOfflineNextConfigParamsWithContext(ctx context.Context) *GetDeviceTwinOfflineNextConfigParams

NewGetDeviceTwinOfflineNextConfigParamsWithContext creates a new GetDeviceTwinOfflineNextConfigParams object with the ability to set a context for a request.

func NewGetDeviceTwinOfflineNextConfigParamsWithHTTPClient

func NewGetDeviceTwinOfflineNextConfigParamsWithHTTPClient(client *http.Client) *GetDeviceTwinOfflineNextConfigParams

NewGetDeviceTwinOfflineNextConfigParamsWithHTTPClient creates a new GetDeviceTwinOfflineNextConfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceTwinOfflineNextConfigParamsWithTimeout

func NewGetDeviceTwinOfflineNextConfigParamsWithTimeout(timeout time.Duration) *GetDeviceTwinOfflineNextConfigParams

NewGetDeviceTwinOfflineNextConfigParamsWithTimeout creates a new GetDeviceTwinOfflineNextConfigParams object with the ability to set a timeout on a request.

func (*GetDeviceTwinOfflineNextConfigParams) SetContext

SetContext adds the context to the get device twin offline next config params

func (*GetDeviceTwinOfflineNextConfigParams) SetDefaults

func (o *GetDeviceTwinOfflineNextConfigParams) SetDefaults()

SetDefaults hydrates default values in the get device twin offline next config params (not the query body).

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

func (*GetDeviceTwinOfflineNextConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get device twin offline next config params

func (*GetDeviceTwinOfflineNextConfigParams) SetID

SetID adds the id to the get device twin offline next config params

func (*GetDeviceTwinOfflineNextConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get device twin offline next config params

func (*GetDeviceTwinOfflineNextConfigParams) SetXRequestID

func (o *GetDeviceTwinOfflineNextConfigParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get device twin offline next config params

func (*GetDeviceTwinOfflineNextConfigParams) WithContext

WithContext adds the context to the get device twin offline next config params

func (*GetDeviceTwinOfflineNextConfigParams) WithDefaults

WithDefaults hydrates default values in the get device twin offline next config params (not the query body).

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

func (*GetDeviceTwinOfflineNextConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device twin offline next config params

func (*GetDeviceTwinOfflineNextConfigParams) WithID

WithID adds the id to the get device twin offline next config params

func (*GetDeviceTwinOfflineNextConfigParams) WithTimeout

WithTimeout adds the timeout to the get device twin offline next config params

func (*GetDeviceTwinOfflineNextConfigParams) WithXRequestID

WithXRequestID adds the xRequestID to the get device twin offline next config params

func (*GetDeviceTwinOfflineNextConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceTwinOfflineNextConfigReader

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

GetDeviceTwinOfflineNextConfigReader is a Reader for the GetDeviceTwinOfflineNextConfig structure.

func (*GetDeviceTwinOfflineNextConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeviceTwinOfflineNextConfigUnauthorized

type GetDeviceTwinOfflineNextConfigUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
GetDeviceTwinOfflineNextConfigUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetDeviceTwinOfflineNextConfigUnauthorized

func NewGetDeviceTwinOfflineNextConfigUnauthorized() *GetDeviceTwinOfflineNextConfigUnauthorized

NewGetDeviceTwinOfflineNextConfigUnauthorized creates a GetDeviceTwinOfflineNextConfigUnauthorized with default headers values

func (*GetDeviceTwinOfflineNextConfigUnauthorized) Error

func (*GetDeviceTwinOfflineNextConfigUnauthorized) GetPayload

type GetEventsTimelineBadRequest

type GetEventsTimelineBadRequest struct {
	Payload *swagger_models.ZsrvResponse
}
GetEventsTimelineBadRequest describes a response with status code 400, with default header values.

Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.

func NewGetEventsTimelineBadRequest

func NewGetEventsTimelineBadRequest() *GetEventsTimelineBadRequest

NewGetEventsTimelineBadRequest creates a GetEventsTimelineBadRequest with default headers values

func (*GetEventsTimelineBadRequest) Error

func (*GetEventsTimelineBadRequest) GetPayload

type GetEventsTimelineForbidden

type GetEventsTimelineForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
GetEventsTimelineForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-app level access permission for the operation or does not have access scope to the project.

func NewGetEventsTimelineForbidden

func NewGetEventsTimelineForbidden() *GetEventsTimelineForbidden

NewGetEventsTimelineForbidden creates a GetEventsTimelineForbidden with default headers values

func (*GetEventsTimelineForbidden) Error

func (*GetEventsTimelineForbidden) GetPayload

type GetEventsTimelineGatewayTimeout

type GetEventsTimelineGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
GetEventsTimelineGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetEventsTimelineGatewayTimeout

func NewGetEventsTimelineGatewayTimeout() *GetEventsTimelineGatewayTimeout

NewGetEventsTimelineGatewayTimeout creates a GetEventsTimelineGatewayTimeout with default headers values

func (*GetEventsTimelineGatewayTimeout) Error

func (*GetEventsTimelineGatewayTimeout) GetPayload

type GetEventsTimelineInternalServerError

type GetEventsTimelineInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
GetEventsTimelineInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetEventsTimelineInternalServerError

func NewGetEventsTimelineInternalServerError() *GetEventsTimelineInternalServerError

NewGetEventsTimelineInternalServerError creates a GetEventsTimelineInternalServerError with default headers values

func (*GetEventsTimelineInternalServerError) Error

func (*GetEventsTimelineInternalServerError) GetPayload

type GetEventsTimelineOK

type GetEventsTimelineOK struct {
	Payload *swagger_models.EventQueryResponse
}
GetEventsTimelineOK describes a response with status code 200, with default header values.

A successful response.

func NewGetEventsTimelineOK

func NewGetEventsTimelineOK() *GetEventsTimelineOK

NewGetEventsTimelineOK creates a GetEventsTimelineOK with default headers values

func (*GetEventsTimelineOK) Error

func (o *GetEventsTimelineOK) Error() string

func (*GetEventsTimelineOK) GetPayload

type GetEventsTimelineParams

type GetEventsTimelineParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	/* EnterpriseID.

	   system generated unique id for an enterprise (deprecated)
	*/
	EnterpriseID *string

	/* Objid.

	   Object id
	*/
	Objid *string

	/* Objname.

	   Object name
	*/
	Objname *string

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

GetEventsTimelineParams contains all the parameters to send to the API endpoint

for the get events timeline operation.

Typically these are written to a http.Request.

func NewGetEventsTimelineParams

func NewGetEventsTimelineParams() *GetEventsTimelineParams

NewGetEventsTimelineParams creates a new GetEventsTimelineParams 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 NewGetEventsTimelineParamsWithContext

func NewGetEventsTimelineParamsWithContext(ctx context.Context) *GetEventsTimelineParams

NewGetEventsTimelineParamsWithContext creates a new GetEventsTimelineParams object with the ability to set a context for a request.

func NewGetEventsTimelineParamsWithHTTPClient

func NewGetEventsTimelineParamsWithHTTPClient(client *http.Client) *GetEventsTimelineParams

NewGetEventsTimelineParamsWithHTTPClient creates a new GetEventsTimelineParams object with the ability to set a custom HTTPClient for a request.

func NewGetEventsTimelineParamsWithTimeout

func NewGetEventsTimelineParamsWithTimeout(timeout time.Duration) *GetEventsTimelineParams

NewGetEventsTimelineParamsWithTimeout creates a new GetEventsTimelineParams object with the ability to set a timeout on a request.

func (*GetEventsTimelineParams) SetContext

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

SetContext adds the context to the get events timeline params

func (*GetEventsTimelineParams) SetDefaults

func (o *GetEventsTimelineParams) SetDefaults()

SetDefaults hydrates default values in the get events timeline params (not the query body).

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

func (*GetEventsTimelineParams) SetEnterpriseID

func (o *GetEventsTimelineParams) SetEnterpriseID(enterpriseID *string)

SetEnterpriseID adds the enterpriseId to the get events timeline params

func (*GetEventsTimelineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get events timeline params

func (*GetEventsTimelineParams) SetObjid

func (o *GetEventsTimelineParams) SetObjid(objid *string)

SetObjid adds the objid to the get events timeline params

func (*GetEventsTimelineParams) SetObjname

func (o *GetEventsTimelineParams) SetObjname(objname *string)

SetObjname adds the objname to the get events timeline params

func (*GetEventsTimelineParams) SetTimeout

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

SetTimeout adds the timeout to the get events timeline params

func (*GetEventsTimelineParams) SetXRequestID

func (o *GetEventsTimelineParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get events timeline params

func (*GetEventsTimelineParams) WithContext

WithContext adds the context to the get events timeline params

func (*GetEventsTimelineParams) WithDefaults

WithDefaults hydrates default values in the get events timeline params (not the query body).

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

func (*GetEventsTimelineParams) WithEnterpriseID

func (o *GetEventsTimelineParams) WithEnterpriseID(enterpriseID *string) *GetEventsTimelineParams

WithEnterpriseID adds the enterpriseID to the get events timeline params

func (*GetEventsTimelineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get events timeline params

func (*GetEventsTimelineParams) WithObjid

WithObjid adds the objid to the get events timeline params

func (*GetEventsTimelineParams) WithObjname

func (o *GetEventsTimelineParams) WithObjname(objname *string) *GetEventsTimelineParams

WithObjname adds the objname to the get events timeline params

func (*GetEventsTimelineParams) WithTimeout

WithTimeout adds the timeout to the get events timeline params

func (*GetEventsTimelineParams) WithXRequestID

func (o *GetEventsTimelineParams) WithXRequestID(xRequestID *string) *GetEventsTimelineParams

WithXRequestID adds the xRequestID to the get events timeline params

func (*GetEventsTimelineParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEventsTimelineReader

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

GetEventsTimelineReader is a Reader for the GetEventsTimeline structure.

func (*GetEventsTimelineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEventsTimelineUnauthorized

type GetEventsTimelineUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
GetEventsTimelineUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetEventsTimelineUnauthorized

func NewGetEventsTimelineUnauthorized() *GetEventsTimelineUnauthorized

NewGetEventsTimelineUnauthorized creates a GetEventsTimelineUnauthorized with default headers values

func (*GetEventsTimelineUnauthorized) Error

func (*GetEventsTimelineUnauthorized) GetPayload

type GetResourceMetricsTimeline2BadRequest

type GetResourceMetricsTimeline2BadRequest struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceMetricsTimeline2BadRequest describes a response with status code 400, with default header values.

Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.

func NewGetResourceMetricsTimeline2BadRequest

func NewGetResourceMetricsTimeline2BadRequest() *GetResourceMetricsTimeline2BadRequest

NewGetResourceMetricsTimeline2BadRequest creates a GetResourceMetricsTimeline2BadRequest with default headers values

func (*GetResourceMetricsTimeline2BadRequest) Error

func (*GetResourceMetricsTimeline2BadRequest) GetPayload

type GetResourceMetricsTimeline2Forbidden

type GetResourceMetricsTimeline2Forbidden struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceMetricsTimeline2Forbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-app level access permission for the operation or does not have access scope to the project.

func NewGetResourceMetricsTimeline2Forbidden

func NewGetResourceMetricsTimeline2Forbidden() *GetResourceMetricsTimeline2Forbidden

NewGetResourceMetricsTimeline2Forbidden creates a GetResourceMetricsTimeline2Forbidden with default headers values

func (*GetResourceMetricsTimeline2Forbidden) Error

func (*GetResourceMetricsTimeline2Forbidden) GetPayload

type GetResourceMetricsTimeline2GatewayTimeout

type GetResourceMetricsTimeline2GatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceMetricsTimeline2GatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetResourceMetricsTimeline2GatewayTimeout

func NewGetResourceMetricsTimeline2GatewayTimeout() *GetResourceMetricsTimeline2GatewayTimeout

NewGetResourceMetricsTimeline2GatewayTimeout creates a GetResourceMetricsTimeline2GatewayTimeout with default headers values

func (*GetResourceMetricsTimeline2GatewayTimeout) Error

func (*GetResourceMetricsTimeline2GatewayTimeout) GetPayload

type GetResourceMetricsTimeline2InternalServerError

type GetResourceMetricsTimeline2InternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceMetricsTimeline2InternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetResourceMetricsTimeline2InternalServerError

func NewGetResourceMetricsTimeline2InternalServerError() *GetResourceMetricsTimeline2InternalServerError

NewGetResourceMetricsTimeline2InternalServerError creates a GetResourceMetricsTimeline2InternalServerError with default headers values

func (*GetResourceMetricsTimeline2InternalServerError) Error

func (*GetResourceMetricsTimeline2InternalServerError) GetPayload

type GetResourceMetricsTimeline2OK

type GetResourceMetricsTimeline2OK struct {
	Payload *swagger_models.MetricQueryResponse
}
GetResourceMetricsTimeline2OK describes a response with status code 200, with default header values.

A successful response.

func NewGetResourceMetricsTimeline2OK

func NewGetResourceMetricsTimeline2OK() *GetResourceMetricsTimeline2OK

NewGetResourceMetricsTimeline2OK creates a GetResourceMetricsTimeline2OK with default headers values

func (*GetResourceMetricsTimeline2OK) Error

func (*GetResourceMetricsTimeline2OK) GetPayload

type GetResourceMetricsTimeline2Params

type GetResourceMetricsTimeline2Params struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	// EndTime.
	//
	// Format: date-time
	EndTime *strfmt.DateTime

	// EnterpriseID.
	EnterpriseID *string

	// Interval.
	//
	// Format: date-time
	Interval *strfmt.DateTime

	// MType.
	MType string

	// Objid.
	Objid *string

	// Objname.
	Objname *string

	// Objtype.
	//
	// Default: "OBJECT_TYPE_UNSPECIFIED"
	Objtype *string

	// StartTime.
	//
	// Format: date-time
	StartTime *strfmt.DateTime

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

GetResourceMetricsTimeline2Params contains all the parameters to send to the API endpoint

for the get resource metrics timeline2 operation.

Typically these are written to a http.Request.

func NewGetResourceMetricsTimeline2Params

func NewGetResourceMetricsTimeline2Params() *GetResourceMetricsTimeline2Params

NewGetResourceMetricsTimeline2Params creates a new GetResourceMetricsTimeline2Params 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 NewGetResourceMetricsTimeline2ParamsWithContext

func NewGetResourceMetricsTimeline2ParamsWithContext(ctx context.Context) *GetResourceMetricsTimeline2Params

NewGetResourceMetricsTimeline2ParamsWithContext creates a new GetResourceMetricsTimeline2Params object with the ability to set a context for a request.

func NewGetResourceMetricsTimeline2ParamsWithHTTPClient

func NewGetResourceMetricsTimeline2ParamsWithHTTPClient(client *http.Client) *GetResourceMetricsTimeline2Params

NewGetResourceMetricsTimeline2ParamsWithHTTPClient creates a new GetResourceMetricsTimeline2Params object with the ability to set a custom HTTPClient for a request.

func NewGetResourceMetricsTimeline2ParamsWithTimeout

func NewGetResourceMetricsTimeline2ParamsWithTimeout(timeout time.Duration) *GetResourceMetricsTimeline2Params

NewGetResourceMetricsTimeline2ParamsWithTimeout creates a new GetResourceMetricsTimeline2Params object with the ability to set a timeout on a request.

func (*GetResourceMetricsTimeline2Params) SetContext

SetContext adds the context to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) SetDefaults

func (o *GetResourceMetricsTimeline2Params) SetDefaults()

SetDefaults hydrates default values in the get resource metrics timeline2 params (not the query body).

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

func (*GetResourceMetricsTimeline2Params) SetEndTime

func (o *GetResourceMetricsTimeline2Params) SetEndTime(endTime *strfmt.DateTime)

SetEndTime adds the endTime to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) SetEnterpriseID

func (o *GetResourceMetricsTimeline2Params) SetEnterpriseID(enterpriseID *string)

SetEnterpriseID adds the enterpriseId to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) SetInterval

func (o *GetResourceMetricsTimeline2Params) SetInterval(interval *strfmt.DateTime)

SetInterval adds the interval to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) SetMType

func (o *GetResourceMetricsTimeline2Params) SetMType(mType string)

SetMType adds the mType to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) SetObjid

func (o *GetResourceMetricsTimeline2Params) SetObjid(objid *string)

SetObjid adds the objid to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) SetObjname

func (o *GetResourceMetricsTimeline2Params) SetObjname(objname *string)

SetObjname adds the objname to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) SetObjtype

func (o *GetResourceMetricsTimeline2Params) SetObjtype(objtype *string)

SetObjtype adds the objtype to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) SetStartTime

func (o *GetResourceMetricsTimeline2Params) SetStartTime(startTime *strfmt.DateTime)

SetStartTime adds the startTime to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) SetTimeout

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

SetTimeout adds the timeout to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) SetXRequestID

func (o *GetResourceMetricsTimeline2Params) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) WithContext

WithContext adds the context to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) WithDefaults

WithDefaults hydrates default values in the get resource metrics timeline2 params (not the query body).

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

func (*GetResourceMetricsTimeline2Params) WithEndTime

WithEndTime adds the endTime to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) WithEnterpriseID

WithEnterpriseID adds the enterpriseID to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) WithInterval

WithInterval adds the interval to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) WithMType

WithMType adds the mType to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) WithObjid

WithObjid adds the objid to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) WithObjname

WithObjname adds the objname to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) WithObjtype

WithObjtype adds the objtype to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) WithStartTime

WithStartTime adds the startTime to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) WithTimeout

WithTimeout adds the timeout to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) WithXRequestID

WithXRequestID adds the xRequestID to the get resource metrics timeline2 params

func (*GetResourceMetricsTimeline2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourceMetricsTimeline2Reader

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

GetResourceMetricsTimeline2Reader is a Reader for the GetResourceMetricsTimeline2 structure.

func (*GetResourceMetricsTimeline2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceMetricsTimeline2Unauthorized

type GetResourceMetricsTimeline2Unauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceMetricsTimeline2Unauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetResourceMetricsTimeline2Unauthorized

func NewGetResourceMetricsTimeline2Unauthorized() *GetResourceMetricsTimeline2Unauthorized

NewGetResourceMetricsTimeline2Unauthorized creates a GetResourceMetricsTimeline2Unauthorized with default headers values

func (*GetResourceMetricsTimeline2Unauthorized) Error

func (*GetResourceMetricsTimeline2Unauthorized) GetPayload

type GetResourceMetricsTimelineBadRequest

type GetResourceMetricsTimelineBadRequest struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceMetricsTimelineBadRequest describes a response with status code 400, with default header values.

Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.

func NewGetResourceMetricsTimelineBadRequest

func NewGetResourceMetricsTimelineBadRequest() *GetResourceMetricsTimelineBadRequest

NewGetResourceMetricsTimelineBadRequest creates a GetResourceMetricsTimelineBadRequest with default headers values

func (*GetResourceMetricsTimelineBadRequest) Error

func (*GetResourceMetricsTimelineBadRequest) GetPayload

type GetResourceMetricsTimelineForbidden

type GetResourceMetricsTimelineForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceMetricsTimelineForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-app level access permission for the operation or does not have access scope to the project.

func NewGetResourceMetricsTimelineForbidden

func NewGetResourceMetricsTimelineForbidden() *GetResourceMetricsTimelineForbidden

NewGetResourceMetricsTimelineForbidden creates a GetResourceMetricsTimelineForbidden with default headers values

func (*GetResourceMetricsTimelineForbidden) Error

func (*GetResourceMetricsTimelineForbidden) GetPayload

type GetResourceMetricsTimelineGatewayTimeout

type GetResourceMetricsTimelineGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceMetricsTimelineGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetResourceMetricsTimelineGatewayTimeout

func NewGetResourceMetricsTimelineGatewayTimeout() *GetResourceMetricsTimelineGatewayTimeout

NewGetResourceMetricsTimelineGatewayTimeout creates a GetResourceMetricsTimelineGatewayTimeout with default headers values

func (*GetResourceMetricsTimelineGatewayTimeout) Error

func (*GetResourceMetricsTimelineGatewayTimeout) GetPayload

type GetResourceMetricsTimelineInternalServerError

type GetResourceMetricsTimelineInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceMetricsTimelineInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetResourceMetricsTimelineInternalServerError

func NewGetResourceMetricsTimelineInternalServerError() *GetResourceMetricsTimelineInternalServerError

NewGetResourceMetricsTimelineInternalServerError creates a GetResourceMetricsTimelineInternalServerError with default headers values

func (*GetResourceMetricsTimelineInternalServerError) Error

func (*GetResourceMetricsTimelineInternalServerError) GetPayload

type GetResourceMetricsTimelineOK

type GetResourceMetricsTimelineOK struct {
	Payload *swagger_models.MetricQueryResponse
}
GetResourceMetricsTimelineOK describes a response with status code 200, with default header values.

A successful response.

func NewGetResourceMetricsTimelineOK

func NewGetResourceMetricsTimelineOK() *GetResourceMetricsTimelineOK

NewGetResourceMetricsTimelineOK creates a GetResourceMetricsTimelineOK with default headers values

func (*GetResourceMetricsTimelineOK) Error

func (*GetResourceMetricsTimelineOK) GetPayload

type GetResourceMetricsTimelineParams

type GetResourceMetricsTimelineParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	// EndTime.
	//
	// Format: date-time
	EndTime *strfmt.DateTime

	// EnterpriseID.
	EnterpriseID *string

	// Interval.
	//
	// Format: date-time
	Interval *strfmt.DateTime

	// MType.
	MType string

	// Objid.
	Objid *string

	// Objname.
	Objname *string

	// Objtype.
	//
	// Default: "OBJECT_TYPE_UNSPECIFIED"
	Objtype *string

	// StartTime.
	//
	// Format: date-time
	StartTime *strfmt.DateTime

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

GetResourceMetricsTimelineParams contains all the parameters to send to the API endpoint

for the get resource metrics timeline operation.

Typically these are written to a http.Request.

func NewGetResourceMetricsTimelineParams

func NewGetResourceMetricsTimelineParams() *GetResourceMetricsTimelineParams

NewGetResourceMetricsTimelineParams creates a new GetResourceMetricsTimelineParams 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 NewGetResourceMetricsTimelineParamsWithContext

func NewGetResourceMetricsTimelineParamsWithContext(ctx context.Context) *GetResourceMetricsTimelineParams

NewGetResourceMetricsTimelineParamsWithContext creates a new GetResourceMetricsTimelineParams object with the ability to set a context for a request.

func NewGetResourceMetricsTimelineParamsWithHTTPClient

func NewGetResourceMetricsTimelineParamsWithHTTPClient(client *http.Client) *GetResourceMetricsTimelineParams

NewGetResourceMetricsTimelineParamsWithHTTPClient creates a new GetResourceMetricsTimelineParams object with the ability to set a custom HTTPClient for a request.

func NewGetResourceMetricsTimelineParamsWithTimeout

func NewGetResourceMetricsTimelineParamsWithTimeout(timeout time.Duration) *GetResourceMetricsTimelineParams

NewGetResourceMetricsTimelineParamsWithTimeout creates a new GetResourceMetricsTimelineParams object with the ability to set a timeout on a request.

func (*GetResourceMetricsTimelineParams) SetContext

SetContext adds the context to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) SetDefaults

func (o *GetResourceMetricsTimelineParams) SetDefaults()

SetDefaults hydrates default values in the get resource metrics timeline params (not the query body).

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

func (*GetResourceMetricsTimelineParams) SetEndTime

func (o *GetResourceMetricsTimelineParams) SetEndTime(endTime *strfmt.DateTime)

SetEndTime adds the endTime to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) SetEnterpriseID

func (o *GetResourceMetricsTimelineParams) SetEnterpriseID(enterpriseID *string)

SetEnterpriseID adds the enterpriseId to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) SetInterval

func (o *GetResourceMetricsTimelineParams) SetInterval(interval *strfmt.DateTime)

SetInterval adds the interval to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) SetMType

func (o *GetResourceMetricsTimelineParams) SetMType(mType string)

SetMType adds the mType to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) SetObjid

func (o *GetResourceMetricsTimelineParams) SetObjid(objid *string)

SetObjid adds the objid to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) SetObjname

func (o *GetResourceMetricsTimelineParams) SetObjname(objname *string)

SetObjname adds the objname to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) SetObjtype

func (o *GetResourceMetricsTimelineParams) SetObjtype(objtype *string)

SetObjtype adds the objtype to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) SetStartTime

func (o *GetResourceMetricsTimelineParams) SetStartTime(startTime *strfmt.DateTime)

SetStartTime adds the startTime to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) SetTimeout

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

SetTimeout adds the timeout to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) SetXRequestID

func (o *GetResourceMetricsTimelineParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) WithContext

WithContext adds the context to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) WithDefaults

WithDefaults hydrates default values in the get resource metrics timeline params (not the query body).

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

func (*GetResourceMetricsTimelineParams) WithEndTime

WithEndTime adds the endTime to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) WithEnterpriseID

func (o *GetResourceMetricsTimelineParams) WithEnterpriseID(enterpriseID *string) *GetResourceMetricsTimelineParams

WithEnterpriseID adds the enterpriseID to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) WithInterval

WithInterval adds the interval to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) WithMType

WithMType adds the mType to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) WithObjid

WithObjid adds the objid to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) WithObjname

WithObjname adds the objname to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) WithObjtype

WithObjtype adds the objtype to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) WithStartTime

WithStartTime adds the startTime to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) WithTimeout

WithTimeout adds the timeout to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) WithXRequestID

WithXRequestID adds the xRequestID to the get resource metrics timeline params

func (*GetResourceMetricsTimelineParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourceMetricsTimelineReader

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

GetResourceMetricsTimelineReader is a Reader for the GetResourceMetricsTimeline structure.

func (*GetResourceMetricsTimelineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceMetricsTimelineUnauthorized

type GetResourceMetricsTimelineUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
GetResourceMetricsTimelineUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetResourceMetricsTimelineUnauthorized

func NewGetResourceMetricsTimelineUnauthorized() *GetResourceMetricsTimelineUnauthorized

NewGetResourceMetricsTimelineUnauthorized creates a GetResourceMetricsTimelineUnauthorized with default headers values

func (*GetResourceMetricsTimelineUnauthorized) Error

func (*GetResourceMetricsTimelineUnauthorized) GetPayload

type RegenDeviceConfigBadRequest

type RegenDeviceConfigBadRequest struct {
	Payload *swagger_models.ZsrvResponse
}
RegenDeviceConfigBadRequest describes a response with status code 400, with default header values.

Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.

func NewRegenDeviceConfigBadRequest

func NewRegenDeviceConfigBadRequest() *RegenDeviceConfigBadRequest

NewRegenDeviceConfigBadRequest creates a RegenDeviceConfigBadRequest with default headers values

func (*RegenDeviceConfigBadRequest) Error

func (*RegenDeviceConfigBadRequest) GetPayload

type RegenDeviceConfigForbidden

type RegenDeviceConfigForbidden struct {
	Payload *swagger_models.ZsrvResponse
}
RegenDeviceConfigForbidden describes a response with status code 403, with default header values.

Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.

func NewRegenDeviceConfigForbidden

func NewRegenDeviceConfigForbidden() *RegenDeviceConfigForbidden

NewRegenDeviceConfigForbidden creates a RegenDeviceConfigForbidden with default headers values

func (*RegenDeviceConfigForbidden) Error

func (*RegenDeviceConfigForbidden) GetPayload

type RegenDeviceConfigGatewayTimeout

type RegenDeviceConfigGatewayTimeout struct {
	Payload *swagger_models.ZsrvResponse
}
RegenDeviceConfigGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewRegenDeviceConfigGatewayTimeout

func NewRegenDeviceConfigGatewayTimeout() *RegenDeviceConfigGatewayTimeout

NewRegenDeviceConfigGatewayTimeout creates a RegenDeviceConfigGatewayTimeout with default headers values

func (*RegenDeviceConfigGatewayTimeout) Error

func (*RegenDeviceConfigGatewayTimeout) GetPayload

type RegenDeviceConfigInternalServerError

type RegenDeviceConfigInternalServerError struct {
	Payload *swagger_models.ZsrvResponse
}
RegenDeviceConfigInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewRegenDeviceConfigInternalServerError

func NewRegenDeviceConfigInternalServerError() *RegenDeviceConfigInternalServerError

NewRegenDeviceConfigInternalServerError creates a RegenDeviceConfigInternalServerError with default headers values

func (*RegenDeviceConfigInternalServerError) Error

func (*RegenDeviceConfigInternalServerError) GetPayload

type RegenDeviceConfigNotFound

type RegenDeviceConfigNotFound struct {
	Payload *swagger_models.ZsrvResponse
}
RegenDeviceConfigNotFound describes a response with status code 404, with default header values.

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewRegenDeviceConfigNotFound

func NewRegenDeviceConfigNotFound() *RegenDeviceConfigNotFound

NewRegenDeviceConfigNotFound creates a RegenDeviceConfigNotFound with default headers values

func (*RegenDeviceConfigNotFound) Error

func (o *RegenDeviceConfigNotFound) Error() string

func (*RegenDeviceConfigNotFound) GetPayload

type RegenDeviceConfigOK

type RegenDeviceConfigOK struct {
	Payload *swagger_models.ZsrvResponse
}
RegenDeviceConfigOK describes a response with status code 200, with default header values.

A successful response.

func NewRegenDeviceConfigOK

func NewRegenDeviceConfigOK() *RegenDeviceConfigOK

NewRegenDeviceConfigOK creates a RegenDeviceConfigOK with default headers values

func (*RegenDeviceConfigOK) Error

func (o *RegenDeviceConfigOK) Error() string

func (*RegenDeviceConfigOK) GetPayload

type RegenDeviceConfigParams

type RegenDeviceConfigParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	/* ID.

	   system generated unique id for a device
	*/
	ID string

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

RegenDeviceConfigParams contains all the parameters to send to the API endpoint

for the regen device config operation.

Typically these are written to a http.Request.

func NewRegenDeviceConfigParams

func NewRegenDeviceConfigParams() *RegenDeviceConfigParams

NewRegenDeviceConfigParams creates a new RegenDeviceConfigParams 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 NewRegenDeviceConfigParamsWithContext

func NewRegenDeviceConfigParamsWithContext(ctx context.Context) *RegenDeviceConfigParams

NewRegenDeviceConfigParamsWithContext creates a new RegenDeviceConfigParams object with the ability to set a context for a request.

func NewRegenDeviceConfigParamsWithHTTPClient

func NewRegenDeviceConfigParamsWithHTTPClient(client *http.Client) *RegenDeviceConfigParams

NewRegenDeviceConfigParamsWithHTTPClient creates a new RegenDeviceConfigParams object with the ability to set a custom HTTPClient for a request.

func NewRegenDeviceConfigParamsWithTimeout

func NewRegenDeviceConfigParamsWithTimeout(timeout time.Duration) *RegenDeviceConfigParams

NewRegenDeviceConfigParamsWithTimeout creates a new RegenDeviceConfigParams object with the ability to set a timeout on a request.

func (*RegenDeviceConfigParams) SetContext

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

SetContext adds the context to the regen device config params

func (*RegenDeviceConfigParams) SetDefaults

func (o *RegenDeviceConfigParams) SetDefaults()

SetDefaults hydrates default values in the regen device config params (not the query body).

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

func (*RegenDeviceConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the regen device config params

func (*RegenDeviceConfigParams) SetID

func (o *RegenDeviceConfigParams) SetID(id string)

SetID adds the id to the regen device config params

func (*RegenDeviceConfigParams) SetTimeout

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

SetTimeout adds the timeout to the regen device config params

func (*RegenDeviceConfigParams) SetXRequestID

func (o *RegenDeviceConfigParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the regen device config params

func (*RegenDeviceConfigParams) WithContext

WithContext adds the context to the regen device config params

func (*RegenDeviceConfigParams) WithDefaults

WithDefaults hydrates default values in the regen device config params (not the query body).

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

func (*RegenDeviceConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the regen device config params

func (*RegenDeviceConfigParams) WithID

WithID adds the id to the regen device config params

func (*RegenDeviceConfigParams) WithTimeout

WithTimeout adds the timeout to the regen device config params

func (*RegenDeviceConfigParams) WithXRequestID

func (o *RegenDeviceConfigParams) WithXRequestID(xRequestID *string) *RegenDeviceConfigParams

WithXRequestID adds the xRequestID to the regen device config params

func (*RegenDeviceConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RegenDeviceConfigReader

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

RegenDeviceConfigReader is a Reader for the RegenDeviceConfig structure.

func (*RegenDeviceConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RegenDeviceConfigUnauthorized

type RegenDeviceConfigUnauthorized struct {
	Payload *swagger_models.ZsrvResponse
}
RegenDeviceConfigUnauthorized describes a response with status code 401, with default header values.

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewRegenDeviceConfigUnauthorized

func NewRegenDeviceConfigUnauthorized() *RegenDeviceConfigUnauthorized

NewRegenDeviceConfigUnauthorized creates a RegenDeviceConfigUnauthorized with default headers values

func (*RegenDeviceConfigUnauthorized) Error

func (*RegenDeviceConfigUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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