Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateHardwareBrand(params *CreateHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateHardwareBrandOK, error)
- func (a *Client) CreateHardwareModel(params *CreateHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateHardwareModelOK, error)
- func (a *Client) DeleteHardwareBrand(params *DeleteHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteHardwareBrandOK, error)
- func (a *Client) DeleteHardwareModel(params *DeleteHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteHardwareModelOK, error)
- func (a *Client) GetDeviceTags(params *GetDeviceTagsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDeviceTagsOK, error)
- func (a *Client) GetGlobalHardwareBrand(params *GetGlobalHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGlobalHardwareBrandOK, error)
- func (a *Client) GetGlobalHardwareBrandByName(params *GetGlobalHardwareBrandByNameParams, ...) (*GetGlobalHardwareBrandByNameOK, error)
- func (a *Client) GetGlobalHardwareModel(params *GetGlobalHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGlobalHardwareModelOK, error)
- func (a *Client) GetGlobalHardwareModelByName(params *GetGlobalHardwareModelByNameParams, ...) (*GetGlobalHardwareModelByNameOK, error)
- func (a *Client) GetHardwareBrand(params *GetHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHardwareBrandOK, error)
- func (a *Client) GetHardwareBrandByName(params *GetHardwareBrandByNameParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHardwareBrandByNameOK, error)
- func (a *Client) GetHardwareModel(params *GetHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHardwareModelOK, error)
- func (a *Client) GetHardwareModelByName(params *GetHardwareModelByNameParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHardwareModelByNameOK, error)
- func (a *Client) QueryGlobalHardwareBrands(params *QueryGlobalHardwareBrandsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryGlobalHardwareBrandsOK, error)
- func (a *Client) QueryGlobalHardwareModels(params *QueryGlobalHardwareModelsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryGlobalHardwareModelsOK, error)
- func (a *Client) QueryHardwareBrands(params *QueryHardwareBrandsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryHardwareBrandsOK, error)
- func (a *Client) QueryHardwareModels(params *QueryHardwareModelsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryHardwareModelsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateHardwareBrand(params *UpdateHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateHardwareBrandOK, error)
- func (a *Client) UpdateHardwareModel(params *UpdateHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateHardwareModelOK, error)
- type ClientOption
- type ClientService
- type CreateHardwareBrandBadRequest
- type CreateHardwareBrandConflict
- type CreateHardwareBrandForbidden
- type CreateHardwareBrandGatewayTimeout
- type CreateHardwareBrandInternalServerError
- type CreateHardwareBrandOK
- type CreateHardwareBrandParams
- func NewCreateHardwareBrandParams() *CreateHardwareBrandParams
- func NewCreateHardwareBrandParamsWithContext(ctx context.Context) *CreateHardwareBrandParams
- func NewCreateHardwareBrandParamsWithHTTPClient(client *http.Client) *CreateHardwareBrandParams
- func NewCreateHardwareBrandParamsWithTimeout(timeout time.Duration) *CreateHardwareBrandParams
- func (o *CreateHardwareBrandParams) SetBody(body *swagger_models.SysBrand)
- func (o *CreateHardwareBrandParams) SetContext(ctx context.Context)
- func (o *CreateHardwareBrandParams) SetDefaults()
- func (o *CreateHardwareBrandParams) SetHTTPClient(client *http.Client)
- func (o *CreateHardwareBrandParams) SetTimeout(timeout time.Duration)
- func (o *CreateHardwareBrandParams) SetXRequestID(xRequestID *string)
- func (o *CreateHardwareBrandParams) WithBody(body *swagger_models.SysBrand) *CreateHardwareBrandParams
- func (o *CreateHardwareBrandParams) WithContext(ctx context.Context) *CreateHardwareBrandParams
- func (o *CreateHardwareBrandParams) WithDefaults() *CreateHardwareBrandParams
- func (o *CreateHardwareBrandParams) WithHTTPClient(client *http.Client) *CreateHardwareBrandParams
- func (o *CreateHardwareBrandParams) WithTimeout(timeout time.Duration) *CreateHardwareBrandParams
- func (o *CreateHardwareBrandParams) WithXRequestID(xRequestID *string) *CreateHardwareBrandParams
- func (o *CreateHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateHardwareBrandReader
- type CreateHardwareBrandUnauthorized
- type CreateHardwareModelBadRequest
- type CreateHardwareModelConflict
- type CreateHardwareModelForbidden
- type CreateHardwareModelGatewayTimeout
- type CreateHardwareModelInternalServerError
- type CreateHardwareModelOK
- type CreateHardwareModelParams
- func NewCreateHardwareModelParams() *CreateHardwareModelParams
- func NewCreateHardwareModelParamsWithContext(ctx context.Context) *CreateHardwareModelParams
- func NewCreateHardwareModelParamsWithHTTPClient(client *http.Client) *CreateHardwareModelParams
- func NewCreateHardwareModelParamsWithTimeout(timeout time.Duration) *CreateHardwareModelParams
- func (o *CreateHardwareModelParams) SetBody(body *swagger_models.SysModel)
- func (o *CreateHardwareModelParams) SetContext(ctx context.Context)
- func (o *CreateHardwareModelParams) SetDefaults()
- func (o *CreateHardwareModelParams) SetHTTPClient(client *http.Client)
- func (o *CreateHardwareModelParams) SetTimeout(timeout time.Duration)
- func (o *CreateHardwareModelParams) SetXRequestID(xRequestID *string)
- func (o *CreateHardwareModelParams) WithBody(body *swagger_models.SysModel) *CreateHardwareModelParams
- func (o *CreateHardwareModelParams) WithContext(ctx context.Context) *CreateHardwareModelParams
- func (o *CreateHardwareModelParams) WithDefaults() *CreateHardwareModelParams
- func (o *CreateHardwareModelParams) WithHTTPClient(client *http.Client) *CreateHardwareModelParams
- func (o *CreateHardwareModelParams) WithTimeout(timeout time.Duration) *CreateHardwareModelParams
- func (o *CreateHardwareModelParams) WithXRequestID(xRequestID *string) *CreateHardwareModelParams
- func (o *CreateHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateHardwareModelReader
- type CreateHardwareModelUnauthorized
- type DeleteHardwareBrandForbidden
- type DeleteHardwareBrandGatewayTimeout
- type DeleteHardwareBrandInternalServerError
- type DeleteHardwareBrandNotFound
- type DeleteHardwareBrandOK
- type DeleteHardwareBrandParams
- func NewDeleteHardwareBrandParams() *DeleteHardwareBrandParams
- func NewDeleteHardwareBrandParamsWithContext(ctx context.Context) *DeleteHardwareBrandParams
- func NewDeleteHardwareBrandParamsWithHTTPClient(client *http.Client) *DeleteHardwareBrandParams
- func NewDeleteHardwareBrandParamsWithTimeout(timeout time.Duration) *DeleteHardwareBrandParams
- func (o *DeleteHardwareBrandParams) SetContext(ctx context.Context)
- func (o *DeleteHardwareBrandParams) SetDefaults()
- func (o *DeleteHardwareBrandParams) SetEnterpriseID(enterpriseID *string)
- func (o *DeleteHardwareBrandParams) SetHTTPClient(client *http.Client)
- func (o *DeleteHardwareBrandParams) SetID(id string)
- func (o *DeleteHardwareBrandParams) SetTimeout(timeout time.Duration)
- func (o *DeleteHardwareBrandParams) SetXRequestID(xRequestID *string)
- func (o *DeleteHardwareBrandParams) WithContext(ctx context.Context) *DeleteHardwareBrandParams
- func (o *DeleteHardwareBrandParams) WithDefaults() *DeleteHardwareBrandParams
- func (o *DeleteHardwareBrandParams) WithEnterpriseID(enterpriseID *string) *DeleteHardwareBrandParams
- func (o *DeleteHardwareBrandParams) WithHTTPClient(client *http.Client) *DeleteHardwareBrandParams
- func (o *DeleteHardwareBrandParams) WithID(id string) *DeleteHardwareBrandParams
- func (o *DeleteHardwareBrandParams) WithTimeout(timeout time.Duration) *DeleteHardwareBrandParams
- func (o *DeleteHardwareBrandParams) WithXRequestID(xRequestID *string) *DeleteHardwareBrandParams
- func (o *DeleteHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteHardwareBrandReader
- type DeleteHardwareBrandUnauthorized
- type DeleteHardwareModelForbidden
- type DeleteHardwareModelGatewayTimeout
- type DeleteHardwareModelInternalServerError
- type DeleteHardwareModelNotFound
- type DeleteHardwareModelOK
- type DeleteHardwareModelParams
- func NewDeleteHardwareModelParams() *DeleteHardwareModelParams
- func NewDeleteHardwareModelParamsWithContext(ctx context.Context) *DeleteHardwareModelParams
- func NewDeleteHardwareModelParamsWithHTTPClient(client *http.Client) *DeleteHardwareModelParams
- func NewDeleteHardwareModelParamsWithTimeout(timeout time.Duration) *DeleteHardwareModelParams
- func (o *DeleteHardwareModelParams) SetContext(ctx context.Context)
- func (o *DeleteHardwareModelParams) SetDefaults()
- func (o *DeleteHardwareModelParams) SetHTTPClient(client *http.Client)
- func (o *DeleteHardwareModelParams) SetID(id string)
- func (o *DeleteHardwareModelParams) SetTimeout(timeout time.Duration)
- func (o *DeleteHardwareModelParams) SetXRequestID(xRequestID *string)
- func (o *DeleteHardwareModelParams) WithContext(ctx context.Context) *DeleteHardwareModelParams
- func (o *DeleteHardwareModelParams) WithDefaults() *DeleteHardwareModelParams
- func (o *DeleteHardwareModelParams) WithHTTPClient(client *http.Client) *DeleteHardwareModelParams
- func (o *DeleteHardwareModelParams) WithID(id string) *DeleteHardwareModelParams
- func (o *DeleteHardwareModelParams) WithTimeout(timeout time.Duration) *DeleteHardwareModelParams
- func (o *DeleteHardwareModelParams) WithXRequestID(xRequestID *string) *DeleteHardwareModelParams
- func (o *DeleteHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteHardwareModelReader
- type DeleteHardwareModelUnauthorized
- type GetDeviceTagsBadRequest
- type GetDeviceTagsForbidden
- type GetDeviceTagsGatewayTimeout
- type GetDeviceTagsInternalServerError
- type GetDeviceTagsOK
- type GetDeviceTagsParams
- func (o *GetDeviceTagsParams) SetContext(ctx context.Context)
- func (o *GetDeviceTagsParams) SetDefaults()
- func (o *GetDeviceTagsParams) SetFilterObjID(filterObjID *string)
- func (o *GetDeviceTagsParams) SetFilterObjName(filterObjName *string)
- func (o *GetDeviceTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceTagsParams) SetNextOrderBy(nextOrderBy *string)
- func (o *GetDeviceTagsParams) SetNextPageNum(nextPageNum *int64)
- func (o *GetDeviceTagsParams) SetNextPageSize(nextPageSize *int64)
- func (o *GetDeviceTagsParams) SetNextPageToken(nextPageToken *string)
- func (o *GetDeviceTagsParams) SetNextTotalPages(nextTotalPages *int64)
- func (o *GetDeviceTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceTagsParams) SetXRequestID(xRequestID *string)
- func (o *GetDeviceTagsParams) WithContext(ctx context.Context) *GetDeviceTagsParams
- func (o *GetDeviceTagsParams) WithDefaults() *GetDeviceTagsParams
- func (o *GetDeviceTagsParams) WithFilterObjID(filterObjID *string) *GetDeviceTagsParams
- func (o *GetDeviceTagsParams) WithFilterObjName(filterObjName *string) *GetDeviceTagsParams
- func (o *GetDeviceTagsParams) WithHTTPClient(client *http.Client) *GetDeviceTagsParams
- func (o *GetDeviceTagsParams) WithNextOrderBy(nextOrderBy *string) *GetDeviceTagsParams
- func (o *GetDeviceTagsParams) WithNextPageNum(nextPageNum *int64) *GetDeviceTagsParams
- func (o *GetDeviceTagsParams) WithNextPageSize(nextPageSize *int64) *GetDeviceTagsParams
- func (o *GetDeviceTagsParams) WithNextPageToken(nextPageToken *string) *GetDeviceTagsParams
- func (o *GetDeviceTagsParams) WithNextTotalPages(nextTotalPages *int64) *GetDeviceTagsParams
- func (o *GetDeviceTagsParams) WithTimeout(timeout time.Duration) *GetDeviceTagsParams
- func (o *GetDeviceTagsParams) WithXRequestID(xRequestID *string) *GetDeviceTagsParams
- func (o *GetDeviceTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceTagsReader
- type GetDeviceTagsUnauthorized
- type GetGlobalHardwareBrandByNameForbidden
- type GetGlobalHardwareBrandByNameGatewayTimeout
- type GetGlobalHardwareBrandByNameInternalServerError
- type GetGlobalHardwareBrandByNameNotFound
- type GetGlobalHardwareBrandByNameOK
- type GetGlobalHardwareBrandByNameParams
- func NewGetGlobalHardwareBrandByNameParams() *GetGlobalHardwareBrandByNameParams
- func NewGetGlobalHardwareBrandByNameParamsWithContext(ctx context.Context) *GetGlobalHardwareBrandByNameParams
- func NewGetGlobalHardwareBrandByNameParamsWithHTTPClient(client *http.Client) *GetGlobalHardwareBrandByNameParams
- func NewGetGlobalHardwareBrandByNameParamsWithTimeout(timeout time.Duration) *GetGlobalHardwareBrandByNameParams
- func (o *GetGlobalHardwareBrandByNameParams) SetContext(ctx context.Context)
- func (o *GetGlobalHardwareBrandByNameParams) SetDefaults()
- func (o *GetGlobalHardwareBrandByNameParams) SetEnterpriseID(enterpriseID *string)
- func (o *GetGlobalHardwareBrandByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetGlobalHardwareBrandByNameParams) SetName(name string)
- func (o *GetGlobalHardwareBrandByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetGlobalHardwareBrandByNameParams) SetXRequestID(xRequestID *string)
- func (o *GetGlobalHardwareBrandByNameParams) WithContext(ctx context.Context) *GetGlobalHardwareBrandByNameParams
- func (o *GetGlobalHardwareBrandByNameParams) WithDefaults() *GetGlobalHardwareBrandByNameParams
- func (o *GetGlobalHardwareBrandByNameParams) WithEnterpriseID(enterpriseID *string) *GetGlobalHardwareBrandByNameParams
- func (o *GetGlobalHardwareBrandByNameParams) WithHTTPClient(client *http.Client) *GetGlobalHardwareBrandByNameParams
- func (o *GetGlobalHardwareBrandByNameParams) WithName(name string) *GetGlobalHardwareBrandByNameParams
- func (o *GetGlobalHardwareBrandByNameParams) WithTimeout(timeout time.Duration) *GetGlobalHardwareBrandByNameParams
- func (o *GetGlobalHardwareBrandByNameParams) WithXRequestID(xRequestID *string) *GetGlobalHardwareBrandByNameParams
- func (o *GetGlobalHardwareBrandByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGlobalHardwareBrandByNameReader
- type GetGlobalHardwareBrandByNameUnauthorized
- type GetGlobalHardwareBrandForbidden
- type GetGlobalHardwareBrandGatewayTimeout
- type GetGlobalHardwareBrandInternalServerError
- type GetGlobalHardwareBrandNotFound
- type GetGlobalHardwareBrandOK
- type GetGlobalHardwareBrandParams
- func NewGetGlobalHardwareBrandParams() *GetGlobalHardwareBrandParams
- func NewGetGlobalHardwareBrandParamsWithContext(ctx context.Context) *GetGlobalHardwareBrandParams
- func NewGetGlobalHardwareBrandParamsWithHTTPClient(client *http.Client) *GetGlobalHardwareBrandParams
- func NewGetGlobalHardwareBrandParamsWithTimeout(timeout time.Duration) *GetGlobalHardwareBrandParams
- func (o *GetGlobalHardwareBrandParams) SetContext(ctx context.Context)
- func (o *GetGlobalHardwareBrandParams) SetDefaults()
- func (o *GetGlobalHardwareBrandParams) SetEnterpriseID(enterpriseID *string)
- func (o *GetGlobalHardwareBrandParams) SetHTTPClient(client *http.Client)
- func (o *GetGlobalHardwareBrandParams) SetID(id string)
- func (o *GetGlobalHardwareBrandParams) SetTimeout(timeout time.Duration)
- func (o *GetGlobalHardwareBrandParams) SetXRequestID(xRequestID *string)
- func (o *GetGlobalHardwareBrandParams) WithContext(ctx context.Context) *GetGlobalHardwareBrandParams
- func (o *GetGlobalHardwareBrandParams) WithDefaults() *GetGlobalHardwareBrandParams
- func (o *GetGlobalHardwareBrandParams) WithEnterpriseID(enterpriseID *string) *GetGlobalHardwareBrandParams
- func (o *GetGlobalHardwareBrandParams) WithHTTPClient(client *http.Client) *GetGlobalHardwareBrandParams
- func (o *GetGlobalHardwareBrandParams) WithID(id string) *GetGlobalHardwareBrandParams
- func (o *GetGlobalHardwareBrandParams) WithTimeout(timeout time.Duration) *GetGlobalHardwareBrandParams
- func (o *GetGlobalHardwareBrandParams) WithXRequestID(xRequestID *string) *GetGlobalHardwareBrandParams
- func (o *GetGlobalHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGlobalHardwareBrandReader
- type GetGlobalHardwareBrandUnauthorized
- type GetGlobalHardwareModelByNameForbidden
- type GetGlobalHardwareModelByNameGatewayTimeout
- type GetGlobalHardwareModelByNameInternalServerError
- type GetGlobalHardwareModelByNameNotFound
- type GetGlobalHardwareModelByNameOK
- type GetGlobalHardwareModelByNameParams
- func NewGetGlobalHardwareModelByNameParams() *GetGlobalHardwareModelByNameParams
- func NewGetGlobalHardwareModelByNameParamsWithContext(ctx context.Context) *GetGlobalHardwareModelByNameParams
- func NewGetGlobalHardwareModelByNameParamsWithHTTPClient(client *http.Client) *GetGlobalHardwareModelByNameParams
- func NewGetGlobalHardwareModelByNameParamsWithTimeout(timeout time.Duration) *GetGlobalHardwareModelByNameParams
- func (o *GetGlobalHardwareModelByNameParams) SetContext(ctx context.Context)
- func (o *GetGlobalHardwareModelByNameParams) SetDefaults()
- func (o *GetGlobalHardwareModelByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetGlobalHardwareModelByNameParams) SetName(name string)
- func (o *GetGlobalHardwareModelByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetGlobalHardwareModelByNameParams) SetXRequestID(xRequestID *string)
- func (o *GetGlobalHardwareModelByNameParams) WithContext(ctx context.Context) *GetGlobalHardwareModelByNameParams
- func (o *GetGlobalHardwareModelByNameParams) WithDefaults() *GetGlobalHardwareModelByNameParams
- func (o *GetGlobalHardwareModelByNameParams) WithHTTPClient(client *http.Client) *GetGlobalHardwareModelByNameParams
- func (o *GetGlobalHardwareModelByNameParams) WithName(name string) *GetGlobalHardwareModelByNameParams
- func (o *GetGlobalHardwareModelByNameParams) WithTimeout(timeout time.Duration) *GetGlobalHardwareModelByNameParams
- func (o *GetGlobalHardwareModelByNameParams) WithXRequestID(xRequestID *string) *GetGlobalHardwareModelByNameParams
- func (o *GetGlobalHardwareModelByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGlobalHardwareModelByNameReader
- type GetGlobalHardwareModelByNameUnauthorized
- type GetGlobalHardwareModelForbidden
- type GetGlobalHardwareModelGatewayTimeout
- type GetGlobalHardwareModelInternalServerError
- type GetGlobalHardwareModelNotFound
- type GetGlobalHardwareModelOK
- type GetGlobalHardwareModelParams
- func NewGetGlobalHardwareModelParams() *GetGlobalHardwareModelParams
- func NewGetGlobalHardwareModelParamsWithContext(ctx context.Context) *GetGlobalHardwareModelParams
- func NewGetGlobalHardwareModelParamsWithHTTPClient(client *http.Client) *GetGlobalHardwareModelParams
- func NewGetGlobalHardwareModelParamsWithTimeout(timeout time.Duration) *GetGlobalHardwareModelParams
- func (o *GetGlobalHardwareModelParams) SetContext(ctx context.Context)
- func (o *GetGlobalHardwareModelParams) SetDefaults()
- func (o *GetGlobalHardwareModelParams) SetHTTPClient(client *http.Client)
- func (o *GetGlobalHardwareModelParams) SetID(id string)
- func (o *GetGlobalHardwareModelParams) SetTimeout(timeout time.Duration)
- func (o *GetGlobalHardwareModelParams) SetXRequestID(xRequestID *string)
- func (o *GetGlobalHardwareModelParams) WithContext(ctx context.Context) *GetGlobalHardwareModelParams
- func (o *GetGlobalHardwareModelParams) WithDefaults() *GetGlobalHardwareModelParams
- func (o *GetGlobalHardwareModelParams) WithHTTPClient(client *http.Client) *GetGlobalHardwareModelParams
- func (o *GetGlobalHardwareModelParams) WithID(id string) *GetGlobalHardwareModelParams
- func (o *GetGlobalHardwareModelParams) WithTimeout(timeout time.Duration) *GetGlobalHardwareModelParams
- func (o *GetGlobalHardwareModelParams) WithXRequestID(xRequestID *string) *GetGlobalHardwareModelParams
- func (o *GetGlobalHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGlobalHardwareModelReader
- type GetGlobalHardwareModelUnauthorized
- type GetHardwareBrandByNameForbidden
- type GetHardwareBrandByNameGatewayTimeout
- type GetHardwareBrandByNameInternalServerError
- type GetHardwareBrandByNameNotFound
- type GetHardwareBrandByNameOK
- type GetHardwareBrandByNameParams
- func NewGetHardwareBrandByNameParams() *GetHardwareBrandByNameParams
- func NewGetHardwareBrandByNameParamsWithContext(ctx context.Context) *GetHardwareBrandByNameParams
- func NewGetHardwareBrandByNameParamsWithHTTPClient(client *http.Client) *GetHardwareBrandByNameParams
- func NewGetHardwareBrandByNameParamsWithTimeout(timeout time.Duration) *GetHardwareBrandByNameParams
- func (o *GetHardwareBrandByNameParams) SetContext(ctx context.Context)
- func (o *GetHardwareBrandByNameParams) SetDefaults()
- func (o *GetHardwareBrandByNameParams) SetEnterpriseID(enterpriseID *string)
- func (o *GetHardwareBrandByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetHardwareBrandByNameParams) SetName(name string)
- func (o *GetHardwareBrandByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetHardwareBrandByNameParams) SetXRequestID(xRequestID *string)
- func (o *GetHardwareBrandByNameParams) WithContext(ctx context.Context) *GetHardwareBrandByNameParams
- func (o *GetHardwareBrandByNameParams) WithDefaults() *GetHardwareBrandByNameParams
- func (o *GetHardwareBrandByNameParams) WithEnterpriseID(enterpriseID *string) *GetHardwareBrandByNameParams
- func (o *GetHardwareBrandByNameParams) WithHTTPClient(client *http.Client) *GetHardwareBrandByNameParams
- func (o *GetHardwareBrandByNameParams) WithName(name string) *GetHardwareBrandByNameParams
- func (o *GetHardwareBrandByNameParams) WithTimeout(timeout time.Duration) *GetHardwareBrandByNameParams
- func (o *GetHardwareBrandByNameParams) WithXRequestID(xRequestID *string) *GetHardwareBrandByNameParams
- func (o *GetHardwareBrandByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHardwareBrandByNameReader
- type GetHardwareBrandByNameUnauthorized
- type GetHardwareBrandForbidden
- type GetHardwareBrandGatewayTimeout
- type GetHardwareBrandInternalServerError
- type GetHardwareBrandNotFound
- type GetHardwareBrandOK
- type GetHardwareBrandParams
- func NewGetHardwareBrandParams() *GetHardwareBrandParams
- func NewGetHardwareBrandParamsWithContext(ctx context.Context) *GetHardwareBrandParams
- func NewGetHardwareBrandParamsWithHTTPClient(client *http.Client) *GetHardwareBrandParams
- func NewGetHardwareBrandParamsWithTimeout(timeout time.Duration) *GetHardwareBrandParams
- func (o *GetHardwareBrandParams) SetContext(ctx context.Context)
- func (o *GetHardwareBrandParams) SetDefaults()
- func (o *GetHardwareBrandParams) SetEnterpriseID(enterpriseID *string)
- func (o *GetHardwareBrandParams) SetHTTPClient(client *http.Client)
- func (o *GetHardwareBrandParams) SetID(id string)
- func (o *GetHardwareBrandParams) SetTimeout(timeout time.Duration)
- func (o *GetHardwareBrandParams) SetXRequestID(xRequestID *string)
- func (o *GetHardwareBrandParams) WithContext(ctx context.Context) *GetHardwareBrandParams
- func (o *GetHardwareBrandParams) WithDefaults() *GetHardwareBrandParams
- func (o *GetHardwareBrandParams) WithEnterpriseID(enterpriseID *string) *GetHardwareBrandParams
- func (o *GetHardwareBrandParams) WithHTTPClient(client *http.Client) *GetHardwareBrandParams
- func (o *GetHardwareBrandParams) WithID(id string) *GetHardwareBrandParams
- func (o *GetHardwareBrandParams) WithTimeout(timeout time.Duration) *GetHardwareBrandParams
- func (o *GetHardwareBrandParams) WithXRequestID(xRequestID *string) *GetHardwareBrandParams
- func (o *GetHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHardwareBrandReader
- type GetHardwareBrandUnauthorized
- type GetHardwareModelByNameForbidden
- type GetHardwareModelByNameGatewayTimeout
- type GetHardwareModelByNameInternalServerError
- type GetHardwareModelByNameNotFound
- type GetHardwareModelByNameOK
- type GetHardwareModelByNameParams
- func NewGetHardwareModelByNameParams() *GetHardwareModelByNameParams
- func NewGetHardwareModelByNameParamsWithContext(ctx context.Context) *GetHardwareModelByNameParams
- func NewGetHardwareModelByNameParamsWithHTTPClient(client *http.Client) *GetHardwareModelByNameParams
- func NewGetHardwareModelByNameParamsWithTimeout(timeout time.Duration) *GetHardwareModelByNameParams
- func (o *GetHardwareModelByNameParams) SetContext(ctx context.Context)
- func (o *GetHardwareModelByNameParams) SetDefaults()
- func (o *GetHardwareModelByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetHardwareModelByNameParams) SetName(name string)
- func (o *GetHardwareModelByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetHardwareModelByNameParams) SetXRequestID(xRequestID *string)
- func (o *GetHardwareModelByNameParams) WithContext(ctx context.Context) *GetHardwareModelByNameParams
- func (o *GetHardwareModelByNameParams) WithDefaults() *GetHardwareModelByNameParams
- func (o *GetHardwareModelByNameParams) WithHTTPClient(client *http.Client) *GetHardwareModelByNameParams
- func (o *GetHardwareModelByNameParams) WithName(name string) *GetHardwareModelByNameParams
- func (o *GetHardwareModelByNameParams) WithTimeout(timeout time.Duration) *GetHardwareModelByNameParams
- func (o *GetHardwareModelByNameParams) WithXRequestID(xRequestID *string) *GetHardwareModelByNameParams
- func (o *GetHardwareModelByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHardwareModelByNameReader
- type GetHardwareModelByNameUnauthorized
- type GetHardwareModelForbidden
- type GetHardwareModelGatewayTimeout
- type GetHardwareModelInternalServerError
- type GetHardwareModelNotFound
- type GetHardwareModelOK
- type GetHardwareModelParams
- func NewGetHardwareModelParams() *GetHardwareModelParams
- func NewGetHardwareModelParamsWithContext(ctx context.Context) *GetHardwareModelParams
- func NewGetHardwareModelParamsWithHTTPClient(client *http.Client) *GetHardwareModelParams
- func NewGetHardwareModelParamsWithTimeout(timeout time.Duration) *GetHardwareModelParams
- func (o *GetHardwareModelParams) SetContext(ctx context.Context)
- func (o *GetHardwareModelParams) SetDefaults()
- func (o *GetHardwareModelParams) SetHTTPClient(client *http.Client)
- func (o *GetHardwareModelParams) SetID(id string)
- func (o *GetHardwareModelParams) SetTimeout(timeout time.Duration)
- func (o *GetHardwareModelParams) SetXRequestID(xRequestID *string)
- func (o *GetHardwareModelParams) WithContext(ctx context.Context) *GetHardwareModelParams
- func (o *GetHardwareModelParams) WithDefaults() *GetHardwareModelParams
- func (o *GetHardwareModelParams) WithHTTPClient(client *http.Client) *GetHardwareModelParams
- func (o *GetHardwareModelParams) WithID(id string) *GetHardwareModelParams
- func (o *GetHardwareModelParams) WithTimeout(timeout time.Duration) *GetHardwareModelParams
- func (o *GetHardwareModelParams) WithXRequestID(xRequestID *string) *GetHardwareModelParams
- func (o *GetHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHardwareModelReader
- type GetHardwareModelUnauthorized
- type QueryGlobalHardwareBrandsBadRequest
- type QueryGlobalHardwareBrandsForbidden
- type QueryGlobalHardwareBrandsGatewayTimeout
- type QueryGlobalHardwareBrandsInternalServerError
- type QueryGlobalHardwareBrandsOK
- type QueryGlobalHardwareBrandsParams
- func NewQueryGlobalHardwareBrandsParams() *QueryGlobalHardwareBrandsParams
- func NewQueryGlobalHardwareBrandsParamsWithContext(ctx context.Context) *QueryGlobalHardwareBrandsParams
- func NewQueryGlobalHardwareBrandsParamsWithHTTPClient(client *http.Client) *QueryGlobalHardwareBrandsParams
- func NewQueryGlobalHardwareBrandsParamsWithTimeout(timeout time.Duration) *QueryGlobalHardwareBrandsParams
- func (o *QueryGlobalHardwareBrandsParams) SetContext(ctx context.Context)
- func (o *QueryGlobalHardwareBrandsParams) SetDefaults()
- func (o *QueryGlobalHardwareBrandsParams) SetEnterpriseID(enterpriseID *string)
- func (o *QueryGlobalHardwareBrandsParams) SetFilterNamePattern(filterNamePattern *string)
- func (o *QueryGlobalHardwareBrandsParams) SetFilterOriginType(filterOriginType *string)
- func (o *QueryGlobalHardwareBrandsParams) SetHTTPClient(client *http.Client)
- func (o *QueryGlobalHardwareBrandsParams) SetNextOrderBy(nextOrderBy *string)
- func (o *QueryGlobalHardwareBrandsParams) SetNextPageNum(nextPageNum *int64)
- func (o *QueryGlobalHardwareBrandsParams) SetNextPageSize(nextPageSize *int64)
- func (o *QueryGlobalHardwareBrandsParams) SetNextPageToken(nextPageToken *string)
- func (o *QueryGlobalHardwareBrandsParams) SetNextTotalPages(nextTotalPages *int64)
- func (o *QueryGlobalHardwareBrandsParams) SetSummary(summary *bool)
- func (o *QueryGlobalHardwareBrandsParams) SetTimeout(timeout time.Duration)
- func (o *QueryGlobalHardwareBrandsParams) SetXRequestID(xRequestID *string)
- func (o *QueryGlobalHardwareBrandsParams) WithContext(ctx context.Context) *QueryGlobalHardwareBrandsParams
- func (o *QueryGlobalHardwareBrandsParams) WithDefaults() *QueryGlobalHardwareBrandsParams
- func (o *QueryGlobalHardwareBrandsParams) WithEnterpriseID(enterpriseID *string) *QueryGlobalHardwareBrandsParams
- func (o *QueryGlobalHardwareBrandsParams) WithFilterNamePattern(filterNamePattern *string) *QueryGlobalHardwareBrandsParams
- func (o *QueryGlobalHardwareBrandsParams) WithFilterOriginType(filterOriginType *string) *QueryGlobalHardwareBrandsParams
- func (o *QueryGlobalHardwareBrandsParams) WithHTTPClient(client *http.Client) *QueryGlobalHardwareBrandsParams
- func (o *QueryGlobalHardwareBrandsParams) WithNextOrderBy(nextOrderBy *string) *QueryGlobalHardwareBrandsParams
- func (o *QueryGlobalHardwareBrandsParams) WithNextPageNum(nextPageNum *int64) *QueryGlobalHardwareBrandsParams
- func (o *QueryGlobalHardwareBrandsParams) WithNextPageSize(nextPageSize *int64) *QueryGlobalHardwareBrandsParams
- func (o *QueryGlobalHardwareBrandsParams) WithNextPageToken(nextPageToken *string) *QueryGlobalHardwareBrandsParams
- func (o *QueryGlobalHardwareBrandsParams) WithNextTotalPages(nextTotalPages *int64) *QueryGlobalHardwareBrandsParams
- func (o *QueryGlobalHardwareBrandsParams) WithSummary(summary *bool) *QueryGlobalHardwareBrandsParams
- func (o *QueryGlobalHardwareBrandsParams) WithTimeout(timeout time.Duration) *QueryGlobalHardwareBrandsParams
- func (o *QueryGlobalHardwareBrandsParams) WithXRequestID(xRequestID *string) *QueryGlobalHardwareBrandsParams
- func (o *QueryGlobalHardwareBrandsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryGlobalHardwareBrandsReader
- type QueryGlobalHardwareBrandsUnauthorized
- type QueryGlobalHardwareModelsBadRequest
- type QueryGlobalHardwareModelsForbidden
- type QueryGlobalHardwareModelsGatewayTimeout
- type QueryGlobalHardwareModelsInternalServerError
- type QueryGlobalHardwareModelsOK
- type QueryGlobalHardwareModelsParams
- func NewQueryGlobalHardwareModelsParams() *QueryGlobalHardwareModelsParams
- func NewQueryGlobalHardwareModelsParamsWithContext(ctx context.Context) *QueryGlobalHardwareModelsParams
- func NewQueryGlobalHardwareModelsParamsWithHTTPClient(client *http.Client) *QueryGlobalHardwareModelsParams
- func NewQueryGlobalHardwareModelsParamsWithTimeout(timeout time.Duration) *QueryGlobalHardwareModelsParams
- func (o *QueryGlobalHardwareModelsParams) SetContext(ctx context.Context)
- func (o *QueryGlobalHardwareModelsParams) SetDefaults()
- func (o *QueryGlobalHardwareModelsParams) SetFilterBrandID(filterBrandID *string)
- func (o *QueryGlobalHardwareModelsParams) SetFilterNamePattern(filterNamePattern *string)
- func (o *QueryGlobalHardwareModelsParams) SetFilterOriginType(filterOriginType *string)
- func (o *QueryGlobalHardwareModelsParams) SetHTTPClient(client *http.Client)
- func (o *QueryGlobalHardwareModelsParams) SetNextOrderBy(nextOrderBy *string)
- func (o *QueryGlobalHardwareModelsParams) SetNextPageNum(nextPageNum *int64)
- func (o *QueryGlobalHardwareModelsParams) SetNextPageSize(nextPageSize *int64)
- func (o *QueryGlobalHardwareModelsParams) SetNextPageToken(nextPageToken *string)
- func (o *QueryGlobalHardwareModelsParams) SetNextTotalPages(nextTotalPages *int64)
- func (o *QueryGlobalHardwareModelsParams) SetSummary(summary *bool)
- func (o *QueryGlobalHardwareModelsParams) SetTimeout(timeout time.Duration)
- func (o *QueryGlobalHardwareModelsParams) SetXRequestID(xRequestID *string)
- func (o *QueryGlobalHardwareModelsParams) WithContext(ctx context.Context) *QueryGlobalHardwareModelsParams
- func (o *QueryGlobalHardwareModelsParams) WithDefaults() *QueryGlobalHardwareModelsParams
- func (o *QueryGlobalHardwareModelsParams) WithFilterBrandID(filterBrandID *string) *QueryGlobalHardwareModelsParams
- func (o *QueryGlobalHardwareModelsParams) WithFilterNamePattern(filterNamePattern *string) *QueryGlobalHardwareModelsParams
- func (o *QueryGlobalHardwareModelsParams) WithFilterOriginType(filterOriginType *string) *QueryGlobalHardwareModelsParams
- func (o *QueryGlobalHardwareModelsParams) WithHTTPClient(client *http.Client) *QueryGlobalHardwareModelsParams
- func (o *QueryGlobalHardwareModelsParams) WithNextOrderBy(nextOrderBy *string) *QueryGlobalHardwareModelsParams
- func (o *QueryGlobalHardwareModelsParams) WithNextPageNum(nextPageNum *int64) *QueryGlobalHardwareModelsParams
- func (o *QueryGlobalHardwareModelsParams) WithNextPageSize(nextPageSize *int64) *QueryGlobalHardwareModelsParams
- func (o *QueryGlobalHardwareModelsParams) WithNextPageToken(nextPageToken *string) *QueryGlobalHardwareModelsParams
- func (o *QueryGlobalHardwareModelsParams) WithNextTotalPages(nextTotalPages *int64) *QueryGlobalHardwareModelsParams
- func (o *QueryGlobalHardwareModelsParams) WithSummary(summary *bool) *QueryGlobalHardwareModelsParams
- func (o *QueryGlobalHardwareModelsParams) WithTimeout(timeout time.Duration) *QueryGlobalHardwareModelsParams
- func (o *QueryGlobalHardwareModelsParams) WithXRequestID(xRequestID *string) *QueryGlobalHardwareModelsParams
- func (o *QueryGlobalHardwareModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryGlobalHardwareModelsReader
- type QueryGlobalHardwareModelsUnauthorized
- type QueryHardwareBrandsBadRequest
- type QueryHardwareBrandsForbidden
- type QueryHardwareBrandsGatewayTimeout
- type QueryHardwareBrandsInternalServerError
- type QueryHardwareBrandsOK
- type QueryHardwareBrandsParams
- func NewQueryHardwareBrandsParams() *QueryHardwareBrandsParams
- func NewQueryHardwareBrandsParamsWithContext(ctx context.Context) *QueryHardwareBrandsParams
- func NewQueryHardwareBrandsParamsWithHTTPClient(client *http.Client) *QueryHardwareBrandsParams
- func NewQueryHardwareBrandsParamsWithTimeout(timeout time.Duration) *QueryHardwareBrandsParams
- func (o *QueryHardwareBrandsParams) SetContext(ctx context.Context)
- func (o *QueryHardwareBrandsParams) SetDefaults()
- func (o *QueryHardwareBrandsParams) SetEnterpriseID(enterpriseID *string)
- func (o *QueryHardwareBrandsParams) SetFilterNamePattern(filterNamePattern *string)
- func (o *QueryHardwareBrandsParams) SetFilterOriginType(filterOriginType *string)
- func (o *QueryHardwareBrandsParams) SetHTTPClient(client *http.Client)
- func (o *QueryHardwareBrandsParams) SetNextOrderBy(nextOrderBy *string)
- func (o *QueryHardwareBrandsParams) SetNextPageNum(nextPageNum *int64)
- func (o *QueryHardwareBrandsParams) SetNextPageSize(nextPageSize *int64)
- func (o *QueryHardwareBrandsParams) SetNextPageToken(nextPageToken *string)
- func (o *QueryHardwareBrandsParams) SetNextTotalPages(nextTotalPages *int64)
- func (o *QueryHardwareBrandsParams) SetSummary(summary *bool)
- func (o *QueryHardwareBrandsParams) SetTimeout(timeout time.Duration)
- func (o *QueryHardwareBrandsParams) SetXRequestID(xRequestID *string)
- func (o *QueryHardwareBrandsParams) WithContext(ctx context.Context) *QueryHardwareBrandsParams
- func (o *QueryHardwareBrandsParams) WithDefaults() *QueryHardwareBrandsParams
- func (o *QueryHardwareBrandsParams) WithEnterpriseID(enterpriseID *string) *QueryHardwareBrandsParams
- func (o *QueryHardwareBrandsParams) WithFilterNamePattern(filterNamePattern *string) *QueryHardwareBrandsParams
- func (o *QueryHardwareBrandsParams) WithFilterOriginType(filterOriginType *string) *QueryHardwareBrandsParams
- func (o *QueryHardwareBrandsParams) WithHTTPClient(client *http.Client) *QueryHardwareBrandsParams
- func (o *QueryHardwareBrandsParams) WithNextOrderBy(nextOrderBy *string) *QueryHardwareBrandsParams
- func (o *QueryHardwareBrandsParams) WithNextPageNum(nextPageNum *int64) *QueryHardwareBrandsParams
- func (o *QueryHardwareBrandsParams) WithNextPageSize(nextPageSize *int64) *QueryHardwareBrandsParams
- func (o *QueryHardwareBrandsParams) WithNextPageToken(nextPageToken *string) *QueryHardwareBrandsParams
- func (o *QueryHardwareBrandsParams) WithNextTotalPages(nextTotalPages *int64) *QueryHardwareBrandsParams
- func (o *QueryHardwareBrandsParams) WithSummary(summary *bool) *QueryHardwareBrandsParams
- func (o *QueryHardwareBrandsParams) WithTimeout(timeout time.Duration) *QueryHardwareBrandsParams
- func (o *QueryHardwareBrandsParams) WithXRequestID(xRequestID *string) *QueryHardwareBrandsParams
- func (o *QueryHardwareBrandsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryHardwareBrandsReader
- type QueryHardwareBrandsUnauthorized
- type QueryHardwareModelsBadRequest
- type QueryHardwareModelsForbidden
- type QueryHardwareModelsGatewayTimeout
- type QueryHardwareModelsInternalServerError
- type QueryHardwareModelsOK
- type QueryHardwareModelsParams
- func NewQueryHardwareModelsParams() *QueryHardwareModelsParams
- func NewQueryHardwareModelsParamsWithContext(ctx context.Context) *QueryHardwareModelsParams
- func NewQueryHardwareModelsParamsWithHTTPClient(client *http.Client) *QueryHardwareModelsParams
- func NewQueryHardwareModelsParamsWithTimeout(timeout time.Duration) *QueryHardwareModelsParams
- func (o *QueryHardwareModelsParams) SetContext(ctx context.Context)
- func (o *QueryHardwareModelsParams) SetDefaults()
- func (o *QueryHardwareModelsParams) SetFilterBrandID(filterBrandID *string)
- func (o *QueryHardwareModelsParams) SetFilterNamePattern(filterNamePattern *string)
- func (o *QueryHardwareModelsParams) SetFilterOriginType(filterOriginType *string)
- func (o *QueryHardwareModelsParams) SetHTTPClient(client *http.Client)
- func (o *QueryHardwareModelsParams) SetNextOrderBy(nextOrderBy *string)
- func (o *QueryHardwareModelsParams) SetNextPageNum(nextPageNum *int64)
- func (o *QueryHardwareModelsParams) SetNextPageSize(nextPageSize *int64)
- func (o *QueryHardwareModelsParams) SetNextPageToken(nextPageToken *string)
- func (o *QueryHardwareModelsParams) SetNextTotalPages(nextTotalPages *int64)
- func (o *QueryHardwareModelsParams) SetSummary(summary *bool)
- func (o *QueryHardwareModelsParams) SetTimeout(timeout time.Duration)
- func (o *QueryHardwareModelsParams) SetXRequestID(xRequestID *string)
- func (o *QueryHardwareModelsParams) WithContext(ctx context.Context) *QueryHardwareModelsParams
- func (o *QueryHardwareModelsParams) WithDefaults() *QueryHardwareModelsParams
- func (o *QueryHardwareModelsParams) WithFilterBrandID(filterBrandID *string) *QueryHardwareModelsParams
- func (o *QueryHardwareModelsParams) WithFilterNamePattern(filterNamePattern *string) *QueryHardwareModelsParams
- func (o *QueryHardwareModelsParams) WithFilterOriginType(filterOriginType *string) *QueryHardwareModelsParams
- func (o *QueryHardwareModelsParams) WithHTTPClient(client *http.Client) *QueryHardwareModelsParams
- func (o *QueryHardwareModelsParams) WithNextOrderBy(nextOrderBy *string) *QueryHardwareModelsParams
- func (o *QueryHardwareModelsParams) WithNextPageNum(nextPageNum *int64) *QueryHardwareModelsParams
- func (o *QueryHardwareModelsParams) WithNextPageSize(nextPageSize *int64) *QueryHardwareModelsParams
- func (o *QueryHardwareModelsParams) WithNextPageToken(nextPageToken *string) *QueryHardwareModelsParams
- func (o *QueryHardwareModelsParams) WithNextTotalPages(nextTotalPages *int64) *QueryHardwareModelsParams
- func (o *QueryHardwareModelsParams) WithSummary(summary *bool) *QueryHardwareModelsParams
- func (o *QueryHardwareModelsParams) WithTimeout(timeout time.Duration) *QueryHardwareModelsParams
- func (o *QueryHardwareModelsParams) WithXRequestID(xRequestID *string) *QueryHardwareModelsParams
- func (o *QueryHardwareModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryHardwareModelsReader
- type QueryHardwareModelsUnauthorized
- type UpdateHardwareBrandConflict
- type UpdateHardwareBrandForbidden
- type UpdateHardwareBrandGatewayTimeout
- type UpdateHardwareBrandInternalServerError
- type UpdateHardwareBrandNotFound
- type UpdateHardwareBrandOK
- type UpdateHardwareBrandParams
- func NewUpdateHardwareBrandParams() *UpdateHardwareBrandParams
- func NewUpdateHardwareBrandParamsWithContext(ctx context.Context) *UpdateHardwareBrandParams
- func NewUpdateHardwareBrandParamsWithHTTPClient(client *http.Client) *UpdateHardwareBrandParams
- func NewUpdateHardwareBrandParamsWithTimeout(timeout time.Duration) *UpdateHardwareBrandParams
- func (o *UpdateHardwareBrandParams) SetBody(body *swagger_models.SysBrand)
- func (o *UpdateHardwareBrandParams) SetContext(ctx context.Context)
- func (o *UpdateHardwareBrandParams) SetDefaults()
- func (o *UpdateHardwareBrandParams) SetHTTPClient(client *http.Client)
- func (o *UpdateHardwareBrandParams) SetID(id string)
- func (o *UpdateHardwareBrandParams) SetTimeout(timeout time.Duration)
- func (o *UpdateHardwareBrandParams) SetXRequestID(xRequestID *string)
- func (o *UpdateHardwareBrandParams) WithBody(body *swagger_models.SysBrand) *UpdateHardwareBrandParams
- func (o *UpdateHardwareBrandParams) WithContext(ctx context.Context) *UpdateHardwareBrandParams
- func (o *UpdateHardwareBrandParams) WithDefaults() *UpdateHardwareBrandParams
- func (o *UpdateHardwareBrandParams) WithHTTPClient(client *http.Client) *UpdateHardwareBrandParams
- func (o *UpdateHardwareBrandParams) WithID(id string) *UpdateHardwareBrandParams
- func (o *UpdateHardwareBrandParams) WithTimeout(timeout time.Duration) *UpdateHardwareBrandParams
- func (o *UpdateHardwareBrandParams) WithXRequestID(xRequestID *string) *UpdateHardwareBrandParams
- func (o *UpdateHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateHardwareBrandReader
- type UpdateHardwareBrandUnauthorized
- type UpdateHardwareModelConflict
- type UpdateHardwareModelForbidden
- type UpdateHardwareModelGatewayTimeout
- type UpdateHardwareModelInternalServerError
- type UpdateHardwareModelNotFound
- type UpdateHardwareModelOK
- type UpdateHardwareModelParams
- func NewUpdateHardwareModelParams() *UpdateHardwareModelParams
- func NewUpdateHardwareModelParamsWithContext(ctx context.Context) *UpdateHardwareModelParams
- func NewUpdateHardwareModelParamsWithHTTPClient(client *http.Client) *UpdateHardwareModelParams
- func NewUpdateHardwareModelParamsWithTimeout(timeout time.Duration) *UpdateHardwareModelParams
- func (o *UpdateHardwareModelParams) SetBody(body *swagger_models.SysModel)
- func (o *UpdateHardwareModelParams) SetContext(ctx context.Context)
- func (o *UpdateHardwareModelParams) SetDefaults()
- func (o *UpdateHardwareModelParams) SetHTTPClient(client *http.Client)
- func (o *UpdateHardwareModelParams) SetID(id string)
- func (o *UpdateHardwareModelParams) SetTimeout(timeout time.Duration)
- func (o *UpdateHardwareModelParams) SetXRequestID(xRequestID *string)
- func (o *UpdateHardwareModelParams) WithBody(body *swagger_models.SysModel) *UpdateHardwareModelParams
- func (o *UpdateHardwareModelParams) WithContext(ctx context.Context) *UpdateHardwareModelParams
- func (o *UpdateHardwareModelParams) WithDefaults() *UpdateHardwareModelParams
- func (o *UpdateHardwareModelParams) WithHTTPClient(client *http.Client) *UpdateHardwareModelParams
- func (o *UpdateHardwareModelParams) WithID(id string) *UpdateHardwareModelParams
- func (o *UpdateHardwareModelParams) WithTimeout(timeout time.Duration) *UpdateHardwareModelParams
- func (o *UpdateHardwareModelParams) WithXRequestID(xRequestID *string) *UpdateHardwareModelParams
- func (o *UpdateHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateHardwareModelReader
- type UpdateHardwareModelUnauthorized
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 hardware model API
func (*Client) CreateHardwareBrand ¶
func (a *Client) CreateHardwareBrand(params *CreateHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHardwareBrandOK, error)
CreateHardwareBrand creates hardware brand
Create a hardware brand record.
func (*Client) CreateHardwareModel ¶
func (a *Client) CreateHardwareModel(params *CreateHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHardwareModelOK, error)
CreateHardwareModel creates hardware model
Create a hardware model record.
func (*Client) DeleteHardwareBrand ¶
func (a *Client) DeleteHardwareBrand(params *DeleteHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHardwareBrandOK, error)
DeleteHardwareBrand deletes hardware brand
Delete a hardware brand record.
func (*Client) DeleteHardwareModel ¶
func (a *Client) DeleteHardwareModel(params *DeleteHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHardwareModelOK, error)
DeleteHardwareModel deletes hardware model
Delete a hardware model record.
func (*Client) GetDeviceTags ¶
func (a *Client) GetDeviceTags(params *GetDeviceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceTagsOK, error)
GetDeviceTags queries device object tag key values
Query device object tag key-values
func (*Client) GetGlobalHardwareBrand ¶
func (a *Client) GetGlobalHardwareBrand(params *GetGlobalHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalHardwareBrandOK, error)
GetGlobalHardwareBrand gets global hardware brand
Get the configuration (without security details) of a global hardware brand record.
func (*Client) GetGlobalHardwareBrandByName ¶
func (a *Client) GetGlobalHardwareBrandByName(params *GetGlobalHardwareBrandByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalHardwareBrandByNameOK, error)
GetGlobalHardwareBrandByName gets global hardware brand
Get the configuration (without security details) of a global hardware brand record.
func (*Client) GetGlobalHardwareModel ¶
func (a *Client) GetGlobalHardwareModel(params *GetGlobalHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalHardwareModelOK, error)
GetGlobalHardwareModel gets global hardware model
Get the configuration (without security details) of a global hardware model record.
func (*Client) GetGlobalHardwareModelByName ¶
func (a *Client) GetGlobalHardwareModelByName(params *GetGlobalHardwareModelByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalHardwareModelByNameOK, error)
GetGlobalHardwareModelByName gets global hardware model
Get the configuration (without security details) of a global hardware model record.
func (*Client) GetHardwareBrand ¶
func (a *Client) GetHardwareBrand(params *GetHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHardwareBrandOK, error)
GetHardwareBrand gets hardware brand
Get the configuration (without security details) of a hardware brand record.
func (*Client) GetHardwareBrandByName ¶
func (a *Client) GetHardwareBrandByName(params *GetHardwareBrandByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHardwareBrandByNameOK, error)
GetHardwareBrandByName gets hardware brand
Get the configuration (without security details) of a hardware brand record.
func (*Client) GetHardwareModel ¶
func (a *Client) GetHardwareModel(params *GetHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHardwareModelOK, error)
GetHardwareModel gets hardware model
Get the configuration (without security details) of a hardware model record.
func (*Client) GetHardwareModelByName ¶
func (a *Client) GetHardwareModelByName(params *GetHardwareModelByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHardwareModelByNameOK, error)
GetHardwareModelByName gets hardware model
Get the configuration (without security details) of a hardware model record.
func (*Client) QueryGlobalHardwareBrands ¶
func (a *Client) QueryGlobalHardwareBrands(params *QueryGlobalHardwareBrandsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryGlobalHardwareBrandsOK, error)
QueryGlobalHardwareBrands queries global hardware brands
Query the global hardware brand records.
func (*Client) QueryGlobalHardwareModels ¶
func (a *Client) QueryGlobalHardwareModels(params *QueryGlobalHardwareModelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryGlobalHardwareModelsOK, error)
QueryGlobalHardwareModels queries global hardware models
Query the global hardware model records.
func (*Client) QueryHardwareBrands ¶
func (a *Client) QueryHardwareBrands(params *QueryHardwareBrandsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryHardwareBrandsOK, error)
QueryHardwareBrands queries hardware brands
Query the hardware brand records.
func (*Client) QueryHardwareModels ¶
func (a *Client) QueryHardwareModels(params *QueryHardwareModelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryHardwareModelsOK, error)
QueryHardwareModels queries hardware models
Query the hardware model records.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateHardwareBrand ¶
func (a *Client) UpdateHardwareBrand(params *UpdateHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateHardwareBrandOK, error)
UpdateHardwareBrand updates hardware brand
Update a hardware brand. The usual pattern to update a hardware brand record is to retrieve the record and update with the modified values in a new body to update the hardware brand record.
func (*Client) UpdateHardwareModel ¶
func (a *Client) UpdateHardwareModel(params *UpdateHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateHardwareModelOK, error)
UpdateHardwareModel updates hardware model
Update a hardware model. The usual pattern to update a hardware model record is to retrieve the record and update with the modified values in a new body to update the hardware model record.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
CreateHardwareBrand(params *CreateHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHardwareBrandOK, error)
CreateHardwareModel(params *CreateHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHardwareModelOK, error)
DeleteHardwareBrand(params *DeleteHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHardwareBrandOK, error)
DeleteHardwareModel(params *DeleteHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHardwareModelOK, error)
GetDeviceTags(params *GetDeviceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceTagsOK, error)
GetGlobalHardwareBrand(params *GetGlobalHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalHardwareBrandOK, error)
GetGlobalHardwareBrandByName(params *GetGlobalHardwareBrandByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalHardwareBrandByNameOK, error)
GetGlobalHardwareModel(params *GetGlobalHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalHardwareModelOK, error)
GetGlobalHardwareModelByName(params *GetGlobalHardwareModelByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalHardwareModelByNameOK, error)
GetHardwareBrand(params *GetHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHardwareBrandOK, error)
GetHardwareBrandByName(params *GetHardwareBrandByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHardwareBrandByNameOK, error)
GetHardwareModel(params *GetHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHardwareModelOK, error)
GetHardwareModelByName(params *GetHardwareModelByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHardwareModelByNameOK, error)
QueryGlobalHardwareBrands(params *QueryGlobalHardwareBrandsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryGlobalHardwareBrandsOK, error)
QueryGlobalHardwareModels(params *QueryGlobalHardwareModelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryGlobalHardwareModelsOK, error)
QueryHardwareBrands(params *QueryHardwareBrandsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryHardwareBrandsOK, error)
QueryHardwareModels(params *QueryHardwareModelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryHardwareModelsOK, error)
UpdateHardwareBrand(params *UpdateHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateHardwareBrandOK, error)
UpdateHardwareModel(params *UpdateHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateHardwareModelOK, 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 hardware model API client.
type CreateHardwareBrandBadRequest ¶
type CreateHardwareBrandBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
CreateHardwareBrandBadRequest 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 NewCreateHardwareBrandBadRequest ¶
func NewCreateHardwareBrandBadRequest() *CreateHardwareBrandBadRequest
NewCreateHardwareBrandBadRequest creates a CreateHardwareBrandBadRequest with default headers values
func (*CreateHardwareBrandBadRequest) Error ¶
func (o *CreateHardwareBrandBadRequest) Error() string
func (*CreateHardwareBrandBadRequest) GetPayload ¶
func (o *CreateHardwareBrandBadRequest) GetPayload() *swagger_models.ZsrvResponse
type CreateHardwareBrandConflict ¶
type CreateHardwareBrandConflict struct {
Payload *swagger_models.ZsrvResponse
}
CreateHardwareBrandConflict describes a response with status code 409, with default header values.
Conflict. The API gateway did not process the request because this hardware brand record will conflict with an already existing hardware brand record.
func NewCreateHardwareBrandConflict ¶
func NewCreateHardwareBrandConflict() *CreateHardwareBrandConflict
NewCreateHardwareBrandConflict creates a CreateHardwareBrandConflict with default headers values
func (*CreateHardwareBrandConflict) Error ¶
func (o *CreateHardwareBrandConflict) Error() string
func (*CreateHardwareBrandConflict) GetPayload ¶
func (o *CreateHardwareBrandConflict) GetPayload() *swagger_models.ZsrvResponse
type CreateHardwareBrandForbidden ¶
type CreateHardwareBrandForbidden struct {
Payload *swagger_models.ZsrvResponse
}
CreateHardwareBrandForbidden 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 NewCreateHardwareBrandForbidden ¶
func NewCreateHardwareBrandForbidden() *CreateHardwareBrandForbidden
NewCreateHardwareBrandForbidden creates a CreateHardwareBrandForbidden with default headers values
func (*CreateHardwareBrandForbidden) Error ¶
func (o *CreateHardwareBrandForbidden) Error() string
func (*CreateHardwareBrandForbidden) GetPayload ¶
func (o *CreateHardwareBrandForbidden) GetPayload() *swagger_models.ZsrvResponse
type CreateHardwareBrandGatewayTimeout ¶
type CreateHardwareBrandGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
CreateHardwareBrandGatewayTimeout 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 NewCreateHardwareBrandGatewayTimeout ¶
func NewCreateHardwareBrandGatewayTimeout() *CreateHardwareBrandGatewayTimeout
NewCreateHardwareBrandGatewayTimeout creates a CreateHardwareBrandGatewayTimeout with default headers values
func (*CreateHardwareBrandGatewayTimeout) Error ¶
func (o *CreateHardwareBrandGatewayTimeout) Error() string
func (*CreateHardwareBrandGatewayTimeout) GetPayload ¶
func (o *CreateHardwareBrandGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type CreateHardwareBrandInternalServerError ¶
type CreateHardwareBrandInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
CreateHardwareBrandInternalServerError 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 NewCreateHardwareBrandInternalServerError ¶
func NewCreateHardwareBrandInternalServerError() *CreateHardwareBrandInternalServerError
NewCreateHardwareBrandInternalServerError creates a CreateHardwareBrandInternalServerError with default headers values
func (*CreateHardwareBrandInternalServerError) Error ¶
func (o *CreateHardwareBrandInternalServerError) Error() string
func (*CreateHardwareBrandInternalServerError) GetPayload ¶
func (o *CreateHardwareBrandInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type CreateHardwareBrandOK ¶
type CreateHardwareBrandOK struct {
Payload *swagger_models.ZsrvResponse
}
CreateHardwareBrandOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateHardwareBrandOK ¶
func NewCreateHardwareBrandOK() *CreateHardwareBrandOK
NewCreateHardwareBrandOK creates a CreateHardwareBrandOK with default headers values
func (*CreateHardwareBrandOK) Error ¶
func (o *CreateHardwareBrandOK) Error() string
func (*CreateHardwareBrandOK) GetPayload ¶
func (o *CreateHardwareBrandOK) GetPayload() *swagger_models.ZsrvResponse
type CreateHardwareBrandParams ¶
type CreateHardwareBrandParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
// Body.
Body *swagger_models.SysBrand
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateHardwareBrandParams contains all the parameters to send to the API endpoint
for the create hardware brand operation. Typically these are written to a http.Request.
func NewCreateHardwareBrandParams ¶
func NewCreateHardwareBrandParams() *CreateHardwareBrandParams
NewCreateHardwareBrandParams creates a new CreateHardwareBrandParams 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 NewCreateHardwareBrandParamsWithContext ¶
func NewCreateHardwareBrandParamsWithContext(ctx context.Context) *CreateHardwareBrandParams
NewCreateHardwareBrandParamsWithContext creates a new CreateHardwareBrandParams object with the ability to set a context for a request.
func NewCreateHardwareBrandParamsWithHTTPClient ¶
func NewCreateHardwareBrandParamsWithHTTPClient(client *http.Client) *CreateHardwareBrandParams
NewCreateHardwareBrandParamsWithHTTPClient creates a new CreateHardwareBrandParams object with the ability to set a custom HTTPClient for a request.
func NewCreateHardwareBrandParamsWithTimeout ¶
func NewCreateHardwareBrandParamsWithTimeout(timeout time.Duration) *CreateHardwareBrandParams
NewCreateHardwareBrandParamsWithTimeout creates a new CreateHardwareBrandParams object with the ability to set a timeout on a request.
func (*CreateHardwareBrandParams) SetBody ¶
func (o *CreateHardwareBrandParams) SetBody(body *swagger_models.SysBrand)
SetBody adds the body to the create hardware brand params
func (*CreateHardwareBrandParams) SetContext ¶
func (o *CreateHardwareBrandParams) SetContext(ctx context.Context)
SetContext adds the context to the create hardware brand params
func (*CreateHardwareBrandParams) SetDefaults ¶
func (o *CreateHardwareBrandParams) SetDefaults()
SetDefaults hydrates default values in the create hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHardwareBrandParams) SetHTTPClient ¶
func (o *CreateHardwareBrandParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create hardware brand params
func (*CreateHardwareBrandParams) SetTimeout ¶
func (o *CreateHardwareBrandParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create hardware brand params
func (*CreateHardwareBrandParams) SetXRequestID ¶
func (o *CreateHardwareBrandParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create hardware brand params
func (*CreateHardwareBrandParams) WithBody ¶
func (o *CreateHardwareBrandParams) WithBody(body *swagger_models.SysBrand) *CreateHardwareBrandParams
WithBody adds the body to the create hardware brand params
func (*CreateHardwareBrandParams) WithContext ¶
func (o *CreateHardwareBrandParams) WithContext(ctx context.Context) *CreateHardwareBrandParams
WithContext adds the context to the create hardware brand params
func (*CreateHardwareBrandParams) WithDefaults ¶
func (o *CreateHardwareBrandParams) WithDefaults() *CreateHardwareBrandParams
WithDefaults hydrates default values in the create hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHardwareBrandParams) WithHTTPClient ¶
func (o *CreateHardwareBrandParams) WithHTTPClient(client *http.Client) *CreateHardwareBrandParams
WithHTTPClient adds the HTTPClient to the create hardware brand params
func (*CreateHardwareBrandParams) WithTimeout ¶
func (o *CreateHardwareBrandParams) WithTimeout(timeout time.Duration) *CreateHardwareBrandParams
WithTimeout adds the timeout to the create hardware brand params
func (*CreateHardwareBrandParams) WithXRequestID ¶
func (o *CreateHardwareBrandParams) WithXRequestID(xRequestID *string) *CreateHardwareBrandParams
WithXRequestID adds the xRequestID to the create hardware brand params
func (*CreateHardwareBrandParams) WriteToRequest ¶
func (o *CreateHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateHardwareBrandReader ¶
type CreateHardwareBrandReader struct {
// contains filtered or unexported fields
}
CreateHardwareBrandReader is a Reader for the CreateHardwareBrand structure.
func (*CreateHardwareBrandReader) ReadResponse ¶
func (o *CreateHardwareBrandReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateHardwareBrandUnauthorized ¶
type CreateHardwareBrandUnauthorized struct {
}
CreateHardwareBrandUnauthorized 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 NewCreateHardwareBrandUnauthorized ¶
func NewCreateHardwareBrandUnauthorized() *CreateHardwareBrandUnauthorized
NewCreateHardwareBrandUnauthorized creates a CreateHardwareBrandUnauthorized with default headers values
func (*CreateHardwareBrandUnauthorized) Error ¶
func (o *CreateHardwareBrandUnauthorized) Error() string
func (*CreateHardwareBrandUnauthorized) GetPayload ¶
func (o *CreateHardwareBrandUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type CreateHardwareModelBadRequest ¶
type CreateHardwareModelBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
CreateHardwareModelBadRequest 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 NewCreateHardwareModelBadRequest ¶
func NewCreateHardwareModelBadRequest() *CreateHardwareModelBadRequest
NewCreateHardwareModelBadRequest creates a CreateHardwareModelBadRequest with default headers values
func (*CreateHardwareModelBadRequest) Error ¶
func (o *CreateHardwareModelBadRequest) Error() string
func (*CreateHardwareModelBadRequest) GetPayload ¶
func (o *CreateHardwareModelBadRequest) GetPayload() *swagger_models.ZsrvResponse
type CreateHardwareModelConflict ¶
type CreateHardwareModelConflict struct {
Payload *swagger_models.ZsrvResponse
}
CreateHardwareModelConflict describes a response with status code 409, with default header values.
Conflict. The API gateway did not process the request because this hardware model record will conflict with an already existing hardware model record.
func NewCreateHardwareModelConflict ¶
func NewCreateHardwareModelConflict() *CreateHardwareModelConflict
NewCreateHardwareModelConflict creates a CreateHardwareModelConflict with default headers values
func (*CreateHardwareModelConflict) Error ¶
func (o *CreateHardwareModelConflict) Error() string
func (*CreateHardwareModelConflict) GetPayload ¶
func (o *CreateHardwareModelConflict) GetPayload() *swagger_models.ZsrvResponse
type CreateHardwareModelForbidden ¶
type CreateHardwareModelForbidden struct {
Payload *swagger_models.ZsrvResponse
}
CreateHardwareModelForbidden 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 NewCreateHardwareModelForbidden ¶
func NewCreateHardwareModelForbidden() *CreateHardwareModelForbidden
NewCreateHardwareModelForbidden creates a CreateHardwareModelForbidden with default headers values
func (*CreateHardwareModelForbidden) Error ¶
func (o *CreateHardwareModelForbidden) Error() string
func (*CreateHardwareModelForbidden) GetPayload ¶
func (o *CreateHardwareModelForbidden) GetPayload() *swagger_models.ZsrvResponse
type CreateHardwareModelGatewayTimeout ¶
type CreateHardwareModelGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
CreateHardwareModelGatewayTimeout 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 NewCreateHardwareModelGatewayTimeout ¶
func NewCreateHardwareModelGatewayTimeout() *CreateHardwareModelGatewayTimeout
NewCreateHardwareModelGatewayTimeout creates a CreateHardwareModelGatewayTimeout with default headers values
func (*CreateHardwareModelGatewayTimeout) Error ¶
func (o *CreateHardwareModelGatewayTimeout) Error() string
func (*CreateHardwareModelGatewayTimeout) GetPayload ¶
func (o *CreateHardwareModelGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type CreateHardwareModelInternalServerError ¶
type CreateHardwareModelInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
CreateHardwareModelInternalServerError 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 NewCreateHardwareModelInternalServerError ¶
func NewCreateHardwareModelInternalServerError() *CreateHardwareModelInternalServerError
NewCreateHardwareModelInternalServerError creates a CreateHardwareModelInternalServerError with default headers values
func (*CreateHardwareModelInternalServerError) Error ¶
func (o *CreateHardwareModelInternalServerError) Error() string
func (*CreateHardwareModelInternalServerError) GetPayload ¶
func (o *CreateHardwareModelInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type CreateHardwareModelOK ¶
type CreateHardwareModelOK struct {
Payload *swagger_models.ZsrvResponse
}
CreateHardwareModelOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateHardwareModelOK ¶
func NewCreateHardwareModelOK() *CreateHardwareModelOK
NewCreateHardwareModelOK creates a CreateHardwareModelOK with default headers values
func (*CreateHardwareModelOK) Error ¶
func (o *CreateHardwareModelOK) Error() string
func (*CreateHardwareModelOK) GetPayload ¶
func (o *CreateHardwareModelOK) GetPayload() *swagger_models.ZsrvResponse
type CreateHardwareModelParams ¶
type CreateHardwareModelParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
// Body.
Body *swagger_models.SysModel
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateHardwareModelParams contains all the parameters to send to the API endpoint
for the create hardware model operation. Typically these are written to a http.Request.
func NewCreateHardwareModelParams ¶
func NewCreateHardwareModelParams() *CreateHardwareModelParams
NewCreateHardwareModelParams creates a new CreateHardwareModelParams 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 NewCreateHardwareModelParamsWithContext ¶
func NewCreateHardwareModelParamsWithContext(ctx context.Context) *CreateHardwareModelParams
NewCreateHardwareModelParamsWithContext creates a new CreateHardwareModelParams object with the ability to set a context for a request.
func NewCreateHardwareModelParamsWithHTTPClient ¶
func NewCreateHardwareModelParamsWithHTTPClient(client *http.Client) *CreateHardwareModelParams
NewCreateHardwareModelParamsWithHTTPClient creates a new CreateHardwareModelParams object with the ability to set a custom HTTPClient for a request.
func NewCreateHardwareModelParamsWithTimeout ¶
func NewCreateHardwareModelParamsWithTimeout(timeout time.Duration) *CreateHardwareModelParams
NewCreateHardwareModelParamsWithTimeout creates a new CreateHardwareModelParams object with the ability to set a timeout on a request.
func (*CreateHardwareModelParams) SetBody ¶
func (o *CreateHardwareModelParams) SetBody(body *swagger_models.SysModel)
SetBody adds the body to the create hardware model params
func (*CreateHardwareModelParams) SetContext ¶
func (o *CreateHardwareModelParams) SetContext(ctx context.Context)
SetContext adds the context to the create hardware model params
func (*CreateHardwareModelParams) SetDefaults ¶
func (o *CreateHardwareModelParams) SetDefaults()
SetDefaults hydrates default values in the create hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHardwareModelParams) SetHTTPClient ¶
func (o *CreateHardwareModelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create hardware model params
func (*CreateHardwareModelParams) SetTimeout ¶
func (o *CreateHardwareModelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create hardware model params
func (*CreateHardwareModelParams) SetXRequestID ¶
func (o *CreateHardwareModelParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create hardware model params
func (*CreateHardwareModelParams) WithBody ¶
func (o *CreateHardwareModelParams) WithBody(body *swagger_models.SysModel) *CreateHardwareModelParams
WithBody adds the body to the create hardware model params
func (*CreateHardwareModelParams) WithContext ¶
func (o *CreateHardwareModelParams) WithContext(ctx context.Context) *CreateHardwareModelParams
WithContext adds the context to the create hardware model params
func (*CreateHardwareModelParams) WithDefaults ¶
func (o *CreateHardwareModelParams) WithDefaults() *CreateHardwareModelParams
WithDefaults hydrates default values in the create hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHardwareModelParams) WithHTTPClient ¶
func (o *CreateHardwareModelParams) WithHTTPClient(client *http.Client) *CreateHardwareModelParams
WithHTTPClient adds the HTTPClient to the create hardware model params
func (*CreateHardwareModelParams) WithTimeout ¶
func (o *CreateHardwareModelParams) WithTimeout(timeout time.Duration) *CreateHardwareModelParams
WithTimeout adds the timeout to the create hardware model params
func (*CreateHardwareModelParams) WithXRequestID ¶
func (o *CreateHardwareModelParams) WithXRequestID(xRequestID *string) *CreateHardwareModelParams
WithXRequestID adds the xRequestID to the create hardware model params
func (*CreateHardwareModelParams) WriteToRequest ¶
func (o *CreateHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateHardwareModelReader ¶
type CreateHardwareModelReader struct {
// contains filtered or unexported fields
}
CreateHardwareModelReader is a Reader for the CreateHardwareModel structure.
func (*CreateHardwareModelReader) ReadResponse ¶
func (o *CreateHardwareModelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateHardwareModelUnauthorized ¶
type CreateHardwareModelUnauthorized struct {
}
CreateHardwareModelUnauthorized 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 NewCreateHardwareModelUnauthorized ¶
func NewCreateHardwareModelUnauthorized() *CreateHardwareModelUnauthorized
NewCreateHardwareModelUnauthorized creates a CreateHardwareModelUnauthorized with default headers values
func (*CreateHardwareModelUnauthorized) Error ¶
func (o *CreateHardwareModelUnauthorized) Error() string
func (*CreateHardwareModelUnauthorized) GetPayload ¶
func (o *CreateHardwareModelUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type DeleteHardwareBrandForbidden ¶
type DeleteHardwareBrandForbidden struct {
Payload *swagger_models.ZsrvResponse
}
DeleteHardwareBrandForbidden 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 NewDeleteHardwareBrandForbidden ¶
func NewDeleteHardwareBrandForbidden() *DeleteHardwareBrandForbidden
NewDeleteHardwareBrandForbidden creates a DeleteHardwareBrandForbidden with default headers values
func (*DeleteHardwareBrandForbidden) Error ¶
func (o *DeleteHardwareBrandForbidden) Error() string
func (*DeleteHardwareBrandForbidden) GetPayload ¶
func (o *DeleteHardwareBrandForbidden) GetPayload() *swagger_models.ZsrvResponse
type DeleteHardwareBrandGatewayTimeout ¶
type DeleteHardwareBrandGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
DeleteHardwareBrandGatewayTimeout 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 NewDeleteHardwareBrandGatewayTimeout ¶
func NewDeleteHardwareBrandGatewayTimeout() *DeleteHardwareBrandGatewayTimeout
NewDeleteHardwareBrandGatewayTimeout creates a DeleteHardwareBrandGatewayTimeout with default headers values
func (*DeleteHardwareBrandGatewayTimeout) Error ¶
func (o *DeleteHardwareBrandGatewayTimeout) Error() string
func (*DeleteHardwareBrandGatewayTimeout) GetPayload ¶
func (o *DeleteHardwareBrandGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type DeleteHardwareBrandInternalServerError ¶
type DeleteHardwareBrandInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
DeleteHardwareBrandInternalServerError 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 NewDeleteHardwareBrandInternalServerError ¶
func NewDeleteHardwareBrandInternalServerError() *DeleteHardwareBrandInternalServerError
NewDeleteHardwareBrandInternalServerError creates a DeleteHardwareBrandInternalServerError with default headers values
func (*DeleteHardwareBrandInternalServerError) Error ¶
func (o *DeleteHardwareBrandInternalServerError) Error() string
func (*DeleteHardwareBrandInternalServerError) GetPayload ¶
func (o *DeleteHardwareBrandInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type DeleteHardwareBrandNotFound ¶
type DeleteHardwareBrandNotFound struct {
Payload *swagger_models.ZsrvResponse
}
DeleteHardwareBrandNotFound 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 NewDeleteHardwareBrandNotFound ¶
func NewDeleteHardwareBrandNotFound() *DeleteHardwareBrandNotFound
NewDeleteHardwareBrandNotFound creates a DeleteHardwareBrandNotFound with default headers values
func (*DeleteHardwareBrandNotFound) Error ¶
func (o *DeleteHardwareBrandNotFound) Error() string
func (*DeleteHardwareBrandNotFound) GetPayload ¶
func (o *DeleteHardwareBrandNotFound) GetPayload() *swagger_models.ZsrvResponse
type DeleteHardwareBrandOK ¶
type DeleteHardwareBrandOK struct {
Payload *swagger_models.ZsrvResponse
}
DeleteHardwareBrandOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteHardwareBrandOK ¶
func NewDeleteHardwareBrandOK() *DeleteHardwareBrandOK
NewDeleteHardwareBrandOK creates a DeleteHardwareBrandOK with default headers values
func (*DeleteHardwareBrandOK) Error ¶
func (o *DeleteHardwareBrandOK) Error() string
func (*DeleteHardwareBrandOK) GetPayload ¶
func (o *DeleteHardwareBrandOK) GetPayload() *swagger_models.ZsrvResponse
type DeleteHardwareBrandParams ¶
type DeleteHardwareBrandParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* EnterpriseID.
deprecated field: EnterpriseId
*/
EnterpriseID *string
/* ID.
System defined universally unique Id of the model.
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteHardwareBrandParams contains all the parameters to send to the API endpoint
for the delete hardware brand operation. Typically these are written to a http.Request.
func NewDeleteHardwareBrandParams ¶
func NewDeleteHardwareBrandParams() *DeleteHardwareBrandParams
NewDeleteHardwareBrandParams creates a new DeleteHardwareBrandParams 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 NewDeleteHardwareBrandParamsWithContext ¶
func NewDeleteHardwareBrandParamsWithContext(ctx context.Context) *DeleteHardwareBrandParams
NewDeleteHardwareBrandParamsWithContext creates a new DeleteHardwareBrandParams object with the ability to set a context for a request.
func NewDeleteHardwareBrandParamsWithHTTPClient ¶
func NewDeleteHardwareBrandParamsWithHTTPClient(client *http.Client) *DeleteHardwareBrandParams
NewDeleteHardwareBrandParamsWithHTTPClient creates a new DeleteHardwareBrandParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteHardwareBrandParamsWithTimeout ¶
func NewDeleteHardwareBrandParamsWithTimeout(timeout time.Duration) *DeleteHardwareBrandParams
NewDeleteHardwareBrandParamsWithTimeout creates a new DeleteHardwareBrandParams object with the ability to set a timeout on a request.
func (*DeleteHardwareBrandParams) SetContext ¶
func (o *DeleteHardwareBrandParams) SetContext(ctx context.Context)
SetContext adds the context to the delete hardware brand params
func (*DeleteHardwareBrandParams) SetDefaults ¶
func (o *DeleteHardwareBrandParams) SetDefaults()
SetDefaults hydrates default values in the delete hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteHardwareBrandParams) SetEnterpriseID ¶
func (o *DeleteHardwareBrandParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the delete hardware brand params
func (*DeleteHardwareBrandParams) SetHTTPClient ¶
func (o *DeleteHardwareBrandParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete hardware brand params
func (*DeleteHardwareBrandParams) SetID ¶
func (o *DeleteHardwareBrandParams) SetID(id string)
SetID adds the id to the delete hardware brand params
func (*DeleteHardwareBrandParams) SetTimeout ¶
func (o *DeleteHardwareBrandParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete hardware brand params
func (*DeleteHardwareBrandParams) SetXRequestID ¶
func (o *DeleteHardwareBrandParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete hardware brand params
func (*DeleteHardwareBrandParams) WithContext ¶
func (o *DeleteHardwareBrandParams) WithContext(ctx context.Context) *DeleteHardwareBrandParams
WithContext adds the context to the delete hardware brand params
func (*DeleteHardwareBrandParams) WithDefaults ¶
func (o *DeleteHardwareBrandParams) WithDefaults() *DeleteHardwareBrandParams
WithDefaults hydrates default values in the delete hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteHardwareBrandParams) WithEnterpriseID ¶
func (o *DeleteHardwareBrandParams) WithEnterpriseID(enterpriseID *string) *DeleteHardwareBrandParams
WithEnterpriseID adds the enterpriseID to the delete hardware brand params
func (*DeleteHardwareBrandParams) WithHTTPClient ¶
func (o *DeleteHardwareBrandParams) WithHTTPClient(client *http.Client) *DeleteHardwareBrandParams
WithHTTPClient adds the HTTPClient to the delete hardware brand params
func (*DeleteHardwareBrandParams) WithID ¶
func (o *DeleteHardwareBrandParams) WithID(id string) *DeleteHardwareBrandParams
WithID adds the id to the delete hardware brand params
func (*DeleteHardwareBrandParams) WithTimeout ¶
func (o *DeleteHardwareBrandParams) WithTimeout(timeout time.Duration) *DeleteHardwareBrandParams
WithTimeout adds the timeout to the delete hardware brand params
func (*DeleteHardwareBrandParams) WithXRequestID ¶
func (o *DeleteHardwareBrandParams) WithXRequestID(xRequestID *string) *DeleteHardwareBrandParams
WithXRequestID adds the xRequestID to the delete hardware brand params
func (*DeleteHardwareBrandParams) WriteToRequest ¶
func (o *DeleteHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteHardwareBrandReader ¶
type DeleteHardwareBrandReader struct {
// contains filtered or unexported fields
}
DeleteHardwareBrandReader is a Reader for the DeleteHardwareBrand structure.
func (*DeleteHardwareBrandReader) ReadResponse ¶
func (o *DeleteHardwareBrandReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteHardwareBrandUnauthorized ¶
type DeleteHardwareBrandUnauthorized struct {
}
DeleteHardwareBrandUnauthorized 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 NewDeleteHardwareBrandUnauthorized ¶
func NewDeleteHardwareBrandUnauthorized() *DeleteHardwareBrandUnauthorized
NewDeleteHardwareBrandUnauthorized creates a DeleteHardwareBrandUnauthorized with default headers values
func (*DeleteHardwareBrandUnauthorized) Error ¶
func (o *DeleteHardwareBrandUnauthorized) Error() string
func (*DeleteHardwareBrandUnauthorized) GetPayload ¶
func (o *DeleteHardwareBrandUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type DeleteHardwareModelForbidden ¶
type DeleteHardwareModelForbidden struct {
Payload *swagger_models.ZsrvResponse
}
DeleteHardwareModelForbidden 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 NewDeleteHardwareModelForbidden ¶
func NewDeleteHardwareModelForbidden() *DeleteHardwareModelForbidden
NewDeleteHardwareModelForbidden creates a DeleteHardwareModelForbidden with default headers values
func (*DeleteHardwareModelForbidden) Error ¶
func (o *DeleteHardwareModelForbidden) Error() string
func (*DeleteHardwareModelForbidden) GetPayload ¶
func (o *DeleteHardwareModelForbidden) GetPayload() *swagger_models.ZsrvResponse
type DeleteHardwareModelGatewayTimeout ¶
type DeleteHardwareModelGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
DeleteHardwareModelGatewayTimeout 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 NewDeleteHardwareModelGatewayTimeout ¶
func NewDeleteHardwareModelGatewayTimeout() *DeleteHardwareModelGatewayTimeout
NewDeleteHardwareModelGatewayTimeout creates a DeleteHardwareModelGatewayTimeout with default headers values
func (*DeleteHardwareModelGatewayTimeout) Error ¶
func (o *DeleteHardwareModelGatewayTimeout) Error() string
func (*DeleteHardwareModelGatewayTimeout) GetPayload ¶
func (o *DeleteHardwareModelGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type DeleteHardwareModelInternalServerError ¶
type DeleteHardwareModelInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
DeleteHardwareModelInternalServerError 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 NewDeleteHardwareModelInternalServerError ¶
func NewDeleteHardwareModelInternalServerError() *DeleteHardwareModelInternalServerError
NewDeleteHardwareModelInternalServerError creates a DeleteHardwareModelInternalServerError with default headers values
func (*DeleteHardwareModelInternalServerError) Error ¶
func (o *DeleteHardwareModelInternalServerError) Error() string
func (*DeleteHardwareModelInternalServerError) GetPayload ¶
func (o *DeleteHardwareModelInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type DeleteHardwareModelNotFound ¶
type DeleteHardwareModelNotFound struct {
Payload *swagger_models.ZsrvResponse
}
DeleteHardwareModelNotFound 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 NewDeleteHardwareModelNotFound ¶
func NewDeleteHardwareModelNotFound() *DeleteHardwareModelNotFound
NewDeleteHardwareModelNotFound creates a DeleteHardwareModelNotFound with default headers values
func (*DeleteHardwareModelNotFound) Error ¶
func (o *DeleteHardwareModelNotFound) Error() string
func (*DeleteHardwareModelNotFound) GetPayload ¶
func (o *DeleteHardwareModelNotFound) GetPayload() *swagger_models.ZsrvResponse
type DeleteHardwareModelOK ¶
type DeleteHardwareModelOK struct {
Payload *swagger_models.ZsrvResponse
}
DeleteHardwareModelOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteHardwareModelOK ¶
func NewDeleteHardwareModelOK() *DeleteHardwareModelOK
NewDeleteHardwareModelOK creates a DeleteHardwareModelOK with default headers values
func (*DeleteHardwareModelOK) Error ¶
func (o *DeleteHardwareModelOK) Error() string
func (*DeleteHardwareModelOK) GetPayload ¶
func (o *DeleteHardwareModelOK) GetPayload() *swagger_models.ZsrvResponse
type DeleteHardwareModelParams ¶
type DeleteHardwareModelParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* ID.
System defined universally unique Id of the model
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteHardwareModelParams contains all the parameters to send to the API endpoint
for the delete hardware model operation. Typically these are written to a http.Request.
func NewDeleteHardwareModelParams ¶
func NewDeleteHardwareModelParams() *DeleteHardwareModelParams
NewDeleteHardwareModelParams creates a new DeleteHardwareModelParams 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 NewDeleteHardwareModelParamsWithContext ¶
func NewDeleteHardwareModelParamsWithContext(ctx context.Context) *DeleteHardwareModelParams
NewDeleteHardwareModelParamsWithContext creates a new DeleteHardwareModelParams object with the ability to set a context for a request.
func NewDeleteHardwareModelParamsWithHTTPClient ¶
func NewDeleteHardwareModelParamsWithHTTPClient(client *http.Client) *DeleteHardwareModelParams
NewDeleteHardwareModelParamsWithHTTPClient creates a new DeleteHardwareModelParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteHardwareModelParamsWithTimeout ¶
func NewDeleteHardwareModelParamsWithTimeout(timeout time.Duration) *DeleteHardwareModelParams
NewDeleteHardwareModelParamsWithTimeout creates a new DeleteHardwareModelParams object with the ability to set a timeout on a request.
func (*DeleteHardwareModelParams) SetContext ¶
func (o *DeleteHardwareModelParams) SetContext(ctx context.Context)
SetContext adds the context to the delete hardware model params
func (*DeleteHardwareModelParams) SetDefaults ¶
func (o *DeleteHardwareModelParams) SetDefaults()
SetDefaults hydrates default values in the delete hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteHardwareModelParams) SetHTTPClient ¶
func (o *DeleteHardwareModelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete hardware model params
func (*DeleteHardwareModelParams) SetID ¶
func (o *DeleteHardwareModelParams) SetID(id string)
SetID adds the id to the delete hardware model params
func (*DeleteHardwareModelParams) SetTimeout ¶
func (o *DeleteHardwareModelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete hardware model params
func (*DeleteHardwareModelParams) SetXRequestID ¶
func (o *DeleteHardwareModelParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete hardware model params
func (*DeleteHardwareModelParams) WithContext ¶
func (o *DeleteHardwareModelParams) WithContext(ctx context.Context) *DeleteHardwareModelParams
WithContext adds the context to the delete hardware model params
func (*DeleteHardwareModelParams) WithDefaults ¶
func (o *DeleteHardwareModelParams) WithDefaults() *DeleteHardwareModelParams
WithDefaults hydrates default values in the delete hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteHardwareModelParams) WithHTTPClient ¶
func (o *DeleteHardwareModelParams) WithHTTPClient(client *http.Client) *DeleteHardwareModelParams
WithHTTPClient adds the HTTPClient to the delete hardware model params
func (*DeleteHardwareModelParams) WithID ¶
func (o *DeleteHardwareModelParams) WithID(id string) *DeleteHardwareModelParams
WithID adds the id to the delete hardware model params
func (*DeleteHardwareModelParams) WithTimeout ¶
func (o *DeleteHardwareModelParams) WithTimeout(timeout time.Duration) *DeleteHardwareModelParams
WithTimeout adds the timeout to the delete hardware model params
func (*DeleteHardwareModelParams) WithXRequestID ¶
func (o *DeleteHardwareModelParams) WithXRequestID(xRequestID *string) *DeleteHardwareModelParams
WithXRequestID adds the xRequestID to the delete hardware model params
func (*DeleteHardwareModelParams) WriteToRequest ¶
func (o *DeleteHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteHardwareModelReader ¶
type DeleteHardwareModelReader struct {
// contains filtered or unexported fields
}
DeleteHardwareModelReader is a Reader for the DeleteHardwareModel structure.
func (*DeleteHardwareModelReader) ReadResponse ¶
func (o *DeleteHardwareModelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteHardwareModelUnauthorized ¶
type DeleteHardwareModelUnauthorized struct {
}
DeleteHardwareModelUnauthorized 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 NewDeleteHardwareModelUnauthorized ¶
func NewDeleteHardwareModelUnauthorized() *DeleteHardwareModelUnauthorized
NewDeleteHardwareModelUnauthorized creates a DeleteHardwareModelUnauthorized with default headers values
func (*DeleteHardwareModelUnauthorized) Error ¶
func (o *DeleteHardwareModelUnauthorized) Error() string
func (*DeleteHardwareModelUnauthorized) GetPayload ¶
func (o *DeleteHardwareModelUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetDeviceTagsBadRequest ¶
type GetDeviceTagsBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
GetDeviceTagsBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of invalid value of filter parameters.
func NewGetDeviceTagsBadRequest ¶
func NewGetDeviceTagsBadRequest() *GetDeviceTagsBadRequest
NewGetDeviceTagsBadRequest creates a GetDeviceTagsBadRequest with default headers values
func (*GetDeviceTagsBadRequest) Error ¶
func (o *GetDeviceTagsBadRequest) Error() string
func (*GetDeviceTagsBadRequest) GetPayload ¶
func (o *GetDeviceTagsBadRequest) GetPayload() *swagger_models.ZsrvResponse
type GetDeviceTagsForbidden ¶
type GetDeviceTagsForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetDeviceTagsForbidden 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 NewGetDeviceTagsForbidden ¶
func NewGetDeviceTagsForbidden() *GetDeviceTagsForbidden
NewGetDeviceTagsForbidden creates a GetDeviceTagsForbidden with default headers values
func (*GetDeviceTagsForbidden) Error ¶
func (o *GetDeviceTagsForbidden) Error() string
func (*GetDeviceTagsForbidden) GetPayload ¶
func (o *GetDeviceTagsForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetDeviceTagsGatewayTimeout ¶
type GetDeviceTagsGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetDeviceTagsGatewayTimeout 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 NewGetDeviceTagsGatewayTimeout ¶
func NewGetDeviceTagsGatewayTimeout() *GetDeviceTagsGatewayTimeout
NewGetDeviceTagsGatewayTimeout creates a GetDeviceTagsGatewayTimeout with default headers values
func (*GetDeviceTagsGatewayTimeout) Error ¶
func (o *GetDeviceTagsGatewayTimeout) Error() string
func (*GetDeviceTagsGatewayTimeout) GetPayload ¶
func (o *GetDeviceTagsGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetDeviceTagsInternalServerError ¶
type GetDeviceTagsInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetDeviceTagsInternalServerError 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 NewGetDeviceTagsInternalServerError ¶
func NewGetDeviceTagsInternalServerError() *GetDeviceTagsInternalServerError
NewGetDeviceTagsInternalServerError creates a GetDeviceTagsInternalServerError with default headers values
func (*GetDeviceTagsInternalServerError) Error ¶
func (o *GetDeviceTagsInternalServerError) Error() string
func (*GetDeviceTagsInternalServerError) GetPayload ¶
func (o *GetDeviceTagsInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetDeviceTagsOK ¶
type GetDeviceTagsOK struct {
Payload *swagger_models.ObjectTagsList
}
GetDeviceTagsOK describes a response with status code 200, with default header values.
A successful response.
func NewGetDeviceTagsOK ¶
func NewGetDeviceTagsOK() *GetDeviceTagsOK
NewGetDeviceTagsOK creates a GetDeviceTagsOK with default headers values
func (*GetDeviceTagsOK) Error ¶
func (o *GetDeviceTagsOK) Error() string
func (*GetDeviceTagsOK) GetPayload ¶
func (o *GetDeviceTagsOK) GetPayload() *swagger_models.ObjectTagsList
type GetDeviceTagsParams ¶
type GetDeviceTagsParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* FilterObjID.
Object Id which tags are associated.
*/
FilterObjID *string
/* FilterObjName.
Object name which tags are associated.
*/
FilterObjName *string
/* NextOrderBy.
OrderBy helps in sorting the list response
*/
NextOrderBy *string
/* NextPageNum.
Page Number
Format: int64
*/
NextPageNum *int64
/* NextPageSize.
Defines the page size
Format: int64
*/
NextPageSize *int64
/* NextPageToken.
Page Token
*/
NextPageToken *string
/* NextTotalPages.
Total number of pages to be fetched.
Format: int64
*/
NextTotalPages *int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetDeviceTagsParams contains all the parameters to send to the API endpoint
for the get device tags operation. Typically these are written to a http.Request.
func NewGetDeviceTagsParams ¶
func NewGetDeviceTagsParams() *GetDeviceTagsParams
NewGetDeviceTagsParams creates a new GetDeviceTagsParams 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 NewGetDeviceTagsParamsWithContext ¶
func NewGetDeviceTagsParamsWithContext(ctx context.Context) *GetDeviceTagsParams
NewGetDeviceTagsParamsWithContext creates a new GetDeviceTagsParams object with the ability to set a context for a request.
func NewGetDeviceTagsParamsWithHTTPClient ¶
func NewGetDeviceTagsParamsWithHTTPClient(client *http.Client) *GetDeviceTagsParams
NewGetDeviceTagsParamsWithHTTPClient creates a new GetDeviceTagsParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceTagsParamsWithTimeout ¶
func NewGetDeviceTagsParamsWithTimeout(timeout time.Duration) *GetDeviceTagsParams
NewGetDeviceTagsParamsWithTimeout creates a new GetDeviceTagsParams object with the ability to set a timeout on a request.
func (*GetDeviceTagsParams) SetContext ¶
func (o *GetDeviceTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the get device tags params
func (*GetDeviceTagsParams) SetDefaults ¶
func (o *GetDeviceTagsParams) SetDefaults()
SetDefaults hydrates default values in the get device tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeviceTagsParams) SetFilterObjID ¶
func (o *GetDeviceTagsParams) SetFilterObjID(filterObjID *string)
SetFilterObjID adds the filterObjId to the get device tags params
func (*GetDeviceTagsParams) SetFilterObjName ¶
func (o *GetDeviceTagsParams) SetFilterObjName(filterObjName *string)
SetFilterObjName adds the filterObjName to the get device tags params
func (*GetDeviceTagsParams) SetHTTPClient ¶
func (o *GetDeviceTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device tags params
func (*GetDeviceTagsParams) SetNextOrderBy ¶
func (o *GetDeviceTagsParams) SetNextOrderBy(nextOrderBy *string)
SetNextOrderBy adds the nextOrderBy to the get device tags params
func (*GetDeviceTagsParams) SetNextPageNum ¶
func (o *GetDeviceTagsParams) SetNextPageNum(nextPageNum *int64)
SetNextPageNum adds the nextPageNum to the get device tags params
func (*GetDeviceTagsParams) SetNextPageSize ¶
func (o *GetDeviceTagsParams) SetNextPageSize(nextPageSize *int64)
SetNextPageSize adds the nextPageSize to the get device tags params
func (*GetDeviceTagsParams) SetNextPageToken ¶
func (o *GetDeviceTagsParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the get device tags params
func (*GetDeviceTagsParams) SetNextTotalPages ¶
func (o *GetDeviceTagsParams) SetNextTotalPages(nextTotalPages *int64)
SetNextTotalPages adds the nextTotalPages to the get device tags params
func (*GetDeviceTagsParams) SetTimeout ¶
func (o *GetDeviceTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device tags params
func (*GetDeviceTagsParams) SetXRequestID ¶
func (o *GetDeviceTagsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get device tags params
func (*GetDeviceTagsParams) WithContext ¶
func (o *GetDeviceTagsParams) WithContext(ctx context.Context) *GetDeviceTagsParams
WithContext adds the context to the get device tags params
func (*GetDeviceTagsParams) WithDefaults ¶
func (o *GetDeviceTagsParams) WithDefaults() *GetDeviceTagsParams
WithDefaults hydrates default values in the get device tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeviceTagsParams) WithFilterObjID ¶
func (o *GetDeviceTagsParams) WithFilterObjID(filterObjID *string) *GetDeviceTagsParams
WithFilterObjID adds the filterObjID to the get device tags params
func (*GetDeviceTagsParams) WithFilterObjName ¶
func (o *GetDeviceTagsParams) WithFilterObjName(filterObjName *string) *GetDeviceTagsParams
WithFilterObjName adds the filterObjName to the get device tags params
func (*GetDeviceTagsParams) WithHTTPClient ¶
func (o *GetDeviceTagsParams) WithHTTPClient(client *http.Client) *GetDeviceTagsParams
WithHTTPClient adds the HTTPClient to the get device tags params
func (*GetDeviceTagsParams) WithNextOrderBy ¶
func (o *GetDeviceTagsParams) WithNextOrderBy(nextOrderBy *string) *GetDeviceTagsParams
WithNextOrderBy adds the nextOrderBy to the get device tags params
func (*GetDeviceTagsParams) WithNextPageNum ¶
func (o *GetDeviceTagsParams) WithNextPageNum(nextPageNum *int64) *GetDeviceTagsParams
WithNextPageNum adds the nextPageNum to the get device tags params
func (*GetDeviceTagsParams) WithNextPageSize ¶
func (o *GetDeviceTagsParams) WithNextPageSize(nextPageSize *int64) *GetDeviceTagsParams
WithNextPageSize adds the nextPageSize to the get device tags params
func (*GetDeviceTagsParams) WithNextPageToken ¶
func (o *GetDeviceTagsParams) WithNextPageToken(nextPageToken *string) *GetDeviceTagsParams
WithNextPageToken adds the nextPageToken to the get device tags params
func (*GetDeviceTagsParams) WithNextTotalPages ¶
func (o *GetDeviceTagsParams) WithNextTotalPages(nextTotalPages *int64) *GetDeviceTagsParams
WithNextTotalPages adds the nextTotalPages to the get device tags params
func (*GetDeviceTagsParams) WithTimeout ¶
func (o *GetDeviceTagsParams) WithTimeout(timeout time.Duration) *GetDeviceTagsParams
WithTimeout adds the timeout to the get device tags params
func (*GetDeviceTagsParams) WithXRequestID ¶
func (o *GetDeviceTagsParams) WithXRequestID(xRequestID *string) *GetDeviceTagsParams
WithXRequestID adds the xRequestID to the get device tags params
func (*GetDeviceTagsParams) WriteToRequest ¶
func (o *GetDeviceTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceTagsReader ¶
type GetDeviceTagsReader struct {
// contains filtered or unexported fields
}
GetDeviceTagsReader is a Reader for the GetDeviceTags structure.
func (*GetDeviceTagsReader) ReadResponse ¶
func (o *GetDeviceTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceTagsUnauthorized ¶
type GetDeviceTagsUnauthorized struct {
}
GetDeviceTagsUnauthorized 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 NewGetDeviceTagsUnauthorized ¶
func NewGetDeviceTagsUnauthorized() *GetDeviceTagsUnauthorized
NewGetDeviceTagsUnauthorized creates a GetDeviceTagsUnauthorized with default headers values
func (*GetDeviceTagsUnauthorized) Error ¶
func (o *GetDeviceTagsUnauthorized) Error() string
func (*GetDeviceTagsUnauthorized) GetPayload ¶
func (o *GetDeviceTagsUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareBrandByNameForbidden ¶
type GetGlobalHardwareBrandByNameForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareBrandByNameForbidden 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 NewGetGlobalHardwareBrandByNameForbidden ¶
func NewGetGlobalHardwareBrandByNameForbidden() *GetGlobalHardwareBrandByNameForbidden
NewGetGlobalHardwareBrandByNameForbidden creates a GetGlobalHardwareBrandByNameForbidden with default headers values
func (*GetGlobalHardwareBrandByNameForbidden) Error ¶
func (o *GetGlobalHardwareBrandByNameForbidden) Error() string
func (*GetGlobalHardwareBrandByNameForbidden) GetPayload ¶
func (o *GetGlobalHardwareBrandByNameForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareBrandByNameGatewayTimeout ¶
type GetGlobalHardwareBrandByNameGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareBrandByNameGatewayTimeout 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 NewGetGlobalHardwareBrandByNameGatewayTimeout ¶
func NewGetGlobalHardwareBrandByNameGatewayTimeout() *GetGlobalHardwareBrandByNameGatewayTimeout
NewGetGlobalHardwareBrandByNameGatewayTimeout creates a GetGlobalHardwareBrandByNameGatewayTimeout with default headers values
func (*GetGlobalHardwareBrandByNameGatewayTimeout) Error ¶
func (o *GetGlobalHardwareBrandByNameGatewayTimeout) Error() string
func (*GetGlobalHardwareBrandByNameGatewayTimeout) GetPayload ¶
func (o *GetGlobalHardwareBrandByNameGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareBrandByNameInternalServerError ¶
type GetGlobalHardwareBrandByNameInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareBrandByNameInternalServerError 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 NewGetGlobalHardwareBrandByNameInternalServerError ¶
func NewGetGlobalHardwareBrandByNameInternalServerError() *GetGlobalHardwareBrandByNameInternalServerError
NewGetGlobalHardwareBrandByNameInternalServerError creates a GetGlobalHardwareBrandByNameInternalServerError with default headers values
func (*GetGlobalHardwareBrandByNameInternalServerError) Error ¶
func (o *GetGlobalHardwareBrandByNameInternalServerError) Error() string
func (*GetGlobalHardwareBrandByNameInternalServerError) GetPayload ¶
func (o *GetGlobalHardwareBrandByNameInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareBrandByNameNotFound ¶
type GetGlobalHardwareBrandByNameNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareBrandByNameNotFound 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 NewGetGlobalHardwareBrandByNameNotFound ¶
func NewGetGlobalHardwareBrandByNameNotFound() *GetGlobalHardwareBrandByNameNotFound
NewGetGlobalHardwareBrandByNameNotFound creates a GetGlobalHardwareBrandByNameNotFound with default headers values
func (*GetGlobalHardwareBrandByNameNotFound) Error ¶
func (o *GetGlobalHardwareBrandByNameNotFound) Error() string
func (*GetGlobalHardwareBrandByNameNotFound) GetPayload ¶
func (o *GetGlobalHardwareBrandByNameNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareBrandByNameOK ¶
type GetGlobalHardwareBrandByNameOK struct {
Payload *swagger_models.SysBrand
}
GetGlobalHardwareBrandByNameOK describes a response with status code 200, with default header values.
A successful response.
func NewGetGlobalHardwareBrandByNameOK ¶
func NewGetGlobalHardwareBrandByNameOK() *GetGlobalHardwareBrandByNameOK
NewGetGlobalHardwareBrandByNameOK creates a GetGlobalHardwareBrandByNameOK with default headers values
func (*GetGlobalHardwareBrandByNameOK) Error ¶
func (o *GetGlobalHardwareBrandByNameOK) Error() string
func (*GetGlobalHardwareBrandByNameOK) GetPayload ¶
func (o *GetGlobalHardwareBrandByNameOK) GetPayload() *swagger_models.SysBrand
type GetGlobalHardwareBrandByNameParams ¶
type GetGlobalHardwareBrandByNameParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* EnterpriseID.
deprecated field: EnterpriseId
*/
EnterpriseID *string
/* Name.
user defined sys brand name
*/
Name string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetGlobalHardwareBrandByNameParams contains all the parameters to send to the API endpoint
for the get global hardware brand by name operation. Typically these are written to a http.Request.
func NewGetGlobalHardwareBrandByNameParams ¶
func NewGetGlobalHardwareBrandByNameParams() *GetGlobalHardwareBrandByNameParams
NewGetGlobalHardwareBrandByNameParams creates a new GetGlobalHardwareBrandByNameParams 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 NewGetGlobalHardwareBrandByNameParamsWithContext ¶
func NewGetGlobalHardwareBrandByNameParamsWithContext(ctx context.Context) *GetGlobalHardwareBrandByNameParams
NewGetGlobalHardwareBrandByNameParamsWithContext creates a new GetGlobalHardwareBrandByNameParams object with the ability to set a context for a request.
func NewGetGlobalHardwareBrandByNameParamsWithHTTPClient ¶
func NewGetGlobalHardwareBrandByNameParamsWithHTTPClient(client *http.Client) *GetGlobalHardwareBrandByNameParams
NewGetGlobalHardwareBrandByNameParamsWithHTTPClient creates a new GetGlobalHardwareBrandByNameParams object with the ability to set a custom HTTPClient for a request.
func NewGetGlobalHardwareBrandByNameParamsWithTimeout ¶
func NewGetGlobalHardwareBrandByNameParamsWithTimeout(timeout time.Duration) *GetGlobalHardwareBrandByNameParams
NewGetGlobalHardwareBrandByNameParamsWithTimeout creates a new GetGlobalHardwareBrandByNameParams object with the ability to set a timeout on a request.
func (*GetGlobalHardwareBrandByNameParams) SetContext ¶
func (o *GetGlobalHardwareBrandByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get global hardware brand by name params
func (*GetGlobalHardwareBrandByNameParams) SetDefaults ¶
func (o *GetGlobalHardwareBrandByNameParams) SetDefaults()
SetDefaults hydrates default values in the get global hardware brand by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetGlobalHardwareBrandByNameParams) SetEnterpriseID ¶
func (o *GetGlobalHardwareBrandByNameParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the get global hardware brand by name params
func (*GetGlobalHardwareBrandByNameParams) SetHTTPClient ¶
func (o *GetGlobalHardwareBrandByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get global hardware brand by name params
func (*GetGlobalHardwareBrandByNameParams) SetName ¶
func (o *GetGlobalHardwareBrandByNameParams) SetName(name string)
SetName adds the name to the get global hardware brand by name params
func (*GetGlobalHardwareBrandByNameParams) SetTimeout ¶
func (o *GetGlobalHardwareBrandByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get global hardware brand by name params
func (*GetGlobalHardwareBrandByNameParams) SetXRequestID ¶
func (o *GetGlobalHardwareBrandByNameParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get global hardware brand by name params
func (*GetGlobalHardwareBrandByNameParams) WithContext ¶
func (o *GetGlobalHardwareBrandByNameParams) WithContext(ctx context.Context) *GetGlobalHardwareBrandByNameParams
WithContext adds the context to the get global hardware brand by name params
func (*GetGlobalHardwareBrandByNameParams) WithDefaults ¶
func (o *GetGlobalHardwareBrandByNameParams) WithDefaults() *GetGlobalHardwareBrandByNameParams
WithDefaults hydrates default values in the get global hardware brand by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetGlobalHardwareBrandByNameParams) WithEnterpriseID ¶
func (o *GetGlobalHardwareBrandByNameParams) WithEnterpriseID(enterpriseID *string) *GetGlobalHardwareBrandByNameParams
WithEnterpriseID adds the enterpriseID to the get global hardware brand by name params
func (*GetGlobalHardwareBrandByNameParams) WithHTTPClient ¶
func (o *GetGlobalHardwareBrandByNameParams) WithHTTPClient(client *http.Client) *GetGlobalHardwareBrandByNameParams
WithHTTPClient adds the HTTPClient to the get global hardware brand by name params
func (*GetGlobalHardwareBrandByNameParams) WithName ¶
func (o *GetGlobalHardwareBrandByNameParams) WithName(name string) *GetGlobalHardwareBrandByNameParams
WithName adds the name to the get global hardware brand by name params
func (*GetGlobalHardwareBrandByNameParams) WithTimeout ¶
func (o *GetGlobalHardwareBrandByNameParams) WithTimeout(timeout time.Duration) *GetGlobalHardwareBrandByNameParams
WithTimeout adds the timeout to the get global hardware brand by name params
func (*GetGlobalHardwareBrandByNameParams) WithXRequestID ¶
func (o *GetGlobalHardwareBrandByNameParams) WithXRequestID(xRequestID *string) *GetGlobalHardwareBrandByNameParams
WithXRequestID adds the xRequestID to the get global hardware brand by name params
func (*GetGlobalHardwareBrandByNameParams) WriteToRequest ¶
func (o *GetGlobalHardwareBrandByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGlobalHardwareBrandByNameReader ¶
type GetGlobalHardwareBrandByNameReader struct {
// contains filtered or unexported fields
}
GetGlobalHardwareBrandByNameReader is a Reader for the GetGlobalHardwareBrandByName structure.
func (*GetGlobalHardwareBrandByNameReader) ReadResponse ¶
func (o *GetGlobalHardwareBrandByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGlobalHardwareBrandByNameUnauthorized ¶
type GetGlobalHardwareBrandByNameUnauthorized struct {
}
GetGlobalHardwareBrandByNameUnauthorized 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 NewGetGlobalHardwareBrandByNameUnauthorized ¶
func NewGetGlobalHardwareBrandByNameUnauthorized() *GetGlobalHardwareBrandByNameUnauthorized
NewGetGlobalHardwareBrandByNameUnauthorized creates a GetGlobalHardwareBrandByNameUnauthorized with default headers values
func (*GetGlobalHardwareBrandByNameUnauthorized) Error ¶
func (o *GetGlobalHardwareBrandByNameUnauthorized) Error() string
func (*GetGlobalHardwareBrandByNameUnauthorized) GetPayload ¶
func (o *GetGlobalHardwareBrandByNameUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareBrandForbidden ¶
type GetGlobalHardwareBrandForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareBrandForbidden 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 NewGetGlobalHardwareBrandForbidden ¶
func NewGetGlobalHardwareBrandForbidden() *GetGlobalHardwareBrandForbidden
NewGetGlobalHardwareBrandForbidden creates a GetGlobalHardwareBrandForbidden with default headers values
func (*GetGlobalHardwareBrandForbidden) Error ¶
func (o *GetGlobalHardwareBrandForbidden) Error() string
func (*GetGlobalHardwareBrandForbidden) GetPayload ¶
func (o *GetGlobalHardwareBrandForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareBrandGatewayTimeout ¶
type GetGlobalHardwareBrandGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareBrandGatewayTimeout 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 NewGetGlobalHardwareBrandGatewayTimeout ¶
func NewGetGlobalHardwareBrandGatewayTimeout() *GetGlobalHardwareBrandGatewayTimeout
NewGetGlobalHardwareBrandGatewayTimeout creates a GetGlobalHardwareBrandGatewayTimeout with default headers values
func (*GetGlobalHardwareBrandGatewayTimeout) Error ¶
func (o *GetGlobalHardwareBrandGatewayTimeout) Error() string
func (*GetGlobalHardwareBrandGatewayTimeout) GetPayload ¶
func (o *GetGlobalHardwareBrandGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareBrandInternalServerError ¶
type GetGlobalHardwareBrandInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareBrandInternalServerError 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 NewGetGlobalHardwareBrandInternalServerError ¶
func NewGetGlobalHardwareBrandInternalServerError() *GetGlobalHardwareBrandInternalServerError
NewGetGlobalHardwareBrandInternalServerError creates a GetGlobalHardwareBrandInternalServerError with default headers values
func (*GetGlobalHardwareBrandInternalServerError) Error ¶
func (o *GetGlobalHardwareBrandInternalServerError) Error() string
func (*GetGlobalHardwareBrandInternalServerError) GetPayload ¶
func (o *GetGlobalHardwareBrandInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareBrandNotFound ¶
type GetGlobalHardwareBrandNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareBrandNotFound 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 NewGetGlobalHardwareBrandNotFound ¶
func NewGetGlobalHardwareBrandNotFound() *GetGlobalHardwareBrandNotFound
NewGetGlobalHardwareBrandNotFound creates a GetGlobalHardwareBrandNotFound with default headers values
func (*GetGlobalHardwareBrandNotFound) Error ¶
func (o *GetGlobalHardwareBrandNotFound) Error() string
func (*GetGlobalHardwareBrandNotFound) GetPayload ¶
func (o *GetGlobalHardwareBrandNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareBrandOK ¶
type GetGlobalHardwareBrandOK struct {
Payload *swagger_models.SysBrand
}
GetGlobalHardwareBrandOK describes a response with status code 200, with default header values.
A successful response.
func NewGetGlobalHardwareBrandOK ¶
func NewGetGlobalHardwareBrandOK() *GetGlobalHardwareBrandOK
NewGetGlobalHardwareBrandOK creates a GetGlobalHardwareBrandOK with default headers values
func (*GetGlobalHardwareBrandOK) Error ¶
func (o *GetGlobalHardwareBrandOK) Error() string
func (*GetGlobalHardwareBrandOK) GetPayload ¶
func (o *GetGlobalHardwareBrandOK) GetPayload() *swagger_models.SysBrand
type GetGlobalHardwareBrandParams ¶
type GetGlobalHardwareBrandParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* EnterpriseID.
deprecated field: EnterpriseId
*/
EnterpriseID *string
/* ID.
System defined universally unique Id of the model.
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetGlobalHardwareBrandParams contains all the parameters to send to the API endpoint
for the get global hardware brand operation. Typically these are written to a http.Request.
func NewGetGlobalHardwareBrandParams ¶
func NewGetGlobalHardwareBrandParams() *GetGlobalHardwareBrandParams
NewGetGlobalHardwareBrandParams creates a new GetGlobalHardwareBrandParams 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 NewGetGlobalHardwareBrandParamsWithContext ¶
func NewGetGlobalHardwareBrandParamsWithContext(ctx context.Context) *GetGlobalHardwareBrandParams
NewGetGlobalHardwareBrandParamsWithContext creates a new GetGlobalHardwareBrandParams object with the ability to set a context for a request.
func NewGetGlobalHardwareBrandParamsWithHTTPClient ¶
func NewGetGlobalHardwareBrandParamsWithHTTPClient(client *http.Client) *GetGlobalHardwareBrandParams
NewGetGlobalHardwareBrandParamsWithHTTPClient creates a new GetGlobalHardwareBrandParams object with the ability to set a custom HTTPClient for a request.
func NewGetGlobalHardwareBrandParamsWithTimeout ¶
func NewGetGlobalHardwareBrandParamsWithTimeout(timeout time.Duration) *GetGlobalHardwareBrandParams
NewGetGlobalHardwareBrandParamsWithTimeout creates a new GetGlobalHardwareBrandParams object with the ability to set a timeout on a request.
func (*GetGlobalHardwareBrandParams) SetContext ¶
func (o *GetGlobalHardwareBrandParams) SetContext(ctx context.Context)
SetContext adds the context to the get global hardware brand params
func (*GetGlobalHardwareBrandParams) SetDefaults ¶
func (o *GetGlobalHardwareBrandParams) SetDefaults()
SetDefaults hydrates default values in the get global hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*GetGlobalHardwareBrandParams) SetEnterpriseID ¶
func (o *GetGlobalHardwareBrandParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the get global hardware brand params
func (*GetGlobalHardwareBrandParams) SetHTTPClient ¶
func (o *GetGlobalHardwareBrandParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get global hardware brand params
func (*GetGlobalHardwareBrandParams) SetID ¶
func (o *GetGlobalHardwareBrandParams) SetID(id string)
SetID adds the id to the get global hardware brand params
func (*GetGlobalHardwareBrandParams) SetTimeout ¶
func (o *GetGlobalHardwareBrandParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get global hardware brand params
func (*GetGlobalHardwareBrandParams) SetXRequestID ¶
func (o *GetGlobalHardwareBrandParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get global hardware brand params
func (*GetGlobalHardwareBrandParams) WithContext ¶
func (o *GetGlobalHardwareBrandParams) WithContext(ctx context.Context) *GetGlobalHardwareBrandParams
WithContext adds the context to the get global hardware brand params
func (*GetGlobalHardwareBrandParams) WithDefaults ¶
func (o *GetGlobalHardwareBrandParams) WithDefaults() *GetGlobalHardwareBrandParams
WithDefaults hydrates default values in the get global hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*GetGlobalHardwareBrandParams) WithEnterpriseID ¶
func (o *GetGlobalHardwareBrandParams) WithEnterpriseID(enterpriseID *string) *GetGlobalHardwareBrandParams
WithEnterpriseID adds the enterpriseID to the get global hardware brand params
func (*GetGlobalHardwareBrandParams) WithHTTPClient ¶
func (o *GetGlobalHardwareBrandParams) WithHTTPClient(client *http.Client) *GetGlobalHardwareBrandParams
WithHTTPClient adds the HTTPClient to the get global hardware brand params
func (*GetGlobalHardwareBrandParams) WithID ¶
func (o *GetGlobalHardwareBrandParams) WithID(id string) *GetGlobalHardwareBrandParams
WithID adds the id to the get global hardware brand params
func (*GetGlobalHardwareBrandParams) WithTimeout ¶
func (o *GetGlobalHardwareBrandParams) WithTimeout(timeout time.Duration) *GetGlobalHardwareBrandParams
WithTimeout adds the timeout to the get global hardware brand params
func (*GetGlobalHardwareBrandParams) WithXRequestID ¶
func (o *GetGlobalHardwareBrandParams) WithXRequestID(xRequestID *string) *GetGlobalHardwareBrandParams
WithXRequestID adds the xRequestID to the get global hardware brand params
func (*GetGlobalHardwareBrandParams) WriteToRequest ¶
func (o *GetGlobalHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGlobalHardwareBrandReader ¶
type GetGlobalHardwareBrandReader struct {
// contains filtered or unexported fields
}
GetGlobalHardwareBrandReader is a Reader for the GetGlobalHardwareBrand structure.
func (*GetGlobalHardwareBrandReader) ReadResponse ¶
func (o *GetGlobalHardwareBrandReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGlobalHardwareBrandUnauthorized ¶
type GetGlobalHardwareBrandUnauthorized struct {
}
GetGlobalHardwareBrandUnauthorized 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 NewGetGlobalHardwareBrandUnauthorized ¶
func NewGetGlobalHardwareBrandUnauthorized() *GetGlobalHardwareBrandUnauthorized
NewGetGlobalHardwareBrandUnauthorized creates a GetGlobalHardwareBrandUnauthorized with default headers values
func (*GetGlobalHardwareBrandUnauthorized) Error ¶
func (o *GetGlobalHardwareBrandUnauthorized) Error() string
func (*GetGlobalHardwareBrandUnauthorized) GetPayload ¶
func (o *GetGlobalHardwareBrandUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareModelByNameForbidden ¶
type GetGlobalHardwareModelByNameForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareModelByNameForbidden 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 NewGetGlobalHardwareModelByNameForbidden ¶
func NewGetGlobalHardwareModelByNameForbidden() *GetGlobalHardwareModelByNameForbidden
NewGetGlobalHardwareModelByNameForbidden creates a GetGlobalHardwareModelByNameForbidden with default headers values
func (*GetGlobalHardwareModelByNameForbidden) Error ¶
func (o *GetGlobalHardwareModelByNameForbidden) Error() string
func (*GetGlobalHardwareModelByNameForbidden) GetPayload ¶
func (o *GetGlobalHardwareModelByNameForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareModelByNameGatewayTimeout ¶
type GetGlobalHardwareModelByNameGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareModelByNameGatewayTimeout 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 NewGetGlobalHardwareModelByNameGatewayTimeout ¶
func NewGetGlobalHardwareModelByNameGatewayTimeout() *GetGlobalHardwareModelByNameGatewayTimeout
NewGetGlobalHardwareModelByNameGatewayTimeout creates a GetGlobalHardwareModelByNameGatewayTimeout with default headers values
func (*GetGlobalHardwareModelByNameGatewayTimeout) Error ¶
func (o *GetGlobalHardwareModelByNameGatewayTimeout) Error() string
func (*GetGlobalHardwareModelByNameGatewayTimeout) GetPayload ¶
func (o *GetGlobalHardwareModelByNameGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareModelByNameInternalServerError ¶
type GetGlobalHardwareModelByNameInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareModelByNameInternalServerError 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 NewGetGlobalHardwareModelByNameInternalServerError ¶
func NewGetGlobalHardwareModelByNameInternalServerError() *GetGlobalHardwareModelByNameInternalServerError
NewGetGlobalHardwareModelByNameInternalServerError creates a GetGlobalHardwareModelByNameInternalServerError with default headers values
func (*GetGlobalHardwareModelByNameInternalServerError) Error ¶
func (o *GetGlobalHardwareModelByNameInternalServerError) Error() string
func (*GetGlobalHardwareModelByNameInternalServerError) GetPayload ¶
func (o *GetGlobalHardwareModelByNameInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareModelByNameNotFound ¶
type GetGlobalHardwareModelByNameNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareModelByNameNotFound 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 NewGetGlobalHardwareModelByNameNotFound ¶
func NewGetGlobalHardwareModelByNameNotFound() *GetGlobalHardwareModelByNameNotFound
NewGetGlobalHardwareModelByNameNotFound creates a GetGlobalHardwareModelByNameNotFound with default headers values
func (*GetGlobalHardwareModelByNameNotFound) Error ¶
func (o *GetGlobalHardwareModelByNameNotFound) Error() string
func (*GetGlobalHardwareModelByNameNotFound) GetPayload ¶
func (o *GetGlobalHardwareModelByNameNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareModelByNameOK ¶
type GetGlobalHardwareModelByNameOK struct {
Payload *swagger_models.SysModel
}
GetGlobalHardwareModelByNameOK describes a response with status code 200, with default header values.
A successful response.
func NewGetGlobalHardwareModelByNameOK ¶
func NewGetGlobalHardwareModelByNameOK() *GetGlobalHardwareModelByNameOK
NewGetGlobalHardwareModelByNameOK creates a GetGlobalHardwareModelByNameOK with default headers values
func (*GetGlobalHardwareModelByNameOK) Error ¶
func (o *GetGlobalHardwareModelByNameOK) Error() string
func (*GetGlobalHardwareModelByNameOK) GetPayload ¶
func (o *GetGlobalHardwareModelByNameOK) GetPayload() *swagger_models.SysModel
type GetGlobalHardwareModelByNameParams ¶
type GetGlobalHardwareModelByNameParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* Name.
User defined name of the model, unique across the enterprise. Once model is created, name can’t be changed.
*/
Name string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetGlobalHardwareModelByNameParams contains all the parameters to send to the API endpoint
for the get global hardware model by name operation. Typically these are written to a http.Request.
func NewGetGlobalHardwareModelByNameParams ¶
func NewGetGlobalHardwareModelByNameParams() *GetGlobalHardwareModelByNameParams
NewGetGlobalHardwareModelByNameParams creates a new GetGlobalHardwareModelByNameParams 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 NewGetGlobalHardwareModelByNameParamsWithContext ¶
func NewGetGlobalHardwareModelByNameParamsWithContext(ctx context.Context) *GetGlobalHardwareModelByNameParams
NewGetGlobalHardwareModelByNameParamsWithContext creates a new GetGlobalHardwareModelByNameParams object with the ability to set a context for a request.
func NewGetGlobalHardwareModelByNameParamsWithHTTPClient ¶
func NewGetGlobalHardwareModelByNameParamsWithHTTPClient(client *http.Client) *GetGlobalHardwareModelByNameParams
NewGetGlobalHardwareModelByNameParamsWithHTTPClient creates a new GetGlobalHardwareModelByNameParams object with the ability to set a custom HTTPClient for a request.
func NewGetGlobalHardwareModelByNameParamsWithTimeout ¶
func NewGetGlobalHardwareModelByNameParamsWithTimeout(timeout time.Duration) *GetGlobalHardwareModelByNameParams
NewGetGlobalHardwareModelByNameParamsWithTimeout creates a new GetGlobalHardwareModelByNameParams object with the ability to set a timeout on a request.
func (*GetGlobalHardwareModelByNameParams) SetContext ¶
func (o *GetGlobalHardwareModelByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get global hardware model by name params
func (*GetGlobalHardwareModelByNameParams) SetDefaults ¶
func (o *GetGlobalHardwareModelByNameParams) SetDefaults()
SetDefaults hydrates default values in the get global hardware model by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetGlobalHardwareModelByNameParams) SetHTTPClient ¶
func (o *GetGlobalHardwareModelByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get global hardware model by name params
func (*GetGlobalHardwareModelByNameParams) SetName ¶
func (o *GetGlobalHardwareModelByNameParams) SetName(name string)
SetName adds the name to the get global hardware model by name params
func (*GetGlobalHardwareModelByNameParams) SetTimeout ¶
func (o *GetGlobalHardwareModelByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get global hardware model by name params
func (*GetGlobalHardwareModelByNameParams) SetXRequestID ¶
func (o *GetGlobalHardwareModelByNameParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get global hardware model by name params
func (*GetGlobalHardwareModelByNameParams) WithContext ¶
func (o *GetGlobalHardwareModelByNameParams) WithContext(ctx context.Context) *GetGlobalHardwareModelByNameParams
WithContext adds the context to the get global hardware model by name params
func (*GetGlobalHardwareModelByNameParams) WithDefaults ¶
func (o *GetGlobalHardwareModelByNameParams) WithDefaults() *GetGlobalHardwareModelByNameParams
WithDefaults hydrates default values in the get global hardware model by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetGlobalHardwareModelByNameParams) WithHTTPClient ¶
func (o *GetGlobalHardwareModelByNameParams) WithHTTPClient(client *http.Client) *GetGlobalHardwareModelByNameParams
WithHTTPClient adds the HTTPClient to the get global hardware model by name params
func (*GetGlobalHardwareModelByNameParams) WithName ¶
func (o *GetGlobalHardwareModelByNameParams) WithName(name string) *GetGlobalHardwareModelByNameParams
WithName adds the name to the get global hardware model by name params
func (*GetGlobalHardwareModelByNameParams) WithTimeout ¶
func (o *GetGlobalHardwareModelByNameParams) WithTimeout(timeout time.Duration) *GetGlobalHardwareModelByNameParams
WithTimeout adds the timeout to the get global hardware model by name params
func (*GetGlobalHardwareModelByNameParams) WithXRequestID ¶
func (o *GetGlobalHardwareModelByNameParams) WithXRequestID(xRequestID *string) *GetGlobalHardwareModelByNameParams
WithXRequestID adds the xRequestID to the get global hardware model by name params
func (*GetGlobalHardwareModelByNameParams) WriteToRequest ¶
func (o *GetGlobalHardwareModelByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGlobalHardwareModelByNameReader ¶
type GetGlobalHardwareModelByNameReader struct {
// contains filtered or unexported fields
}
GetGlobalHardwareModelByNameReader is a Reader for the GetGlobalHardwareModelByName structure.
func (*GetGlobalHardwareModelByNameReader) ReadResponse ¶
func (o *GetGlobalHardwareModelByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGlobalHardwareModelByNameUnauthorized ¶
type GetGlobalHardwareModelByNameUnauthorized struct {
}
GetGlobalHardwareModelByNameUnauthorized 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 NewGetGlobalHardwareModelByNameUnauthorized ¶
func NewGetGlobalHardwareModelByNameUnauthorized() *GetGlobalHardwareModelByNameUnauthorized
NewGetGlobalHardwareModelByNameUnauthorized creates a GetGlobalHardwareModelByNameUnauthorized with default headers values
func (*GetGlobalHardwareModelByNameUnauthorized) Error ¶
func (o *GetGlobalHardwareModelByNameUnauthorized) Error() string
func (*GetGlobalHardwareModelByNameUnauthorized) GetPayload ¶
func (o *GetGlobalHardwareModelByNameUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareModelForbidden ¶
type GetGlobalHardwareModelForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareModelForbidden 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 NewGetGlobalHardwareModelForbidden ¶
func NewGetGlobalHardwareModelForbidden() *GetGlobalHardwareModelForbidden
NewGetGlobalHardwareModelForbidden creates a GetGlobalHardwareModelForbidden with default headers values
func (*GetGlobalHardwareModelForbidden) Error ¶
func (o *GetGlobalHardwareModelForbidden) Error() string
func (*GetGlobalHardwareModelForbidden) GetPayload ¶
func (o *GetGlobalHardwareModelForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareModelGatewayTimeout ¶
type GetGlobalHardwareModelGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareModelGatewayTimeout 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 NewGetGlobalHardwareModelGatewayTimeout ¶
func NewGetGlobalHardwareModelGatewayTimeout() *GetGlobalHardwareModelGatewayTimeout
NewGetGlobalHardwareModelGatewayTimeout creates a GetGlobalHardwareModelGatewayTimeout with default headers values
func (*GetGlobalHardwareModelGatewayTimeout) Error ¶
func (o *GetGlobalHardwareModelGatewayTimeout) Error() string
func (*GetGlobalHardwareModelGatewayTimeout) GetPayload ¶
func (o *GetGlobalHardwareModelGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareModelInternalServerError ¶
type GetGlobalHardwareModelInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareModelInternalServerError 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 NewGetGlobalHardwareModelInternalServerError ¶
func NewGetGlobalHardwareModelInternalServerError() *GetGlobalHardwareModelInternalServerError
NewGetGlobalHardwareModelInternalServerError creates a GetGlobalHardwareModelInternalServerError with default headers values
func (*GetGlobalHardwareModelInternalServerError) Error ¶
func (o *GetGlobalHardwareModelInternalServerError) Error() string
func (*GetGlobalHardwareModelInternalServerError) GetPayload ¶
func (o *GetGlobalHardwareModelInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareModelNotFound ¶
type GetGlobalHardwareModelNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetGlobalHardwareModelNotFound 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 NewGetGlobalHardwareModelNotFound ¶
func NewGetGlobalHardwareModelNotFound() *GetGlobalHardwareModelNotFound
NewGetGlobalHardwareModelNotFound creates a GetGlobalHardwareModelNotFound with default headers values
func (*GetGlobalHardwareModelNotFound) Error ¶
func (o *GetGlobalHardwareModelNotFound) Error() string
func (*GetGlobalHardwareModelNotFound) GetPayload ¶
func (o *GetGlobalHardwareModelNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetGlobalHardwareModelOK ¶
type GetGlobalHardwareModelOK struct {
Payload *swagger_models.SysModel
}
GetGlobalHardwareModelOK describes a response with status code 200, with default header values.
A successful response.
func NewGetGlobalHardwareModelOK ¶
func NewGetGlobalHardwareModelOK() *GetGlobalHardwareModelOK
NewGetGlobalHardwareModelOK creates a GetGlobalHardwareModelOK with default headers values
func (*GetGlobalHardwareModelOK) Error ¶
func (o *GetGlobalHardwareModelOK) Error() string
func (*GetGlobalHardwareModelOK) GetPayload ¶
func (o *GetGlobalHardwareModelOK) GetPayload() *swagger_models.SysModel
type GetGlobalHardwareModelParams ¶
type GetGlobalHardwareModelParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* ID.
System defined universally unique Id of the model
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetGlobalHardwareModelParams contains all the parameters to send to the API endpoint
for the get global hardware model operation. Typically these are written to a http.Request.
func NewGetGlobalHardwareModelParams ¶
func NewGetGlobalHardwareModelParams() *GetGlobalHardwareModelParams
NewGetGlobalHardwareModelParams creates a new GetGlobalHardwareModelParams 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 NewGetGlobalHardwareModelParamsWithContext ¶
func NewGetGlobalHardwareModelParamsWithContext(ctx context.Context) *GetGlobalHardwareModelParams
NewGetGlobalHardwareModelParamsWithContext creates a new GetGlobalHardwareModelParams object with the ability to set a context for a request.
func NewGetGlobalHardwareModelParamsWithHTTPClient ¶
func NewGetGlobalHardwareModelParamsWithHTTPClient(client *http.Client) *GetGlobalHardwareModelParams
NewGetGlobalHardwareModelParamsWithHTTPClient creates a new GetGlobalHardwareModelParams object with the ability to set a custom HTTPClient for a request.
func NewGetGlobalHardwareModelParamsWithTimeout ¶
func NewGetGlobalHardwareModelParamsWithTimeout(timeout time.Duration) *GetGlobalHardwareModelParams
NewGetGlobalHardwareModelParamsWithTimeout creates a new GetGlobalHardwareModelParams object with the ability to set a timeout on a request.
func (*GetGlobalHardwareModelParams) SetContext ¶
func (o *GetGlobalHardwareModelParams) SetContext(ctx context.Context)
SetContext adds the context to the get global hardware model params
func (*GetGlobalHardwareModelParams) SetDefaults ¶
func (o *GetGlobalHardwareModelParams) SetDefaults()
SetDefaults hydrates default values in the get global hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*GetGlobalHardwareModelParams) SetHTTPClient ¶
func (o *GetGlobalHardwareModelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get global hardware model params
func (*GetGlobalHardwareModelParams) SetID ¶
func (o *GetGlobalHardwareModelParams) SetID(id string)
SetID adds the id to the get global hardware model params
func (*GetGlobalHardwareModelParams) SetTimeout ¶
func (o *GetGlobalHardwareModelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get global hardware model params
func (*GetGlobalHardwareModelParams) SetXRequestID ¶
func (o *GetGlobalHardwareModelParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get global hardware model params
func (*GetGlobalHardwareModelParams) WithContext ¶
func (o *GetGlobalHardwareModelParams) WithContext(ctx context.Context) *GetGlobalHardwareModelParams
WithContext adds the context to the get global hardware model params
func (*GetGlobalHardwareModelParams) WithDefaults ¶
func (o *GetGlobalHardwareModelParams) WithDefaults() *GetGlobalHardwareModelParams
WithDefaults hydrates default values in the get global hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*GetGlobalHardwareModelParams) WithHTTPClient ¶
func (o *GetGlobalHardwareModelParams) WithHTTPClient(client *http.Client) *GetGlobalHardwareModelParams
WithHTTPClient adds the HTTPClient to the get global hardware model params
func (*GetGlobalHardwareModelParams) WithID ¶
func (o *GetGlobalHardwareModelParams) WithID(id string) *GetGlobalHardwareModelParams
WithID adds the id to the get global hardware model params
func (*GetGlobalHardwareModelParams) WithTimeout ¶
func (o *GetGlobalHardwareModelParams) WithTimeout(timeout time.Duration) *GetGlobalHardwareModelParams
WithTimeout adds the timeout to the get global hardware model params
func (*GetGlobalHardwareModelParams) WithXRequestID ¶
func (o *GetGlobalHardwareModelParams) WithXRequestID(xRequestID *string) *GetGlobalHardwareModelParams
WithXRequestID adds the xRequestID to the get global hardware model params
func (*GetGlobalHardwareModelParams) WriteToRequest ¶
func (o *GetGlobalHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGlobalHardwareModelReader ¶
type GetGlobalHardwareModelReader struct {
// contains filtered or unexported fields
}
GetGlobalHardwareModelReader is a Reader for the GetGlobalHardwareModel structure.
func (*GetGlobalHardwareModelReader) ReadResponse ¶
func (o *GetGlobalHardwareModelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGlobalHardwareModelUnauthorized ¶
type GetGlobalHardwareModelUnauthorized struct {
}
GetGlobalHardwareModelUnauthorized 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 NewGetGlobalHardwareModelUnauthorized ¶
func NewGetGlobalHardwareModelUnauthorized() *GetGlobalHardwareModelUnauthorized
NewGetGlobalHardwareModelUnauthorized creates a GetGlobalHardwareModelUnauthorized with default headers values
func (*GetGlobalHardwareModelUnauthorized) Error ¶
func (o *GetGlobalHardwareModelUnauthorized) Error() string
func (*GetGlobalHardwareModelUnauthorized) GetPayload ¶
func (o *GetGlobalHardwareModelUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareBrandByNameForbidden ¶
type GetHardwareBrandByNameForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareBrandByNameForbidden 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 NewGetHardwareBrandByNameForbidden ¶
func NewGetHardwareBrandByNameForbidden() *GetHardwareBrandByNameForbidden
NewGetHardwareBrandByNameForbidden creates a GetHardwareBrandByNameForbidden with default headers values
func (*GetHardwareBrandByNameForbidden) Error ¶
func (o *GetHardwareBrandByNameForbidden) Error() string
func (*GetHardwareBrandByNameForbidden) GetPayload ¶
func (o *GetHardwareBrandByNameForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareBrandByNameGatewayTimeout ¶
type GetHardwareBrandByNameGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareBrandByNameGatewayTimeout 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 NewGetHardwareBrandByNameGatewayTimeout ¶
func NewGetHardwareBrandByNameGatewayTimeout() *GetHardwareBrandByNameGatewayTimeout
NewGetHardwareBrandByNameGatewayTimeout creates a GetHardwareBrandByNameGatewayTimeout with default headers values
func (*GetHardwareBrandByNameGatewayTimeout) Error ¶
func (o *GetHardwareBrandByNameGatewayTimeout) Error() string
func (*GetHardwareBrandByNameGatewayTimeout) GetPayload ¶
func (o *GetHardwareBrandByNameGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareBrandByNameInternalServerError ¶
type GetHardwareBrandByNameInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareBrandByNameInternalServerError 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 NewGetHardwareBrandByNameInternalServerError ¶
func NewGetHardwareBrandByNameInternalServerError() *GetHardwareBrandByNameInternalServerError
NewGetHardwareBrandByNameInternalServerError creates a GetHardwareBrandByNameInternalServerError with default headers values
func (*GetHardwareBrandByNameInternalServerError) Error ¶
func (o *GetHardwareBrandByNameInternalServerError) Error() string
func (*GetHardwareBrandByNameInternalServerError) GetPayload ¶
func (o *GetHardwareBrandByNameInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareBrandByNameNotFound ¶
type GetHardwareBrandByNameNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareBrandByNameNotFound 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 NewGetHardwareBrandByNameNotFound ¶
func NewGetHardwareBrandByNameNotFound() *GetHardwareBrandByNameNotFound
NewGetHardwareBrandByNameNotFound creates a GetHardwareBrandByNameNotFound with default headers values
func (*GetHardwareBrandByNameNotFound) Error ¶
func (o *GetHardwareBrandByNameNotFound) Error() string
func (*GetHardwareBrandByNameNotFound) GetPayload ¶
func (o *GetHardwareBrandByNameNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareBrandByNameOK ¶
type GetHardwareBrandByNameOK struct {
Payload *swagger_models.SysBrand
}
GetHardwareBrandByNameOK describes a response with status code 200, with default header values.
A successful response.
func NewGetHardwareBrandByNameOK ¶
func NewGetHardwareBrandByNameOK() *GetHardwareBrandByNameOK
NewGetHardwareBrandByNameOK creates a GetHardwareBrandByNameOK with default headers values
func (*GetHardwareBrandByNameOK) Error ¶
func (o *GetHardwareBrandByNameOK) Error() string
func (*GetHardwareBrandByNameOK) GetPayload ¶
func (o *GetHardwareBrandByNameOK) GetPayload() *swagger_models.SysBrand
type GetHardwareBrandByNameParams ¶
type GetHardwareBrandByNameParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* EnterpriseID.
deprecated field: EnterpriseId
*/
EnterpriseID *string
/* Name.
user defined sys brand name
*/
Name string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetHardwareBrandByNameParams contains all the parameters to send to the API endpoint
for the get hardware brand by name operation. Typically these are written to a http.Request.
func NewGetHardwareBrandByNameParams ¶
func NewGetHardwareBrandByNameParams() *GetHardwareBrandByNameParams
NewGetHardwareBrandByNameParams creates a new GetHardwareBrandByNameParams 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 NewGetHardwareBrandByNameParamsWithContext ¶
func NewGetHardwareBrandByNameParamsWithContext(ctx context.Context) *GetHardwareBrandByNameParams
NewGetHardwareBrandByNameParamsWithContext creates a new GetHardwareBrandByNameParams object with the ability to set a context for a request.
func NewGetHardwareBrandByNameParamsWithHTTPClient ¶
func NewGetHardwareBrandByNameParamsWithHTTPClient(client *http.Client) *GetHardwareBrandByNameParams
NewGetHardwareBrandByNameParamsWithHTTPClient creates a new GetHardwareBrandByNameParams object with the ability to set a custom HTTPClient for a request.
func NewGetHardwareBrandByNameParamsWithTimeout ¶
func NewGetHardwareBrandByNameParamsWithTimeout(timeout time.Duration) *GetHardwareBrandByNameParams
NewGetHardwareBrandByNameParamsWithTimeout creates a new GetHardwareBrandByNameParams object with the ability to set a timeout on a request.
func (*GetHardwareBrandByNameParams) SetContext ¶
func (o *GetHardwareBrandByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get hardware brand by name params
func (*GetHardwareBrandByNameParams) SetDefaults ¶
func (o *GetHardwareBrandByNameParams) SetDefaults()
SetDefaults hydrates default values in the get hardware brand by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetHardwareBrandByNameParams) SetEnterpriseID ¶
func (o *GetHardwareBrandByNameParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the get hardware brand by name params
func (*GetHardwareBrandByNameParams) SetHTTPClient ¶
func (o *GetHardwareBrandByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get hardware brand by name params
func (*GetHardwareBrandByNameParams) SetName ¶
func (o *GetHardwareBrandByNameParams) SetName(name string)
SetName adds the name to the get hardware brand by name params
func (*GetHardwareBrandByNameParams) SetTimeout ¶
func (o *GetHardwareBrandByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get hardware brand by name params
func (*GetHardwareBrandByNameParams) SetXRequestID ¶
func (o *GetHardwareBrandByNameParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get hardware brand by name params
func (*GetHardwareBrandByNameParams) WithContext ¶
func (o *GetHardwareBrandByNameParams) WithContext(ctx context.Context) *GetHardwareBrandByNameParams
WithContext adds the context to the get hardware brand by name params
func (*GetHardwareBrandByNameParams) WithDefaults ¶
func (o *GetHardwareBrandByNameParams) WithDefaults() *GetHardwareBrandByNameParams
WithDefaults hydrates default values in the get hardware brand by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetHardwareBrandByNameParams) WithEnterpriseID ¶
func (o *GetHardwareBrandByNameParams) WithEnterpriseID(enterpriseID *string) *GetHardwareBrandByNameParams
WithEnterpriseID adds the enterpriseID to the get hardware brand by name params
func (*GetHardwareBrandByNameParams) WithHTTPClient ¶
func (o *GetHardwareBrandByNameParams) WithHTTPClient(client *http.Client) *GetHardwareBrandByNameParams
WithHTTPClient adds the HTTPClient to the get hardware brand by name params
func (*GetHardwareBrandByNameParams) WithName ¶
func (o *GetHardwareBrandByNameParams) WithName(name string) *GetHardwareBrandByNameParams
WithName adds the name to the get hardware brand by name params
func (*GetHardwareBrandByNameParams) WithTimeout ¶
func (o *GetHardwareBrandByNameParams) WithTimeout(timeout time.Duration) *GetHardwareBrandByNameParams
WithTimeout adds the timeout to the get hardware brand by name params
func (*GetHardwareBrandByNameParams) WithXRequestID ¶
func (o *GetHardwareBrandByNameParams) WithXRequestID(xRequestID *string) *GetHardwareBrandByNameParams
WithXRequestID adds the xRequestID to the get hardware brand by name params
func (*GetHardwareBrandByNameParams) WriteToRequest ¶
func (o *GetHardwareBrandByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHardwareBrandByNameReader ¶
type GetHardwareBrandByNameReader struct {
// contains filtered or unexported fields
}
GetHardwareBrandByNameReader is a Reader for the GetHardwareBrandByName structure.
func (*GetHardwareBrandByNameReader) ReadResponse ¶
func (o *GetHardwareBrandByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHardwareBrandByNameUnauthorized ¶
type GetHardwareBrandByNameUnauthorized struct {
}
GetHardwareBrandByNameUnauthorized 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 NewGetHardwareBrandByNameUnauthorized ¶
func NewGetHardwareBrandByNameUnauthorized() *GetHardwareBrandByNameUnauthorized
NewGetHardwareBrandByNameUnauthorized creates a GetHardwareBrandByNameUnauthorized with default headers values
func (*GetHardwareBrandByNameUnauthorized) Error ¶
func (o *GetHardwareBrandByNameUnauthorized) Error() string
func (*GetHardwareBrandByNameUnauthorized) GetPayload ¶
func (o *GetHardwareBrandByNameUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareBrandForbidden ¶
type GetHardwareBrandForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareBrandForbidden 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 NewGetHardwareBrandForbidden ¶
func NewGetHardwareBrandForbidden() *GetHardwareBrandForbidden
NewGetHardwareBrandForbidden creates a GetHardwareBrandForbidden with default headers values
func (*GetHardwareBrandForbidden) Error ¶
func (o *GetHardwareBrandForbidden) Error() string
func (*GetHardwareBrandForbidden) GetPayload ¶
func (o *GetHardwareBrandForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareBrandGatewayTimeout ¶
type GetHardwareBrandGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareBrandGatewayTimeout 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 NewGetHardwareBrandGatewayTimeout ¶
func NewGetHardwareBrandGatewayTimeout() *GetHardwareBrandGatewayTimeout
NewGetHardwareBrandGatewayTimeout creates a GetHardwareBrandGatewayTimeout with default headers values
func (*GetHardwareBrandGatewayTimeout) Error ¶
func (o *GetHardwareBrandGatewayTimeout) Error() string
func (*GetHardwareBrandGatewayTimeout) GetPayload ¶
func (o *GetHardwareBrandGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareBrandInternalServerError ¶
type GetHardwareBrandInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareBrandInternalServerError 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 NewGetHardwareBrandInternalServerError ¶
func NewGetHardwareBrandInternalServerError() *GetHardwareBrandInternalServerError
NewGetHardwareBrandInternalServerError creates a GetHardwareBrandInternalServerError with default headers values
func (*GetHardwareBrandInternalServerError) Error ¶
func (o *GetHardwareBrandInternalServerError) Error() string
func (*GetHardwareBrandInternalServerError) GetPayload ¶
func (o *GetHardwareBrandInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareBrandNotFound ¶
type GetHardwareBrandNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareBrandNotFound 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 NewGetHardwareBrandNotFound ¶
func NewGetHardwareBrandNotFound() *GetHardwareBrandNotFound
NewGetHardwareBrandNotFound creates a GetHardwareBrandNotFound with default headers values
func (*GetHardwareBrandNotFound) Error ¶
func (o *GetHardwareBrandNotFound) Error() string
func (*GetHardwareBrandNotFound) GetPayload ¶
func (o *GetHardwareBrandNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareBrandOK ¶
type GetHardwareBrandOK struct {
Payload *swagger_models.SysBrand
}
GetHardwareBrandOK describes a response with status code 200, with default header values.
A successful response.
func NewGetHardwareBrandOK ¶
func NewGetHardwareBrandOK() *GetHardwareBrandOK
NewGetHardwareBrandOK creates a GetHardwareBrandOK with default headers values
func (*GetHardwareBrandOK) Error ¶
func (o *GetHardwareBrandOK) Error() string
func (*GetHardwareBrandOK) GetPayload ¶
func (o *GetHardwareBrandOK) GetPayload() *swagger_models.SysBrand
type GetHardwareBrandParams ¶
type GetHardwareBrandParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* EnterpriseID.
deprecated field: EnterpriseId
*/
EnterpriseID *string
/* ID.
System defined universally unique Id of the model.
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetHardwareBrandParams contains all the parameters to send to the API endpoint
for the get hardware brand operation. Typically these are written to a http.Request.
func NewGetHardwareBrandParams ¶
func NewGetHardwareBrandParams() *GetHardwareBrandParams
NewGetHardwareBrandParams creates a new GetHardwareBrandParams 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 NewGetHardwareBrandParamsWithContext ¶
func NewGetHardwareBrandParamsWithContext(ctx context.Context) *GetHardwareBrandParams
NewGetHardwareBrandParamsWithContext creates a new GetHardwareBrandParams object with the ability to set a context for a request.
func NewGetHardwareBrandParamsWithHTTPClient ¶
func NewGetHardwareBrandParamsWithHTTPClient(client *http.Client) *GetHardwareBrandParams
NewGetHardwareBrandParamsWithHTTPClient creates a new GetHardwareBrandParams object with the ability to set a custom HTTPClient for a request.
func NewGetHardwareBrandParamsWithTimeout ¶
func NewGetHardwareBrandParamsWithTimeout(timeout time.Duration) *GetHardwareBrandParams
NewGetHardwareBrandParamsWithTimeout creates a new GetHardwareBrandParams object with the ability to set a timeout on a request.
func (*GetHardwareBrandParams) SetContext ¶
func (o *GetHardwareBrandParams) SetContext(ctx context.Context)
SetContext adds the context to the get hardware brand params
func (*GetHardwareBrandParams) SetDefaults ¶
func (o *GetHardwareBrandParams) SetDefaults()
SetDefaults hydrates default values in the get hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*GetHardwareBrandParams) SetEnterpriseID ¶
func (o *GetHardwareBrandParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the get hardware brand params
func (*GetHardwareBrandParams) SetHTTPClient ¶
func (o *GetHardwareBrandParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get hardware brand params
func (*GetHardwareBrandParams) SetID ¶
func (o *GetHardwareBrandParams) SetID(id string)
SetID adds the id to the get hardware brand params
func (*GetHardwareBrandParams) SetTimeout ¶
func (o *GetHardwareBrandParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get hardware brand params
func (*GetHardwareBrandParams) SetXRequestID ¶
func (o *GetHardwareBrandParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get hardware brand params
func (*GetHardwareBrandParams) WithContext ¶
func (o *GetHardwareBrandParams) WithContext(ctx context.Context) *GetHardwareBrandParams
WithContext adds the context to the get hardware brand params
func (*GetHardwareBrandParams) WithDefaults ¶
func (o *GetHardwareBrandParams) WithDefaults() *GetHardwareBrandParams
WithDefaults hydrates default values in the get hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*GetHardwareBrandParams) WithEnterpriseID ¶
func (o *GetHardwareBrandParams) WithEnterpriseID(enterpriseID *string) *GetHardwareBrandParams
WithEnterpriseID adds the enterpriseID to the get hardware brand params
func (*GetHardwareBrandParams) WithHTTPClient ¶
func (o *GetHardwareBrandParams) WithHTTPClient(client *http.Client) *GetHardwareBrandParams
WithHTTPClient adds the HTTPClient to the get hardware brand params
func (*GetHardwareBrandParams) WithID ¶
func (o *GetHardwareBrandParams) WithID(id string) *GetHardwareBrandParams
WithID adds the id to the get hardware brand params
func (*GetHardwareBrandParams) WithTimeout ¶
func (o *GetHardwareBrandParams) WithTimeout(timeout time.Duration) *GetHardwareBrandParams
WithTimeout adds the timeout to the get hardware brand params
func (*GetHardwareBrandParams) WithXRequestID ¶
func (o *GetHardwareBrandParams) WithXRequestID(xRequestID *string) *GetHardwareBrandParams
WithXRequestID adds the xRequestID to the get hardware brand params
func (*GetHardwareBrandParams) WriteToRequest ¶
func (o *GetHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHardwareBrandReader ¶
type GetHardwareBrandReader struct {
// contains filtered or unexported fields
}
GetHardwareBrandReader is a Reader for the GetHardwareBrand structure.
func (*GetHardwareBrandReader) ReadResponse ¶
func (o *GetHardwareBrandReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHardwareBrandUnauthorized ¶
type GetHardwareBrandUnauthorized struct {
}
GetHardwareBrandUnauthorized 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 NewGetHardwareBrandUnauthorized ¶
func NewGetHardwareBrandUnauthorized() *GetHardwareBrandUnauthorized
NewGetHardwareBrandUnauthorized creates a GetHardwareBrandUnauthorized with default headers values
func (*GetHardwareBrandUnauthorized) Error ¶
func (o *GetHardwareBrandUnauthorized) Error() string
func (*GetHardwareBrandUnauthorized) GetPayload ¶
func (o *GetHardwareBrandUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareModelByNameForbidden ¶
type GetHardwareModelByNameForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareModelByNameForbidden 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 NewGetHardwareModelByNameForbidden ¶
func NewGetHardwareModelByNameForbidden() *GetHardwareModelByNameForbidden
NewGetHardwareModelByNameForbidden creates a GetHardwareModelByNameForbidden with default headers values
func (*GetHardwareModelByNameForbidden) Error ¶
func (o *GetHardwareModelByNameForbidden) Error() string
func (*GetHardwareModelByNameForbidden) GetPayload ¶
func (o *GetHardwareModelByNameForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareModelByNameGatewayTimeout ¶
type GetHardwareModelByNameGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareModelByNameGatewayTimeout 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 NewGetHardwareModelByNameGatewayTimeout ¶
func NewGetHardwareModelByNameGatewayTimeout() *GetHardwareModelByNameGatewayTimeout
NewGetHardwareModelByNameGatewayTimeout creates a GetHardwareModelByNameGatewayTimeout with default headers values
func (*GetHardwareModelByNameGatewayTimeout) Error ¶
func (o *GetHardwareModelByNameGatewayTimeout) Error() string
func (*GetHardwareModelByNameGatewayTimeout) GetPayload ¶
func (o *GetHardwareModelByNameGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareModelByNameInternalServerError ¶
type GetHardwareModelByNameInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareModelByNameInternalServerError 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 NewGetHardwareModelByNameInternalServerError ¶
func NewGetHardwareModelByNameInternalServerError() *GetHardwareModelByNameInternalServerError
NewGetHardwareModelByNameInternalServerError creates a GetHardwareModelByNameInternalServerError with default headers values
func (*GetHardwareModelByNameInternalServerError) Error ¶
func (o *GetHardwareModelByNameInternalServerError) Error() string
func (*GetHardwareModelByNameInternalServerError) GetPayload ¶
func (o *GetHardwareModelByNameInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareModelByNameNotFound ¶
type GetHardwareModelByNameNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareModelByNameNotFound 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 NewGetHardwareModelByNameNotFound ¶
func NewGetHardwareModelByNameNotFound() *GetHardwareModelByNameNotFound
NewGetHardwareModelByNameNotFound creates a GetHardwareModelByNameNotFound with default headers values
func (*GetHardwareModelByNameNotFound) Error ¶
func (o *GetHardwareModelByNameNotFound) Error() string
func (*GetHardwareModelByNameNotFound) GetPayload ¶
func (o *GetHardwareModelByNameNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareModelByNameOK ¶
type GetHardwareModelByNameOK struct {
Payload *swagger_models.SysModel
}
GetHardwareModelByNameOK describes a response with status code 200, with default header values.
A successful response.
func NewGetHardwareModelByNameOK ¶
func NewGetHardwareModelByNameOK() *GetHardwareModelByNameOK
NewGetHardwareModelByNameOK creates a GetHardwareModelByNameOK with default headers values
func (*GetHardwareModelByNameOK) Error ¶
func (o *GetHardwareModelByNameOK) Error() string
func (*GetHardwareModelByNameOK) GetPayload ¶
func (o *GetHardwareModelByNameOK) GetPayload() *swagger_models.SysModel
type GetHardwareModelByNameParams ¶
type GetHardwareModelByNameParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* Name.
User defined name of the model, unique across the enterprise. Once model is created, name can’t be changed.
*/
Name string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetHardwareModelByNameParams contains all the parameters to send to the API endpoint
for the get hardware model by name operation. Typically these are written to a http.Request.
func NewGetHardwareModelByNameParams ¶
func NewGetHardwareModelByNameParams() *GetHardwareModelByNameParams
NewGetHardwareModelByNameParams creates a new GetHardwareModelByNameParams 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 NewGetHardwareModelByNameParamsWithContext ¶
func NewGetHardwareModelByNameParamsWithContext(ctx context.Context) *GetHardwareModelByNameParams
NewGetHardwareModelByNameParamsWithContext creates a new GetHardwareModelByNameParams object with the ability to set a context for a request.
func NewGetHardwareModelByNameParamsWithHTTPClient ¶
func NewGetHardwareModelByNameParamsWithHTTPClient(client *http.Client) *GetHardwareModelByNameParams
NewGetHardwareModelByNameParamsWithHTTPClient creates a new GetHardwareModelByNameParams object with the ability to set a custom HTTPClient for a request.
func NewGetHardwareModelByNameParamsWithTimeout ¶
func NewGetHardwareModelByNameParamsWithTimeout(timeout time.Duration) *GetHardwareModelByNameParams
NewGetHardwareModelByNameParamsWithTimeout creates a new GetHardwareModelByNameParams object with the ability to set a timeout on a request.
func (*GetHardwareModelByNameParams) SetContext ¶
func (o *GetHardwareModelByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get hardware model by name params
func (*GetHardwareModelByNameParams) SetDefaults ¶
func (o *GetHardwareModelByNameParams) SetDefaults()
SetDefaults hydrates default values in the get hardware model by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetHardwareModelByNameParams) SetHTTPClient ¶
func (o *GetHardwareModelByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get hardware model by name params
func (*GetHardwareModelByNameParams) SetName ¶
func (o *GetHardwareModelByNameParams) SetName(name string)
SetName adds the name to the get hardware model by name params
func (*GetHardwareModelByNameParams) SetTimeout ¶
func (o *GetHardwareModelByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get hardware model by name params
func (*GetHardwareModelByNameParams) SetXRequestID ¶
func (o *GetHardwareModelByNameParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get hardware model by name params
func (*GetHardwareModelByNameParams) WithContext ¶
func (o *GetHardwareModelByNameParams) WithContext(ctx context.Context) *GetHardwareModelByNameParams
WithContext adds the context to the get hardware model by name params
func (*GetHardwareModelByNameParams) WithDefaults ¶
func (o *GetHardwareModelByNameParams) WithDefaults() *GetHardwareModelByNameParams
WithDefaults hydrates default values in the get hardware model by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetHardwareModelByNameParams) WithHTTPClient ¶
func (o *GetHardwareModelByNameParams) WithHTTPClient(client *http.Client) *GetHardwareModelByNameParams
WithHTTPClient adds the HTTPClient to the get hardware model by name params
func (*GetHardwareModelByNameParams) WithName ¶
func (o *GetHardwareModelByNameParams) WithName(name string) *GetHardwareModelByNameParams
WithName adds the name to the get hardware model by name params
func (*GetHardwareModelByNameParams) WithTimeout ¶
func (o *GetHardwareModelByNameParams) WithTimeout(timeout time.Duration) *GetHardwareModelByNameParams
WithTimeout adds the timeout to the get hardware model by name params
func (*GetHardwareModelByNameParams) WithXRequestID ¶
func (o *GetHardwareModelByNameParams) WithXRequestID(xRequestID *string) *GetHardwareModelByNameParams
WithXRequestID adds the xRequestID to the get hardware model by name params
func (*GetHardwareModelByNameParams) WriteToRequest ¶
func (o *GetHardwareModelByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHardwareModelByNameReader ¶
type GetHardwareModelByNameReader struct {
// contains filtered or unexported fields
}
GetHardwareModelByNameReader is a Reader for the GetHardwareModelByName structure.
func (*GetHardwareModelByNameReader) ReadResponse ¶
func (o *GetHardwareModelByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHardwareModelByNameUnauthorized ¶
type GetHardwareModelByNameUnauthorized struct {
}
GetHardwareModelByNameUnauthorized 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 NewGetHardwareModelByNameUnauthorized ¶
func NewGetHardwareModelByNameUnauthorized() *GetHardwareModelByNameUnauthorized
NewGetHardwareModelByNameUnauthorized creates a GetHardwareModelByNameUnauthorized with default headers values
func (*GetHardwareModelByNameUnauthorized) Error ¶
func (o *GetHardwareModelByNameUnauthorized) Error() string
func (*GetHardwareModelByNameUnauthorized) GetPayload ¶
func (o *GetHardwareModelByNameUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareModelForbidden ¶
type GetHardwareModelForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareModelForbidden 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 NewGetHardwareModelForbidden ¶
func NewGetHardwareModelForbidden() *GetHardwareModelForbidden
NewGetHardwareModelForbidden creates a GetHardwareModelForbidden with default headers values
func (*GetHardwareModelForbidden) Error ¶
func (o *GetHardwareModelForbidden) Error() string
func (*GetHardwareModelForbidden) GetPayload ¶
func (o *GetHardwareModelForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareModelGatewayTimeout ¶
type GetHardwareModelGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareModelGatewayTimeout 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 NewGetHardwareModelGatewayTimeout ¶
func NewGetHardwareModelGatewayTimeout() *GetHardwareModelGatewayTimeout
NewGetHardwareModelGatewayTimeout creates a GetHardwareModelGatewayTimeout with default headers values
func (*GetHardwareModelGatewayTimeout) Error ¶
func (o *GetHardwareModelGatewayTimeout) Error() string
func (*GetHardwareModelGatewayTimeout) GetPayload ¶
func (o *GetHardwareModelGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareModelInternalServerError ¶
type GetHardwareModelInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareModelInternalServerError 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 NewGetHardwareModelInternalServerError ¶
func NewGetHardwareModelInternalServerError() *GetHardwareModelInternalServerError
NewGetHardwareModelInternalServerError creates a GetHardwareModelInternalServerError with default headers values
func (*GetHardwareModelInternalServerError) Error ¶
func (o *GetHardwareModelInternalServerError) Error() string
func (*GetHardwareModelInternalServerError) GetPayload ¶
func (o *GetHardwareModelInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareModelNotFound ¶
type GetHardwareModelNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetHardwareModelNotFound 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 NewGetHardwareModelNotFound ¶
func NewGetHardwareModelNotFound() *GetHardwareModelNotFound
NewGetHardwareModelNotFound creates a GetHardwareModelNotFound with default headers values
func (*GetHardwareModelNotFound) Error ¶
func (o *GetHardwareModelNotFound) Error() string
func (*GetHardwareModelNotFound) GetPayload ¶
func (o *GetHardwareModelNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetHardwareModelOK ¶
type GetHardwareModelOK struct {
Payload *swagger_models.SysModel
}
GetHardwareModelOK describes a response with status code 200, with default header values.
A successful response.
func NewGetHardwareModelOK ¶
func NewGetHardwareModelOK() *GetHardwareModelOK
NewGetHardwareModelOK creates a GetHardwareModelOK with default headers values
func (*GetHardwareModelOK) Error ¶
func (o *GetHardwareModelOK) Error() string
func (*GetHardwareModelOK) GetPayload ¶
func (o *GetHardwareModelOK) GetPayload() *swagger_models.SysModel
type GetHardwareModelParams ¶
type GetHardwareModelParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* ID.
System defined universally unique Id of the model
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetHardwareModelParams contains all the parameters to send to the API endpoint
for the get hardware model operation. Typically these are written to a http.Request.
func NewGetHardwareModelParams ¶
func NewGetHardwareModelParams() *GetHardwareModelParams
NewGetHardwareModelParams creates a new GetHardwareModelParams 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 NewGetHardwareModelParamsWithContext ¶
func NewGetHardwareModelParamsWithContext(ctx context.Context) *GetHardwareModelParams
NewGetHardwareModelParamsWithContext creates a new GetHardwareModelParams object with the ability to set a context for a request.
func NewGetHardwareModelParamsWithHTTPClient ¶
func NewGetHardwareModelParamsWithHTTPClient(client *http.Client) *GetHardwareModelParams
NewGetHardwareModelParamsWithHTTPClient creates a new GetHardwareModelParams object with the ability to set a custom HTTPClient for a request.
func NewGetHardwareModelParamsWithTimeout ¶
func NewGetHardwareModelParamsWithTimeout(timeout time.Duration) *GetHardwareModelParams
NewGetHardwareModelParamsWithTimeout creates a new GetHardwareModelParams object with the ability to set a timeout on a request.
func (*GetHardwareModelParams) SetContext ¶
func (o *GetHardwareModelParams) SetContext(ctx context.Context)
SetContext adds the context to the get hardware model params
func (*GetHardwareModelParams) SetDefaults ¶
func (o *GetHardwareModelParams) SetDefaults()
SetDefaults hydrates default values in the get hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*GetHardwareModelParams) SetHTTPClient ¶
func (o *GetHardwareModelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get hardware model params
func (*GetHardwareModelParams) SetID ¶
func (o *GetHardwareModelParams) SetID(id string)
SetID adds the id to the get hardware model params
func (*GetHardwareModelParams) SetTimeout ¶
func (o *GetHardwareModelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get hardware model params
func (*GetHardwareModelParams) SetXRequestID ¶
func (o *GetHardwareModelParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get hardware model params
func (*GetHardwareModelParams) WithContext ¶
func (o *GetHardwareModelParams) WithContext(ctx context.Context) *GetHardwareModelParams
WithContext adds the context to the get hardware model params
func (*GetHardwareModelParams) WithDefaults ¶
func (o *GetHardwareModelParams) WithDefaults() *GetHardwareModelParams
WithDefaults hydrates default values in the get hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*GetHardwareModelParams) WithHTTPClient ¶
func (o *GetHardwareModelParams) WithHTTPClient(client *http.Client) *GetHardwareModelParams
WithHTTPClient adds the HTTPClient to the get hardware model params
func (*GetHardwareModelParams) WithID ¶
func (o *GetHardwareModelParams) WithID(id string) *GetHardwareModelParams
WithID adds the id to the get hardware model params
func (*GetHardwareModelParams) WithTimeout ¶
func (o *GetHardwareModelParams) WithTimeout(timeout time.Duration) *GetHardwareModelParams
WithTimeout adds the timeout to the get hardware model params
func (*GetHardwareModelParams) WithXRequestID ¶
func (o *GetHardwareModelParams) WithXRequestID(xRequestID *string) *GetHardwareModelParams
WithXRequestID adds the xRequestID to the get hardware model params
func (*GetHardwareModelParams) WriteToRequest ¶
func (o *GetHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHardwareModelReader ¶
type GetHardwareModelReader struct {
// contains filtered or unexported fields
}
GetHardwareModelReader is a Reader for the GetHardwareModel structure.
func (*GetHardwareModelReader) ReadResponse ¶
func (o *GetHardwareModelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHardwareModelUnauthorized ¶
type GetHardwareModelUnauthorized struct {
}
GetHardwareModelUnauthorized 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 NewGetHardwareModelUnauthorized ¶
func NewGetHardwareModelUnauthorized() *GetHardwareModelUnauthorized
NewGetHardwareModelUnauthorized creates a GetHardwareModelUnauthorized with default headers values
func (*GetHardwareModelUnauthorized) Error ¶
func (o *GetHardwareModelUnauthorized) Error() string
func (*GetHardwareModelUnauthorized) GetPayload ¶
func (o *GetHardwareModelUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type QueryGlobalHardwareBrandsBadRequest ¶
type QueryGlobalHardwareBrandsBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
QueryGlobalHardwareBrandsBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of invalid value of filter parameters.
func NewQueryGlobalHardwareBrandsBadRequest ¶
func NewQueryGlobalHardwareBrandsBadRequest() *QueryGlobalHardwareBrandsBadRequest
NewQueryGlobalHardwareBrandsBadRequest creates a QueryGlobalHardwareBrandsBadRequest with default headers values
func (*QueryGlobalHardwareBrandsBadRequest) Error ¶
func (o *QueryGlobalHardwareBrandsBadRequest) Error() string
func (*QueryGlobalHardwareBrandsBadRequest) GetPayload ¶
func (o *QueryGlobalHardwareBrandsBadRequest) GetPayload() *swagger_models.ZsrvResponse
type QueryGlobalHardwareBrandsForbidden ¶
type QueryGlobalHardwareBrandsForbidden struct {
Payload *swagger_models.ZsrvResponse
}
QueryGlobalHardwareBrandsForbidden 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 NewQueryGlobalHardwareBrandsForbidden ¶
func NewQueryGlobalHardwareBrandsForbidden() *QueryGlobalHardwareBrandsForbidden
NewQueryGlobalHardwareBrandsForbidden creates a QueryGlobalHardwareBrandsForbidden with default headers values
func (*QueryGlobalHardwareBrandsForbidden) Error ¶
func (o *QueryGlobalHardwareBrandsForbidden) Error() string
func (*QueryGlobalHardwareBrandsForbidden) GetPayload ¶
func (o *QueryGlobalHardwareBrandsForbidden) GetPayload() *swagger_models.ZsrvResponse
type QueryGlobalHardwareBrandsGatewayTimeout ¶
type QueryGlobalHardwareBrandsGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
QueryGlobalHardwareBrandsGatewayTimeout 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 NewQueryGlobalHardwareBrandsGatewayTimeout ¶
func NewQueryGlobalHardwareBrandsGatewayTimeout() *QueryGlobalHardwareBrandsGatewayTimeout
NewQueryGlobalHardwareBrandsGatewayTimeout creates a QueryGlobalHardwareBrandsGatewayTimeout with default headers values
func (*QueryGlobalHardwareBrandsGatewayTimeout) Error ¶
func (o *QueryGlobalHardwareBrandsGatewayTimeout) Error() string
func (*QueryGlobalHardwareBrandsGatewayTimeout) GetPayload ¶
func (o *QueryGlobalHardwareBrandsGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type QueryGlobalHardwareBrandsInternalServerError ¶
type QueryGlobalHardwareBrandsInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
QueryGlobalHardwareBrandsInternalServerError 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 NewQueryGlobalHardwareBrandsInternalServerError ¶
func NewQueryGlobalHardwareBrandsInternalServerError() *QueryGlobalHardwareBrandsInternalServerError
NewQueryGlobalHardwareBrandsInternalServerError creates a QueryGlobalHardwareBrandsInternalServerError with default headers values
func (*QueryGlobalHardwareBrandsInternalServerError) Error ¶
func (o *QueryGlobalHardwareBrandsInternalServerError) Error() string
func (*QueryGlobalHardwareBrandsInternalServerError) GetPayload ¶
func (o *QueryGlobalHardwareBrandsInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type QueryGlobalHardwareBrandsOK ¶
type QueryGlobalHardwareBrandsOK struct {
Payload *swagger_models.SysBrands
}
QueryGlobalHardwareBrandsOK describes a response with status code 200, with default header values.
A successful response.
func NewQueryGlobalHardwareBrandsOK ¶
func NewQueryGlobalHardwareBrandsOK() *QueryGlobalHardwareBrandsOK
NewQueryGlobalHardwareBrandsOK creates a QueryGlobalHardwareBrandsOK with default headers values
func (*QueryGlobalHardwareBrandsOK) Error ¶
func (o *QueryGlobalHardwareBrandsOK) Error() string
func (*QueryGlobalHardwareBrandsOK) GetPayload ¶
func (o *QueryGlobalHardwareBrandsOK) GetPayload() *swagger_models.SysBrands
type QueryGlobalHardwareBrandsParams ¶
type QueryGlobalHardwareBrandsParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* EnterpriseID.
deprecated field
*/
EnterpriseID *string
/* FilterNamePattern.
Brand name pattern to be matched.
*/
FilterNamePattern *string
/* FilterOriginType.
origin of object
- ORIGIN_UNSPECIFIED: default options, which says no Operation/Invalid Operation
- ORIGIN_IMPORTED: Object imported from global enterprise.
- ORIGIN_LOCAL: Objectl created locally.
- ORIGIN_GLOBAL: Object created in global store,
to use this type user should have root previlage.
Default: "ORIGIN_UNSPECIFIED"
*/
FilterOriginType *string
/* NextOrderBy.
OrderBy helps in sorting the list response
*/
NextOrderBy *string
/* NextPageNum.
Page Number
Format: int64
*/
NextPageNum *int64
/* NextPageSize.
Defines the page size
Format: int64
*/
NextPageSize *int64
/* NextPageToken.
Page Token
*/
NextPageToken *string
/* NextTotalPages.
Total number of pages to be fetched.
Format: int64
*/
NextTotalPages *int64
/* Summary.
Only summary of the records required
Format: boolean
*/
Summary *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
QueryGlobalHardwareBrandsParams contains all the parameters to send to the API endpoint
for the query global hardware brands operation. Typically these are written to a http.Request.
func NewQueryGlobalHardwareBrandsParams ¶
func NewQueryGlobalHardwareBrandsParams() *QueryGlobalHardwareBrandsParams
NewQueryGlobalHardwareBrandsParams creates a new QueryGlobalHardwareBrandsParams 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 NewQueryGlobalHardwareBrandsParamsWithContext ¶
func NewQueryGlobalHardwareBrandsParamsWithContext(ctx context.Context) *QueryGlobalHardwareBrandsParams
NewQueryGlobalHardwareBrandsParamsWithContext creates a new QueryGlobalHardwareBrandsParams object with the ability to set a context for a request.
func NewQueryGlobalHardwareBrandsParamsWithHTTPClient ¶
func NewQueryGlobalHardwareBrandsParamsWithHTTPClient(client *http.Client) *QueryGlobalHardwareBrandsParams
NewQueryGlobalHardwareBrandsParamsWithHTTPClient creates a new QueryGlobalHardwareBrandsParams object with the ability to set a custom HTTPClient for a request.
func NewQueryGlobalHardwareBrandsParamsWithTimeout ¶
func NewQueryGlobalHardwareBrandsParamsWithTimeout(timeout time.Duration) *QueryGlobalHardwareBrandsParams
NewQueryGlobalHardwareBrandsParamsWithTimeout creates a new QueryGlobalHardwareBrandsParams object with the ability to set a timeout on a request.
func (*QueryGlobalHardwareBrandsParams) SetContext ¶
func (o *QueryGlobalHardwareBrandsParams) SetContext(ctx context.Context)
SetContext adds the context to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) SetDefaults ¶
func (o *QueryGlobalHardwareBrandsParams) SetDefaults()
SetDefaults hydrates default values in the query global hardware brands params (not the query body).
All values with no default are reset to their zero value.
func (*QueryGlobalHardwareBrandsParams) SetEnterpriseID ¶
func (o *QueryGlobalHardwareBrandsParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) SetFilterNamePattern ¶
func (o *QueryGlobalHardwareBrandsParams) SetFilterNamePattern(filterNamePattern *string)
SetFilterNamePattern adds the filterNamePattern to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) SetFilterOriginType ¶
func (o *QueryGlobalHardwareBrandsParams) SetFilterOriginType(filterOriginType *string)
SetFilterOriginType adds the filterOriginType to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) SetHTTPClient ¶
func (o *QueryGlobalHardwareBrandsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) SetNextOrderBy ¶
func (o *QueryGlobalHardwareBrandsParams) SetNextOrderBy(nextOrderBy *string)
SetNextOrderBy adds the nextOrderBy to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) SetNextPageNum ¶
func (o *QueryGlobalHardwareBrandsParams) SetNextPageNum(nextPageNum *int64)
SetNextPageNum adds the nextPageNum to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) SetNextPageSize ¶
func (o *QueryGlobalHardwareBrandsParams) SetNextPageSize(nextPageSize *int64)
SetNextPageSize adds the nextPageSize to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) SetNextPageToken ¶
func (o *QueryGlobalHardwareBrandsParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) SetNextTotalPages ¶
func (o *QueryGlobalHardwareBrandsParams) SetNextTotalPages(nextTotalPages *int64)
SetNextTotalPages adds the nextTotalPages to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) SetSummary ¶
func (o *QueryGlobalHardwareBrandsParams) SetSummary(summary *bool)
SetSummary adds the summary to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) SetTimeout ¶
func (o *QueryGlobalHardwareBrandsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) SetXRequestID ¶
func (o *QueryGlobalHardwareBrandsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) WithContext ¶
func (o *QueryGlobalHardwareBrandsParams) WithContext(ctx context.Context) *QueryGlobalHardwareBrandsParams
WithContext adds the context to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) WithDefaults ¶
func (o *QueryGlobalHardwareBrandsParams) WithDefaults() *QueryGlobalHardwareBrandsParams
WithDefaults hydrates default values in the query global hardware brands params (not the query body).
All values with no default are reset to their zero value.
func (*QueryGlobalHardwareBrandsParams) WithEnterpriseID ¶
func (o *QueryGlobalHardwareBrandsParams) WithEnterpriseID(enterpriseID *string) *QueryGlobalHardwareBrandsParams
WithEnterpriseID adds the enterpriseID to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) WithFilterNamePattern ¶
func (o *QueryGlobalHardwareBrandsParams) WithFilterNamePattern(filterNamePattern *string) *QueryGlobalHardwareBrandsParams
WithFilterNamePattern adds the filterNamePattern to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) WithFilterOriginType ¶
func (o *QueryGlobalHardwareBrandsParams) WithFilterOriginType(filterOriginType *string) *QueryGlobalHardwareBrandsParams
WithFilterOriginType adds the filterOriginType to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) WithHTTPClient ¶
func (o *QueryGlobalHardwareBrandsParams) WithHTTPClient(client *http.Client) *QueryGlobalHardwareBrandsParams
WithHTTPClient adds the HTTPClient to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) WithNextOrderBy ¶
func (o *QueryGlobalHardwareBrandsParams) WithNextOrderBy(nextOrderBy *string) *QueryGlobalHardwareBrandsParams
WithNextOrderBy adds the nextOrderBy to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) WithNextPageNum ¶
func (o *QueryGlobalHardwareBrandsParams) WithNextPageNum(nextPageNum *int64) *QueryGlobalHardwareBrandsParams
WithNextPageNum adds the nextPageNum to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) WithNextPageSize ¶
func (o *QueryGlobalHardwareBrandsParams) WithNextPageSize(nextPageSize *int64) *QueryGlobalHardwareBrandsParams
WithNextPageSize adds the nextPageSize to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) WithNextPageToken ¶
func (o *QueryGlobalHardwareBrandsParams) WithNextPageToken(nextPageToken *string) *QueryGlobalHardwareBrandsParams
WithNextPageToken adds the nextPageToken to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) WithNextTotalPages ¶
func (o *QueryGlobalHardwareBrandsParams) WithNextTotalPages(nextTotalPages *int64) *QueryGlobalHardwareBrandsParams
WithNextTotalPages adds the nextTotalPages to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) WithSummary ¶
func (o *QueryGlobalHardwareBrandsParams) WithSummary(summary *bool) *QueryGlobalHardwareBrandsParams
WithSummary adds the summary to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) WithTimeout ¶
func (o *QueryGlobalHardwareBrandsParams) WithTimeout(timeout time.Duration) *QueryGlobalHardwareBrandsParams
WithTimeout adds the timeout to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) WithXRequestID ¶
func (o *QueryGlobalHardwareBrandsParams) WithXRequestID(xRequestID *string) *QueryGlobalHardwareBrandsParams
WithXRequestID adds the xRequestID to the query global hardware brands params
func (*QueryGlobalHardwareBrandsParams) WriteToRequest ¶
func (o *QueryGlobalHardwareBrandsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryGlobalHardwareBrandsReader ¶
type QueryGlobalHardwareBrandsReader struct {
// contains filtered or unexported fields
}
QueryGlobalHardwareBrandsReader is a Reader for the QueryGlobalHardwareBrands structure.
func (*QueryGlobalHardwareBrandsReader) ReadResponse ¶
func (o *QueryGlobalHardwareBrandsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryGlobalHardwareBrandsUnauthorized ¶
type QueryGlobalHardwareBrandsUnauthorized struct {
}
QueryGlobalHardwareBrandsUnauthorized 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 NewQueryGlobalHardwareBrandsUnauthorized ¶
func NewQueryGlobalHardwareBrandsUnauthorized() *QueryGlobalHardwareBrandsUnauthorized
NewQueryGlobalHardwareBrandsUnauthorized creates a QueryGlobalHardwareBrandsUnauthorized with default headers values
func (*QueryGlobalHardwareBrandsUnauthorized) Error ¶
func (o *QueryGlobalHardwareBrandsUnauthorized) Error() string
func (*QueryGlobalHardwareBrandsUnauthorized) GetPayload ¶
func (o *QueryGlobalHardwareBrandsUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type QueryGlobalHardwareModelsBadRequest ¶
type QueryGlobalHardwareModelsBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
QueryGlobalHardwareModelsBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of invalid value of filter parameters.
func NewQueryGlobalHardwareModelsBadRequest ¶
func NewQueryGlobalHardwareModelsBadRequest() *QueryGlobalHardwareModelsBadRequest
NewQueryGlobalHardwareModelsBadRequest creates a QueryGlobalHardwareModelsBadRequest with default headers values
func (*QueryGlobalHardwareModelsBadRequest) Error ¶
func (o *QueryGlobalHardwareModelsBadRequest) Error() string
func (*QueryGlobalHardwareModelsBadRequest) GetPayload ¶
func (o *QueryGlobalHardwareModelsBadRequest) GetPayload() *swagger_models.ZsrvResponse
type QueryGlobalHardwareModelsForbidden ¶
type QueryGlobalHardwareModelsForbidden struct {
Payload *swagger_models.ZsrvResponse
}
QueryGlobalHardwareModelsForbidden 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 NewQueryGlobalHardwareModelsForbidden ¶
func NewQueryGlobalHardwareModelsForbidden() *QueryGlobalHardwareModelsForbidden
NewQueryGlobalHardwareModelsForbidden creates a QueryGlobalHardwareModelsForbidden with default headers values
func (*QueryGlobalHardwareModelsForbidden) Error ¶
func (o *QueryGlobalHardwareModelsForbidden) Error() string
func (*QueryGlobalHardwareModelsForbidden) GetPayload ¶
func (o *QueryGlobalHardwareModelsForbidden) GetPayload() *swagger_models.ZsrvResponse
type QueryGlobalHardwareModelsGatewayTimeout ¶
type QueryGlobalHardwareModelsGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
QueryGlobalHardwareModelsGatewayTimeout 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 NewQueryGlobalHardwareModelsGatewayTimeout ¶
func NewQueryGlobalHardwareModelsGatewayTimeout() *QueryGlobalHardwareModelsGatewayTimeout
NewQueryGlobalHardwareModelsGatewayTimeout creates a QueryGlobalHardwareModelsGatewayTimeout with default headers values
func (*QueryGlobalHardwareModelsGatewayTimeout) Error ¶
func (o *QueryGlobalHardwareModelsGatewayTimeout) Error() string
func (*QueryGlobalHardwareModelsGatewayTimeout) GetPayload ¶
func (o *QueryGlobalHardwareModelsGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type QueryGlobalHardwareModelsInternalServerError ¶
type QueryGlobalHardwareModelsInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
QueryGlobalHardwareModelsInternalServerError 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 NewQueryGlobalHardwareModelsInternalServerError ¶
func NewQueryGlobalHardwareModelsInternalServerError() *QueryGlobalHardwareModelsInternalServerError
NewQueryGlobalHardwareModelsInternalServerError creates a QueryGlobalHardwareModelsInternalServerError with default headers values
func (*QueryGlobalHardwareModelsInternalServerError) Error ¶
func (o *QueryGlobalHardwareModelsInternalServerError) Error() string
func (*QueryGlobalHardwareModelsInternalServerError) GetPayload ¶
func (o *QueryGlobalHardwareModelsInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type QueryGlobalHardwareModelsOK ¶
type QueryGlobalHardwareModelsOK struct {
Payload *swagger_models.SysModels
}
QueryGlobalHardwareModelsOK describes a response with status code 200, with default header values.
A successful response.
func NewQueryGlobalHardwareModelsOK ¶
func NewQueryGlobalHardwareModelsOK() *QueryGlobalHardwareModelsOK
NewQueryGlobalHardwareModelsOK creates a QueryGlobalHardwareModelsOK with default headers values
func (*QueryGlobalHardwareModelsOK) Error ¶
func (o *QueryGlobalHardwareModelsOK) Error() string
func (*QueryGlobalHardwareModelsOK) GetPayload ¶
func (o *QueryGlobalHardwareModelsOK) GetPayload() *swagger_models.SysModels
type QueryGlobalHardwareModelsParams ¶
type QueryGlobalHardwareModelsParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* FilterBrandID.
System defined universally unique Id of the brand.
*/
FilterBrandID *string
/* FilterNamePattern.
Model name pattern to be matched.
*/
FilterNamePattern *string
/* FilterOriginType.
origin of object
- ORIGIN_UNSPECIFIED: default options, which says no Operation/Invalid Operation
- ORIGIN_IMPORTED: Object imported from global enterprise.
- ORIGIN_LOCAL: Objectl created locally.
- ORIGIN_GLOBAL: Object created in global store,
to use this type user should have root previlage.
Default: "ORIGIN_UNSPECIFIED"
*/
FilterOriginType *string
/* NextOrderBy.
OrderBy helps in sorting the list response
*/
NextOrderBy *string
/* NextPageNum.
Page Number
Format: int64
*/
NextPageNum *int64
/* NextPageSize.
Defines the page size
Format: int64
*/
NextPageSize *int64
/* NextPageToken.
Page Token
*/
NextPageToken *string
/* NextTotalPages.
Total number of pages to be fetched.
Format: int64
*/
NextTotalPages *int64
/* Summary.
Only summary of the records required
Format: boolean
*/
Summary *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
QueryGlobalHardwareModelsParams contains all the parameters to send to the API endpoint
for the query global hardware models operation. Typically these are written to a http.Request.
func NewQueryGlobalHardwareModelsParams ¶
func NewQueryGlobalHardwareModelsParams() *QueryGlobalHardwareModelsParams
NewQueryGlobalHardwareModelsParams creates a new QueryGlobalHardwareModelsParams 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 NewQueryGlobalHardwareModelsParamsWithContext ¶
func NewQueryGlobalHardwareModelsParamsWithContext(ctx context.Context) *QueryGlobalHardwareModelsParams
NewQueryGlobalHardwareModelsParamsWithContext creates a new QueryGlobalHardwareModelsParams object with the ability to set a context for a request.
func NewQueryGlobalHardwareModelsParamsWithHTTPClient ¶
func NewQueryGlobalHardwareModelsParamsWithHTTPClient(client *http.Client) *QueryGlobalHardwareModelsParams
NewQueryGlobalHardwareModelsParamsWithHTTPClient creates a new QueryGlobalHardwareModelsParams object with the ability to set a custom HTTPClient for a request.
func NewQueryGlobalHardwareModelsParamsWithTimeout ¶
func NewQueryGlobalHardwareModelsParamsWithTimeout(timeout time.Duration) *QueryGlobalHardwareModelsParams
NewQueryGlobalHardwareModelsParamsWithTimeout creates a new QueryGlobalHardwareModelsParams object with the ability to set a timeout on a request.
func (*QueryGlobalHardwareModelsParams) SetContext ¶
func (o *QueryGlobalHardwareModelsParams) SetContext(ctx context.Context)
SetContext adds the context to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) SetDefaults ¶
func (o *QueryGlobalHardwareModelsParams) SetDefaults()
SetDefaults hydrates default values in the query global hardware models params (not the query body).
All values with no default are reset to their zero value.
func (*QueryGlobalHardwareModelsParams) SetFilterBrandID ¶
func (o *QueryGlobalHardwareModelsParams) SetFilterBrandID(filterBrandID *string)
SetFilterBrandID adds the filterBrandId to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) SetFilterNamePattern ¶
func (o *QueryGlobalHardwareModelsParams) SetFilterNamePattern(filterNamePattern *string)
SetFilterNamePattern adds the filterNamePattern to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) SetFilterOriginType ¶
func (o *QueryGlobalHardwareModelsParams) SetFilterOriginType(filterOriginType *string)
SetFilterOriginType adds the filterOriginType to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) SetHTTPClient ¶
func (o *QueryGlobalHardwareModelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) SetNextOrderBy ¶
func (o *QueryGlobalHardwareModelsParams) SetNextOrderBy(nextOrderBy *string)
SetNextOrderBy adds the nextOrderBy to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) SetNextPageNum ¶
func (o *QueryGlobalHardwareModelsParams) SetNextPageNum(nextPageNum *int64)
SetNextPageNum adds the nextPageNum to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) SetNextPageSize ¶
func (o *QueryGlobalHardwareModelsParams) SetNextPageSize(nextPageSize *int64)
SetNextPageSize adds the nextPageSize to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) SetNextPageToken ¶
func (o *QueryGlobalHardwareModelsParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) SetNextTotalPages ¶
func (o *QueryGlobalHardwareModelsParams) SetNextTotalPages(nextTotalPages *int64)
SetNextTotalPages adds the nextTotalPages to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) SetSummary ¶
func (o *QueryGlobalHardwareModelsParams) SetSummary(summary *bool)
SetSummary adds the summary to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) SetTimeout ¶
func (o *QueryGlobalHardwareModelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) SetXRequestID ¶
func (o *QueryGlobalHardwareModelsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) WithContext ¶
func (o *QueryGlobalHardwareModelsParams) WithContext(ctx context.Context) *QueryGlobalHardwareModelsParams
WithContext adds the context to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) WithDefaults ¶
func (o *QueryGlobalHardwareModelsParams) WithDefaults() *QueryGlobalHardwareModelsParams
WithDefaults hydrates default values in the query global hardware models params (not the query body).
All values with no default are reset to their zero value.
func (*QueryGlobalHardwareModelsParams) WithFilterBrandID ¶
func (o *QueryGlobalHardwareModelsParams) WithFilterBrandID(filterBrandID *string) *QueryGlobalHardwareModelsParams
WithFilterBrandID adds the filterBrandID to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) WithFilterNamePattern ¶
func (o *QueryGlobalHardwareModelsParams) WithFilterNamePattern(filterNamePattern *string) *QueryGlobalHardwareModelsParams
WithFilterNamePattern adds the filterNamePattern to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) WithFilterOriginType ¶
func (o *QueryGlobalHardwareModelsParams) WithFilterOriginType(filterOriginType *string) *QueryGlobalHardwareModelsParams
WithFilterOriginType adds the filterOriginType to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) WithHTTPClient ¶
func (o *QueryGlobalHardwareModelsParams) WithHTTPClient(client *http.Client) *QueryGlobalHardwareModelsParams
WithHTTPClient adds the HTTPClient to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) WithNextOrderBy ¶
func (o *QueryGlobalHardwareModelsParams) WithNextOrderBy(nextOrderBy *string) *QueryGlobalHardwareModelsParams
WithNextOrderBy adds the nextOrderBy to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) WithNextPageNum ¶
func (o *QueryGlobalHardwareModelsParams) WithNextPageNum(nextPageNum *int64) *QueryGlobalHardwareModelsParams
WithNextPageNum adds the nextPageNum to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) WithNextPageSize ¶
func (o *QueryGlobalHardwareModelsParams) WithNextPageSize(nextPageSize *int64) *QueryGlobalHardwareModelsParams
WithNextPageSize adds the nextPageSize to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) WithNextPageToken ¶
func (o *QueryGlobalHardwareModelsParams) WithNextPageToken(nextPageToken *string) *QueryGlobalHardwareModelsParams
WithNextPageToken adds the nextPageToken to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) WithNextTotalPages ¶
func (o *QueryGlobalHardwareModelsParams) WithNextTotalPages(nextTotalPages *int64) *QueryGlobalHardwareModelsParams
WithNextTotalPages adds the nextTotalPages to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) WithSummary ¶
func (o *QueryGlobalHardwareModelsParams) WithSummary(summary *bool) *QueryGlobalHardwareModelsParams
WithSummary adds the summary to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) WithTimeout ¶
func (o *QueryGlobalHardwareModelsParams) WithTimeout(timeout time.Duration) *QueryGlobalHardwareModelsParams
WithTimeout adds the timeout to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) WithXRequestID ¶
func (o *QueryGlobalHardwareModelsParams) WithXRequestID(xRequestID *string) *QueryGlobalHardwareModelsParams
WithXRequestID adds the xRequestID to the query global hardware models params
func (*QueryGlobalHardwareModelsParams) WriteToRequest ¶
func (o *QueryGlobalHardwareModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryGlobalHardwareModelsReader ¶
type QueryGlobalHardwareModelsReader struct {
// contains filtered or unexported fields
}
QueryGlobalHardwareModelsReader is a Reader for the QueryGlobalHardwareModels structure.
func (*QueryGlobalHardwareModelsReader) ReadResponse ¶
func (o *QueryGlobalHardwareModelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryGlobalHardwareModelsUnauthorized ¶
type QueryGlobalHardwareModelsUnauthorized struct {
}
QueryGlobalHardwareModelsUnauthorized 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 NewQueryGlobalHardwareModelsUnauthorized ¶
func NewQueryGlobalHardwareModelsUnauthorized() *QueryGlobalHardwareModelsUnauthorized
NewQueryGlobalHardwareModelsUnauthorized creates a QueryGlobalHardwareModelsUnauthorized with default headers values
func (*QueryGlobalHardwareModelsUnauthorized) Error ¶
func (o *QueryGlobalHardwareModelsUnauthorized) Error() string
func (*QueryGlobalHardwareModelsUnauthorized) GetPayload ¶
func (o *QueryGlobalHardwareModelsUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type QueryHardwareBrandsBadRequest ¶
type QueryHardwareBrandsBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
QueryHardwareBrandsBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of invalid value of filter parameters.
func NewQueryHardwareBrandsBadRequest ¶
func NewQueryHardwareBrandsBadRequest() *QueryHardwareBrandsBadRequest
NewQueryHardwareBrandsBadRequest creates a QueryHardwareBrandsBadRequest with default headers values
func (*QueryHardwareBrandsBadRequest) Error ¶
func (o *QueryHardwareBrandsBadRequest) Error() string
func (*QueryHardwareBrandsBadRequest) GetPayload ¶
func (o *QueryHardwareBrandsBadRequest) GetPayload() *swagger_models.ZsrvResponse
type QueryHardwareBrandsForbidden ¶
type QueryHardwareBrandsForbidden struct {
Payload *swagger_models.ZsrvResponse
}
QueryHardwareBrandsForbidden 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 NewQueryHardwareBrandsForbidden ¶
func NewQueryHardwareBrandsForbidden() *QueryHardwareBrandsForbidden
NewQueryHardwareBrandsForbidden creates a QueryHardwareBrandsForbidden with default headers values
func (*QueryHardwareBrandsForbidden) Error ¶
func (o *QueryHardwareBrandsForbidden) Error() string
func (*QueryHardwareBrandsForbidden) GetPayload ¶
func (o *QueryHardwareBrandsForbidden) GetPayload() *swagger_models.ZsrvResponse
type QueryHardwareBrandsGatewayTimeout ¶
type QueryHardwareBrandsGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
QueryHardwareBrandsGatewayTimeout 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 NewQueryHardwareBrandsGatewayTimeout ¶
func NewQueryHardwareBrandsGatewayTimeout() *QueryHardwareBrandsGatewayTimeout
NewQueryHardwareBrandsGatewayTimeout creates a QueryHardwareBrandsGatewayTimeout with default headers values
func (*QueryHardwareBrandsGatewayTimeout) Error ¶
func (o *QueryHardwareBrandsGatewayTimeout) Error() string
func (*QueryHardwareBrandsGatewayTimeout) GetPayload ¶
func (o *QueryHardwareBrandsGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type QueryHardwareBrandsInternalServerError ¶
type QueryHardwareBrandsInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
QueryHardwareBrandsInternalServerError 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 NewQueryHardwareBrandsInternalServerError ¶
func NewQueryHardwareBrandsInternalServerError() *QueryHardwareBrandsInternalServerError
NewQueryHardwareBrandsInternalServerError creates a QueryHardwareBrandsInternalServerError with default headers values
func (*QueryHardwareBrandsInternalServerError) Error ¶
func (o *QueryHardwareBrandsInternalServerError) Error() string
func (*QueryHardwareBrandsInternalServerError) GetPayload ¶
func (o *QueryHardwareBrandsInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type QueryHardwareBrandsOK ¶
type QueryHardwareBrandsOK struct {
Payload *swagger_models.SysBrands
}
QueryHardwareBrandsOK describes a response with status code 200, with default header values.
A successful response.
func NewQueryHardwareBrandsOK ¶
func NewQueryHardwareBrandsOK() *QueryHardwareBrandsOK
NewQueryHardwareBrandsOK creates a QueryHardwareBrandsOK with default headers values
func (*QueryHardwareBrandsOK) Error ¶
func (o *QueryHardwareBrandsOK) Error() string
func (*QueryHardwareBrandsOK) GetPayload ¶
func (o *QueryHardwareBrandsOK) GetPayload() *swagger_models.SysBrands
type QueryHardwareBrandsParams ¶
type QueryHardwareBrandsParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* EnterpriseID.
deprecated field
*/
EnterpriseID *string
/* FilterNamePattern.
Brand name pattern to be matched.
*/
FilterNamePattern *string
/* FilterOriginType.
origin of object
- ORIGIN_UNSPECIFIED: default options, which says no Operation/Invalid Operation
- ORIGIN_IMPORTED: Object imported from global enterprise.
- ORIGIN_LOCAL: Objectl created locally.
- ORIGIN_GLOBAL: Object created in global store,
to use this type user should have root previlage.
Default: "ORIGIN_UNSPECIFIED"
*/
FilterOriginType *string
/* NextOrderBy.
OrderBy helps in sorting the list response
*/
NextOrderBy *string
/* NextPageNum.
Page Number
Format: int64
*/
NextPageNum *int64
/* NextPageSize.
Defines the page size
Format: int64
*/
NextPageSize *int64
/* NextPageToken.
Page Token
*/
NextPageToken *string
/* NextTotalPages.
Total number of pages to be fetched.
Format: int64
*/
NextTotalPages *int64
/* Summary.
Only summary of the records required
Format: boolean
*/
Summary *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
QueryHardwareBrandsParams contains all the parameters to send to the API endpoint
for the query hardware brands operation. Typically these are written to a http.Request.
func NewQueryHardwareBrandsParams ¶
func NewQueryHardwareBrandsParams() *QueryHardwareBrandsParams
NewQueryHardwareBrandsParams creates a new QueryHardwareBrandsParams 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 NewQueryHardwareBrandsParamsWithContext ¶
func NewQueryHardwareBrandsParamsWithContext(ctx context.Context) *QueryHardwareBrandsParams
NewQueryHardwareBrandsParamsWithContext creates a new QueryHardwareBrandsParams object with the ability to set a context for a request.
func NewQueryHardwareBrandsParamsWithHTTPClient ¶
func NewQueryHardwareBrandsParamsWithHTTPClient(client *http.Client) *QueryHardwareBrandsParams
NewQueryHardwareBrandsParamsWithHTTPClient creates a new QueryHardwareBrandsParams object with the ability to set a custom HTTPClient for a request.
func NewQueryHardwareBrandsParamsWithTimeout ¶
func NewQueryHardwareBrandsParamsWithTimeout(timeout time.Duration) *QueryHardwareBrandsParams
NewQueryHardwareBrandsParamsWithTimeout creates a new QueryHardwareBrandsParams object with the ability to set a timeout on a request.
func (*QueryHardwareBrandsParams) SetContext ¶
func (o *QueryHardwareBrandsParams) SetContext(ctx context.Context)
SetContext adds the context to the query hardware brands params
func (*QueryHardwareBrandsParams) SetDefaults ¶
func (o *QueryHardwareBrandsParams) SetDefaults()
SetDefaults hydrates default values in the query hardware brands params (not the query body).
All values with no default are reset to their zero value.
func (*QueryHardwareBrandsParams) SetEnterpriseID ¶
func (o *QueryHardwareBrandsParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the query hardware brands params
func (*QueryHardwareBrandsParams) SetFilterNamePattern ¶
func (o *QueryHardwareBrandsParams) SetFilterNamePattern(filterNamePattern *string)
SetFilterNamePattern adds the filterNamePattern to the query hardware brands params
func (*QueryHardwareBrandsParams) SetFilterOriginType ¶
func (o *QueryHardwareBrandsParams) SetFilterOriginType(filterOriginType *string)
SetFilterOriginType adds the filterOriginType to the query hardware brands params
func (*QueryHardwareBrandsParams) SetHTTPClient ¶
func (o *QueryHardwareBrandsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query hardware brands params
func (*QueryHardwareBrandsParams) SetNextOrderBy ¶
func (o *QueryHardwareBrandsParams) SetNextOrderBy(nextOrderBy *string)
SetNextOrderBy adds the nextOrderBy to the query hardware brands params
func (*QueryHardwareBrandsParams) SetNextPageNum ¶
func (o *QueryHardwareBrandsParams) SetNextPageNum(nextPageNum *int64)
SetNextPageNum adds the nextPageNum to the query hardware brands params
func (*QueryHardwareBrandsParams) SetNextPageSize ¶
func (o *QueryHardwareBrandsParams) SetNextPageSize(nextPageSize *int64)
SetNextPageSize adds the nextPageSize to the query hardware brands params
func (*QueryHardwareBrandsParams) SetNextPageToken ¶
func (o *QueryHardwareBrandsParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the query hardware brands params
func (*QueryHardwareBrandsParams) SetNextTotalPages ¶
func (o *QueryHardwareBrandsParams) SetNextTotalPages(nextTotalPages *int64)
SetNextTotalPages adds the nextTotalPages to the query hardware brands params
func (*QueryHardwareBrandsParams) SetSummary ¶
func (o *QueryHardwareBrandsParams) SetSummary(summary *bool)
SetSummary adds the summary to the query hardware brands params
func (*QueryHardwareBrandsParams) SetTimeout ¶
func (o *QueryHardwareBrandsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query hardware brands params
func (*QueryHardwareBrandsParams) SetXRequestID ¶
func (o *QueryHardwareBrandsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the query hardware brands params
func (*QueryHardwareBrandsParams) WithContext ¶
func (o *QueryHardwareBrandsParams) WithContext(ctx context.Context) *QueryHardwareBrandsParams
WithContext adds the context to the query hardware brands params
func (*QueryHardwareBrandsParams) WithDefaults ¶
func (o *QueryHardwareBrandsParams) WithDefaults() *QueryHardwareBrandsParams
WithDefaults hydrates default values in the query hardware brands params (not the query body).
All values with no default are reset to their zero value.
func (*QueryHardwareBrandsParams) WithEnterpriseID ¶
func (o *QueryHardwareBrandsParams) WithEnterpriseID(enterpriseID *string) *QueryHardwareBrandsParams
WithEnterpriseID adds the enterpriseID to the query hardware brands params
func (*QueryHardwareBrandsParams) WithFilterNamePattern ¶
func (o *QueryHardwareBrandsParams) WithFilterNamePattern(filterNamePattern *string) *QueryHardwareBrandsParams
WithFilterNamePattern adds the filterNamePattern to the query hardware brands params
func (*QueryHardwareBrandsParams) WithFilterOriginType ¶
func (o *QueryHardwareBrandsParams) WithFilterOriginType(filterOriginType *string) *QueryHardwareBrandsParams
WithFilterOriginType adds the filterOriginType to the query hardware brands params
func (*QueryHardwareBrandsParams) WithHTTPClient ¶
func (o *QueryHardwareBrandsParams) WithHTTPClient(client *http.Client) *QueryHardwareBrandsParams
WithHTTPClient adds the HTTPClient to the query hardware brands params
func (*QueryHardwareBrandsParams) WithNextOrderBy ¶
func (o *QueryHardwareBrandsParams) WithNextOrderBy(nextOrderBy *string) *QueryHardwareBrandsParams
WithNextOrderBy adds the nextOrderBy to the query hardware brands params
func (*QueryHardwareBrandsParams) WithNextPageNum ¶
func (o *QueryHardwareBrandsParams) WithNextPageNum(nextPageNum *int64) *QueryHardwareBrandsParams
WithNextPageNum adds the nextPageNum to the query hardware brands params
func (*QueryHardwareBrandsParams) WithNextPageSize ¶
func (o *QueryHardwareBrandsParams) WithNextPageSize(nextPageSize *int64) *QueryHardwareBrandsParams
WithNextPageSize adds the nextPageSize to the query hardware brands params
func (*QueryHardwareBrandsParams) WithNextPageToken ¶
func (o *QueryHardwareBrandsParams) WithNextPageToken(nextPageToken *string) *QueryHardwareBrandsParams
WithNextPageToken adds the nextPageToken to the query hardware brands params
func (*QueryHardwareBrandsParams) WithNextTotalPages ¶
func (o *QueryHardwareBrandsParams) WithNextTotalPages(nextTotalPages *int64) *QueryHardwareBrandsParams
WithNextTotalPages adds the nextTotalPages to the query hardware brands params
func (*QueryHardwareBrandsParams) WithSummary ¶
func (o *QueryHardwareBrandsParams) WithSummary(summary *bool) *QueryHardwareBrandsParams
WithSummary adds the summary to the query hardware brands params
func (*QueryHardwareBrandsParams) WithTimeout ¶
func (o *QueryHardwareBrandsParams) WithTimeout(timeout time.Duration) *QueryHardwareBrandsParams
WithTimeout adds the timeout to the query hardware brands params
func (*QueryHardwareBrandsParams) WithXRequestID ¶
func (o *QueryHardwareBrandsParams) WithXRequestID(xRequestID *string) *QueryHardwareBrandsParams
WithXRequestID adds the xRequestID to the query hardware brands params
func (*QueryHardwareBrandsParams) WriteToRequest ¶
func (o *QueryHardwareBrandsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryHardwareBrandsReader ¶
type QueryHardwareBrandsReader struct {
// contains filtered or unexported fields
}
QueryHardwareBrandsReader is a Reader for the QueryHardwareBrands structure.
func (*QueryHardwareBrandsReader) ReadResponse ¶
func (o *QueryHardwareBrandsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryHardwareBrandsUnauthorized ¶
type QueryHardwareBrandsUnauthorized struct {
}
QueryHardwareBrandsUnauthorized 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 NewQueryHardwareBrandsUnauthorized ¶
func NewQueryHardwareBrandsUnauthorized() *QueryHardwareBrandsUnauthorized
NewQueryHardwareBrandsUnauthorized creates a QueryHardwareBrandsUnauthorized with default headers values
func (*QueryHardwareBrandsUnauthorized) Error ¶
func (o *QueryHardwareBrandsUnauthorized) Error() string
func (*QueryHardwareBrandsUnauthorized) GetPayload ¶
func (o *QueryHardwareBrandsUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type QueryHardwareModelsBadRequest ¶
type QueryHardwareModelsBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
QueryHardwareModelsBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of invalid value of filter parameters.
func NewQueryHardwareModelsBadRequest ¶
func NewQueryHardwareModelsBadRequest() *QueryHardwareModelsBadRequest
NewQueryHardwareModelsBadRequest creates a QueryHardwareModelsBadRequest with default headers values
func (*QueryHardwareModelsBadRequest) Error ¶
func (o *QueryHardwareModelsBadRequest) Error() string
func (*QueryHardwareModelsBadRequest) GetPayload ¶
func (o *QueryHardwareModelsBadRequest) GetPayload() *swagger_models.ZsrvResponse
type QueryHardwareModelsForbidden ¶
type QueryHardwareModelsForbidden struct {
Payload *swagger_models.ZsrvResponse
}
QueryHardwareModelsForbidden 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 NewQueryHardwareModelsForbidden ¶
func NewQueryHardwareModelsForbidden() *QueryHardwareModelsForbidden
NewQueryHardwareModelsForbidden creates a QueryHardwareModelsForbidden with default headers values
func (*QueryHardwareModelsForbidden) Error ¶
func (o *QueryHardwareModelsForbidden) Error() string
func (*QueryHardwareModelsForbidden) GetPayload ¶
func (o *QueryHardwareModelsForbidden) GetPayload() *swagger_models.ZsrvResponse
type QueryHardwareModelsGatewayTimeout ¶
type QueryHardwareModelsGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
QueryHardwareModelsGatewayTimeout 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 NewQueryHardwareModelsGatewayTimeout ¶
func NewQueryHardwareModelsGatewayTimeout() *QueryHardwareModelsGatewayTimeout
NewQueryHardwareModelsGatewayTimeout creates a QueryHardwareModelsGatewayTimeout with default headers values
func (*QueryHardwareModelsGatewayTimeout) Error ¶
func (o *QueryHardwareModelsGatewayTimeout) Error() string
func (*QueryHardwareModelsGatewayTimeout) GetPayload ¶
func (o *QueryHardwareModelsGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type QueryHardwareModelsInternalServerError ¶
type QueryHardwareModelsInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
QueryHardwareModelsInternalServerError 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 NewQueryHardwareModelsInternalServerError ¶
func NewQueryHardwareModelsInternalServerError() *QueryHardwareModelsInternalServerError
NewQueryHardwareModelsInternalServerError creates a QueryHardwareModelsInternalServerError with default headers values
func (*QueryHardwareModelsInternalServerError) Error ¶
func (o *QueryHardwareModelsInternalServerError) Error() string
func (*QueryHardwareModelsInternalServerError) GetPayload ¶
func (o *QueryHardwareModelsInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type QueryHardwareModelsOK ¶
type QueryHardwareModelsOK struct {
Payload *swagger_models.SysModels
}
QueryHardwareModelsOK describes a response with status code 200, with default header values.
A successful response.
func NewQueryHardwareModelsOK ¶
func NewQueryHardwareModelsOK() *QueryHardwareModelsOK
NewQueryHardwareModelsOK creates a QueryHardwareModelsOK with default headers values
func (*QueryHardwareModelsOK) Error ¶
func (o *QueryHardwareModelsOK) Error() string
func (*QueryHardwareModelsOK) GetPayload ¶
func (o *QueryHardwareModelsOK) GetPayload() *swagger_models.SysModels
type QueryHardwareModelsParams ¶
type QueryHardwareModelsParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
/* FilterBrandID.
System defined universally unique Id of the brand.
*/
FilterBrandID *string
/* FilterNamePattern.
Model name pattern to be matched.
*/
FilterNamePattern *string
/* FilterOriginType.
origin of object
- ORIGIN_UNSPECIFIED: default options, which says no Operation/Invalid Operation
- ORIGIN_IMPORTED: Object imported from global enterprise.
- ORIGIN_LOCAL: Objectl created locally.
- ORIGIN_GLOBAL: Object created in global store,
to use this type user should have root previlage.
Default: "ORIGIN_UNSPECIFIED"
*/
FilterOriginType *string
/* NextOrderBy.
OrderBy helps in sorting the list response
*/
NextOrderBy *string
/* NextPageNum.
Page Number
Format: int64
*/
NextPageNum *int64
/* NextPageSize.
Defines the page size
Format: int64
*/
NextPageSize *int64
/* NextPageToken.
Page Token
*/
NextPageToken *string
/* NextTotalPages.
Total number of pages to be fetched.
Format: int64
*/
NextTotalPages *int64
/* Summary.
Only summary of the records required
Format: boolean
*/
Summary *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
QueryHardwareModelsParams contains all the parameters to send to the API endpoint
for the query hardware models operation. Typically these are written to a http.Request.
func NewQueryHardwareModelsParams ¶
func NewQueryHardwareModelsParams() *QueryHardwareModelsParams
NewQueryHardwareModelsParams creates a new QueryHardwareModelsParams 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 NewQueryHardwareModelsParamsWithContext ¶
func NewQueryHardwareModelsParamsWithContext(ctx context.Context) *QueryHardwareModelsParams
NewQueryHardwareModelsParamsWithContext creates a new QueryHardwareModelsParams object with the ability to set a context for a request.
func NewQueryHardwareModelsParamsWithHTTPClient ¶
func NewQueryHardwareModelsParamsWithHTTPClient(client *http.Client) *QueryHardwareModelsParams
NewQueryHardwareModelsParamsWithHTTPClient creates a new QueryHardwareModelsParams object with the ability to set a custom HTTPClient for a request.
func NewQueryHardwareModelsParamsWithTimeout ¶
func NewQueryHardwareModelsParamsWithTimeout(timeout time.Duration) *QueryHardwareModelsParams
NewQueryHardwareModelsParamsWithTimeout creates a new QueryHardwareModelsParams object with the ability to set a timeout on a request.
func (*QueryHardwareModelsParams) SetContext ¶
func (o *QueryHardwareModelsParams) SetContext(ctx context.Context)
SetContext adds the context to the query hardware models params
func (*QueryHardwareModelsParams) SetDefaults ¶
func (o *QueryHardwareModelsParams) SetDefaults()
SetDefaults hydrates default values in the query hardware models params (not the query body).
All values with no default are reset to their zero value.
func (*QueryHardwareModelsParams) SetFilterBrandID ¶
func (o *QueryHardwareModelsParams) SetFilterBrandID(filterBrandID *string)
SetFilterBrandID adds the filterBrandId to the query hardware models params
func (*QueryHardwareModelsParams) SetFilterNamePattern ¶
func (o *QueryHardwareModelsParams) SetFilterNamePattern(filterNamePattern *string)
SetFilterNamePattern adds the filterNamePattern to the query hardware models params
func (*QueryHardwareModelsParams) SetFilterOriginType ¶
func (o *QueryHardwareModelsParams) SetFilterOriginType(filterOriginType *string)
SetFilterOriginType adds the filterOriginType to the query hardware models params
func (*QueryHardwareModelsParams) SetHTTPClient ¶
func (o *QueryHardwareModelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query hardware models params
func (*QueryHardwareModelsParams) SetNextOrderBy ¶
func (o *QueryHardwareModelsParams) SetNextOrderBy(nextOrderBy *string)
SetNextOrderBy adds the nextOrderBy to the query hardware models params
func (*QueryHardwareModelsParams) SetNextPageNum ¶
func (o *QueryHardwareModelsParams) SetNextPageNum(nextPageNum *int64)
SetNextPageNum adds the nextPageNum to the query hardware models params
func (*QueryHardwareModelsParams) SetNextPageSize ¶
func (o *QueryHardwareModelsParams) SetNextPageSize(nextPageSize *int64)
SetNextPageSize adds the nextPageSize to the query hardware models params
func (*QueryHardwareModelsParams) SetNextPageToken ¶
func (o *QueryHardwareModelsParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the query hardware models params
func (*QueryHardwareModelsParams) SetNextTotalPages ¶
func (o *QueryHardwareModelsParams) SetNextTotalPages(nextTotalPages *int64)
SetNextTotalPages adds the nextTotalPages to the query hardware models params
func (*QueryHardwareModelsParams) SetSummary ¶
func (o *QueryHardwareModelsParams) SetSummary(summary *bool)
SetSummary adds the summary to the query hardware models params
func (*QueryHardwareModelsParams) SetTimeout ¶
func (o *QueryHardwareModelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query hardware models params
func (*QueryHardwareModelsParams) SetXRequestID ¶
func (o *QueryHardwareModelsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the query hardware models params
func (*QueryHardwareModelsParams) WithContext ¶
func (o *QueryHardwareModelsParams) WithContext(ctx context.Context) *QueryHardwareModelsParams
WithContext adds the context to the query hardware models params
func (*QueryHardwareModelsParams) WithDefaults ¶
func (o *QueryHardwareModelsParams) WithDefaults() *QueryHardwareModelsParams
WithDefaults hydrates default values in the query hardware models params (not the query body).
All values with no default are reset to their zero value.
func (*QueryHardwareModelsParams) WithFilterBrandID ¶
func (o *QueryHardwareModelsParams) WithFilterBrandID(filterBrandID *string) *QueryHardwareModelsParams
WithFilterBrandID adds the filterBrandID to the query hardware models params
func (*QueryHardwareModelsParams) WithFilterNamePattern ¶
func (o *QueryHardwareModelsParams) WithFilterNamePattern(filterNamePattern *string) *QueryHardwareModelsParams
WithFilterNamePattern adds the filterNamePattern to the query hardware models params
func (*QueryHardwareModelsParams) WithFilterOriginType ¶
func (o *QueryHardwareModelsParams) WithFilterOriginType(filterOriginType *string) *QueryHardwareModelsParams
WithFilterOriginType adds the filterOriginType to the query hardware models params
func (*QueryHardwareModelsParams) WithHTTPClient ¶
func (o *QueryHardwareModelsParams) WithHTTPClient(client *http.Client) *QueryHardwareModelsParams
WithHTTPClient adds the HTTPClient to the query hardware models params
func (*QueryHardwareModelsParams) WithNextOrderBy ¶
func (o *QueryHardwareModelsParams) WithNextOrderBy(nextOrderBy *string) *QueryHardwareModelsParams
WithNextOrderBy adds the nextOrderBy to the query hardware models params
func (*QueryHardwareModelsParams) WithNextPageNum ¶
func (o *QueryHardwareModelsParams) WithNextPageNum(nextPageNum *int64) *QueryHardwareModelsParams
WithNextPageNum adds the nextPageNum to the query hardware models params
func (*QueryHardwareModelsParams) WithNextPageSize ¶
func (o *QueryHardwareModelsParams) WithNextPageSize(nextPageSize *int64) *QueryHardwareModelsParams
WithNextPageSize adds the nextPageSize to the query hardware models params
func (*QueryHardwareModelsParams) WithNextPageToken ¶
func (o *QueryHardwareModelsParams) WithNextPageToken(nextPageToken *string) *QueryHardwareModelsParams
WithNextPageToken adds the nextPageToken to the query hardware models params
func (*QueryHardwareModelsParams) WithNextTotalPages ¶
func (o *QueryHardwareModelsParams) WithNextTotalPages(nextTotalPages *int64) *QueryHardwareModelsParams
WithNextTotalPages adds the nextTotalPages to the query hardware models params
func (*QueryHardwareModelsParams) WithSummary ¶
func (o *QueryHardwareModelsParams) WithSummary(summary *bool) *QueryHardwareModelsParams
WithSummary adds the summary to the query hardware models params
func (*QueryHardwareModelsParams) WithTimeout ¶
func (o *QueryHardwareModelsParams) WithTimeout(timeout time.Duration) *QueryHardwareModelsParams
WithTimeout adds the timeout to the query hardware models params
func (*QueryHardwareModelsParams) WithXRequestID ¶
func (o *QueryHardwareModelsParams) WithXRequestID(xRequestID *string) *QueryHardwareModelsParams
WithXRequestID adds the xRequestID to the query hardware models params
func (*QueryHardwareModelsParams) WriteToRequest ¶
func (o *QueryHardwareModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryHardwareModelsReader ¶
type QueryHardwareModelsReader struct {
// contains filtered or unexported fields
}
QueryHardwareModelsReader is a Reader for the QueryHardwareModels structure.
func (*QueryHardwareModelsReader) ReadResponse ¶
func (o *QueryHardwareModelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryHardwareModelsUnauthorized ¶
type QueryHardwareModelsUnauthorized struct {
}
QueryHardwareModelsUnauthorized 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 NewQueryHardwareModelsUnauthorized ¶
func NewQueryHardwareModelsUnauthorized() *QueryHardwareModelsUnauthorized
NewQueryHardwareModelsUnauthorized creates a QueryHardwareModelsUnauthorized with default headers values
func (*QueryHardwareModelsUnauthorized) Error ¶
func (o *QueryHardwareModelsUnauthorized) Error() string
func (*QueryHardwareModelsUnauthorized) GetPayload ¶
func (o *QueryHardwareModelsUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type UpdateHardwareBrandConflict ¶
type UpdateHardwareBrandConflict struct {
Payload *swagger_models.ZsrvResponse
}
UpdateHardwareBrandConflict describes a response with status code 409, with default header values.
Conflict. The API gateway did not process the request because this operation will conflict with an already existing hardware brand record.
func NewUpdateHardwareBrandConflict ¶
func NewUpdateHardwareBrandConflict() *UpdateHardwareBrandConflict
NewUpdateHardwareBrandConflict creates a UpdateHardwareBrandConflict with default headers values
func (*UpdateHardwareBrandConflict) Error ¶
func (o *UpdateHardwareBrandConflict) Error() string
func (*UpdateHardwareBrandConflict) GetPayload ¶
func (o *UpdateHardwareBrandConflict) GetPayload() *swagger_models.ZsrvResponse
type UpdateHardwareBrandForbidden ¶
type UpdateHardwareBrandForbidden struct {
Payload *swagger_models.ZsrvResponse
}
UpdateHardwareBrandForbidden 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 NewUpdateHardwareBrandForbidden ¶
func NewUpdateHardwareBrandForbidden() *UpdateHardwareBrandForbidden
NewUpdateHardwareBrandForbidden creates a UpdateHardwareBrandForbidden with default headers values
func (*UpdateHardwareBrandForbidden) Error ¶
func (o *UpdateHardwareBrandForbidden) Error() string
func (*UpdateHardwareBrandForbidden) GetPayload ¶
func (o *UpdateHardwareBrandForbidden) GetPayload() *swagger_models.ZsrvResponse
type UpdateHardwareBrandGatewayTimeout ¶
type UpdateHardwareBrandGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
UpdateHardwareBrandGatewayTimeout 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 NewUpdateHardwareBrandGatewayTimeout ¶
func NewUpdateHardwareBrandGatewayTimeout() *UpdateHardwareBrandGatewayTimeout
NewUpdateHardwareBrandGatewayTimeout creates a UpdateHardwareBrandGatewayTimeout with default headers values
func (*UpdateHardwareBrandGatewayTimeout) Error ¶
func (o *UpdateHardwareBrandGatewayTimeout) Error() string
func (*UpdateHardwareBrandGatewayTimeout) GetPayload ¶
func (o *UpdateHardwareBrandGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type UpdateHardwareBrandInternalServerError ¶
type UpdateHardwareBrandInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
UpdateHardwareBrandInternalServerError 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 NewUpdateHardwareBrandInternalServerError ¶
func NewUpdateHardwareBrandInternalServerError() *UpdateHardwareBrandInternalServerError
NewUpdateHardwareBrandInternalServerError creates a UpdateHardwareBrandInternalServerError with default headers values
func (*UpdateHardwareBrandInternalServerError) Error ¶
func (o *UpdateHardwareBrandInternalServerError) Error() string
func (*UpdateHardwareBrandInternalServerError) GetPayload ¶
func (o *UpdateHardwareBrandInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type UpdateHardwareBrandNotFound ¶
type UpdateHardwareBrandNotFound struct {
Payload *swagger_models.ZsrvResponse
}
UpdateHardwareBrandNotFound 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 NewUpdateHardwareBrandNotFound ¶
func NewUpdateHardwareBrandNotFound() *UpdateHardwareBrandNotFound
NewUpdateHardwareBrandNotFound creates a UpdateHardwareBrandNotFound with default headers values
func (*UpdateHardwareBrandNotFound) Error ¶
func (o *UpdateHardwareBrandNotFound) Error() string
func (*UpdateHardwareBrandNotFound) GetPayload ¶
func (o *UpdateHardwareBrandNotFound) GetPayload() *swagger_models.ZsrvResponse
type UpdateHardwareBrandOK ¶
type UpdateHardwareBrandOK struct {
Payload *swagger_models.ZsrvResponse
}
UpdateHardwareBrandOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateHardwareBrandOK ¶
func NewUpdateHardwareBrandOK() *UpdateHardwareBrandOK
NewUpdateHardwareBrandOK creates a UpdateHardwareBrandOK with default headers values
func (*UpdateHardwareBrandOK) Error ¶
func (o *UpdateHardwareBrandOK) Error() string
func (*UpdateHardwareBrandOK) GetPayload ¶
func (o *UpdateHardwareBrandOK) GetPayload() *swagger_models.ZsrvResponse
type UpdateHardwareBrandParams ¶
type UpdateHardwareBrandParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
// Body.
Body *swagger_models.SysBrand
/* ID.
System defined universally unique Id of the brand.
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateHardwareBrandParams contains all the parameters to send to the API endpoint
for the update hardware brand operation. Typically these are written to a http.Request.
func NewUpdateHardwareBrandParams ¶
func NewUpdateHardwareBrandParams() *UpdateHardwareBrandParams
NewUpdateHardwareBrandParams creates a new UpdateHardwareBrandParams 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 NewUpdateHardwareBrandParamsWithContext ¶
func NewUpdateHardwareBrandParamsWithContext(ctx context.Context) *UpdateHardwareBrandParams
NewUpdateHardwareBrandParamsWithContext creates a new UpdateHardwareBrandParams object with the ability to set a context for a request.
func NewUpdateHardwareBrandParamsWithHTTPClient ¶
func NewUpdateHardwareBrandParamsWithHTTPClient(client *http.Client) *UpdateHardwareBrandParams
NewUpdateHardwareBrandParamsWithHTTPClient creates a new UpdateHardwareBrandParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateHardwareBrandParamsWithTimeout ¶
func NewUpdateHardwareBrandParamsWithTimeout(timeout time.Duration) *UpdateHardwareBrandParams
NewUpdateHardwareBrandParamsWithTimeout creates a new UpdateHardwareBrandParams object with the ability to set a timeout on a request.
func (*UpdateHardwareBrandParams) SetBody ¶
func (o *UpdateHardwareBrandParams) SetBody(body *swagger_models.SysBrand)
SetBody adds the body to the update hardware brand params
func (*UpdateHardwareBrandParams) SetContext ¶
func (o *UpdateHardwareBrandParams) SetContext(ctx context.Context)
SetContext adds the context to the update hardware brand params
func (*UpdateHardwareBrandParams) SetDefaults ¶
func (o *UpdateHardwareBrandParams) SetDefaults()
SetDefaults hydrates default values in the update hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateHardwareBrandParams) SetHTTPClient ¶
func (o *UpdateHardwareBrandParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update hardware brand params
func (*UpdateHardwareBrandParams) SetID ¶
func (o *UpdateHardwareBrandParams) SetID(id string)
SetID adds the id to the update hardware brand params
func (*UpdateHardwareBrandParams) SetTimeout ¶
func (o *UpdateHardwareBrandParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update hardware brand params
func (*UpdateHardwareBrandParams) SetXRequestID ¶
func (o *UpdateHardwareBrandParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update hardware brand params
func (*UpdateHardwareBrandParams) WithBody ¶
func (o *UpdateHardwareBrandParams) WithBody(body *swagger_models.SysBrand) *UpdateHardwareBrandParams
WithBody adds the body to the update hardware brand params
func (*UpdateHardwareBrandParams) WithContext ¶
func (o *UpdateHardwareBrandParams) WithContext(ctx context.Context) *UpdateHardwareBrandParams
WithContext adds the context to the update hardware brand params
func (*UpdateHardwareBrandParams) WithDefaults ¶
func (o *UpdateHardwareBrandParams) WithDefaults() *UpdateHardwareBrandParams
WithDefaults hydrates default values in the update hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateHardwareBrandParams) WithHTTPClient ¶
func (o *UpdateHardwareBrandParams) WithHTTPClient(client *http.Client) *UpdateHardwareBrandParams
WithHTTPClient adds the HTTPClient to the update hardware brand params
func (*UpdateHardwareBrandParams) WithID ¶
func (o *UpdateHardwareBrandParams) WithID(id string) *UpdateHardwareBrandParams
WithID adds the id to the update hardware brand params
func (*UpdateHardwareBrandParams) WithTimeout ¶
func (o *UpdateHardwareBrandParams) WithTimeout(timeout time.Duration) *UpdateHardwareBrandParams
WithTimeout adds the timeout to the update hardware brand params
func (*UpdateHardwareBrandParams) WithXRequestID ¶
func (o *UpdateHardwareBrandParams) WithXRequestID(xRequestID *string) *UpdateHardwareBrandParams
WithXRequestID adds the xRequestID to the update hardware brand params
func (*UpdateHardwareBrandParams) WriteToRequest ¶
func (o *UpdateHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateHardwareBrandReader ¶
type UpdateHardwareBrandReader struct {
// contains filtered or unexported fields
}
UpdateHardwareBrandReader is a Reader for the UpdateHardwareBrand structure.
func (*UpdateHardwareBrandReader) ReadResponse ¶
func (o *UpdateHardwareBrandReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateHardwareBrandUnauthorized ¶
type UpdateHardwareBrandUnauthorized struct {
}
UpdateHardwareBrandUnauthorized 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 NewUpdateHardwareBrandUnauthorized ¶
func NewUpdateHardwareBrandUnauthorized() *UpdateHardwareBrandUnauthorized
NewUpdateHardwareBrandUnauthorized creates a UpdateHardwareBrandUnauthorized with default headers values
func (*UpdateHardwareBrandUnauthorized) Error ¶
func (o *UpdateHardwareBrandUnauthorized) Error() string
func (*UpdateHardwareBrandUnauthorized) GetPayload ¶
func (o *UpdateHardwareBrandUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type UpdateHardwareModelConflict ¶
type UpdateHardwareModelConflict struct {
Payload *swagger_models.ZsrvResponse
}
UpdateHardwareModelConflict describes a response with status code 409, with default header values.
Conflict. The API gateway did not process the request because this operation will conflict with an already existing hardware model record.
func NewUpdateHardwareModelConflict ¶
func NewUpdateHardwareModelConflict() *UpdateHardwareModelConflict
NewUpdateHardwareModelConflict creates a UpdateHardwareModelConflict with default headers values
func (*UpdateHardwareModelConflict) Error ¶
func (o *UpdateHardwareModelConflict) Error() string
func (*UpdateHardwareModelConflict) GetPayload ¶
func (o *UpdateHardwareModelConflict) GetPayload() *swagger_models.ZsrvResponse
type UpdateHardwareModelForbidden ¶
type UpdateHardwareModelForbidden struct {
Payload *swagger_models.ZsrvResponse
}
UpdateHardwareModelForbidden 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 NewUpdateHardwareModelForbidden ¶
func NewUpdateHardwareModelForbidden() *UpdateHardwareModelForbidden
NewUpdateHardwareModelForbidden creates a UpdateHardwareModelForbidden with default headers values
func (*UpdateHardwareModelForbidden) Error ¶
func (o *UpdateHardwareModelForbidden) Error() string
func (*UpdateHardwareModelForbidden) GetPayload ¶
func (o *UpdateHardwareModelForbidden) GetPayload() *swagger_models.ZsrvResponse
type UpdateHardwareModelGatewayTimeout ¶
type UpdateHardwareModelGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
UpdateHardwareModelGatewayTimeout 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 NewUpdateHardwareModelGatewayTimeout ¶
func NewUpdateHardwareModelGatewayTimeout() *UpdateHardwareModelGatewayTimeout
NewUpdateHardwareModelGatewayTimeout creates a UpdateHardwareModelGatewayTimeout with default headers values
func (*UpdateHardwareModelGatewayTimeout) Error ¶
func (o *UpdateHardwareModelGatewayTimeout) Error() string
func (*UpdateHardwareModelGatewayTimeout) GetPayload ¶
func (o *UpdateHardwareModelGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type UpdateHardwareModelInternalServerError ¶
type UpdateHardwareModelInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
UpdateHardwareModelInternalServerError 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 NewUpdateHardwareModelInternalServerError ¶
func NewUpdateHardwareModelInternalServerError() *UpdateHardwareModelInternalServerError
NewUpdateHardwareModelInternalServerError creates a UpdateHardwareModelInternalServerError with default headers values
func (*UpdateHardwareModelInternalServerError) Error ¶
func (o *UpdateHardwareModelInternalServerError) Error() string
func (*UpdateHardwareModelInternalServerError) GetPayload ¶
func (o *UpdateHardwareModelInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type UpdateHardwareModelNotFound ¶
type UpdateHardwareModelNotFound struct {
Payload *swagger_models.ZsrvResponse
}
UpdateHardwareModelNotFound 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 NewUpdateHardwareModelNotFound ¶
func NewUpdateHardwareModelNotFound() *UpdateHardwareModelNotFound
NewUpdateHardwareModelNotFound creates a UpdateHardwareModelNotFound with default headers values
func (*UpdateHardwareModelNotFound) Error ¶
func (o *UpdateHardwareModelNotFound) Error() string
func (*UpdateHardwareModelNotFound) GetPayload ¶
func (o *UpdateHardwareModelNotFound) GetPayload() *swagger_models.ZsrvResponse
type UpdateHardwareModelOK ¶
type UpdateHardwareModelOK struct {
Payload *swagger_models.ZsrvResponse
}
UpdateHardwareModelOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateHardwareModelOK ¶
func NewUpdateHardwareModelOK() *UpdateHardwareModelOK
NewUpdateHardwareModelOK creates a UpdateHardwareModelOK with default headers values
func (*UpdateHardwareModelOK) Error ¶
func (o *UpdateHardwareModelOK) Error() string
func (*UpdateHardwareModelOK) GetPayload ¶
func (o *UpdateHardwareModelOK) GetPayload() *swagger_models.ZsrvResponse
type UpdateHardwareModelParams ¶
type UpdateHardwareModelParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
// Body.
Body *swagger_models.SysModel
/* ID.
System defined universally unique Id of the model.
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateHardwareModelParams contains all the parameters to send to the API endpoint
for the update hardware model operation. Typically these are written to a http.Request.
func NewUpdateHardwareModelParams ¶
func NewUpdateHardwareModelParams() *UpdateHardwareModelParams
NewUpdateHardwareModelParams creates a new UpdateHardwareModelParams 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 NewUpdateHardwareModelParamsWithContext ¶
func NewUpdateHardwareModelParamsWithContext(ctx context.Context) *UpdateHardwareModelParams
NewUpdateHardwareModelParamsWithContext creates a new UpdateHardwareModelParams object with the ability to set a context for a request.
func NewUpdateHardwareModelParamsWithHTTPClient ¶
func NewUpdateHardwareModelParamsWithHTTPClient(client *http.Client) *UpdateHardwareModelParams
NewUpdateHardwareModelParamsWithHTTPClient creates a new UpdateHardwareModelParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateHardwareModelParamsWithTimeout ¶
func NewUpdateHardwareModelParamsWithTimeout(timeout time.Duration) *UpdateHardwareModelParams
NewUpdateHardwareModelParamsWithTimeout creates a new UpdateHardwareModelParams object with the ability to set a timeout on a request.
func (*UpdateHardwareModelParams) SetBody ¶
func (o *UpdateHardwareModelParams) SetBody(body *swagger_models.SysModel)
SetBody adds the body to the update hardware model params
func (*UpdateHardwareModelParams) SetContext ¶
func (o *UpdateHardwareModelParams) SetContext(ctx context.Context)
SetContext adds the context to the update hardware model params
func (*UpdateHardwareModelParams) SetDefaults ¶
func (o *UpdateHardwareModelParams) SetDefaults()
SetDefaults hydrates default values in the update hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateHardwareModelParams) SetHTTPClient ¶
func (o *UpdateHardwareModelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update hardware model params
func (*UpdateHardwareModelParams) SetID ¶
func (o *UpdateHardwareModelParams) SetID(id string)
SetID adds the id to the update hardware model params
func (*UpdateHardwareModelParams) SetTimeout ¶
func (o *UpdateHardwareModelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update hardware model params
func (*UpdateHardwareModelParams) SetXRequestID ¶
func (o *UpdateHardwareModelParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update hardware model params
func (*UpdateHardwareModelParams) WithBody ¶
func (o *UpdateHardwareModelParams) WithBody(body *swagger_models.SysModel) *UpdateHardwareModelParams
WithBody adds the body to the update hardware model params
func (*UpdateHardwareModelParams) WithContext ¶
func (o *UpdateHardwareModelParams) WithContext(ctx context.Context) *UpdateHardwareModelParams
WithContext adds the context to the update hardware model params
func (*UpdateHardwareModelParams) WithDefaults ¶
func (o *UpdateHardwareModelParams) WithDefaults() *UpdateHardwareModelParams
WithDefaults hydrates default values in the update hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateHardwareModelParams) WithHTTPClient ¶
func (o *UpdateHardwareModelParams) WithHTTPClient(client *http.Client) *UpdateHardwareModelParams
WithHTTPClient adds the HTTPClient to the update hardware model params
func (*UpdateHardwareModelParams) WithID ¶
func (o *UpdateHardwareModelParams) WithID(id string) *UpdateHardwareModelParams
WithID adds the id to the update hardware model params
func (*UpdateHardwareModelParams) WithTimeout ¶
func (o *UpdateHardwareModelParams) WithTimeout(timeout time.Duration) *UpdateHardwareModelParams
WithTimeout adds the timeout to the update hardware model params
func (*UpdateHardwareModelParams) WithXRequestID ¶
func (o *UpdateHardwareModelParams) WithXRequestID(xRequestID *string) *UpdateHardwareModelParams
WithXRequestID adds the xRequestID to the update hardware model params
func (*UpdateHardwareModelParams) WriteToRequest ¶
func (o *UpdateHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateHardwareModelReader ¶
type UpdateHardwareModelReader struct {
// contains filtered or unexported fields
}
UpdateHardwareModelReader is a Reader for the UpdateHardwareModel structure.
func (*UpdateHardwareModelReader) ReadResponse ¶
func (o *UpdateHardwareModelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateHardwareModelUnauthorized ¶
type UpdateHardwareModelUnauthorized struct {
}
UpdateHardwareModelUnauthorized 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 NewUpdateHardwareModelUnauthorized ¶
func NewUpdateHardwareModelUnauthorized() *UpdateHardwareModelUnauthorized
NewUpdateHardwareModelUnauthorized creates a UpdateHardwareModelUnauthorized with default headers values
func (*UpdateHardwareModelUnauthorized) Error ¶
func (o *UpdateHardwareModelUnauthorized) Error() string
func (*UpdateHardwareModelUnauthorized) GetPayload ¶
func (o *UpdateHardwareModelUnauthorized) GetPayload() *swagger_models.ZsrvResponse
Source Files
¶
- create_hardware_brand_parameters.go
- create_hardware_brand_responses.go
- create_hardware_model_parameters.go
- create_hardware_model_responses.go
- delete_hardware_brand_parameters.go
- delete_hardware_brand_responses.go
- delete_hardware_model_parameters.go
- delete_hardware_model_responses.go
- get_device_tags_parameters.go
- get_device_tags_responses.go
- get_global_hardware_brand_by_name_parameters.go
- get_global_hardware_brand_by_name_responses.go
- get_global_hardware_brand_parameters.go
- get_global_hardware_brand_responses.go
- get_global_hardware_model_by_name_parameters.go
- get_global_hardware_model_by_name_responses.go
- get_global_hardware_model_parameters.go
- get_global_hardware_model_responses.go
- get_hardware_brand_by_name_parameters.go
- get_hardware_brand_by_name_responses.go
- get_hardware_brand_parameters.go
- get_hardware_brand_responses.go
- get_hardware_model_by_name_parameters.go
- get_hardware_model_by_name_responses.go
- get_hardware_model_parameters.go
- get_hardware_model_responses.go
- hardware_model_client.go
- query_global_hardware_brands_parameters.go
- query_global_hardware_brands_responses.go
- query_global_hardware_models_parameters.go
- query_global_hardware_models_responses.go
- query_hardware_brands_parameters.go
- query_hardware_brands_responses.go
- query_hardware_models_parameters.go
- query_hardware_models_responses.go
- update_hardware_brand_parameters.go
- update_hardware_brand_responses.go
- update_hardware_model_parameters.go
- update_hardware_model_responses.go