Documentation
¶
Index ¶
- type Client
- func (a *Client) GetDeviceTwinConfig(params *GetDeviceTwinConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDeviceTwinConfigOK, error)
- func (a *Client) GetDeviceTwinConfigByName(params *GetDeviceTwinConfigByNameParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDeviceTwinConfigByNameOK, error)
- func (a *Client) GetDeviceTwinNextConfig(params *GetDeviceTwinNextConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDeviceTwinNextConfigOK, error)
- func (a *Client) GetDeviceTwinNextConfigByName(params *GetDeviceTwinNextConfigByNameParams, ...) (*GetDeviceTwinNextConfigByNameOK, error)
- func (a *Client) GetDeviceTwinOfflineConfigByName(params *GetDeviceTwinOfflineConfigByNameParams, ...) (*GetDeviceTwinOfflineConfigByNameOK, error)
- func (a *Client) GetDeviceTwinOfflineNextConfig(params *GetDeviceTwinOfflineNextConfigParams, ...) (*GetDeviceTwinOfflineNextConfigOK, error)
- func (a *Client) GetEventsTimeline(params *GetEventsTimelineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetEventsTimelineOK, error)
- func (a *Client) GetResourceMetricsTimeline(params *GetResourceMetricsTimelineParams, ...) (*GetResourceMetricsTimelineOK, error)
- func (a *Client) GetResourceMetricsTimeline2(params *GetResourceMetricsTimeline2Params, ...) (*GetResourceMetricsTimeline2OK, error)
- func (a *Client) RegenDeviceConfig(params *RegenDeviceConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RegenDeviceConfigOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetDeviceTwinConfigBadRequest
- type GetDeviceTwinConfigByNameBadRequest
- type GetDeviceTwinConfigByNameForbidden
- type GetDeviceTwinConfigByNameGatewayTimeout
- type GetDeviceTwinConfigByNameInternalServerError
- type GetDeviceTwinConfigByNameNotFound
- type GetDeviceTwinConfigByNameOK
- type GetDeviceTwinConfigByNameParams
- func NewGetDeviceTwinConfigByNameParams() *GetDeviceTwinConfigByNameParams
- func NewGetDeviceTwinConfigByNameParamsWithContext(ctx context.Context) *GetDeviceTwinConfigByNameParams
- func NewGetDeviceTwinConfigByNameParamsWithHTTPClient(client *http.Client) *GetDeviceTwinConfigByNameParams
- func NewGetDeviceTwinConfigByNameParamsWithTimeout(timeout time.Duration) *GetDeviceTwinConfigByNameParams
- func (o *GetDeviceTwinConfigByNameParams) SetContext(ctx context.Context)
- func (o *GetDeviceTwinConfigByNameParams) SetDefaults()
- func (o *GetDeviceTwinConfigByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceTwinConfigByNameParams) SetName(name string)
- func (o *GetDeviceTwinConfigByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceTwinConfigByNameParams) SetXRequestID(xRequestID *string)
- func (o *GetDeviceTwinConfigByNameParams) WithContext(ctx context.Context) *GetDeviceTwinConfigByNameParams
- func (o *GetDeviceTwinConfigByNameParams) WithDefaults() *GetDeviceTwinConfigByNameParams
- func (o *GetDeviceTwinConfigByNameParams) WithHTTPClient(client *http.Client) *GetDeviceTwinConfigByNameParams
- func (o *GetDeviceTwinConfigByNameParams) WithName(name string) *GetDeviceTwinConfigByNameParams
- func (o *GetDeviceTwinConfigByNameParams) WithTimeout(timeout time.Duration) *GetDeviceTwinConfigByNameParams
- func (o *GetDeviceTwinConfigByNameParams) WithXRequestID(xRequestID *string) *GetDeviceTwinConfigByNameParams
- func (o *GetDeviceTwinConfigByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceTwinConfigByNameReader
- type GetDeviceTwinConfigByNameUnauthorized
- type GetDeviceTwinConfigForbidden
- type GetDeviceTwinConfigGatewayTimeout
- type GetDeviceTwinConfigInternalServerError
- type GetDeviceTwinConfigNotFound
- type GetDeviceTwinConfigOK
- type GetDeviceTwinConfigParams
- func NewGetDeviceTwinConfigParams() *GetDeviceTwinConfigParams
- func NewGetDeviceTwinConfigParamsWithContext(ctx context.Context) *GetDeviceTwinConfigParams
- func NewGetDeviceTwinConfigParamsWithHTTPClient(client *http.Client) *GetDeviceTwinConfigParams
- func NewGetDeviceTwinConfigParamsWithTimeout(timeout time.Duration) *GetDeviceTwinConfigParams
- func (o *GetDeviceTwinConfigParams) SetContext(ctx context.Context)
- func (o *GetDeviceTwinConfigParams) SetDefaults()
- func (o *GetDeviceTwinConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceTwinConfigParams) SetID(id string)
- func (o *GetDeviceTwinConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceTwinConfigParams) SetXRequestID(xRequestID *string)
- func (o *GetDeviceTwinConfigParams) WithContext(ctx context.Context) *GetDeviceTwinConfigParams
- func (o *GetDeviceTwinConfigParams) WithDefaults() *GetDeviceTwinConfigParams
- func (o *GetDeviceTwinConfigParams) WithHTTPClient(client *http.Client) *GetDeviceTwinConfigParams
- func (o *GetDeviceTwinConfigParams) WithID(id string) *GetDeviceTwinConfigParams
- func (o *GetDeviceTwinConfigParams) WithTimeout(timeout time.Duration) *GetDeviceTwinConfigParams
- func (o *GetDeviceTwinConfigParams) WithXRequestID(xRequestID *string) *GetDeviceTwinConfigParams
- func (o *GetDeviceTwinConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceTwinConfigReader
- type GetDeviceTwinConfigUnauthorized
- type GetDeviceTwinNextConfigBadRequest
- type GetDeviceTwinNextConfigByNameBadRequest
- type GetDeviceTwinNextConfigByNameForbidden
- type GetDeviceTwinNextConfigByNameGatewayTimeout
- type GetDeviceTwinNextConfigByNameInternalServerError
- type GetDeviceTwinNextConfigByNameNotFound
- type GetDeviceTwinNextConfigByNameOK
- type GetDeviceTwinNextConfigByNameParams
- func NewGetDeviceTwinNextConfigByNameParams() *GetDeviceTwinNextConfigByNameParams
- func NewGetDeviceTwinNextConfigByNameParamsWithContext(ctx context.Context) *GetDeviceTwinNextConfigByNameParams
- func NewGetDeviceTwinNextConfigByNameParamsWithHTTPClient(client *http.Client) *GetDeviceTwinNextConfigByNameParams
- func NewGetDeviceTwinNextConfigByNameParamsWithTimeout(timeout time.Duration) *GetDeviceTwinNextConfigByNameParams
- func (o *GetDeviceTwinNextConfigByNameParams) SetContext(ctx context.Context)
- func (o *GetDeviceTwinNextConfigByNameParams) SetDefaults()
- func (o *GetDeviceTwinNextConfigByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceTwinNextConfigByNameParams) SetName(name string)
- func (o *GetDeviceTwinNextConfigByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceTwinNextConfigByNameParams) SetXRequestID(xRequestID *string)
- func (o *GetDeviceTwinNextConfigByNameParams) WithContext(ctx context.Context) *GetDeviceTwinNextConfigByNameParams
- func (o *GetDeviceTwinNextConfigByNameParams) WithDefaults() *GetDeviceTwinNextConfigByNameParams
- func (o *GetDeviceTwinNextConfigByNameParams) WithHTTPClient(client *http.Client) *GetDeviceTwinNextConfigByNameParams
- func (o *GetDeviceTwinNextConfigByNameParams) WithName(name string) *GetDeviceTwinNextConfigByNameParams
- func (o *GetDeviceTwinNextConfigByNameParams) WithTimeout(timeout time.Duration) *GetDeviceTwinNextConfigByNameParams
- func (o *GetDeviceTwinNextConfigByNameParams) WithXRequestID(xRequestID *string) *GetDeviceTwinNextConfigByNameParams
- func (o *GetDeviceTwinNextConfigByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceTwinNextConfigByNameReader
- type GetDeviceTwinNextConfigByNameUnauthorized
- type GetDeviceTwinNextConfigForbidden
- type GetDeviceTwinNextConfigGatewayTimeout
- type GetDeviceTwinNextConfigInternalServerError
- type GetDeviceTwinNextConfigNotFound
- type GetDeviceTwinNextConfigOK
- type GetDeviceTwinNextConfigParams
- func NewGetDeviceTwinNextConfigParams() *GetDeviceTwinNextConfigParams
- func NewGetDeviceTwinNextConfigParamsWithContext(ctx context.Context) *GetDeviceTwinNextConfigParams
- func NewGetDeviceTwinNextConfigParamsWithHTTPClient(client *http.Client) *GetDeviceTwinNextConfigParams
- func NewGetDeviceTwinNextConfigParamsWithTimeout(timeout time.Duration) *GetDeviceTwinNextConfigParams
- func (o *GetDeviceTwinNextConfigParams) SetContext(ctx context.Context)
- func (o *GetDeviceTwinNextConfigParams) SetDefaults()
- func (o *GetDeviceTwinNextConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceTwinNextConfigParams) SetID(id string)
- func (o *GetDeviceTwinNextConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceTwinNextConfigParams) SetXRequestID(xRequestID *string)
- func (o *GetDeviceTwinNextConfigParams) WithContext(ctx context.Context) *GetDeviceTwinNextConfigParams
- func (o *GetDeviceTwinNextConfigParams) WithDefaults() *GetDeviceTwinNextConfigParams
- func (o *GetDeviceTwinNextConfigParams) WithHTTPClient(client *http.Client) *GetDeviceTwinNextConfigParams
- func (o *GetDeviceTwinNextConfigParams) WithID(id string) *GetDeviceTwinNextConfigParams
- func (o *GetDeviceTwinNextConfigParams) WithTimeout(timeout time.Duration) *GetDeviceTwinNextConfigParams
- func (o *GetDeviceTwinNextConfigParams) WithXRequestID(xRequestID *string) *GetDeviceTwinNextConfigParams
- func (o *GetDeviceTwinNextConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceTwinNextConfigReader
- type GetDeviceTwinNextConfigUnauthorized
- type GetDeviceTwinOfflineConfigByNameBadRequest
- type GetDeviceTwinOfflineConfigByNameForbidden
- type GetDeviceTwinOfflineConfigByNameGatewayTimeout
- type GetDeviceTwinOfflineConfigByNameInternalServerError
- type GetDeviceTwinOfflineConfigByNameNotFound
- type GetDeviceTwinOfflineConfigByNameOK
- type GetDeviceTwinOfflineConfigByNameParams
- func NewGetDeviceTwinOfflineConfigByNameParams() *GetDeviceTwinOfflineConfigByNameParams
- func NewGetDeviceTwinOfflineConfigByNameParamsWithContext(ctx context.Context) *GetDeviceTwinOfflineConfigByNameParams
- func NewGetDeviceTwinOfflineConfigByNameParamsWithHTTPClient(client *http.Client) *GetDeviceTwinOfflineConfigByNameParams
- func NewGetDeviceTwinOfflineConfigByNameParamsWithTimeout(timeout time.Duration) *GetDeviceTwinOfflineConfigByNameParams
- func (o *GetDeviceTwinOfflineConfigByNameParams) SetContext(ctx context.Context)
- func (o *GetDeviceTwinOfflineConfigByNameParams) SetDefaults()
- func (o *GetDeviceTwinOfflineConfigByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceTwinOfflineConfigByNameParams) SetName(name string)
- func (o *GetDeviceTwinOfflineConfigByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceTwinOfflineConfigByNameParams) SetXRequestID(xRequestID *string)
- func (o *GetDeviceTwinOfflineConfigByNameParams) WithContext(ctx context.Context) *GetDeviceTwinOfflineConfigByNameParams
- func (o *GetDeviceTwinOfflineConfigByNameParams) WithDefaults() *GetDeviceTwinOfflineConfigByNameParams
- func (o *GetDeviceTwinOfflineConfigByNameParams) WithHTTPClient(client *http.Client) *GetDeviceTwinOfflineConfigByNameParams
- func (o *GetDeviceTwinOfflineConfigByNameParams) WithName(name string) *GetDeviceTwinOfflineConfigByNameParams
- func (o *GetDeviceTwinOfflineConfigByNameParams) WithTimeout(timeout time.Duration) *GetDeviceTwinOfflineConfigByNameParams
- func (o *GetDeviceTwinOfflineConfigByNameParams) WithXRequestID(xRequestID *string) *GetDeviceTwinOfflineConfigByNameParams
- func (o *GetDeviceTwinOfflineConfigByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceTwinOfflineConfigByNameReader
- type GetDeviceTwinOfflineConfigByNameUnauthorized
- type GetDeviceTwinOfflineNextConfigBadRequest
- type GetDeviceTwinOfflineNextConfigForbidden
- type GetDeviceTwinOfflineNextConfigGatewayTimeout
- type GetDeviceTwinOfflineNextConfigInternalServerError
- type GetDeviceTwinOfflineNextConfigNotFound
- type GetDeviceTwinOfflineNextConfigOK
- type GetDeviceTwinOfflineNextConfigParams
- func NewGetDeviceTwinOfflineNextConfigParams() *GetDeviceTwinOfflineNextConfigParams
- func NewGetDeviceTwinOfflineNextConfigParamsWithContext(ctx context.Context) *GetDeviceTwinOfflineNextConfigParams
- func NewGetDeviceTwinOfflineNextConfigParamsWithHTTPClient(client *http.Client) *GetDeviceTwinOfflineNextConfigParams
- func NewGetDeviceTwinOfflineNextConfigParamsWithTimeout(timeout time.Duration) *GetDeviceTwinOfflineNextConfigParams
- func (o *GetDeviceTwinOfflineNextConfigParams) SetContext(ctx context.Context)
- func (o *GetDeviceTwinOfflineNextConfigParams) SetDefaults()
- func (o *GetDeviceTwinOfflineNextConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceTwinOfflineNextConfigParams) SetID(id string)
- func (o *GetDeviceTwinOfflineNextConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceTwinOfflineNextConfigParams) SetXRequestID(xRequestID *string)
- func (o *GetDeviceTwinOfflineNextConfigParams) WithContext(ctx context.Context) *GetDeviceTwinOfflineNextConfigParams
- func (o *GetDeviceTwinOfflineNextConfigParams) WithDefaults() *GetDeviceTwinOfflineNextConfigParams
- func (o *GetDeviceTwinOfflineNextConfigParams) WithHTTPClient(client *http.Client) *GetDeviceTwinOfflineNextConfigParams
- func (o *GetDeviceTwinOfflineNextConfigParams) WithID(id string) *GetDeviceTwinOfflineNextConfigParams
- func (o *GetDeviceTwinOfflineNextConfigParams) WithTimeout(timeout time.Duration) *GetDeviceTwinOfflineNextConfigParams
- func (o *GetDeviceTwinOfflineNextConfigParams) WithXRequestID(xRequestID *string) *GetDeviceTwinOfflineNextConfigParams
- func (o *GetDeviceTwinOfflineNextConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceTwinOfflineNextConfigReader
- type GetDeviceTwinOfflineNextConfigUnauthorized
- type GetEventsTimelineBadRequest
- type GetEventsTimelineForbidden
- type GetEventsTimelineGatewayTimeout
- type GetEventsTimelineInternalServerError
- type GetEventsTimelineOK
- type GetEventsTimelineParams
- func NewGetEventsTimelineParams() *GetEventsTimelineParams
- func NewGetEventsTimelineParamsWithContext(ctx context.Context) *GetEventsTimelineParams
- func NewGetEventsTimelineParamsWithHTTPClient(client *http.Client) *GetEventsTimelineParams
- func NewGetEventsTimelineParamsWithTimeout(timeout time.Duration) *GetEventsTimelineParams
- func (o *GetEventsTimelineParams) SetContext(ctx context.Context)
- func (o *GetEventsTimelineParams) SetDefaults()
- func (o *GetEventsTimelineParams) SetEnterpriseID(enterpriseID *string)
- func (o *GetEventsTimelineParams) SetHTTPClient(client *http.Client)
- func (o *GetEventsTimelineParams) SetObjid(objid *string)
- func (o *GetEventsTimelineParams) SetObjname(objname *string)
- func (o *GetEventsTimelineParams) SetTimeout(timeout time.Duration)
- func (o *GetEventsTimelineParams) SetXRequestID(xRequestID *string)
- func (o *GetEventsTimelineParams) WithContext(ctx context.Context) *GetEventsTimelineParams
- func (o *GetEventsTimelineParams) WithDefaults() *GetEventsTimelineParams
- func (o *GetEventsTimelineParams) WithEnterpriseID(enterpriseID *string) *GetEventsTimelineParams
- func (o *GetEventsTimelineParams) WithHTTPClient(client *http.Client) *GetEventsTimelineParams
- func (o *GetEventsTimelineParams) WithObjid(objid *string) *GetEventsTimelineParams
- func (o *GetEventsTimelineParams) WithObjname(objname *string) *GetEventsTimelineParams
- func (o *GetEventsTimelineParams) WithTimeout(timeout time.Duration) *GetEventsTimelineParams
- func (o *GetEventsTimelineParams) WithXRequestID(xRequestID *string) *GetEventsTimelineParams
- func (o *GetEventsTimelineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEventsTimelineReader
- type GetEventsTimelineUnauthorized
- type GetResourceMetricsTimeline2BadRequest
- type GetResourceMetricsTimeline2Forbidden
- type GetResourceMetricsTimeline2GatewayTimeout
- type GetResourceMetricsTimeline2InternalServerError
- type GetResourceMetricsTimeline2OK
- type GetResourceMetricsTimeline2Params
- func NewGetResourceMetricsTimeline2Params() *GetResourceMetricsTimeline2Params
- func NewGetResourceMetricsTimeline2ParamsWithContext(ctx context.Context) *GetResourceMetricsTimeline2Params
- func NewGetResourceMetricsTimeline2ParamsWithHTTPClient(client *http.Client) *GetResourceMetricsTimeline2Params
- func NewGetResourceMetricsTimeline2ParamsWithTimeout(timeout time.Duration) *GetResourceMetricsTimeline2Params
- func (o *GetResourceMetricsTimeline2Params) SetContext(ctx context.Context)
- func (o *GetResourceMetricsTimeline2Params) SetDefaults()
- func (o *GetResourceMetricsTimeline2Params) SetEndTime(endTime *strfmt.DateTime)
- func (o *GetResourceMetricsTimeline2Params) SetEnterpriseID(enterpriseID *string)
- func (o *GetResourceMetricsTimeline2Params) SetHTTPClient(client *http.Client)
- func (o *GetResourceMetricsTimeline2Params) SetInterval(interval *strfmt.DateTime)
- func (o *GetResourceMetricsTimeline2Params) SetMType(mType string)
- func (o *GetResourceMetricsTimeline2Params) SetObjid(objid *string)
- func (o *GetResourceMetricsTimeline2Params) SetObjname(objname *string)
- func (o *GetResourceMetricsTimeline2Params) SetObjtype(objtype *string)
- func (o *GetResourceMetricsTimeline2Params) SetStartTime(startTime *strfmt.DateTime)
- func (o *GetResourceMetricsTimeline2Params) SetTimeout(timeout time.Duration)
- func (o *GetResourceMetricsTimeline2Params) SetXRequestID(xRequestID *string)
- func (o *GetResourceMetricsTimeline2Params) WithContext(ctx context.Context) *GetResourceMetricsTimeline2Params
- func (o *GetResourceMetricsTimeline2Params) WithDefaults() *GetResourceMetricsTimeline2Params
- func (o *GetResourceMetricsTimeline2Params) WithEndTime(endTime *strfmt.DateTime) *GetResourceMetricsTimeline2Params
- func (o *GetResourceMetricsTimeline2Params) WithEnterpriseID(enterpriseID *string) *GetResourceMetricsTimeline2Params
- func (o *GetResourceMetricsTimeline2Params) WithHTTPClient(client *http.Client) *GetResourceMetricsTimeline2Params
- func (o *GetResourceMetricsTimeline2Params) WithInterval(interval *strfmt.DateTime) *GetResourceMetricsTimeline2Params
- func (o *GetResourceMetricsTimeline2Params) WithMType(mType string) *GetResourceMetricsTimeline2Params
- func (o *GetResourceMetricsTimeline2Params) WithObjid(objid *string) *GetResourceMetricsTimeline2Params
- func (o *GetResourceMetricsTimeline2Params) WithObjname(objname *string) *GetResourceMetricsTimeline2Params
- func (o *GetResourceMetricsTimeline2Params) WithObjtype(objtype *string) *GetResourceMetricsTimeline2Params
- func (o *GetResourceMetricsTimeline2Params) WithStartTime(startTime *strfmt.DateTime) *GetResourceMetricsTimeline2Params
- func (o *GetResourceMetricsTimeline2Params) WithTimeout(timeout time.Duration) *GetResourceMetricsTimeline2Params
- func (o *GetResourceMetricsTimeline2Params) WithXRequestID(xRequestID *string) *GetResourceMetricsTimeline2Params
- func (o *GetResourceMetricsTimeline2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceMetricsTimeline2Reader
- type GetResourceMetricsTimeline2Unauthorized
- type GetResourceMetricsTimelineBadRequest
- type GetResourceMetricsTimelineForbidden
- type GetResourceMetricsTimelineGatewayTimeout
- type GetResourceMetricsTimelineInternalServerError
- type GetResourceMetricsTimelineOK
- type GetResourceMetricsTimelineParams
- func NewGetResourceMetricsTimelineParams() *GetResourceMetricsTimelineParams
- func NewGetResourceMetricsTimelineParamsWithContext(ctx context.Context) *GetResourceMetricsTimelineParams
- func NewGetResourceMetricsTimelineParamsWithHTTPClient(client *http.Client) *GetResourceMetricsTimelineParams
- func NewGetResourceMetricsTimelineParamsWithTimeout(timeout time.Duration) *GetResourceMetricsTimelineParams
- func (o *GetResourceMetricsTimelineParams) SetContext(ctx context.Context)
- func (o *GetResourceMetricsTimelineParams) SetDefaults()
- func (o *GetResourceMetricsTimelineParams) SetEndTime(endTime *strfmt.DateTime)
- func (o *GetResourceMetricsTimelineParams) SetEnterpriseID(enterpriseID *string)
- func (o *GetResourceMetricsTimelineParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceMetricsTimelineParams) SetInterval(interval *strfmt.DateTime)
- func (o *GetResourceMetricsTimelineParams) SetMType(mType string)
- func (o *GetResourceMetricsTimelineParams) SetObjid(objid *string)
- func (o *GetResourceMetricsTimelineParams) SetObjname(objname *string)
- func (o *GetResourceMetricsTimelineParams) SetObjtype(objtype *string)
- func (o *GetResourceMetricsTimelineParams) SetStartTime(startTime *strfmt.DateTime)
- func (o *GetResourceMetricsTimelineParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceMetricsTimelineParams) SetXRequestID(xRequestID *string)
- func (o *GetResourceMetricsTimelineParams) WithContext(ctx context.Context) *GetResourceMetricsTimelineParams
- func (o *GetResourceMetricsTimelineParams) WithDefaults() *GetResourceMetricsTimelineParams
- func (o *GetResourceMetricsTimelineParams) WithEndTime(endTime *strfmt.DateTime) *GetResourceMetricsTimelineParams
- func (o *GetResourceMetricsTimelineParams) WithEnterpriseID(enterpriseID *string) *GetResourceMetricsTimelineParams
- func (o *GetResourceMetricsTimelineParams) WithHTTPClient(client *http.Client) *GetResourceMetricsTimelineParams
- func (o *GetResourceMetricsTimelineParams) WithInterval(interval *strfmt.DateTime) *GetResourceMetricsTimelineParams
- func (o *GetResourceMetricsTimelineParams) WithMType(mType string) *GetResourceMetricsTimelineParams
- func (o *GetResourceMetricsTimelineParams) WithObjid(objid *string) *GetResourceMetricsTimelineParams
- func (o *GetResourceMetricsTimelineParams) WithObjname(objname *string) *GetResourceMetricsTimelineParams
- func (o *GetResourceMetricsTimelineParams) WithObjtype(objtype *string) *GetResourceMetricsTimelineParams
- func (o *GetResourceMetricsTimelineParams) WithStartTime(startTime *strfmt.DateTime) *GetResourceMetricsTimelineParams
- func (o *GetResourceMetricsTimelineParams) WithTimeout(timeout time.Duration) *GetResourceMetricsTimelineParams
- func (o *GetResourceMetricsTimelineParams) WithXRequestID(xRequestID *string) *GetResourceMetricsTimelineParams
- func (o *GetResourceMetricsTimelineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceMetricsTimelineReader
- type GetResourceMetricsTimelineUnauthorized
- type RegenDeviceConfigBadRequest
- type RegenDeviceConfigForbidden
- type RegenDeviceConfigGatewayTimeout
- type RegenDeviceConfigInternalServerError
- type RegenDeviceConfigNotFound
- type RegenDeviceConfigOK
- type RegenDeviceConfigParams
- func NewRegenDeviceConfigParams() *RegenDeviceConfigParams
- func NewRegenDeviceConfigParamsWithContext(ctx context.Context) *RegenDeviceConfigParams
- func NewRegenDeviceConfigParamsWithHTTPClient(client *http.Client) *RegenDeviceConfigParams
- func NewRegenDeviceConfigParamsWithTimeout(timeout time.Duration) *RegenDeviceConfigParams
- func (o *RegenDeviceConfigParams) SetContext(ctx context.Context)
- func (o *RegenDeviceConfigParams) SetDefaults()
- func (o *RegenDeviceConfigParams) SetHTTPClient(client *http.Client)
- func (o *RegenDeviceConfigParams) SetID(id string)
- func (o *RegenDeviceConfigParams) SetTimeout(timeout time.Duration)
- func (o *RegenDeviceConfigParams) SetXRequestID(xRequestID *string)
- func (o *RegenDeviceConfigParams) WithContext(ctx context.Context) *RegenDeviceConfigParams
- func (o *RegenDeviceConfigParams) WithDefaults() *RegenDeviceConfigParams
- func (o *RegenDeviceConfigParams) WithHTTPClient(client *http.Client) *RegenDeviceConfigParams
- func (o *RegenDeviceConfigParams) WithID(id string) *RegenDeviceConfigParams
- func (o *RegenDeviceConfigParams) WithTimeout(timeout time.Duration) *RegenDeviceConfigParams
- func (o *RegenDeviceConfigParams) WithXRequestID(xRequestID *string) *RegenDeviceConfigParams
- func (o *RegenDeviceConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegenDeviceConfigReader
- type RegenDeviceConfigUnauthorized
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 (o *GetDeviceTwinConfigBadRequest) Error() string
func (*GetDeviceTwinConfigBadRequest) GetPayload ¶
func (o *GetDeviceTwinConfigBadRequest) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinConfigByNameBadRequest) Error() string
func (*GetDeviceTwinConfigByNameBadRequest) GetPayload ¶
func (o *GetDeviceTwinConfigByNameBadRequest) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinConfigByNameForbidden) Error() string
func (*GetDeviceTwinConfigByNameForbidden) GetPayload ¶
func (o *GetDeviceTwinConfigByNameForbidden) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinConfigByNameGatewayTimeout) Error() string
func (*GetDeviceTwinConfigByNameGatewayTimeout) GetPayload ¶
func (o *GetDeviceTwinConfigByNameGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinConfigByNameInternalServerError) Error() string
func (*GetDeviceTwinConfigByNameInternalServerError) GetPayload ¶
func (o *GetDeviceTwinConfigByNameInternalServerError) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinConfigByNameNotFound) Error() string
func (*GetDeviceTwinConfigByNameNotFound) GetPayload ¶
func (o *GetDeviceTwinConfigByNameNotFound) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinConfigByNameOK) Error() string
func (*GetDeviceTwinConfigByNameOK) GetPayload ¶
func (o *GetDeviceTwinConfigByNameOK) GetPayload() *swagger_models.ConfigServiceResp
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 ¶
func (o *GetDeviceTwinConfigByNameParams) WithContext(ctx context.Context) *GetDeviceTwinConfigByNameParams
WithContext adds the context to the get device twin config by name params
func (*GetDeviceTwinConfigByNameParams) WithDefaults ¶
func (o *GetDeviceTwinConfigByNameParams) WithDefaults() *GetDeviceTwinConfigByNameParams
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 ¶
func (o *GetDeviceTwinConfigByNameParams) WithHTTPClient(client *http.Client) *GetDeviceTwinConfigByNameParams
WithHTTPClient adds the HTTPClient to the get device twin config by name params
func (*GetDeviceTwinConfigByNameParams) WithName ¶
func (o *GetDeviceTwinConfigByNameParams) WithName(name string) *GetDeviceTwinConfigByNameParams
WithName adds the name to the get device twin config by name params
func (*GetDeviceTwinConfigByNameParams) WithTimeout ¶
func (o *GetDeviceTwinConfigByNameParams) WithTimeout(timeout time.Duration) *GetDeviceTwinConfigByNameParams
WithTimeout adds the timeout to the get device twin config by name params
func (*GetDeviceTwinConfigByNameParams) WithXRequestID ¶
func (o *GetDeviceTwinConfigByNameParams) WithXRequestID(xRequestID *string) *GetDeviceTwinConfigByNameParams
WithXRequestID adds the xRequestID to the get device twin config by name params
func (*GetDeviceTwinConfigByNameParams) WriteToRequest ¶
func (o *GetDeviceTwinConfigByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetDeviceTwinConfigByNameUnauthorized) Error() string
func (*GetDeviceTwinConfigByNameUnauthorized) GetPayload ¶
func (o *GetDeviceTwinConfigByNameUnauthorized) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinConfigForbidden) Error() string
func (*GetDeviceTwinConfigForbidden) GetPayload ¶
func (o *GetDeviceTwinConfigForbidden) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinConfigGatewayTimeout) Error() string
func (*GetDeviceTwinConfigGatewayTimeout) GetPayload ¶
func (o *GetDeviceTwinConfigGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinConfigInternalServerError) Error() string
func (*GetDeviceTwinConfigInternalServerError) GetPayload ¶
func (o *GetDeviceTwinConfigInternalServerError) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinConfigNotFound) Error() string
func (*GetDeviceTwinConfigNotFound) GetPayload ¶
func (o *GetDeviceTwinConfigNotFound) GetPayload() *swagger_models.ZsrvResponse
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 ¶
func (o *GetDeviceTwinConfigOK) GetPayload() *swagger_models.ConfigServiceResp
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 ¶
func (o *GetDeviceTwinConfigParams) WithContext(ctx context.Context) *GetDeviceTwinConfigParams
WithContext adds the context to the get device twin config params
func (*GetDeviceTwinConfigParams) WithDefaults ¶
func (o *GetDeviceTwinConfigParams) WithDefaults() *GetDeviceTwinConfigParams
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 ¶
func (o *GetDeviceTwinConfigParams) WithID(id string) *GetDeviceTwinConfigParams
WithID adds the id to the get device twin config params
func (*GetDeviceTwinConfigParams) WithTimeout ¶
func (o *GetDeviceTwinConfigParams) WithTimeout(timeout time.Duration) *GetDeviceTwinConfigParams
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 ¶
func (o *GetDeviceTwinConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetDeviceTwinConfigUnauthorized) Error() string
func (*GetDeviceTwinConfigUnauthorized) GetPayload ¶
func (o *GetDeviceTwinConfigUnauthorized) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinNextConfigBadRequest) Error() string
func (*GetDeviceTwinNextConfigBadRequest) GetPayload ¶
func (o *GetDeviceTwinNextConfigBadRequest) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinNextConfigByNameBadRequest) Error() string
func (*GetDeviceTwinNextConfigByNameBadRequest) GetPayload ¶
func (o *GetDeviceTwinNextConfigByNameBadRequest) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinNextConfigByNameForbidden) Error() string
func (*GetDeviceTwinNextConfigByNameForbidden) GetPayload ¶
func (o *GetDeviceTwinNextConfigByNameForbidden) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinNextConfigByNameGatewayTimeout) Error() string
func (*GetDeviceTwinNextConfigByNameGatewayTimeout) GetPayload ¶
func (o *GetDeviceTwinNextConfigByNameGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinNextConfigByNameInternalServerError) Error() string
func (*GetDeviceTwinNextConfigByNameInternalServerError) GetPayload ¶
func (o *GetDeviceTwinNextConfigByNameInternalServerError) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinNextConfigByNameNotFound) Error() string
func (*GetDeviceTwinNextConfigByNameNotFound) GetPayload ¶
func (o *GetDeviceTwinNextConfigByNameNotFound) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinNextConfigByNameOK) Error() string
func (*GetDeviceTwinNextConfigByNameOK) GetPayload ¶
func (o *GetDeviceTwinNextConfigByNameOK) GetPayload() *swagger_models.ConfigServiceResp
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 ¶
func (o *GetDeviceTwinNextConfigByNameParams) SetContext(ctx context.Context)
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 ¶
func (o *GetDeviceTwinNextConfigByNameParams) SetName(name string)
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 ¶
func (o *GetDeviceTwinNextConfigByNameParams) WithContext(ctx context.Context) *GetDeviceTwinNextConfigByNameParams
WithContext adds the context to the get device twin next config by name params
func (*GetDeviceTwinNextConfigByNameParams) WithDefaults ¶
func (o *GetDeviceTwinNextConfigByNameParams) WithDefaults() *GetDeviceTwinNextConfigByNameParams
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 ¶
func (o *GetDeviceTwinNextConfigByNameParams) WithHTTPClient(client *http.Client) *GetDeviceTwinNextConfigByNameParams
WithHTTPClient adds the HTTPClient to the get device twin next config by name params
func (*GetDeviceTwinNextConfigByNameParams) WithName ¶
func (o *GetDeviceTwinNextConfigByNameParams) WithName(name string) *GetDeviceTwinNextConfigByNameParams
WithName adds the name to the get device twin next config by name params
func (*GetDeviceTwinNextConfigByNameParams) WithTimeout ¶
func (o *GetDeviceTwinNextConfigByNameParams) WithTimeout(timeout time.Duration) *GetDeviceTwinNextConfigByNameParams
WithTimeout adds the timeout to the get device twin next config by name params
func (*GetDeviceTwinNextConfigByNameParams) WithXRequestID ¶
func (o *GetDeviceTwinNextConfigByNameParams) WithXRequestID(xRequestID *string) *GetDeviceTwinNextConfigByNameParams
WithXRequestID adds the xRequestID to the get device twin next config by name params
func (*GetDeviceTwinNextConfigByNameParams) WriteToRequest ¶
func (o *GetDeviceTwinNextConfigByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetDeviceTwinNextConfigByNameUnauthorized) Error() string
func (*GetDeviceTwinNextConfigByNameUnauthorized) GetPayload ¶
func (o *GetDeviceTwinNextConfigByNameUnauthorized) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinNextConfigForbidden) Error() string
func (*GetDeviceTwinNextConfigForbidden) GetPayload ¶
func (o *GetDeviceTwinNextConfigForbidden) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinNextConfigGatewayTimeout) Error() string
func (*GetDeviceTwinNextConfigGatewayTimeout) GetPayload ¶
func (o *GetDeviceTwinNextConfigGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinNextConfigInternalServerError) Error() string
func (*GetDeviceTwinNextConfigInternalServerError) GetPayload ¶
func (o *GetDeviceTwinNextConfigInternalServerError) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinNextConfigNotFound) Error() string
func (*GetDeviceTwinNextConfigNotFound) GetPayload ¶
func (o *GetDeviceTwinNextConfigNotFound) GetPayload() *swagger_models.ZsrvResponse
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 ¶
func (o *GetDeviceTwinNextConfigOK) GetPayload() *swagger_models.ConfigServiceResp
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 ¶
func (o *GetDeviceTwinNextConfigParams) SetID(id string)
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 ¶
func (o *GetDeviceTwinNextConfigParams) WithContext(ctx context.Context) *GetDeviceTwinNextConfigParams
WithContext adds the context to the get device twin next config params
func (*GetDeviceTwinNextConfigParams) WithDefaults ¶
func (o *GetDeviceTwinNextConfigParams) WithDefaults() *GetDeviceTwinNextConfigParams
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 ¶
func (o *GetDeviceTwinNextConfigParams) WithHTTPClient(client *http.Client) *GetDeviceTwinNextConfigParams
WithHTTPClient adds the HTTPClient to the get device twin next config params
func (*GetDeviceTwinNextConfigParams) WithID ¶
func (o *GetDeviceTwinNextConfigParams) WithID(id string) *GetDeviceTwinNextConfigParams
WithID adds the id to the get device twin next config params
func (*GetDeviceTwinNextConfigParams) WithTimeout ¶
func (o *GetDeviceTwinNextConfigParams) WithTimeout(timeout time.Duration) *GetDeviceTwinNextConfigParams
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 ¶
func (o *GetDeviceTwinNextConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetDeviceTwinNextConfigUnauthorized) Error() string
func (*GetDeviceTwinNextConfigUnauthorized) GetPayload ¶
func (o *GetDeviceTwinNextConfigUnauthorized) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinOfflineConfigByNameBadRequest) Error() string
func (*GetDeviceTwinOfflineConfigByNameBadRequest) GetPayload ¶
func (o *GetDeviceTwinOfflineConfigByNameBadRequest) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinOfflineConfigByNameForbidden) Error() string
func (*GetDeviceTwinOfflineConfigByNameForbidden) GetPayload ¶
func (o *GetDeviceTwinOfflineConfigByNameForbidden) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinOfflineConfigByNameGatewayTimeout) Error() string
func (*GetDeviceTwinOfflineConfigByNameGatewayTimeout) GetPayload ¶
func (o *GetDeviceTwinOfflineConfigByNameGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinOfflineConfigByNameInternalServerError) Error() string
func (*GetDeviceTwinOfflineConfigByNameInternalServerError) GetPayload ¶
func (o *GetDeviceTwinOfflineConfigByNameInternalServerError) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinOfflineConfigByNameNotFound) Error() string
func (*GetDeviceTwinOfflineConfigByNameNotFound) GetPayload ¶
func (o *GetDeviceTwinOfflineConfigByNameNotFound) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinOfflineConfigByNameOK) Error() string
func (*GetDeviceTwinOfflineConfigByNameOK) GetPayload ¶
func (o *GetDeviceTwinOfflineConfigByNameOK) GetPayload() *swagger_models.ConfigServiceResp
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 ¶
func (o *GetDeviceTwinOfflineConfigByNameParams) SetContext(ctx context.Context)
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 ¶
func (o *GetDeviceTwinOfflineConfigByNameParams) SetName(name string)
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 ¶
func (o *GetDeviceTwinOfflineConfigByNameParams) WithContext(ctx context.Context) *GetDeviceTwinOfflineConfigByNameParams
WithContext adds the context to the get device twin offline config by name params
func (*GetDeviceTwinOfflineConfigByNameParams) WithDefaults ¶
func (o *GetDeviceTwinOfflineConfigByNameParams) WithDefaults() *GetDeviceTwinOfflineConfigByNameParams
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 ¶
func (o *GetDeviceTwinOfflineConfigByNameParams) WithHTTPClient(client *http.Client) *GetDeviceTwinOfflineConfigByNameParams
WithHTTPClient adds the HTTPClient to the get device twin offline config by name params
func (*GetDeviceTwinOfflineConfigByNameParams) WithName ¶
func (o *GetDeviceTwinOfflineConfigByNameParams) WithName(name string) *GetDeviceTwinOfflineConfigByNameParams
WithName adds the name to the get device twin offline config by name params
func (*GetDeviceTwinOfflineConfigByNameParams) WithTimeout ¶
func (o *GetDeviceTwinOfflineConfigByNameParams) WithTimeout(timeout time.Duration) *GetDeviceTwinOfflineConfigByNameParams
WithTimeout adds the timeout to the get device twin offline config by name params
func (*GetDeviceTwinOfflineConfigByNameParams) WithXRequestID ¶
func (o *GetDeviceTwinOfflineConfigByNameParams) WithXRequestID(xRequestID *string) *GetDeviceTwinOfflineConfigByNameParams
WithXRequestID adds the xRequestID to the get device twin offline config by name params
func (*GetDeviceTwinOfflineConfigByNameParams) WriteToRequest ¶
func (o *GetDeviceTwinOfflineConfigByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetDeviceTwinOfflineConfigByNameUnauthorized) Error() string
func (*GetDeviceTwinOfflineConfigByNameUnauthorized) GetPayload ¶
func (o *GetDeviceTwinOfflineConfigByNameUnauthorized) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinOfflineNextConfigBadRequest) Error() string
func (*GetDeviceTwinOfflineNextConfigBadRequest) GetPayload ¶
func (o *GetDeviceTwinOfflineNextConfigBadRequest) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinOfflineNextConfigForbidden) Error() string
func (*GetDeviceTwinOfflineNextConfigForbidden) GetPayload ¶
func (o *GetDeviceTwinOfflineNextConfigForbidden) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinOfflineNextConfigGatewayTimeout) Error() string
func (*GetDeviceTwinOfflineNextConfigGatewayTimeout) GetPayload ¶
func (o *GetDeviceTwinOfflineNextConfigGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinOfflineNextConfigInternalServerError) Error() string
func (*GetDeviceTwinOfflineNextConfigInternalServerError) GetPayload ¶
func (o *GetDeviceTwinOfflineNextConfigInternalServerError) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinOfflineNextConfigNotFound) Error() string
func (*GetDeviceTwinOfflineNextConfigNotFound) GetPayload ¶
func (o *GetDeviceTwinOfflineNextConfigNotFound) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetDeviceTwinOfflineNextConfigOK) Error() string
func (*GetDeviceTwinOfflineNextConfigOK) GetPayload ¶
func (o *GetDeviceTwinOfflineNextConfigOK) GetPayload() *swagger_models.ConfigServiceResp
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 ¶
func (o *GetDeviceTwinOfflineNextConfigParams) SetContext(ctx context.Context)
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 ¶
func (o *GetDeviceTwinOfflineNextConfigParams) SetID(id string)
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 ¶
func (o *GetDeviceTwinOfflineNextConfigParams) WithContext(ctx context.Context) *GetDeviceTwinOfflineNextConfigParams
WithContext adds the context to the get device twin offline next config params
func (*GetDeviceTwinOfflineNextConfigParams) WithDefaults ¶
func (o *GetDeviceTwinOfflineNextConfigParams) WithDefaults() *GetDeviceTwinOfflineNextConfigParams
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 ¶
func (o *GetDeviceTwinOfflineNextConfigParams) WithHTTPClient(client *http.Client) *GetDeviceTwinOfflineNextConfigParams
WithHTTPClient adds the HTTPClient to the get device twin offline next config params
func (*GetDeviceTwinOfflineNextConfigParams) WithID ¶
func (o *GetDeviceTwinOfflineNextConfigParams) WithID(id string) *GetDeviceTwinOfflineNextConfigParams
WithID adds the id to the get device twin offline next config params
func (*GetDeviceTwinOfflineNextConfigParams) WithTimeout ¶
func (o *GetDeviceTwinOfflineNextConfigParams) WithTimeout(timeout time.Duration) *GetDeviceTwinOfflineNextConfigParams
WithTimeout adds the timeout to the get device twin offline next config params
func (*GetDeviceTwinOfflineNextConfigParams) WithXRequestID ¶
func (o *GetDeviceTwinOfflineNextConfigParams) WithXRequestID(xRequestID *string) *GetDeviceTwinOfflineNextConfigParams
WithXRequestID adds the xRequestID to the get device twin offline next config params
func (*GetDeviceTwinOfflineNextConfigParams) WriteToRequest ¶
func (o *GetDeviceTwinOfflineNextConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetDeviceTwinOfflineNextConfigUnauthorized) Error() string
func (*GetDeviceTwinOfflineNextConfigUnauthorized) GetPayload ¶
func (o *GetDeviceTwinOfflineNextConfigUnauthorized) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetEventsTimelineBadRequest) Error() string
func (*GetEventsTimelineBadRequest) GetPayload ¶
func (o *GetEventsTimelineBadRequest) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetEventsTimelineForbidden) Error() string
func (*GetEventsTimelineForbidden) GetPayload ¶
func (o *GetEventsTimelineForbidden) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetEventsTimelineGatewayTimeout) Error() string
func (*GetEventsTimelineGatewayTimeout) GetPayload ¶
func (o *GetEventsTimelineGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetEventsTimelineInternalServerError) Error() string
func (*GetEventsTimelineInternalServerError) GetPayload ¶
func (o *GetEventsTimelineInternalServerError) GetPayload() *swagger_models.ZsrvResponse
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 ¶
func (o *GetEventsTimelineOK) GetPayload() *swagger_models.EventQueryResponse
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 ¶
func (o *GetEventsTimelineParams) WithContext(ctx context.Context) *GetEventsTimelineParams
WithContext adds the context to the get events timeline params
func (*GetEventsTimelineParams) WithDefaults ¶
func (o *GetEventsTimelineParams) WithDefaults() *GetEventsTimelineParams
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 ¶
func (o *GetEventsTimelineParams) WithObjid(objid *string) *GetEventsTimelineParams
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 ¶
func (o *GetEventsTimelineParams) WithTimeout(timeout time.Duration) *GetEventsTimelineParams
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 ¶
func (o *GetEventsTimelineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetEventsTimelineUnauthorized) Error() string
func (*GetEventsTimelineUnauthorized) GetPayload ¶
func (o *GetEventsTimelineUnauthorized) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetResourceMetricsTimeline2BadRequest) Error() string
func (*GetResourceMetricsTimeline2BadRequest) GetPayload ¶
func (o *GetResourceMetricsTimeline2BadRequest) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetResourceMetricsTimeline2Forbidden) Error() string
func (*GetResourceMetricsTimeline2Forbidden) GetPayload ¶
func (o *GetResourceMetricsTimeline2Forbidden) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetResourceMetricsTimeline2GatewayTimeout) Error() string
func (*GetResourceMetricsTimeline2GatewayTimeout) GetPayload ¶
func (o *GetResourceMetricsTimeline2GatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetResourceMetricsTimeline2InternalServerError) Error() string
func (*GetResourceMetricsTimeline2InternalServerError) GetPayload ¶
func (o *GetResourceMetricsTimeline2InternalServerError) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetResourceMetricsTimeline2OK) Error() string
func (*GetResourceMetricsTimeline2OK) GetPayload ¶
func (o *GetResourceMetricsTimeline2OK) GetPayload() *swagger_models.MetricQueryResponse
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 ¶
func (o *GetResourceMetricsTimeline2Params) SetContext(ctx context.Context)
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 ¶
func (o *GetResourceMetricsTimeline2Params) WithContext(ctx context.Context) *GetResourceMetricsTimeline2Params
WithContext adds the context to the get resource metrics timeline2 params
func (*GetResourceMetricsTimeline2Params) WithDefaults ¶
func (o *GetResourceMetricsTimeline2Params) WithDefaults() *GetResourceMetricsTimeline2Params
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 ¶
func (o *GetResourceMetricsTimeline2Params) WithEndTime(endTime *strfmt.DateTime) *GetResourceMetricsTimeline2Params
WithEndTime adds the endTime to the get resource metrics timeline2 params
func (*GetResourceMetricsTimeline2Params) WithEnterpriseID ¶
func (o *GetResourceMetricsTimeline2Params) WithEnterpriseID(enterpriseID *string) *GetResourceMetricsTimeline2Params
WithEnterpriseID adds the enterpriseID to the get resource metrics timeline2 params
func (*GetResourceMetricsTimeline2Params) WithHTTPClient ¶
func (o *GetResourceMetricsTimeline2Params) WithHTTPClient(client *http.Client) *GetResourceMetricsTimeline2Params
WithHTTPClient adds the HTTPClient to the get resource metrics timeline2 params
func (*GetResourceMetricsTimeline2Params) WithInterval ¶
func (o *GetResourceMetricsTimeline2Params) WithInterval(interval *strfmt.DateTime) *GetResourceMetricsTimeline2Params
WithInterval adds the interval to the get resource metrics timeline2 params
func (*GetResourceMetricsTimeline2Params) WithMType ¶
func (o *GetResourceMetricsTimeline2Params) WithMType(mType string) *GetResourceMetricsTimeline2Params
WithMType adds the mType to the get resource metrics timeline2 params
func (*GetResourceMetricsTimeline2Params) WithObjid ¶
func (o *GetResourceMetricsTimeline2Params) WithObjid(objid *string) *GetResourceMetricsTimeline2Params
WithObjid adds the objid to the get resource metrics timeline2 params
func (*GetResourceMetricsTimeline2Params) WithObjname ¶
func (o *GetResourceMetricsTimeline2Params) WithObjname(objname *string) *GetResourceMetricsTimeline2Params
WithObjname adds the objname to the get resource metrics timeline2 params
func (*GetResourceMetricsTimeline2Params) WithObjtype ¶
func (o *GetResourceMetricsTimeline2Params) WithObjtype(objtype *string) *GetResourceMetricsTimeline2Params
WithObjtype adds the objtype to the get resource metrics timeline2 params
func (*GetResourceMetricsTimeline2Params) WithStartTime ¶
func (o *GetResourceMetricsTimeline2Params) WithStartTime(startTime *strfmt.DateTime) *GetResourceMetricsTimeline2Params
WithStartTime adds the startTime to the get resource metrics timeline2 params
func (*GetResourceMetricsTimeline2Params) WithTimeout ¶
func (o *GetResourceMetricsTimeline2Params) WithTimeout(timeout time.Duration) *GetResourceMetricsTimeline2Params
WithTimeout adds the timeout to the get resource metrics timeline2 params
func (*GetResourceMetricsTimeline2Params) WithXRequestID ¶
func (o *GetResourceMetricsTimeline2Params) WithXRequestID(xRequestID *string) *GetResourceMetricsTimeline2Params
WithXRequestID adds the xRequestID to the get resource metrics timeline2 params
func (*GetResourceMetricsTimeline2Params) WriteToRequest ¶
func (o *GetResourceMetricsTimeline2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetResourceMetricsTimeline2Unauthorized) Error() string
func (*GetResourceMetricsTimeline2Unauthorized) GetPayload ¶
func (o *GetResourceMetricsTimeline2Unauthorized) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetResourceMetricsTimelineBadRequest) Error() string
func (*GetResourceMetricsTimelineBadRequest) GetPayload ¶
func (o *GetResourceMetricsTimelineBadRequest) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetResourceMetricsTimelineForbidden) Error() string
func (*GetResourceMetricsTimelineForbidden) GetPayload ¶
func (o *GetResourceMetricsTimelineForbidden) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetResourceMetricsTimelineGatewayTimeout) Error() string
func (*GetResourceMetricsTimelineGatewayTimeout) GetPayload ¶
func (o *GetResourceMetricsTimelineGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetResourceMetricsTimelineInternalServerError) Error() string
func (*GetResourceMetricsTimelineInternalServerError) GetPayload ¶
func (o *GetResourceMetricsTimelineInternalServerError) GetPayload() *swagger_models.ZsrvResponse
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 (o *GetResourceMetricsTimelineOK) Error() string
func (*GetResourceMetricsTimelineOK) GetPayload ¶
func (o *GetResourceMetricsTimelineOK) GetPayload() *swagger_models.MetricQueryResponse
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 ¶
func (o *GetResourceMetricsTimelineParams) SetContext(ctx context.Context)
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 ¶
func (o *GetResourceMetricsTimelineParams) WithContext(ctx context.Context) *GetResourceMetricsTimelineParams
WithContext adds the context to the get resource metrics timeline params
func (*GetResourceMetricsTimelineParams) WithDefaults ¶
func (o *GetResourceMetricsTimelineParams) WithDefaults() *GetResourceMetricsTimelineParams
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 ¶
func (o *GetResourceMetricsTimelineParams) WithEndTime(endTime *strfmt.DateTime) *GetResourceMetricsTimelineParams
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 ¶
func (o *GetResourceMetricsTimelineParams) WithHTTPClient(client *http.Client) *GetResourceMetricsTimelineParams
WithHTTPClient adds the HTTPClient to the get resource metrics timeline params
func (*GetResourceMetricsTimelineParams) WithInterval ¶
func (o *GetResourceMetricsTimelineParams) WithInterval(interval *strfmt.DateTime) *GetResourceMetricsTimelineParams
WithInterval adds the interval to the get resource metrics timeline params
func (*GetResourceMetricsTimelineParams) WithMType ¶
func (o *GetResourceMetricsTimelineParams) WithMType(mType string) *GetResourceMetricsTimelineParams
WithMType adds the mType to the get resource metrics timeline params
func (*GetResourceMetricsTimelineParams) WithObjid ¶
func (o *GetResourceMetricsTimelineParams) WithObjid(objid *string) *GetResourceMetricsTimelineParams
WithObjid adds the objid to the get resource metrics timeline params
func (*GetResourceMetricsTimelineParams) WithObjname ¶
func (o *GetResourceMetricsTimelineParams) WithObjname(objname *string) *GetResourceMetricsTimelineParams
WithObjname adds the objname to the get resource metrics timeline params
func (*GetResourceMetricsTimelineParams) WithObjtype ¶
func (o *GetResourceMetricsTimelineParams) WithObjtype(objtype *string) *GetResourceMetricsTimelineParams
WithObjtype adds the objtype to the get resource metrics timeline params
func (*GetResourceMetricsTimelineParams) WithStartTime ¶
func (o *GetResourceMetricsTimelineParams) WithStartTime(startTime *strfmt.DateTime) *GetResourceMetricsTimelineParams
WithStartTime adds the startTime to the get resource metrics timeline params
func (*GetResourceMetricsTimelineParams) WithTimeout ¶
func (o *GetResourceMetricsTimelineParams) WithTimeout(timeout time.Duration) *GetResourceMetricsTimelineParams
WithTimeout adds the timeout to the get resource metrics timeline params
func (*GetResourceMetricsTimelineParams) WithXRequestID ¶
func (o *GetResourceMetricsTimelineParams) WithXRequestID(xRequestID *string) *GetResourceMetricsTimelineParams
WithXRequestID adds the xRequestID to the get resource metrics timeline params
func (*GetResourceMetricsTimelineParams) WriteToRequest ¶
func (o *GetResourceMetricsTimelineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetResourceMetricsTimelineUnauthorized) Error() string
func (*GetResourceMetricsTimelineUnauthorized) GetPayload ¶
func (o *GetResourceMetricsTimelineUnauthorized) GetPayload() *swagger_models.ZsrvResponse
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 (o *RegenDeviceConfigBadRequest) Error() string
func (*RegenDeviceConfigBadRequest) GetPayload ¶
func (o *RegenDeviceConfigBadRequest) GetPayload() *swagger_models.ZsrvResponse
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 (o *RegenDeviceConfigForbidden) Error() string
func (*RegenDeviceConfigForbidden) GetPayload ¶
func (o *RegenDeviceConfigForbidden) GetPayload() *swagger_models.ZsrvResponse
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 (o *RegenDeviceConfigGatewayTimeout) Error() string
func (*RegenDeviceConfigGatewayTimeout) GetPayload ¶
func (o *RegenDeviceConfigGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
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 (o *RegenDeviceConfigInternalServerError) Error() string
func (*RegenDeviceConfigInternalServerError) GetPayload ¶
func (o *RegenDeviceConfigInternalServerError) GetPayload() *swagger_models.ZsrvResponse
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 ¶
func (o *RegenDeviceConfigNotFound) GetPayload() *swagger_models.ZsrvResponse
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 ¶
func (o *RegenDeviceConfigOK) GetPayload() *swagger_models.ZsrvResponse
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 ¶
func (o *RegenDeviceConfigParams) WithContext(ctx context.Context) *RegenDeviceConfigParams
WithContext adds the context to the regen device config params
func (*RegenDeviceConfigParams) WithDefaults ¶
func (o *RegenDeviceConfigParams) WithDefaults() *RegenDeviceConfigParams
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 ¶
func (o *RegenDeviceConfigParams) WithID(id string) *RegenDeviceConfigParams
WithID adds the id to the regen device config params
func (*RegenDeviceConfigParams) WithTimeout ¶
func (o *RegenDeviceConfigParams) WithTimeout(timeout time.Duration) *RegenDeviceConfigParams
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 ¶
func (o *RegenDeviceConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *RegenDeviceConfigUnauthorized) Error() string
func (*RegenDeviceConfigUnauthorized) GetPayload ¶
func (o *RegenDeviceConfigUnauthorized) GetPayload() *swagger_models.ZsrvResponse
Source Files
¶
- edge_diagnostics_client.go
- get_device_twin_config_by_name_parameters.go
- get_device_twin_config_by_name_responses.go
- get_device_twin_config_parameters.go
- get_device_twin_config_responses.go
- get_device_twin_next_config_by_name_parameters.go
- get_device_twin_next_config_by_name_responses.go
- get_device_twin_next_config_parameters.go
- get_device_twin_next_config_responses.go
- get_device_twin_offline_config_by_name_parameters.go
- get_device_twin_offline_config_by_name_responses.go
- get_device_twin_offline_next_config_parameters.go
- get_device_twin_offline_next_config_responses.go
- get_events_timeline_parameters.go
- get_events_timeline_responses.go
- get_resource_metrics_timeline2_parameters.go
- get_resource_metrics_timeline2_responses.go
- get_resource_metrics_timeline_parameters.go
- get_resource_metrics_timeline_responses.go
- regen_device_config_parameters.go
- regen_device_config_responses.go