Documentation ¶
Index ¶
- type Client
- func (a *Client) HardwareModelCreateHardwareBrand(params *HardwareModelCreateHardwareBrandParams, ...) (*HardwareModelCreateHardwareBrandOK, error)
- func (a *Client) HardwareModelCreateHardwareModel(params *HardwareModelCreateHardwareModelParams, ...) (*HardwareModelCreateHardwareModelOK, error)
- func (a *Client) HardwareModelDeleteHardwareBrand(params *HardwareModelDeleteHardwareBrandParams, ...) (*HardwareModelDeleteHardwareBrandOK, error)
- func (a *Client) HardwareModelDeleteHardwareModel(params *HardwareModelDeleteHardwareModelParams, ...) (*HardwareModelDeleteHardwareModelOK, error)
- func (a *Client) HardwareModelGetDeviceStatusConfig(params *HardwareModelGetDeviceStatusConfigParams, ...) (*HardwareModelGetDeviceStatusConfigOK, error)
- func (a *Client) HardwareModelGetDeviceStatusLocation(params *HardwareModelGetDeviceStatusLocationParams, ...) (*HardwareModelGetDeviceStatusLocationOK, error)
- func (a *Client) HardwareModelGetDeviceTags(params *HardwareModelGetDeviceTagsParams, ...) (*HardwareModelGetDeviceTagsOK, error)
- func (a *Client) HardwareModelGetGlobalHardwareBrand(params *HardwareModelGetGlobalHardwareBrandParams, ...) (*HardwareModelGetGlobalHardwareBrandOK, error)
- func (a *Client) HardwareModelGetGlobalHardwareBrandByName(params *HardwareModelGetGlobalHardwareBrandByNameParams, ...) (*HardwareModelGetGlobalHardwareBrandByNameOK, error)
- func (a *Client) HardwareModelGetGlobalHardwareModel(params *HardwareModelGetGlobalHardwareModelParams, ...) (*HardwareModelGetGlobalHardwareModelOK, error)
- func (a *Client) HardwareModelGetGlobalHardwareModelByName(params *HardwareModelGetGlobalHardwareModelByNameParams, ...) (*HardwareModelGetGlobalHardwareModelByNameOK, error)
- func (a *Client) HardwareModelGetHardwareBrand(params *HardwareModelGetHardwareBrandParams, ...) (*HardwareModelGetHardwareBrandOK, error)
- func (a *Client) HardwareModelGetHardwareBrandByName(params *HardwareModelGetHardwareBrandByNameParams, ...) (*HardwareModelGetHardwareBrandByNameOK, error)
- func (a *Client) HardwareModelGetHardwareModel(params *HardwareModelGetHardwareModelParams, ...) (*HardwareModelGetHardwareModelOK, error)
- func (a *Client) HardwareModelGetHardwareModelByName(params *HardwareModelGetHardwareModelByNameParams, ...) (*HardwareModelGetHardwareModelByNameOK, error)
- func (a *Client) HardwareModelQueryGlobalHardwareBrands(params *HardwareModelQueryGlobalHardwareBrandsParams, ...) (*HardwareModelQueryGlobalHardwareBrandsOK, error)
- func (a *Client) HardwareModelQueryGlobalHardwareModels(params *HardwareModelQueryGlobalHardwareModelsParams, ...) (*HardwareModelQueryGlobalHardwareModelsOK, error)
- func (a *Client) HardwareModelQueryHardwareBrands(params *HardwareModelQueryHardwareBrandsParams, ...) (*HardwareModelQueryHardwareBrandsOK, error)
- func (a *Client) HardwareModelQueryHardwareModels(params *HardwareModelQueryHardwareModelsParams, ...) (*HardwareModelQueryHardwareModelsOK, error)
- func (a *Client) HardwareModelUpdateHardwareBrand(params *HardwareModelUpdateHardwareBrandParams, ...) (*HardwareModelUpdateHardwareBrandOK, error)
- func (a *Client) HardwareModelUpdateHardwareModel(params *HardwareModelUpdateHardwareModelParams, ...) (*HardwareModelUpdateHardwareModelOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type HardwareModelCreateHardwareBrandBadRequest
- func (o *HardwareModelCreateHardwareBrandBadRequest) Error() string
- func (o *HardwareModelCreateHardwareBrandBadRequest) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelCreateHardwareBrandBadRequest) IsClientError() bool
- func (o *HardwareModelCreateHardwareBrandBadRequest) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareBrandBadRequest) IsRedirect() bool
- func (o *HardwareModelCreateHardwareBrandBadRequest) IsServerError() bool
- func (o *HardwareModelCreateHardwareBrandBadRequest) IsSuccess() bool
- func (o *HardwareModelCreateHardwareBrandBadRequest) String() string
- type HardwareModelCreateHardwareBrandConflict
- func (o *HardwareModelCreateHardwareBrandConflict) Error() string
- func (o *HardwareModelCreateHardwareBrandConflict) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelCreateHardwareBrandConflict) IsClientError() bool
- func (o *HardwareModelCreateHardwareBrandConflict) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareBrandConflict) IsRedirect() bool
- func (o *HardwareModelCreateHardwareBrandConflict) IsServerError() bool
- func (o *HardwareModelCreateHardwareBrandConflict) IsSuccess() bool
- func (o *HardwareModelCreateHardwareBrandConflict) String() string
- type HardwareModelCreateHardwareBrandDefault
- func (o *HardwareModelCreateHardwareBrandDefault) Code() int
- func (o *HardwareModelCreateHardwareBrandDefault) Error() string
- func (o *HardwareModelCreateHardwareBrandDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelCreateHardwareBrandDefault) IsClientError() bool
- func (o *HardwareModelCreateHardwareBrandDefault) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareBrandDefault) IsRedirect() bool
- func (o *HardwareModelCreateHardwareBrandDefault) IsServerError() bool
- func (o *HardwareModelCreateHardwareBrandDefault) IsSuccess() bool
- func (o *HardwareModelCreateHardwareBrandDefault) String() string
- type HardwareModelCreateHardwareBrandForbidden
- func (o *HardwareModelCreateHardwareBrandForbidden) Error() string
- func (o *HardwareModelCreateHardwareBrandForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelCreateHardwareBrandForbidden) IsClientError() bool
- func (o *HardwareModelCreateHardwareBrandForbidden) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareBrandForbidden) IsRedirect() bool
- func (o *HardwareModelCreateHardwareBrandForbidden) IsServerError() bool
- func (o *HardwareModelCreateHardwareBrandForbidden) IsSuccess() bool
- func (o *HardwareModelCreateHardwareBrandForbidden) String() string
- type HardwareModelCreateHardwareBrandGatewayTimeout
- func (o *HardwareModelCreateHardwareBrandGatewayTimeout) Error() string
- func (o *HardwareModelCreateHardwareBrandGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelCreateHardwareBrandGatewayTimeout) IsClientError() bool
- func (o *HardwareModelCreateHardwareBrandGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareBrandGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelCreateHardwareBrandGatewayTimeout) IsServerError() bool
- func (o *HardwareModelCreateHardwareBrandGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelCreateHardwareBrandGatewayTimeout) String() string
- type HardwareModelCreateHardwareBrandInternalServerError
- func (o *HardwareModelCreateHardwareBrandInternalServerError) Error() string
- func (o *HardwareModelCreateHardwareBrandInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelCreateHardwareBrandInternalServerError) IsClientError() bool
- func (o *HardwareModelCreateHardwareBrandInternalServerError) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareBrandInternalServerError) IsRedirect() bool
- func (o *HardwareModelCreateHardwareBrandInternalServerError) IsServerError() bool
- func (o *HardwareModelCreateHardwareBrandInternalServerError) IsSuccess() bool
- func (o *HardwareModelCreateHardwareBrandInternalServerError) String() string
- type HardwareModelCreateHardwareBrandOK
- func (o *HardwareModelCreateHardwareBrandOK) Error() string
- func (o *HardwareModelCreateHardwareBrandOK) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelCreateHardwareBrandOK) IsClientError() bool
- func (o *HardwareModelCreateHardwareBrandOK) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareBrandOK) IsRedirect() bool
- func (o *HardwareModelCreateHardwareBrandOK) IsServerError() bool
- func (o *HardwareModelCreateHardwareBrandOK) IsSuccess() bool
- func (o *HardwareModelCreateHardwareBrandOK) String() string
- type HardwareModelCreateHardwareBrandParams
- func NewHardwareModelCreateHardwareBrandParams() *HardwareModelCreateHardwareBrandParams
- func NewHardwareModelCreateHardwareBrandParamsWithContext(ctx context.Context) *HardwareModelCreateHardwareBrandParams
- func NewHardwareModelCreateHardwareBrandParamsWithHTTPClient(client *http.Client) *HardwareModelCreateHardwareBrandParams
- func NewHardwareModelCreateHardwareBrandParamsWithTimeout(timeout time.Duration) *HardwareModelCreateHardwareBrandParams
- func (o *HardwareModelCreateHardwareBrandParams) SetBody(body *models.SysBrand)
- func (o *HardwareModelCreateHardwareBrandParams) SetContext(ctx context.Context)
- func (o *HardwareModelCreateHardwareBrandParams) SetDefaults()
- func (o *HardwareModelCreateHardwareBrandParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelCreateHardwareBrandParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelCreateHardwareBrandParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelCreateHardwareBrandParams) WithBody(body *models.SysBrand) *HardwareModelCreateHardwareBrandParams
- func (o *HardwareModelCreateHardwareBrandParams) WithContext(ctx context.Context) *HardwareModelCreateHardwareBrandParams
- func (o *HardwareModelCreateHardwareBrandParams) WithDefaults() *HardwareModelCreateHardwareBrandParams
- func (o *HardwareModelCreateHardwareBrandParams) WithHTTPClient(client *http.Client) *HardwareModelCreateHardwareBrandParams
- func (o *HardwareModelCreateHardwareBrandParams) WithTimeout(timeout time.Duration) *HardwareModelCreateHardwareBrandParams
- func (o *HardwareModelCreateHardwareBrandParams) WithXRequestID(xRequestID *string) *HardwareModelCreateHardwareBrandParams
- func (o *HardwareModelCreateHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelCreateHardwareBrandReader
- type HardwareModelCreateHardwareBrandUnauthorized
- func (o *HardwareModelCreateHardwareBrandUnauthorized) Error() string
- func (o *HardwareModelCreateHardwareBrandUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelCreateHardwareBrandUnauthorized) IsClientError() bool
- func (o *HardwareModelCreateHardwareBrandUnauthorized) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareBrandUnauthorized) IsRedirect() bool
- func (o *HardwareModelCreateHardwareBrandUnauthorized) IsServerError() bool
- func (o *HardwareModelCreateHardwareBrandUnauthorized) IsSuccess() bool
- func (o *HardwareModelCreateHardwareBrandUnauthorized) String() string
- type HardwareModelCreateHardwareModelBadRequest
- func (o *HardwareModelCreateHardwareModelBadRequest) Error() string
- func (o *HardwareModelCreateHardwareModelBadRequest) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelCreateHardwareModelBadRequest) IsClientError() bool
- func (o *HardwareModelCreateHardwareModelBadRequest) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareModelBadRequest) IsRedirect() bool
- func (o *HardwareModelCreateHardwareModelBadRequest) IsServerError() bool
- func (o *HardwareModelCreateHardwareModelBadRequest) IsSuccess() bool
- func (o *HardwareModelCreateHardwareModelBadRequest) String() string
- type HardwareModelCreateHardwareModelConflict
- func (o *HardwareModelCreateHardwareModelConflict) Error() string
- func (o *HardwareModelCreateHardwareModelConflict) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelCreateHardwareModelConflict) IsClientError() bool
- func (o *HardwareModelCreateHardwareModelConflict) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareModelConflict) IsRedirect() bool
- func (o *HardwareModelCreateHardwareModelConflict) IsServerError() bool
- func (o *HardwareModelCreateHardwareModelConflict) IsSuccess() bool
- func (o *HardwareModelCreateHardwareModelConflict) String() string
- type HardwareModelCreateHardwareModelDefault
- func (o *HardwareModelCreateHardwareModelDefault) Code() int
- func (o *HardwareModelCreateHardwareModelDefault) Error() string
- func (o *HardwareModelCreateHardwareModelDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelCreateHardwareModelDefault) IsClientError() bool
- func (o *HardwareModelCreateHardwareModelDefault) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareModelDefault) IsRedirect() bool
- func (o *HardwareModelCreateHardwareModelDefault) IsServerError() bool
- func (o *HardwareModelCreateHardwareModelDefault) IsSuccess() bool
- func (o *HardwareModelCreateHardwareModelDefault) String() string
- type HardwareModelCreateHardwareModelForbidden
- func (o *HardwareModelCreateHardwareModelForbidden) Error() string
- func (o *HardwareModelCreateHardwareModelForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelCreateHardwareModelForbidden) IsClientError() bool
- func (o *HardwareModelCreateHardwareModelForbidden) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareModelForbidden) IsRedirect() bool
- func (o *HardwareModelCreateHardwareModelForbidden) IsServerError() bool
- func (o *HardwareModelCreateHardwareModelForbidden) IsSuccess() bool
- func (o *HardwareModelCreateHardwareModelForbidden) String() string
- type HardwareModelCreateHardwareModelGatewayTimeout
- func (o *HardwareModelCreateHardwareModelGatewayTimeout) Error() string
- func (o *HardwareModelCreateHardwareModelGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelCreateHardwareModelGatewayTimeout) IsClientError() bool
- func (o *HardwareModelCreateHardwareModelGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareModelGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelCreateHardwareModelGatewayTimeout) IsServerError() bool
- func (o *HardwareModelCreateHardwareModelGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelCreateHardwareModelGatewayTimeout) String() string
- type HardwareModelCreateHardwareModelInternalServerError
- func (o *HardwareModelCreateHardwareModelInternalServerError) Error() string
- func (o *HardwareModelCreateHardwareModelInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelCreateHardwareModelInternalServerError) IsClientError() bool
- func (o *HardwareModelCreateHardwareModelInternalServerError) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareModelInternalServerError) IsRedirect() bool
- func (o *HardwareModelCreateHardwareModelInternalServerError) IsServerError() bool
- func (o *HardwareModelCreateHardwareModelInternalServerError) IsSuccess() bool
- func (o *HardwareModelCreateHardwareModelInternalServerError) String() string
- type HardwareModelCreateHardwareModelOK
- func (o *HardwareModelCreateHardwareModelOK) Error() string
- func (o *HardwareModelCreateHardwareModelOK) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelCreateHardwareModelOK) IsClientError() bool
- func (o *HardwareModelCreateHardwareModelOK) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareModelOK) IsRedirect() bool
- func (o *HardwareModelCreateHardwareModelOK) IsServerError() bool
- func (o *HardwareModelCreateHardwareModelOK) IsSuccess() bool
- func (o *HardwareModelCreateHardwareModelOK) String() string
- type HardwareModelCreateHardwareModelParams
- func NewHardwareModelCreateHardwareModelParams() *HardwareModelCreateHardwareModelParams
- func NewHardwareModelCreateHardwareModelParamsWithContext(ctx context.Context) *HardwareModelCreateHardwareModelParams
- func NewHardwareModelCreateHardwareModelParamsWithHTTPClient(client *http.Client) *HardwareModelCreateHardwareModelParams
- func NewHardwareModelCreateHardwareModelParamsWithTimeout(timeout time.Duration) *HardwareModelCreateHardwareModelParams
- func (o *HardwareModelCreateHardwareModelParams) SetBody(body *models.SysModel)
- func (o *HardwareModelCreateHardwareModelParams) SetContext(ctx context.Context)
- func (o *HardwareModelCreateHardwareModelParams) SetDefaults()
- func (o *HardwareModelCreateHardwareModelParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelCreateHardwareModelParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelCreateHardwareModelParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelCreateHardwareModelParams) WithBody(body *models.SysModel) *HardwareModelCreateHardwareModelParams
- func (o *HardwareModelCreateHardwareModelParams) WithContext(ctx context.Context) *HardwareModelCreateHardwareModelParams
- func (o *HardwareModelCreateHardwareModelParams) WithDefaults() *HardwareModelCreateHardwareModelParams
- func (o *HardwareModelCreateHardwareModelParams) WithHTTPClient(client *http.Client) *HardwareModelCreateHardwareModelParams
- func (o *HardwareModelCreateHardwareModelParams) WithTimeout(timeout time.Duration) *HardwareModelCreateHardwareModelParams
- func (o *HardwareModelCreateHardwareModelParams) WithXRequestID(xRequestID *string) *HardwareModelCreateHardwareModelParams
- func (o *HardwareModelCreateHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelCreateHardwareModelReader
- type HardwareModelCreateHardwareModelUnauthorized
- func (o *HardwareModelCreateHardwareModelUnauthorized) Error() string
- func (o *HardwareModelCreateHardwareModelUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelCreateHardwareModelUnauthorized) IsClientError() bool
- func (o *HardwareModelCreateHardwareModelUnauthorized) IsCode(code int) bool
- func (o *HardwareModelCreateHardwareModelUnauthorized) IsRedirect() bool
- func (o *HardwareModelCreateHardwareModelUnauthorized) IsServerError() bool
- func (o *HardwareModelCreateHardwareModelUnauthorized) IsSuccess() bool
- func (o *HardwareModelCreateHardwareModelUnauthorized) String() string
- type HardwareModelDeleteHardwareBrandDefault
- func (o *HardwareModelDeleteHardwareBrandDefault) Code() int
- func (o *HardwareModelDeleteHardwareBrandDefault) Error() string
- func (o *HardwareModelDeleteHardwareBrandDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelDeleteHardwareBrandDefault) IsClientError() bool
- func (o *HardwareModelDeleteHardwareBrandDefault) IsCode(code int) bool
- func (o *HardwareModelDeleteHardwareBrandDefault) IsRedirect() bool
- func (o *HardwareModelDeleteHardwareBrandDefault) IsServerError() bool
- func (o *HardwareModelDeleteHardwareBrandDefault) IsSuccess() bool
- func (o *HardwareModelDeleteHardwareBrandDefault) String() string
- type HardwareModelDeleteHardwareBrandForbidden
- func (o *HardwareModelDeleteHardwareBrandForbidden) Error() string
- func (o *HardwareModelDeleteHardwareBrandForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelDeleteHardwareBrandForbidden) IsClientError() bool
- func (o *HardwareModelDeleteHardwareBrandForbidden) IsCode(code int) bool
- func (o *HardwareModelDeleteHardwareBrandForbidden) IsRedirect() bool
- func (o *HardwareModelDeleteHardwareBrandForbidden) IsServerError() bool
- func (o *HardwareModelDeleteHardwareBrandForbidden) IsSuccess() bool
- func (o *HardwareModelDeleteHardwareBrandForbidden) String() string
- type HardwareModelDeleteHardwareBrandGatewayTimeout
- func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) Error() string
- func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) IsClientError() bool
- func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) IsServerError() bool
- func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) String() string
- type HardwareModelDeleteHardwareBrandInternalServerError
- func (o *HardwareModelDeleteHardwareBrandInternalServerError) Error() string
- func (o *HardwareModelDeleteHardwareBrandInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelDeleteHardwareBrandInternalServerError) IsClientError() bool
- func (o *HardwareModelDeleteHardwareBrandInternalServerError) IsCode(code int) bool
- func (o *HardwareModelDeleteHardwareBrandInternalServerError) IsRedirect() bool
- func (o *HardwareModelDeleteHardwareBrandInternalServerError) IsServerError() bool
- func (o *HardwareModelDeleteHardwareBrandInternalServerError) IsSuccess() bool
- func (o *HardwareModelDeleteHardwareBrandInternalServerError) String() string
- type HardwareModelDeleteHardwareBrandNotFound
- func (o *HardwareModelDeleteHardwareBrandNotFound) Error() string
- func (o *HardwareModelDeleteHardwareBrandNotFound) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelDeleteHardwareBrandNotFound) IsClientError() bool
- func (o *HardwareModelDeleteHardwareBrandNotFound) IsCode(code int) bool
- func (o *HardwareModelDeleteHardwareBrandNotFound) IsRedirect() bool
- func (o *HardwareModelDeleteHardwareBrandNotFound) IsServerError() bool
- func (o *HardwareModelDeleteHardwareBrandNotFound) IsSuccess() bool
- func (o *HardwareModelDeleteHardwareBrandNotFound) String() string
- type HardwareModelDeleteHardwareBrandOK
- func (o *HardwareModelDeleteHardwareBrandOK) Error() string
- func (o *HardwareModelDeleteHardwareBrandOK) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelDeleteHardwareBrandOK) IsClientError() bool
- func (o *HardwareModelDeleteHardwareBrandOK) IsCode(code int) bool
- func (o *HardwareModelDeleteHardwareBrandOK) IsRedirect() bool
- func (o *HardwareModelDeleteHardwareBrandOK) IsServerError() bool
- func (o *HardwareModelDeleteHardwareBrandOK) IsSuccess() bool
- func (o *HardwareModelDeleteHardwareBrandOK) String() string
- type HardwareModelDeleteHardwareBrandParams
- func NewHardwareModelDeleteHardwareBrandParams() *HardwareModelDeleteHardwareBrandParams
- func NewHardwareModelDeleteHardwareBrandParamsWithContext(ctx context.Context) *HardwareModelDeleteHardwareBrandParams
- func NewHardwareModelDeleteHardwareBrandParamsWithHTTPClient(client *http.Client) *HardwareModelDeleteHardwareBrandParams
- func NewHardwareModelDeleteHardwareBrandParamsWithTimeout(timeout time.Duration) *HardwareModelDeleteHardwareBrandParams
- func (o *HardwareModelDeleteHardwareBrandParams) SetContext(ctx context.Context)
- func (o *HardwareModelDeleteHardwareBrandParams) SetDefaults()
- func (o *HardwareModelDeleteHardwareBrandParams) SetEnterpriseID(enterpriseID *string)
- func (o *HardwareModelDeleteHardwareBrandParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelDeleteHardwareBrandParams) SetID(id string)
- func (o *HardwareModelDeleteHardwareBrandParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelDeleteHardwareBrandParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelDeleteHardwareBrandParams) WithContext(ctx context.Context) *HardwareModelDeleteHardwareBrandParams
- func (o *HardwareModelDeleteHardwareBrandParams) WithDefaults() *HardwareModelDeleteHardwareBrandParams
- func (o *HardwareModelDeleteHardwareBrandParams) WithEnterpriseID(enterpriseID *string) *HardwareModelDeleteHardwareBrandParams
- func (o *HardwareModelDeleteHardwareBrandParams) WithHTTPClient(client *http.Client) *HardwareModelDeleteHardwareBrandParams
- func (o *HardwareModelDeleteHardwareBrandParams) WithID(id string) *HardwareModelDeleteHardwareBrandParams
- func (o *HardwareModelDeleteHardwareBrandParams) WithTimeout(timeout time.Duration) *HardwareModelDeleteHardwareBrandParams
- func (o *HardwareModelDeleteHardwareBrandParams) WithXRequestID(xRequestID *string) *HardwareModelDeleteHardwareBrandParams
- func (o *HardwareModelDeleteHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelDeleteHardwareBrandReader
- type HardwareModelDeleteHardwareBrandUnauthorized
- func (o *HardwareModelDeleteHardwareBrandUnauthorized) Error() string
- func (o *HardwareModelDeleteHardwareBrandUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelDeleteHardwareBrandUnauthorized) IsClientError() bool
- func (o *HardwareModelDeleteHardwareBrandUnauthorized) IsCode(code int) bool
- func (o *HardwareModelDeleteHardwareBrandUnauthorized) IsRedirect() bool
- func (o *HardwareModelDeleteHardwareBrandUnauthorized) IsServerError() bool
- func (o *HardwareModelDeleteHardwareBrandUnauthorized) IsSuccess() bool
- func (o *HardwareModelDeleteHardwareBrandUnauthorized) String() string
- type HardwareModelDeleteHardwareModelDefault
- func (o *HardwareModelDeleteHardwareModelDefault) Code() int
- func (o *HardwareModelDeleteHardwareModelDefault) Error() string
- func (o *HardwareModelDeleteHardwareModelDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelDeleteHardwareModelDefault) IsClientError() bool
- func (o *HardwareModelDeleteHardwareModelDefault) IsCode(code int) bool
- func (o *HardwareModelDeleteHardwareModelDefault) IsRedirect() bool
- func (o *HardwareModelDeleteHardwareModelDefault) IsServerError() bool
- func (o *HardwareModelDeleteHardwareModelDefault) IsSuccess() bool
- func (o *HardwareModelDeleteHardwareModelDefault) String() string
- type HardwareModelDeleteHardwareModelForbidden
- func (o *HardwareModelDeleteHardwareModelForbidden) Error() string
- func (o *HardwareModelDeleteHardwareModelForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelDeleteHardwareModelForbidden) IsClientError() bool
- func (o *HardwareModelDeleteHardwareModelForbidden) IsCode(code int) bool
- func (o *HardwareModelDeleteHardwareModelForbidden) IsRedirect() bool
- func (o *HardwareModelDeleteHardwareModelForbidden) IsServerError() bool
- func (o *HardwareModelDeleteHardwareModelForbidden) IsSuccess() bool
- func (o *HardwareModelDeleteHardwareModelForbidden) String() string
- type HardwareModelDeleteHardwareModelGatewayTimeout
- func (o *HardwareModelDeleteHardwareModelGatewayTimeout) Error() string
- func (o *HardwareModelDeleteHardwareModelGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelDeleteHardwareModelGatewayTimeout) IsClientError() bool
- func (o *HardwareModelDeleteHardwareModelGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelDeleteHardwareModelGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelDeleteHardwareModelGatewayTimeout) IsServerError() bool
- func (o *HardwareModelDeleteHardwareModelGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelDeleteHardwareModelGatewayTimeout) String() string
- type HardwareModelDeleteHardwareModelInternalServerError
- func (o *HardwareModelDeleteHardwareModelInternalServerError) Error() string
- func (o *HardwareModelDeleteHardwareModelInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelDeleteHardwareModelInternalServerError) IsClientError() bool
- func (o *HardwareModelDeleteHardwareModelInternalServerError) IsCode(code int) bool
- func (o *HardwareModelDeleteHardwareModelInternalServerError) IsRedirect() bool
- func (o *HardwareModelDeleteHardwareModelInternalServerError) IsServerError() bool
- func (o *HardwareModelDeleteHardwareModelInternalServerError) IsSuccess() bool
- func (o *HardwareModelDeleteHardwareModelInternalServerError) String() string
- type HardwareModelDeleteHardwareModelNotFound
- func (o *HardwareModelDeleteHardwareModelNotFound) Error() string
- func (o *HardwareModelDeleteHardwareModelNotFound) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelDeleteHardwareModelNotFound) IsClientError() bool
- func (o *HardwareModelDeleteHardwareModelNotFound) IsCode(code int) bool
- func (o *HardwareModelDeleteHardwareModelNotFound) IsRedirect() bool
- func (o *HardwareModelDeleteHardwareModelNotFound) IsServerError() bool
- func (o *HardwareModelDeleteHardwareModelNotFound) IsSuccess() bool
- func (o *HardwareModelDeleteHardwareModelNotFound) String() string
- type HardwareModelDeleteHardwareModelOK
- func (o *HardwareModelDeleteHardwareModelOK) Error() string
- func (o *HardwareModelDeleteHardwareModelOK) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelDeleteHardwareModelOK) IsClientError() bool
- func (o *HardwareModelDeleteHardwareModelOK) IsCode(code int) bool
- func (o *HardwareModelDeleteHardwareModelOK) IsRedirect() bool
- func (o *HardwareModelDeleteHardwareModelOK) IsServerError() bool
- func (o *HardwareModelDeleteHardwareModelOK) IsSuccess() bool
- func (o *HardwareModelDeleteHardwareModelOK) String() string
- type HardwareModelDeleteHardwareModelParams
- func NewHardwareModelDeleteHardwareModelParams() *HardwareModelDeleteHardwareModelParams
- func NewHardwareModelDeleteHardwareModelParamsWithContext(ctx context.Context) *HardwareModelDeleteHardwareModelParams
- func NewHardwareModelDeleteHardwareModelParamsWithHTTPClient(client *http.Client) *HardwareModelDeleteHardwareModelParams
- func NewHardwareModelDeleteHardwareModelParamsWithTimeout(timeout time.Duration) *HardwareModelDeleteHardwareModelParams
- func (o *HardwareModelDeleteHardwareModelParams) SetContext(ctx context.Context)
- func (o *HardwareModelDeleteHardwareModelParams) SetDefaults()
- func (o *HardwareModelDeleteHardwareModelParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelDeleteHardwareModelParams) SetID(id string)
- func (o *HardwareModelDeleteHardwareModelParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelDeleteHardwareModelParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelDeleteHardwareModelParams) WithContext(ctx context.Context) *HardwareModelDeleteHardwareModelParams
- func (o *HardwareModelDeleteHardwareModelParams) WithDefaults() *HardwareModelDeleteHardwareModelParams
- func (o *HardwareModelDeleteHardwareModelParams) WithHTTPClient(client *http.Client) *HardwareModelDeleteHardwareModelParams
- func (o *HardwareModelDeleteHardwareModelParams) WithID(id string) *HardwareModelDeleteHardwareModelParams
- func (o *HardwareModelDeleteHardwareModelParams) WithTimeout(timeout time.Duration) *HardwareModelDeleteHardwareModelParams
- func (o *HardwareModelDeleteHardwareModelParams) WithXRequestID(xRequestID *string) *HardwareModelDeleteHardwareModelParams
- func (o *HardwareModelDeleteHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelDeleteHardwareModelReader
- type HardwareModelDeleteHardwareModelUnauthorized
- func (o *HardwareModelDeleteHardwareModelUnauthorized) Error() string
- func (o *HardwareModelDeleteHardwareModelUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelDeleteHardwareModelUnauthorized) IsClientError() bool
- func (o *HardwareModelDeleteHardwareModelUnauthorized) IsCode(code int) bool
- func (o *HardwareModelDeleteHardwareModelUnauthorized) IsRedirect() bool
- func (o *HardwareModelDeleteHardwareModelUnauthorized) IsServerError() bool
- func (o *HardwareModelDeleteHardwareModelUnauthorized) IsSuccess() bool
- func (o *HardwareModelDeleteHardwareModelUnauthorized) String() string
- type HardwareModelGetDeviceStatusConfigBadRequest
- func (o *HardwareModelGetDeviceStatusConfigBadRequest) Error() string
- func (o *HardwareModelGetDeviceStatusConfigBadRequest) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetDeviceStatusConfigBadRequest) IsClientError() bool
- func (o *HardwareModelGetDeviceStatusConfigBadRequest) IsCode(code int) bool
- func (o *HardwareModelGetDeviceStatusConfigBadRequest) IsRedirect() bool
- func (o *HardwareModelGetDeviceStatusConfigBadRequest) IsServerError() bool
- func (o *HardwareModelGetDeviceStatusConfigBadRequest) IsSuccess() bool
- func (o *HardwareModelGetDeviceStatusConfigBadRequest) String() string
- type HardwareModelGetDeviceStatusConfigDefault
- func (o *HardwareModelGetDeviceStatusConfigDefault) Code() int
- func (o *HardwareModelGetDeviceStatusConfigDefault) Error() string
- func (o *HardwareModelGetDeviceStatusConfigDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelGetDeviceStatusConfigDefault) IsClientError() bool
- func (o *HardwareModelGetDeviceStatusConfigDefault) IsCode(code int) bool
- func (o *HardwareModelGetDeviceStatusConfigDefault) IsRedirect() bool
- func (o *HardwareModelGetDeviceStatusConfigDefault) IsServerError() bool
- func (o *HardwareModelGetDeviceStatusConfigDefault) IsSuccess() bool
- func (o *HardwareModelGetDeviceStatusConfigDefault) String() string
- type HardwareModelGetDeviceStatusConfigForbidden
- func (o *HardwareModelGetDeviceStatusConfigForbidden) Error() string
- func (o *HardwareModelGetDeviceStatusConfigForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetDeviceStatusConfigForbidden) IsClientError() bool
- func (o *HardwareModelGetDeviceStatusConfigForbidden) IsCode(code int) bool
- func (o *HardwareModelGetDeviceStatusConfigForbidden) IsRedirect() bool
- func (o *HardwareModelGetDeviceStatusConfigForbidden) IsServerError() bool
- func (o *HardwareModelGetDeviceStatusConfigForbidden) IsSuccess() bool
- func (o *HardwareModelGetDeviceStatusConfigForbidden) String() string
- type HardwareModelGetDeviceStatusConfigGatewayTimeout
- func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) Error() string
- func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) IsClientError() bool
- func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) IsServerError() bool
- func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) String() string
- type HardwareModelGetDeviceStatusConfigInternalServerError
- func (o *HardwareModelGetDeviceStatusConfigInternalServerError) Error() string
- func (o *HardwareModelGetDeviceStatusConfigInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetDeviceStatusConfigInternalServerError) IsClientError() bool
- func (o *HardwareModelGetDeviceStatusConfigInternalServerError) IsCode(code int) bool
- func (o *HardwareModelGetDeviceStatusConfigInternalServerError) IsRedirect() bool
- func (o *HardwareModelGetDeviceStatusConfigInternalServerError) IsServerError() bool
- func (o *HardwareModelGetDeviceStatusConfigInternalServerError) IsSuccess() bool
- func (o *HardwareModelGetDeviceStatusConfigInternalServerError) String() string
- type HardwareModelGetDeviceStatusConfigOK
- func (o *HardwareModelGetDeviceStatusConfigOK) Error() string
- func (o *HardwareModelGetDeviceStatusConfigOK) GetPayload() *models.DeviceStatusConfigList
- func (o *HardwareModelGetDeviceStatusConfigOK) IsClientError() bool
- func (o *HardwareModelGetDeviceStatusConfigOK) IsCode(code int) bool
- func (o *HardwareModelGetDeviceStatusConfigOK) IsRedirect() bool
- func (o *HardwareModelGetDeviceStatusConfigOK) IsServerError() bool
- func (o *HardwareModelGetDeviceStatusConfigOK) IsSuccess() bool
- func (o *HardwareModelGetDeviceStatusConfigOK) String() string
- type HardwareModelGetDeviceStatusConfigParams
- func NewHardwareModelGetDeviceStatusConfigParams() *HardwareModelGetDeviceStatusConfigParams
- func NewHardwareModelGetDeviceStatusConfigParamsWithContext(ctx context.Context) *HardwareModelGetDeviceStatusConfigParams
- func NewHardwareModelGetDeviceStatusConfigParamsWithHTTPClient(client *http.Client) *HardwareModelGetDeviceStatusConfigParams
- func NewHardwareModelGetDeviceStatusConfigParamsWithTimeout(timeout time.Duration) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) SetContext(ctx context.Context)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetDefaults()
- func (o *HardwareModelGetDeviceStatusConfigParams) SetFields(fields []string)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetFilterDeviceName(filterDeviceName *string)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetFilterLoad(filterLoad *string)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetFilterNamePattern(filterNamePattern *string)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetFilterProjectName(filterProjectName *string)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetFilterProjectNamePattern(filterProjectNamePattern *string)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetFilterRunState(filterRunState *string)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetNextOrderBy(nextOrderBy []string)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetNextPageNum(nextPageNum *int64)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetNextPageSize(nextPageSize *int64)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetNextPageToken(nextPageToken *string)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetNextTotalPages(nextTotalPages *int64)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetSummary(summary *bool)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelGetDeviceStatusConfigParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelGetDeviceStatusConfigParams) WithContext(ctx context.Context) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithDefaults() *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithFields(fields []string) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithFilterDeviceName(filterDeviceName *string) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithFilterLoad(filterLoad *string) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithFilterNamePattern(filterNamePattern *string) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithFilterProjectName(filterProjectName *string) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithFilterProjectNamePattern(filterProjectNamePattern *string) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithFilterRunState(filterRunState *string) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithHTTPClient(client *http.Client) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithNextOrderBy(nextOrderBy []string) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithNextPageNum(nextPageNum *int64) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithNextPageSize(nextPageSize *int64) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithNextPageToken(nextPageToken *string) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithNextTotalPages(nextTotalPages *int64) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithSummary(summary *bool) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithTimeout(timeout time.Duration) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WithXRequestID(xRequestID *string) *HardwareModelGetDeviceStatusConfigParams
- func (o *HardwareModelGetDeviceStatusConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelGetDeviceStatusConfigReader
- type HardwareModelGetDeviceStatusConfigUnauthorized
- func (o *HardwareModelGetDeviceStatusConfigUnauthorized) Error() string
- func (o *HardwareModelGetDeviceStatusConfigUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetDeviceStatusConfigUnauthorized) IsClientError() bool
- func (o *HardwareModelGetDeviceStatusConfigUnauthorized) IsCode(code int) bool
- func (o *HardwareModelGetDeviceStatusConfigUnauthorized) IsRedirect() bool
- func (o *HardwareModelGetDeviceStatusConfigUnauthorized) IsServerError() bool
- func (o *HardwareModelGetDeviceStatusConfigUnauthorized) IsSuccess() bool
- func (o *HardwareModelGetDeviceStatusConfigUnauthorized) String() string
- type HardwareModelGetDeviceStatusLocationBadRequest
- func (o *HardwareModelGetDeviceStatusLocationBadRequest) Error() string
- func (o *HardwareModelGetDeviceStatusLocationBadRequest) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetDeviceStatusLocationBadRequest) IsClientError() bool
- func (o *HardwareModelGetDeviceStatusLocationBadRequest) IsCode(code int) bool
- func (o *HardwareModelGetDeviceStatusLocationBadRequest) IsRedirect() bool
- func (o *HardwareModelGetDeviceStatusLocationBadRequest) IsServerError() bool
- func (o *HardwareModelGetDeviceStatusLocationBadRequest) IsSuccess() bool
- func (o *HardwareModelGetDeviceStatusLocationBadRequest) String() string
- type HardwareModelGetDeviceStatusLocationDefault
- func (o *HardwareModelGetDeviceStatusLocationDefault) Code() int
- func (o *HardwareModelGetDeviceStatusLocationDefault) Error() string
- func (o *HardwareModelGetDeviceStatusLocationDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelGetDeviceStatusLocationDefault) IsClientError() bool
- func (o *HardwareModelGetDeviceStatusLocationDefault) IsCode(code int) bool
- func (o *HardwareModelGetDeviceStatusLocationDefault) IsRedirect() bool
- func (o *HardwareModelGetDeviceStatusLocationDefault) IsServerError() bool
- func (o *HardwareModelGetDeviceStatusLocationDefault) IsSuccess() bool
- func (o *HardwareModelGetDeviceStatusLocationDefault) String() string
- type HardwareModelGetDeviceStatusLocationForbidden
- func (o *HardwareModelGetDeviceStatusLocationForbidden) Error() string
- func (o *HardwareModelGetDeviceStatusLocationForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetDeviceStatusLocationForbidden) IsClientError() bool
- func (o *HardwareModelGetDeviceStatusLocationForbidden) IsCode(code int) bool
- func (o *HardwareModelGetDeviceStatusLocationForbidden) IsRedirect() bool
- func (o *HardwareModelGetDeviceStatusLocationForbidden) IsServerError() bool
- func (o *HardwareModelGetDeviceStatusLocationForbidden) IsSuccess() bool
- func (o *HardwareModelGetDeviceStatusLocationForbidden) String() string
- type HardwareModelGetDeviceStatusLocationGatewayTimeout
- func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) Error() string
- func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) IsClientError() bool
- func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) IsServerError() bool
- func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) String() string
- type HardwareModelGetDeviceStatusLocationInternalServerError
- func (o *HardwareModelGetDeviceStatusLocationInternalServerError) Error() string
- func (o *HardwareModelGetDeviceStatusLocationInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetDeviceStatusLocationInternalServerError) IsClientError() bool
- func (o *HardwareModelGetDeviceStatusLocationInternalServerError) IsCode(code int) bool
- func (o *HardwareModelGetDeviceStatusLocationInternalServerError) IsRedirect() bool
- func (o *HardwareModelGetDeviceStatusLocationInternalServerError) IsServerError() bool
- func (o *HardwareModelGetDeviceStatusLocationInternalServerError) IsSuccess() bool
- func (o *HardwareModelGetDeviceStatusLocationInternalServerError) String() string
- type HardwareModelGetDeviceStatusLocationOK
- func (o *HardwareModelGetDeviceStatusLocationOK) Error() string
- func (o *HardwareModelGetDeviceStatusLocationOK) GetPayload() *models.DeviceLocations
- func (o *HardwareModelGetDeviceStatusLocationOK) IsClientError() bool
- func (o *HardwareModelGetDeviceStatusLocationOK) IsCode(code int) bool
- func (o *HardwareModelGetDeviceStatusLocationOK) IsRedirect() bool
- func (o *HardwareModelGetDeviceStatusLocationOK) IsServerError() bool
- func (o *HardwareModelGetDeviceStatusLocationOK) IsSuccess() bool
- func (o *HardwareModelGetDeviceStatusLocationOK) String() string
- type HardwareModelGetDeviceStatusLocationParams
- func NewHardwareModelGetDeviceStatusLocationParams() *HardwareModelGetDeviceStatusLocationParams
- func NewHardwareModelGetDeviceStatusLocationParamsWithContext(ctx context.Context) *HardwareModelGetDeviceStatusLocationParams
- func NewHardwareModelGetDeviceStatusLocationParamsWithHTTPClient(client *http.Client) *HardwareModelGetDeviceStatusLocationParams
- func NewHardwareModelGetDeviceStatusLocationParamsWithTimeout(timeout time.Duration) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) SetContext(ctx context.Context)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetDefaults()
- func (o *HardwareModelGetDeviceStatusLocationParams) SetFields(fields []string)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetFilterDeviceName(filterDeviceName *string)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetFilterLoad(filterLoad *string)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetFilterNamePattern(filterNamePattern *string)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetFilterProjectName(filterProjectName *string)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetFilterProjectNamePattern(filterProjectNamePattern *string)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetFilterRunState(filterRunState *string)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetNextOrderBy(nextOrderBy []string)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetNextPageNum(nextPageNum *int64)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetNextPageSize(nextPageSize *int64)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetNextPageToken(nextPageToken *string)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetNextTotalPages(nextTotalPages *int64)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetSummary(summary *bool)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelGetDeviceStatusLocationParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelGetDeviceStatusLocationParams) WithContext(ctx context.Context) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithDefaults() *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithFields(fields []string) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithFilterDeviceName(filterDeviceName *string) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithFilterLoad(filterLoad *string) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithFilterNamePattern(filterNamePattern *string) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithFilterProjectName(filterProjectName *string) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithFilterProjectNamePattern(filterProjectNamePattern *string) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithFilterRunState(filterRunState *string) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithHTTPClient(client *http.Client) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithNextOrderBy(nextOrderBy []string) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithNextPageNum(nextPageNum *int64) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithNextPageSize(nextPageSize *int64) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithNextPageToken(nextPageToken *string) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithNextTotalPages(nextTotalPages *int64) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithSummary(summary *bool) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithTimeout(timeout time.Duration) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WithXRequestID(xRequestID *string) *HardwareModelGetDeviceStatusLocationParams
- func (o *HardwareModelGetDeviceStatusLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelGetDeviceStatusLocationReader
- type HardwareModelGetDeviceStatusLocationUnauthorized
- func (o *HardwareModelGetDeviceStatusLocationUnauthorized) Error() string
- func (o *HardwareModelGetDeviceStatusLocationUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetDeviceStatusLocationUnauthorized) IsClientError() bool
- func (o *HardwareModelGetDeviceStatusLocationUnauthorized) IsCode(code int) bool
- func (o *HardwareModelGetDeviceStatusLocationUnauthorized) IsRedirect() bool
- func (o *HardwareModelGetDeviceStatusLocationUnauthorized) IsServerError() bool
- func (o *HardwareModelGetDeviceStatusLocationUnauthorized) IsSuccess() bool
- func (o *HardwareModelGetDeviceStatusLocationUnauthorized) String() string
- type HardwareModelGetDeviceTagsBadRequest
- func (o *HardwareModelGetDeviceTagsBadRequest) Error() string
- func (o *HardwareModelGetDeviceTagsBadRequest) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetDeviceTagsBadRequest) IsClientError() bool
- func (o *HardwareModelGetDeviceTagsBadRequest) IsCode(code int) bool
- func (o *HardwareModelGetDeviceTagsBadRequest) IsRedirect() bool
- func (o *HardwareModelGetDeviceTagsBadRequest) IsServerError() bool
- func (o *HardwareModelGetDeviceTagsBadRequest) IsSuccess() bool
- func (o *HardwareModelGetDeviceTagsBadRequest) String() string
- type HardwareModelGetDeviceTagsDefault
- func (o *HardwareModelGetDeviceTagsDefault) Code() int
- func (o *HardwareModelGetDeviceTagsDefault) Error() string
- func (o *HardwareModelGetDeviceTagsDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelGetDeviceTagsDefault) IsClientError() bool
- func (o *HardwareModelGetDeviceTagsDefault) IsCode(code int) bool
- func (o *HardwareModelGetDeviceTagsDefault) IsRedirect() bool
- func (o *HardwareModelGetDeviceTagsDefault) IsServerError() bool
- func (o *HardwareModelGetDeviceTagsDefault) IsSuccess() bool
- func (o *HardwareModelGetDeviceTagsDefault) String() string
- type HardwareModelGetDeviceTagsForbidden
- func (o *HardwareModelGetDeviceTagsForbidden) Error() string
- func (o *HardwareModelGetDeviceTagsForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetDeviceTagsForbidden) IsClientError() bool
- func (o *HardwareModelGetDeviceTagsForbidden) IsCode(code int) bool
- func (o *HardwareModelGetDeviceTagsForbidden) IsRedirect() bool
- func (o *HardwareModelGetDeviceTagsForbidden) IsServerError() bool
- func (o *HardwareModelGetDeviceTagsForbidden) IsSuccess() bool
- func (o *HardwareModelGetDeviceTagsForbidden) String() string
- type HardwareModelGetDeviceTagsGatewayTimeout
- func (o *HardwareModelGetDeviceTagsGatewayTimeout) Error() string
- func (o *HardwareModelGetDeviceTagsGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetDeviceTagsGatewayTimeout) IsClientError() bool
- func (o *HardwareModelGetDeviceTagsGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelGetDeviceTagsGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelGetDeviceTagsGatewayTimeout) IsServerError() bool
- func (o *HardwareModelGetDeviceTagsGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelGetDeviceTagsGatewayTimeout) String() string
- type HardwareModelGetDeviceTagsInternalServerError
- func (o *HardwareModelGetDeviceTagsInternalServerError) Error() string
- func (o *HardwareModelGetDeviceTagsInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetDeviceTagsInternalServerError) IsClientError() bool
- func (o *HardwareModelGetDeviceTagsInternalServerError) IsCode(code int) bool
- func (o *HardwareModelGetDeviceTagsInternalServerError) IsRedirect() bool
- func (o *HardwareModelGetDeviceTagsInternalServerError) IsServerError() bool
- func (o *HardwareModelGetDeviceTagsInternalServerError) IsSuccess() bool
- func (o *HardwareModelGetDeviceTagsInternalServerError) String() string
- type HardwareModelGetDeviceTagsOK
- func (o *HardwareModelGetDeviceTagsOK) Error() string
- func (o *HardwareModelGetDeviceTagsOK) GetPayload() *models.ObjectTagsList
- func (o *HardwareModelGetDeviceTagsOK) IsClientError() bool
- func (o *HardwareModelGetDeviceTagsOK) IsCode(code int) bool
- func (o *HardwareModelGetDeviceTagsOK) IsRedirect() bool
- func (o *HardwareModelGetDeviceTagsOK) IsServerError() bool
- func (o *HardwareModelGetDeviceTagsOK) IsSuccess() bool
- func (o *HardwareModelGetDeviceTagsOK) String() string
- type HardwareModelGetDeviceTagsParams
- func NewHardwareModelGetDeviceTagsParams() *HardwareModelGetDeviceTagsParams
- func NewHardwareModelGetDeviceTagsParamsWithContext(ctx context.Context) *HardwareModelGetDeviceTagsParams
- func NewHardwareModelGetDeviceTagsParamsWithHTTPClient(client *http.Client) *HardwareModelGetDeviceTagsParams
- func NewHardwareModelGetDeviceTagsParamsWithTimeout(timeout time.Duration) *HardwareModelGetDeviceTagsParams
- func (o *HardwareModelGetDeviceTagsParams) SetContext(ctx context.Context)
- func (o *HardwareModelGetDeviceTagsParams) SetDefaults()
- func (o *HardwareModelGetDeviceTagsParams) SetFilterObjID(filterObjID *string)
- func (o *HardwareModelGetDeviceTagsParams) SetFilterObjName(filterObjName *string)
- func (o *HardwareModelGetDeviceTagsParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelGetDeviceTagsParams) SetNextOrderBy(nextOrderBy []string)
- func (o *HardwareModelGetDeviceTagsParams) SetNextPageNum(nextPageNum *int64)
- func (o *HardwareModelGetDeviceTagsParams) SetNextPageSize(nextPageSize *int64)
- func (o *HardwareModelGetDeviceTagsParams) SetNextPageToken(nextPageToken *string)
- func (o *HardwareModelGetDeviceTagsParams) SetNextTotalPages(nextTotalPages *int64)
- func (o *HardwareModelGetDeviceTagsParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelGetDeviceTagsParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelGetDeviceTagsParams) WithContext(ctx context.Context) *HardwareModelGetDeviceTagsParams
- func (o *HardwareModelGetDeviceTagsParams) WithDefaults() *HardwareModelGetDeviceTagsParams
- func (o *HardwareModelGetDeviceTagsParams) WithFilterObjID(filterObjID *string) *HardwareModelGetDeviceTagsParams
- func (o *HardwareModelGetDeviceTagsParams) WithFilterObjName(filterObjName *string) *HardwareModelGetDeviceTagsParams
- func (o *HardwareModelGetDeviceTagsParams) WithHTTPClient(client *http.Client) *HardwareModelGetDeviceTagsParams
- func (o *HardwareModelGetDeviceTagsParams) WithNextOrderBy(nextOrderBy []string) *HardwareModelGetDeviceTagsParams
- func (o *HardwareModelGetDeviceTagsParams) WithNextPageNum(nextPageNum *int64) *HardwareModelGetDeviceTagsParams
- func (o *HardwareModelGetDeviceTagsParams) WithNextPageSize(nextPageSize *int64) *HardwareModelGetDeviceTagsParams
- func (o *HardwareModelGetDeviceTagsParams) WithNextPageToken(nextPageToken *string) *HardwareModelGetDeviceTagsParams
- func (o *HardwareModelGetDeviceTagsParams) WithNextTotalPages(nextTotalPages *int64) *HardwareModelGetDeviceTagsParams
- func (o *HardwareModelGetDeviceTagsParams) WithTimeout(timeout time.Duration) *HardwareModelGetDeviceTagsParams
- func (o *HardwareModelGetDeviceTagsParams) WithXRequestID(xRequestID *string) *HardwareModelGetDeviceTagsParams
- func (o *HardwareModelGetDeviceTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelGetDeviceTagsReader
- type HardwareModelGetDeviceTagsUnauthorized
- func (o *HardwareModelGetDeviceTagsUnauthorized) Error() string
- func (o *HardwareModelGetDeviceTagsUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetDeviceTagsUnauthorized) IsClientError() bool
- func (o *HardwareModelGetDeviceTagsUnauthorized) IsCode(code int) bool
- func (o *HardwareModelGetDeviceTagsUnauthorized) IsRedirect() bool
- func (o *HardwareModelGetDeviceTagsUnauthorized) IsServerError() bool
- func (o *HardwareModelGetDeviceTagsUnauthorized) IsSuccess() bool
- func (o *HardwareModelGetDeviceTagsUnauthorized) String() string
- type HardwareModelGetGlobalHardwareBrandByNameDefault
- func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) Code() int
- func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) Error() string
- func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) String() string
- type HardwareModelGetGlobalHardwareBrandByNameForbidden
- func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) Error() string
- func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) String() string
- type HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout
- func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) Error() string
- func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) String() string
- type HardwareModelGetGlobalHardwareBrandByNameInternalServerError
- func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) Error() string
- func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) String() string
- type HardwareModelGetGlobalHardwareBrandByNameNotFound
- func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) Error() string
- func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) String() string
- type HardwareModelGetGlobalHardwareBrandByNameOK
- func (o *HardwareModelGetGlobalHardwareBrandByNameOK) Error() string
- func (o *HardwareModelGetGlobalHardwareBrandByNameOK) GetPayload() *models.SysBrand
- func (o *HardwareModelGetGlobalHardwareBrandByNameOK) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameOK) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameOK) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameOK) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameOK) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameOK) String() string
- type HardwareModelGetGlobalHardwareBrandByNameParams
- func NewHardwareModelGetGlobalHardwareBrandByNameParams() *HardwareModelGetGlobalHardwareBrandByNameParams
- func NewHardwareModelGetGlobalHardwareBrandByNameParamsWithContext(ctx context.Context) *HardwareModelGetGlobalHardwareBrandByNameParams
- func NewHardwareModelGetGlobalHardwareBrandByNameParamsWithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareBrandByNameParams
- func NewHardwareModelGetGlobalHardwareBrandByNameParamsWithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareBrandByNameParams
- func (o *HardwareModelGetGlobalHardwareBrandByNameParams) SetContext(ctx context.Context)
- func (o *HardwareModelGetGlobalHardwareBrandByNameParams) SetDefaults()
- func (o *HardwareModelGetGlobalHardwareBrandByNameParams) SetEnterpriseID(enterpriseID *string)
- func (o *HardwareModelGetGlobalHardwareBrandByNameParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelGetGlobalHardwareBrandByNameParams) SetName(name string)
- func (o *HardwareModelGetGlobalHardwareBrandByNameParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelGetGlobalHardwareBrandByNameParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WithContext(ctx context.Context) *HardwareModelGetGlobalHardwareBrandByNameParams
- func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WithDefaults() *HardwareModelGetGlobalHardwareBrandByNameParams
- func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WithEnterpriseID(enterpriseID *string) *HardwareModelGetGlobalHardwareBrandByNameParams
- func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareBrandByNameParams
- func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WithName(name string) *HardwareModelGetGlobalHardwareBrandByNameParams
- func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareBrandByNameParams
- func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WithXRequestID(xRequestID *string) *HardwareModelGetGlobalHardwareBrandByNameParams
- func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelGetGlobalHardwareBrandByNameReader
- type HardwareModelGetGlobalHardwareBrandByNameUnauthorized
- func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) Error() string
- func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) String() string
- type HardwareModelGetGlobalHardwareBrandDefault
- func (o *HardwareModelGetGlobalHardwareBrandDefault) Code() int
- func (o *HardwareModelGetGlobalHardwareBrandDefault) Error() string
- func (o *HardwareModelGetGlobalHardwareBrandDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelGetGlobalHardwareBrandDefault) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareBrandDefault) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareBrandDefault) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareBrandDefault) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareBrandDefault) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareBrandDefault) String() string
- type HardwareModelGetGlobalHardwareBrandForbidden
- func (o *HardwareModelGetGlobalHardwareBrandForbidden) Error() string
- func (o *HardwareModelGetGlobalHardwareBrandForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareBrandForbidden) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareBrandForbidden) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareBrandForbidden) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareBrandForbidden) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareBrandForbidden) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareBrandForbidden) String() string
- type HardwareModelGetGlobalHardwareBrandGatewayTimeout
- func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) Error() string
- func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) String() string
- type HardwareModelGetGlobalHardwareBrandInternalServerError
- func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) Error() string
- func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) String() string
- type HardwareModelGetGlobalHardwareBrandNotFound
- func (o *HardwareModelGetGlobalHardwareBrandNotFound) Error() string
- func (o *HardwareModelGetGlobalHardwareBrandNotFound) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareBrandNotFound) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareBrandNotFound) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareBrandNotFound) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareBrandNotFound) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareBrandNotFound) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareBrandNotFound) String() string
- type HardwareModelGetGlobalHardwareBrandOK
- func (o *HardwareModelGetGlobalHardwareBrandOK) Error() string
- func (o *HardwareModelGetGlobalHardwareBrandOK) GetPayload() *models.SysBrand
- func (o *HardwareModelGetGlobalHardwareBrandOK) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareBrandOK) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareBrandOK) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareBrandOK) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareBrandOK) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareBrandOK) String() string
- type HardwareModelGetGlobalHardwareBrandParams
- func NewHardwareModelGetGlobalHardwareBrandParams() *HardwareModelGetGlobalHardwareBrandParams
- func NewHardwareModelGetGlobalHardwareBrandParamsWithContext(ctx context.Context) *HardwareModelGetGlobalHardwareBrandParams
- func NewHardwareModelGetGlobalHardwareBrandParamsWithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareBrandParams
- func NewHardwareModelGetGlobalHardwareBrandParamsWithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareBrandParams
- func (o *HardwareModelGetGlobalHardwareBrandParams) SetContext(ctx context.Context)
- func (o *HardwareModelGetGlobalHardwareBrandParams) SetDefaults()
- func (o *HardwareModelGetGlobalHardwareBrandParams) SetEnterpriseID(enterpriseID *string)
- func (o *HardwareModelGetGlobalHardwareBrandParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelGetGlobalHardwareBrandParams) SetID(id string)
- func (o *HardwareModelGetGlobalHardwareBrandParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelGetGlobalHardwareBrandParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelGetGlobalHardwareBrandParams) WithContext(ctx context.Context) *HardwareModelGetGlobalHardwareBrandParams
- func (o *HardwareModelGetGlobalHardwareBrandParams) WithDefaults() *HardwareModelGetGlobalHardwareBrandParams
- func (o *HardwareModelGetGlobalHardwareBrandParams) WithEnterpriseID(enterpriseID *string) *HardwareModelGetGlobalHardwareBrandParams
- func (o *HardwareModelGetGlobalHardwareBrandParams) WithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareBrandParams
- func (o *HardwareModelGetGlobalHardwareBrandParams) WithID(id string) *HardwareModelGetGlobalHardwareBrandParams
- func (o *HardwareModelGetGlobalHardwareBrandParams) WithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareBrandParams
- func (o *HardwareModelGetGlobalHardwareBrandParams) WithXRequestID(xRequestID *string) *HardwareModelGetGlobalHardwareBrandParams
- func (o *HardwareModelGetGlobalHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelGetGlobalHardwareBrandReader
- type HardwareModelGetGlobalHardwareBrandUnauthorized
- func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) Error() string
- func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) String() string
- type HardwareModelGetGlobalHardwareModelByNameDefault
- func (o *HardwareModelGetGlobalHardwareModelByNameDefault) Code() int
- func (o *HardwareModelGetGlobalHardwareModelByNameDefault) Error() string
- func (o *HardwareModelGetGlobalHardwareModelByNameDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelGetGlobalHardwareModelByNameDefault) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameDefault) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareModelByNameDefault) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameDefault) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameDefault) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameDefault) String() string
- type HardwareModelGetGlobalHardwareModelByNameForbidden
- func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) Error() string
- func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) String() string
- type HardwareModelGetGlobalHardwareModelByNameGatewayTimeout
- func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) Error() string
- func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) String() string
- type HardwareModelGetGlobalHardwareModelByNameInternalServerError
- func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) Error() string
- func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) String() string
- type HardwareModelGetGlobalHardwareModelByNameNotFound
- func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) Error() string
- func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) String() string
- type HardwareModelGetGlobalHardwareModelByNameOK
- func (o *HardwareModelGetGlobalHardwareModelByNameOK) Error() string
- func (o *HardwareModelGetGlobalHardwareModelByNameOK) GetPayload() *models.SysModel
- func (o *HardwareModelGetGlobalHardwareModelByNameOK) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameOK) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareModelByNameOK) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameOK) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameOK) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameOK) String() string
- type HardwareModelGetGlobalHardwareModelByNameParams
- func NewHardwareModelGetGlobalHardwareModelByNameParams() *HardwareModelGetGlobalHardwareModelByNameParams
- func NewHardwareModelGetGlobalHardwareModelByNameParamsWithContext(ctx context.Context) *HardwareModelGetGlobalHardwareModelByNameParams
- func NewHardwareModelGetGlobalHardwareModelByNameParamsWithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareModelByNameParams
- func NewHardwareModelGetGlobalHardwareModelByNameParamsWithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareModelByNameParams
- func (o *HardwareModelGetGlobalHardwareModelByNameParams) SetContext(ctx context.Context)
- func (o *HardwareModelGetGlobalHardwareModelByNameParams) SetDefaults()
- func (o *HardwareModelGetGlobalHardwareModelByNameParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelGetGlobalHardwareModelByNameParams) SetName(name string)
- func (o *HardwareModelGetGlobalHardwareModelByNameParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelGetGlobalHardwareModelByNameParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelGetGlobalHardwareModelByNameParams) WithContext(ctx context.Context) *HardwareModelGetGlobalHardwareModelByNameParams
- func (o *HardwareModelGetGlobalHardwareModelByNameParams) WithDefaults() *HardwareModelGetGlobalHardwareModelByNameParams
- func (o *HardwareModelGetGlobalHardwareModelByNameParams) WithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareModelByNameParams
- func (o *HardwareModelGetGlobalHardwareModelByNameParams) WithName(name string) *HardwareModelGetGlobalHardwareModelByNameParams
- func (o *HardwareModelGetGlobalHardwareModelByNameParams) WithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareModelByNameParams
- func (o *HardwareModelGetGlobalHardwareModelByNameParams) WithXRequestID(xRequestID *string) *HardwareModelGetGlobalHardwareModelByNameParams
- func (o *HardwareModelGetGlobalHardwareModelByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelGetGlobalHardwareModelByNameReader
- type HardwareModelGetGlobalHardwareModelByNameUnauthorized
- func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) Error() string
- func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) String() string
- type HardwareModelGetGlobalHardwareModelDefault
- func (o *HardwareModelGetGlobalHardwareModelDefault) Code() int
- func (o *HardwareModelGetGlobalHardwareModelDefault) Error() string
- func (o *HardwareModelGetGlobalHardwareModelDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelGetGlobalHardwareModelDefault) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareModelDefault) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareModelDefault) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareModelDefault) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareModelDefault) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareModelDefault) String() string
- type HardwareModelGetGlobalHardwareModelForbidden
- func (o *HardwareModelGetGlobalHardwareModelForbidden) Error() string
- func (o *HardwareModelGetGlobalHardwareModelForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareModelForbidden) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareModelForbidden) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareModelForbidden) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareModelForbidden) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareModelForbidden) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareModelForbidden) String() string
- type HardwareModelGetGlobalHardwareModelGatewayTimeout
- func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) Error() string
- func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) String() string
- type HardwareModelGetGlobalHardwareModelInternalServerError
- func (o *HardwareModelGetGlobalHardwareModelInternalServerError) Error() string
- func (o *HardwareModelGetGlobalHardwareModelInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareModelInternalServerError) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareModelInternalServerError) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareModelInternalServerError) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareModelInternalServerError) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareModelInternalServerError) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareModelInternalServerError) String() string
- type HardwareModelGetGlobalHardwareModelNotFound
- func (o *HardwareModelGetGlobalHardwareModelNotFound) Error() string
- func (o *HardwareModelGetGlobalHardwareModelNotFound) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareModelNotFound) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareModelNotFound) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareModelNotFound) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareModelNotFound) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareModelNotFound) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareModelNotFound) String() string
- type HardwareModelGetGlobalHardwareModelOK
- func (o *HardwareModelGetGlobalHardwareModelOK) Error() string
- func (o *HardwareModelGetGlobalHardwareModelOK) GetPayload() *models.SysModel
- func (o *HardwareModelGetGlobalHardwareModelOK) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareModelOK) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareModelOK) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareModelOK) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareModelOK) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareModelOK) String() string
- type HardwareModelGetGlobalHardwareModelParams
- func NewHardwareModelGetGlobalHardwareModelParams() *HardwareModelGetGlobalHardwareModelParams
- func NewHardwareModelGetGlobalHardwareModelParamsWithContext(ctx context.Context) *HardwareModelGetGlobalHardwareModelParams
- func NewHardwareModelGetGlobalHardwareModelParamsWithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareModelParams
- func NewHardwareModelGetGlobalHardwareModelParamsWithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareModelParams
- func (o *HardwareModelGetGlobalHardwareModelParams) SetContext(ctx context.Context)
- func (o *HardwareModelGetGlobalHardwareModelParams) SetDefaults()
- func (o *HardwareModelGetGlobalHardwareModelParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelGetGlobalHardwareModelParams) SetID(id string)
- func (o *HardwareModelGetGlobalHardwareModelParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelGetGlobalHardwareModelParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelGetGlobalHardwareModelParams) WithContext(ctx context.Context) *HardwareModelGetGlobalHardwareModelParams
- func (o *HardwareModelGetGlobalHardwareModelParams) WithDefaults() *HardwareModelGetGlobalHardwareModelParams
- func (o *HardwareModelGetGlobalHardwareModelParams) WithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareModelParams
- func (o *HardwareModelGetGlobalHardwareModelParams) WithID(id string) *HardwareModelGetGlobalHardwareModelParams
- func (o *HardwareModelGetGlobalHardwareModelParams) WithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareModelParams
- func (o *HardwareModelGetGlobalHardwareModelParams) WithXRequestID(xRequestID *string) *HardwareModelGetGlobalHardwareModelParams
- func (o *HardwareModelGetGlobalHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelGetGlobalHardwareModelReader
- type HardwareModelGetGlobalHardwareModelUnauthorized
- func (o *HardwareModelGetGlobalHardwareModelUnauthorized) Error() string
- func (o *HardwareModelGetGlobalHardwareModelUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetGlobalHardwareModelUnauthorized) IsClientError() bool
- func (o *HardwareModelGetGlobalHardwareModelUnauthorized) IsCode(code int) bool
- func (o *HardwareModelGetGlobalHardwareModelUnauthorized) IsRedirect() bool
- func (o *HardwareModelGetGlobalHardwareModelUnauthorized) IsServerError() bool
- func (o *HardwareModelGetGlobalHardwareModelUnauthorized) IsSuccess() bool
- func (o *HardwareModelGetGlobalHardwareModelUnauthorized) String() string
- type HardwareModelGetHardwareBrandByNameDefault
- func (o *HardwareModelGetHardwareBrandByNameDefault) Code() int
- func (o *HardwareModelGetHardwareBrandByNameDefault) Error() string
- func (o *HardwareModelGetHardwareBrandByNameDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelGetHardwareBrandByNameDefault) IsClientError() bool
- func (o *HardwareModelGetHardwareBrandByNameDefault) IsCode(code int) bool
- func (o *HardwareModelGetHardwareBrandByNameDefault) IsRedirect() bool
- func (o *HardwareModelGetHardwareBrandByNameDefault) IsServerError() bool
- func (o *HardwareModelGetHardwareBrandByNameDefault) IsSuccess() bool
- func (o *HardwareModelGetHardwareBrandByNameDefault) String() string
- type HardwareModelGetHardwareBrandByNameForbidden
- func (o *HardwareModelGetHardwareBrandByNameForbidden) Error() string
- func (o *HardwareModelGetHardwareBrandByNameForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareBrandByNameForbidden) IsClientError() bool
- func (o *HardwareModelGetHardwareBrandByNameForbidden) IsCode(code int) bool
- func (o *HardwareModelGetHardwareBrandByNameForbidden) IsRedirect() bool
- func (o *HardwareModelGetHardwareBrandByNameForbidden) IsServerError() bool
- func (o *HardwareModelGetHardwareBrandByNameForbidden) IsSuccess() bool
- func (o *HardwareModelGetHardwareBrandByNameForbidden) String() string
- type HardwareModelGetHardwareBrandByNameGatewayTimeout
- func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) Error() string
- func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) IsClientError() bool
- func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) IsServerError() bool
- func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) String() string
- type HardwareModelGetHardwareBrandByNameInternalServerError
- func (o *HardwareModelGetHardwareBrandByNameInternalServerError) Error() string
- func (o *HardwareModelGetHardwareBrandByNameInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareBrandByNameInternalServerError) IsClientError() bool
- func (o *HardwareModelGetHardwareBrandByNameInternalServerError) IsCode(code int) bool
- func (o *HardwareModelGetHardwareBrandByNameInternalServerError) IsRedirect() bool
- func (o *HardwareModelGetHardwareBrandByNameInternalServerError) IsServerError() bool
- func (o *HardwareModelGetHardwareBrandByNameInternalServerError) IsSuccess() bool
- func (o *HardwareModelGetHardwareBrandByNameInternalServerError) String() string
- type HardwareModelGetHardwareBrandByNameNotFound
- func (o *HardwareModelGetHardwareBrandByNameNotFound) Error() string
- func (o *HardwareModelGetHardwareBrandByNameNotFound) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareBrandByNameNotFound) IsClientError() bool
- func (o *HardwareModelGetHardwareBrandByNameNotFound) IsCode(code int) bool
- func (o *HardwareModelGetHardwareBrandByNameNotFound) IsRedirect() bool
- func (o *HardwareModelGetHardwareBrandByNameNotFound) IsServerError() bool
- func (o *HardwareModelGetHardwareBrandByNameNotFound) IsSuccess() bool
- func (o *HardwareModelGetHardwareBrandByNameNotFound) String() string
- type HardwareModelGetHardwareBrandByNameOK
- func (o *HardwareModelGetHardwareBrandByNameOK) Error() string
- func (o *HardwareModelGetHardwareBrandByNameOK) GetPayload() *models.SysBrand
- func (o *HardwareModelGetHardwareBrandByNameOK) IsClientError() bool
- func (o *HardwareModelGetHardwareBrandByNameOK) IsCode(code int) bool
- func (o *HardwareModelGetHardwareBrandByNameOK) IsRedirect() bool
- func (o *HardwareModelGetHardwareBrandByNameOK) IsServerError() bool
- func (o *HardwareModelGetHardwareBrandByNameOK) IsSuccess() bool
- func (o *HardwareModelGetHardwareBrandByNameOK) String() string
- type HardwareModelGetHardwareBrandByNameParams
- func NewHardwareModelGetHardwareBrandByNameParams() *HardwareModelGetHardwareBrandByNameParams
- func NewHardwareModelGetHardwareBrandByNameParamsWithContext(ctx context.Context) *HardwareModelGetHardwareBrandByNameParams
- func NewHardwareModelGetHardwareBrandByNameParamsWithHTTPClient(client *http.Client) *HardwareModelGetHardwareBrandByNameParams
- func NewHardwareModelGetHardwareBrandByNameParamsWithTimeout(timeout time.Duration) *HardwareModelGetHardwareBrandByNameParams
- func (o *HardwareModelGetHardwareBrandByNameParams) SetContext(ctx context.Context)
- func (o *HardwareModelGetHardwareBrandByNameParams) SetDefaults()
- func (o *HardwareModelGetHardwareBrandByNameParams) SetEnterpriseID(enterpriseID *string)
- func (o *HardwareModelGetHardwareBrandByNameParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelGetHardwareBrandByNameParams) SetName(name string)
- func (o *HardwareModelGetHardwareBrandByNameParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelGetHardwareBrandByNameParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelGetHardwareBrandByNameParams) WithContext(ctx context.Context) *HardwareModelGetHardwareBrandByNameParams
- func (o *HardwareModelGetHardwareBrandByNameParams) WithDefaults() *HardwareModelGetHardwareBrandByNameParams
- func (o *HardwareModelGetHardwareBrandByNameParams) WithEnterpriseID(enterpriseID *string) *HardwareModelGetHardwareBrandByNameParams
- func (o *HardwareModelGetHardwareBrandByNameParams) WithHTTPClient(client *http.Client) *HardwareModelGetHardwareBrandByNameParams
- func (o *HardwareModelGetHardwareBrandByNameParams) WithName(name string) *HardwareModelGetHardwareBrandByNameParams
- func (o *HardwareModelGetHardwareBrandByNameParams) WithTimeout(timeout time.Duration) *HardwareModelGetHardwareBrandByNameParams
- func (o *HardwareModelGetHardwareBrandByNameParams) WithXRequestID(xRequestID *string) *HardwareModelGetHardwareBrandByNameParams
- func (o *HardwareModelGetHardwareBrandByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelGetHardwareBrandByNameReader
- type HardwareModelGetHardwareBrandByNameUnauthorized
- func (o *HardwareModelGetHardwareBrandByNameUnauthorized) Error() string
- func (o *HardwareModelGetHardwareBrandByNameUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareBrandByNameUnauthorized) IsClientError() bool
- func (o *HardwareModelGetHardwareBrandByNameUnauthorized) IsCode(code int) bool
- func (o *HardwareModelGetHardwareBrandByNameUnauthorized) IsRedirect() bool
- func (o *HardwareModelGetHardwareBrandByNameUnauthorized) IsServerError() bool
- func (o *HardwareModelGetHardwareBrandByNameUnauthorized) IsSuccess() bool
- func (o *HardwareModelGetHardwareBrandByNameUnauthorized) String() string
- type HardwareModelGetHardwareBrandDefault
- func (o *HardwareModelGetHardwareBrandDefault) Code() int
- func (o *HardwareModelGetHardwareBrandDefault) Error() string
- func (o *HardwareModelGetHardwareBrandDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelGetHardwareBrandDefault) IsClientError() bool
- func (o *HardwareModelGetHardwareBrandDefault) IsCode(code int) bool
- func (o *HardwareModelGetHardwareBrandDefault) IsRedirect() bool
- func (o *HardwareModelGetHardwareBrandDefault) IsServerError() bool
- func (o *HardwareModelGetHardwareBrandDefault) IsSuccess() bool
- func (o *HardwareModelGetHardwareBrandDefault) String() string
- type HardwareModelGetHardwareBrandForbidden
- func (o *HardwareModelGetHardwareBrandForbidden) Error() string
- func (o *HardwareModelGetHardwareBrandForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareBrandForbidden) IsClientError() bool
- func (o *HardwareModelGetHardwareBrandForbidden) IsCode(code int) bool
- func (o *HardwareModelGetHardwareBrandForbidden) IsRedirect() bool
- func (o *HardwareModelGetHardwareBrandForbidden) IsServerError() bool
- func (o *HardwareModelGetHardwareBrandForbidden) IsSuccess() bool
- func (o *HardwareModelGetHardwareBrandForbidden) String() string
- type HardwareModelGetHardwareBrandGatewayTimeout
- func (o *HardwareModelGetHardwareBrandGatewayTimeout) Error() string
- func (o *HardwareModelGetHardwareBrandGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareBrandGatewayTimeout) IsClientError() bool
- func (o *HardwareModelGetHardwareBrandGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelGetHardwareBrandGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelGetHardwareBrandGatewayTimeout) IsServerError() bool
- func (o *HardwareModelGetHardwareBrandGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelGetHardwareBrandGatewayTimeout) String() string
- type HardwareModelGetHardwareBrandInternalServerError
- func (o *HardwareModelGetHardwareBrandInternalServerError) Error() string
- func (o *HardwareModelGetHardwareBrandInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareBrandInternalServerError) IsClientError() bool
- func (o *HardwareModelGetHardwareBrandInternalServerError) IsCode(code int) bool
- func (o *HardwareModelGetHardwareBrandInternalServerError) IsRedirect() bool
- func (o *HardwareModelGetHardwareBrandInternalServerError) IsServerError() bool
- func (o *HardwareModelGetHardwareBrandInternalServerError) IsSuccess() bool
- func (o *HardwareModelGetHardwareBrandInternalServerError) String() string
- type HardwareModelGetHardwareBrandNotFound
- func (o *HardwareModelGetHardwareBrandNotFound) Error() string
- func (o *HardwareModelGetHardwareBrandNotFound) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareBrandNotFound) IsClientError() bool
- func (o *HardwareModelGetHardwareBrandNotFound) IsCode(code int) bool
- func (o *HardwareModelGetHardwareBrandNotFound) IsRedirect() bool
- func (o *HardwareModelGetHardwareBrandNotFound) IsServerError() bool
- func (o *HardwareModelGetHardwareBrandNotFound) IsSuccess() bool
- func (o *HardwareModelGetHardwareBrandNotFound) String() string
- type HardwareModelGetHardwareBrandOK
- func (o *HardwareModelGetHardwareBrandOK) Error() string
- func (o *HardwareModelGetHardwareBrandOK) GetPayload() *models.SysBrand
- func (o *HardwareModelGetHardwareBrandOK) IsClientError() bool
- func (o *HardwareModelGetHardwareBrandOK) IsCode(code int) bool
- func (o *HardwareModelGetHardwareBrandOK) IsRedirect() bool
- func (o *HardwareModelGetHardwareBrandOK) IsServerError() bool
- func (o *HardwareModelGetHardwareBrandOK) IsSuccess() bool
- func (o *HardwareModelGetHardwareBrandOK) String() string
- type HardwareModelGetHardwareBrandParams
- func NewHardwareModelGetHardwareBrandParams() *HardwareModelGetHardwareBrandParams
- func NewHardwareModelGetHardwareBrandParamsWithContext(ctx context.Context) *HardwareModelGetHardwareBrandParams
- func NewHardwareModelGetHardwareBrandParamsWithHTTPClient(client *http.Client) *HardwareModelGetHardwareBrandParams
- func NewHardwareModelGetHardwareBrandParamsWithTimeout(timeout time.Duration) *HardwareModelGetHardwareBrandParams
- func (o *HardwareModelGetHardwareBrandParams) SetContext(ctx context.Context)
- func (o *HardwareModelGetHardwareBrandParams) SetDefaults()
- func (o *HardwareModelGetHardwareBrandParams) SetEnterpriseID(enterpriseID *string)
- func (o *HardwareModelGetHardwareBrandParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelGetHardwareBrandParams) SetID(id string)
- func (o *HardwareModelGetHardwareBrandParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelGetHardwareBrandParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelGetHardwareBrandParams) WithContext(ctx context.Context) *HardwareModelGetHardwareBrandParams
- func (o *HardwareModelGetHardwareBrandParams) WithDefaults() *HardwareModelGetHardwareBrandParams
- func (o *HardwareModelGetHardwareBrandParams) WithEnterpriseID(enterpriseID *string) *HardwareModelGetHardwareBrandParams
- func (o *HardwareModelGetHardwareBrandParams) WithHTTPClient(client *http.Client) *HardwareModelGetHardwareBrandParams
- func (o *HardwareModelGetHardwareBrandParams) WithID(id string) *HardwareModelGetHardwareBrandParams
- func (o *HardwareModelGetHardwareBrandParams) WithTimeout(timeout time.Duration) *HardwareModelGetHardwareBrandParams
- func (o *HardwareModelGetHardwareBrandParams) WithXRequestID(xRequestID *string) *HardwareModelGetHardwareBrandParams
- func (o *HardwareModelGetHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelGetHardwareBrandReader
- type HardwareModelGetHardwareBrandUnauthorized
- func (o *HardwareModelGetHardwareBrandUnauthorized) Error() string
- func (o *HardwareModelGetHardwareBrandUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareBrandUnauthorized) IsClientError() bool
- func (o *HardwareModelGetHardwareBrandUnauthorized) IsCode(code int) bool
- func (o *HardwareModelGetHardwareBrandUnauthorized) IsRedirect() bool
- func (o *HardwareModelGetHardwareBrandUnauthorized) IsServerError() bool
- func (o *HardwareModelGetHardwareBrandUnauthorized) IsSuccess() bool
- func (o *HardwareModelGetHardwareBrandUnauthorized) String() string
- type HardwareModelGetHardwareModelByNameDefault
- func (o *HardwareModelGetHardwareModelByNameDefault) Code() int
- func (o *HardwareModelGetHardwareModelByNameDefault) Error() string
- func (o *HardwareModelGetHardwareModelByNameDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelGetHardwareModelByNameDefault) IsClientError() bool
- func (o *HardwareModelGetHardwareModelByNameDefault) IsCode(code int) bool
- func (o *HardwareModelGetHardwareModelByNameDefault) IsRedirect() bool
- func (o *HardwareModelGetHardwareModelByNameDefault) IsServerError() bool
- func (o *HardwareModelGetHardwareModelByNameDefault) IsSuccess() bool
- func (o *HardwareModelGetHardwareModelByNameDefault) String() string
- type HardwareModelGetHardwareModelByNameForbidden
- func (o *HardwareModelGetHardwareModelByNameForbidden) Error() string
- func (o *HardwareModelGetHardwareModelByNameForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareModelByNameForbidden) IsClientError() bool
- func (o *HardwareModelGetHardwareModelByNameForbidden) IsCode(code int) bool
- func (o *HardwareModelGetHardwareModelByNameForbidden) IsRedirect() bool
- func (o *HardwareModelGetHardwareModelByNameForbidden) IsServerError() bool
- func (o *HardwareModelGetHardwareModelByNameForbidden) IsSuccess() bool
- func (o *HardwareModelGetHardwareModelByNameForbidden) String() string
- type HardwareModelGetHardwareModelByNameGatewayTimeout
- func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) Error() string
- func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) IsClientError() bool
- func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) IsServerError() bool
- func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) String() string
- type HardwareModelGetHardwareModelByNameInternalServerError
- func (o *HardwareModelGetHardwareModelByNameInternalServerError) Error() string
- func (o *HardwareModelGetHardwareModelByNameInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareModelByNameInternalServerError) IsClientError() bool
- func (o *HardwareModelGetHardwareModelByNameInternalServerError) IsCode(code int) bool
- func (o *HardwareModelGetHardwareModelByNameInternalServerError) IsRedirect() bool
- func (o *HardwareModelGetHardwareModelByNameInternalServerError) IsServerError() bool
- func (o *HardwareModelGetHardwareModelByNameInternalServerError) IsSuccess() bool
- func (o *HardwareModelGetHardwareModelByNameInternalServerError) String() string
- type HardwareModelGetHardwareModelByNameNotFound
- func (o *HardwareModelGetHardwareModelByNameNotFound) Error() string
- func (o *HardwareModelGetHardwareModelByNameNotFound) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareModelByNameNotFound) IsClientError() bool
- func (o *HardwareModelGetHardwareModelByNameNotFound) IsCode(code int) bool
- func (o *HardwareModelGetHardwareModelByNameNotFound) IsRedirect() bool
- func (o *HardwareModelGetHardwareModelByNameNotFound) IsServerError() bool
- func (o *HardwareModelGetHardwareModelByNameNotFound) IsSuccess() bool
- func (o *HardwareModelGetHardwareModelByNameNotFound) String() string
- type HardwareModelGetHardwareModelByNameOK
- func (o *HardwareModelGetHardwareModelByNameOK) Error() string
- func (o *HardwareModelGetHardwareModelByNameOK) GetPayload() *models.SysModel
- func (o *HardwareModelGetHardwareModelByNameOK) IsClientError() bool
- func (o *HardwareModelGetHardwareModelByNameOK) IsCode(code int) bool
- func (o *HardwareModelGetHardwareModelByNameOK) IsRedirect() bool
- func (o *HardwareModelGetHardwareModelByNameOK) IsServerError() bool
- func (o *HardwareModelGetHardwareModelByNameOK) IsSuccess() bool
- func (o *HardwareModelGetHardwareModelByNameOK) String() string
- type HardwareModelGetHardwareModelByNameParams
- func NewHardwareModelGetHardwareModelByNameParams() *HardwareModelGetHardwareModelByNameParams
- func NewHardwareModelGetHardwareModelByNameParamsWithContext(ctx context.Context) *HardwareModelGetHardwareModelByNameParams
- func NewHardwareModelGetHardwareModelByNameParamsWithHTTPClient(client *http.Client) *HardwareModelGetHardwareModelByNameParams
- func NewHardwareModelGetHardwareModelByNameParamsWithTimeout(timeout time.Duration) *HardwareModelGetHardwareModelByNameParams
- func (o *HardwareModelGetHardwareModelByNameParams) SetContext(ctx context.Context)
- func (o *HardwareModelGetHardwareModelByNameParams) SetDefaults()
- func (o *HardwareModelGetHardwareModelByNameParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelGetHardwareModelByNameParams) SetName(name string)
- func (o *HardwareModelGetHardwareModelByNameParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelGetHardwareModelByNameParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelGetHardwareModelByNameParams) WithContext(ctx context.Context) *HardwareModelGetHardwareModelByNameParams
- func (o *HardwareModelGetHardwareModelByNameParams) WithDefaults() *HardwareModelGetHardwareModelByNameParams
- func (o *HardwareModelGetHardwareModelByNameParams) WithHTTPClient(client *http.Client) *HardwareModelGetHardwareModelByNameParams
- func (o *HardwareModelGetHardwareModelByNameParams) WithName(name string) *HardwareModelGetHardwareModelByNameParams
- func (o *HardwareModelGetHardwareModelByNameParams) WithTimeout(timeout time.Duration) *HardwareModelGetHardwareModelByNameParams
- func (o *HardwareModelGetHardwareModelByNameParams) WithXRequestID(xRequestID *string) *HardwareModelGetHardwareModelByNameParams
- func (o *HardwareModelGetHardwareModelByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelGetHardwareModelByNameReader
- type HardwareModelGetHardwareModelByNameUnauthorized
- func (o *HardwareModelGetHardwareModelByNameUnauthorized) Error() string
- func (o *HardwareModelGetHardwareModelByNameUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareModelByNameUnauthorized) IsClientError() bool
- func (o *HardwareModelGetHardwareModelByNameUnauthorized) IsCode(code int) bool
- func (o *HardwareModelGetHardwareModelByNameUnauthorized) IsRedirect() bool
- func (o *HardwareModelGetHardwareModelByNameUnauthorized) IsServerError() bool
- func (o *HardwareModelGetHardwareModelByNameUnauthorized) IsSuccess() bool
- func (o *HardwareModelGetHardwareModelByNameUnauthorized) String() string
- type HardwareModelGetHardwareModelDefault
- func (o *HardwareModelGetHardwareModelDefault) Code() int
- func (o *HardwareModelGetHardwareModelDefault) Error() string
- func (o *HardwareModelGetHardwareModelDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelGetHardwareModelDefault) IsClientError() bool
- func (o *HardwareModelGetHardwareModelDefault) IsCode(code int) bool
- func (o *HardwareModelGetHardwareModelDefault) IsRedirect() bool
- func (o *HardwareModelGetHardwareModelDefault) IsServerError() bool
- func (o *HardwareModelGetHardwareModelDefault) IsSuccess() bool
- func (o *HardwareModelGetHardwareModelDefault) String() string
- type HardwareModelGetHardwareModelForbidden
- func (o *HardwareModelGetHardwareModelForbidden) Error() string
- func (o *HardwareModelGetHardwareModelForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareModelForbidden) IsClientError() bool
- func (o *HardwareModelGetHardwareModelForbidden) IsCode(code int) bool
- func (o *HardwareModelGetHardwareModelForbidden) IsRedirect() bool
- func (o *HardwareModelGetHardwareModelForbidden) IsServerError() bool
- func (o *HardwareModelGetHardwareModelForbidden) IsSuccess() bool
- func (o *HardwareModelGetHardwareModelForbidden) String() string
- type HardwareModelGetHardwareModelGatewayTimeout
- func (o *HardwareModelGetHardwareModelGatewayTimeout) Error() string
- func (o *HardwareModelGetHardwareModelGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareModelGatewayTimeout) IsClientError() bool
- func (o *HardwareModelGetHardwareModelGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelGetHardwareModelGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelGetHardwareModelGatewayTimeout) IsServerError() bool
- func (o *HardwareModelGetHardwareModelGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelGetHardwareModelGatewayTimeout) String() string
- type HardwareModelGetHardwareModelInternalServerError
- func (o *HardwareModelGetHardwareModelInternalServerError) Error() string
- func (o *HardwareModelGetHardwareModelInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareModelInternalServerError) IsClientError() bool
- func (o *HardwareModelGetHardwareModelInternalServerError) IsCode(code int) bool
- func (o *HardwareModelGetHardwareModelInternalServerError) IsRedirect() bool
- func (o *HardwareModelGetHardwareModelInternalServerError) IsServerError() bool
- func (o *HardwareModelGetHardwareModelInternalServerError) IsSuccess() bool
- func (o *HardwareModelGetHardwareModelInternalServerError) String() string
- type HardwareModelGetHardwareModelNotFound
- func (o *HardwareModelGetHardwareModelNotFound) Error() string
- func (o *HardwareModelGetHardwareModelNotFound) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareModelNotFound) IsClientError() bool
- func (o *HardwareModelGetHardwareModelNotFound) IsCode(code int) bool
- func (o *HardwareModelGetHardwareModelNotFound) IsRedirect() bool
- func (o *HardwareModelGetHardwareModelNotFound) IsServerError() bool
- func (o *HardwareModelGetHardwareModelNotFound) IsSuccess() bool
- func (o *HardwareModelGetHardwareModelNotFound) String() string
- type HardwareModelGetHardwareModelOK
- func (o *HardwareModelGetHardwareModelOK) Error() string
- func (o *HardwareModelGetHardwareModelOK) GetPayload() *models.SysModel
- func (o *HardwareModelGetHardwareModelOK) IsClientError() bool
- func (o *HardwareModelGetHardwareModelOK) IsCode(code int) bool
- func (o *HardwareModelGetHardwareModelOK) IsRedirect() bool
- func (o *HardwareModelGetHardwareModelOK) IsServerError() bool
- func (o *HardwareModelGetHardwareModelOK) IsSuccess() bool
- func (o *HardwareModelGetHardwareModelOK) String() string
- type HardwareModelGetHardwareModelParams
- func NewHardwareModelGetHardwareModelParams() *HardwareModelGetHardwareModelParams
- func NewHardwareModelGetHardwareModelParamsWithContext(ctx context.Context) *HardwareModelGetHardwareModelParams
- func NewHardwareModelGetHardwareModelParamsWithHTTPClient(client *http.Client) *HardwareModelGetHardwareModelParams
- func NewHardwareModelGetHardwareModelParamsWithTimeout(timeout time.Duration) *HardwareModelGetHardwareModelParams
- func (o *HardwareModelGetHardwareModelParams) SetContext(ctx context.Context)
- func (o *HardwareModelGetHardwareModelParams) SetDefaults()
- func (o *HardwareModelGetHardwareModelParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelGetHardwareModelParams) SetID(id string)
- func (o *HardwareModelGetHardwareModelParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelGetHardwareModelParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelGetHardwareModelParams) WithContext(ctx context.Context) *HardwareModelGetHardwareModelParams
- func (o *HardwareModelGetHardwareModelParams) WithDefaults() *HardwareModelGetHardwareModelParams
- func (o *HardwareModelGetHardwareModelParams) WithHTTPClient(client *http.Client) *HardwareModelGetHardwareModelParams
- func (o *HardwareModelGetHardwareModelParams) WithID(id string) *HardwareModelGetHardwareModelParams
- func (o *HardwareModelGetHardwareModelParams) WithTimeout(timeout time.Duration) *HardwareModelGetHardwareModelParams
- func (o *HardwareModelGetHardwareModelParams) WithXRequestID(xRequestID *string) *HardwareModelGetHardwareModelParams
- func (o *HardwareModelGetHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelGetHardwareModelReader
- type HardwareModelGetHardwareModelUnauthorized
- func (o *HardwareModelGetHardwareModelUnauthorized) Error() string
- func (o *HardwareModelGetHardwareModelUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelGetHardwareModelUnauthorized) IsClientError() bool
- func (o *HardwareModelGetHardwareModelUnauthorized) IsCode(code int) bool
- func (o *HardwareModelGetHardwareModelUnauthorized) IsRedirect() bool
- func (o *HardwareModelGetHardwareModelUnauthorized) IsServerError() bool
- func (o *HardwareModelGetHardwareModelUnauthorized) IsSuccess() bool
- func (o *HardwareModelGetHardwareModelUnauthorized) String() string
- type HardwareModelQueryGlobalHardwareBrandsBadRequest
- func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) Error() string
- func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) IsClientError() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) IsCode(code int) bool
- func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) IsRedirect() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) IsServerError() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) IsSuccess() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) String() string
- type HardwareModelQueryGlobalHardwareBrandsDefault
- func (o *HardwareModelQueryGlobalHardwareBrandsDefault) Code() int
- func (o *HardwareModelQueryGlobalHardwareBrandsDefault) Error() string
- func (o *HardwareModelQueryGlobalHardwareBrandsDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelQueryGlobalHardwareBrandsDefault) IsClientError() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsDefault) IsCode(code int) bool
- func (o *HardwareModelQueryGlobalHardwareBrandsDefault) IsRedirect() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsDefault) IsServerError() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsDefault) IsSuccess() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsDefault) String() string
- type HardwareModelQueryGlobalHardwareBrandsForbidden
- func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) Error() string
- func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) IsClientError() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) IsCode(code int) bool
- func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) IsRedirect() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) IsServerError() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) IsSuccess() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) String() string
- type HardwareModelQueryGlobalHardwareBrandsGatewayTimeout
- func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) Error() string
- func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsClientError() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsServerError() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) String() string
- type HardwareModelQueryGlobalHardwareBrandsInternalServerError
- func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) Error() string
- func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsClientError() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsCode(code int) bool
- func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsRedirect() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsServerError() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsSuccess() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) String() string
- type HardwareModelQueryGlobalHardwareBrandsOK
- func (o *HardwareModelQueryGlobalHardwareBrandsOK) Error() string
- func (o *HardwareModelQueryGlobalHardwareBrandsOK) GetPayload() *models.SysBrands
- func (o *HardwareModelQueryGlobalHardwareBrandsOK) IsClientError() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsOK) IsCode(code int) bool
- func (o *HardwareModelQueryGlobalHardwareBrandsOK) IsRedirect() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsOK) IsServerError() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsOK) IsSuccess() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsOK) String() string
- type HardwareModelQueryGlobalHardwareBrandsParams
- func NewHardwareModelQueryGlobalHardwareBrandsParams() *HardwareModelQueryGlobalHardwareBrandsParams
- func NewHardwareModelQueryGlobalHardwareBrandsParamsWithContext(ctx context.Context) *HardwareModelQueryGlobalHardwareBrandsParams
- func NewHardwareModelQueryGlobalHardwareBrandsParamsWithHTTPClient(client *http.Client) *HardwareModelQueryGlobalHardwareBrandsParams
- func NewHardwareModelQueryGlobalHardwareBrandsParamsWithTimeout(timeout time.Duration) *HardwareModelQueryGlobalHardwareBrandsParams
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetContext(ctx context.Context)
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetDefaults()
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetEnterpriseID(enterpriseID *string)
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetFilterNamePattern(filterNamePattern *string)
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetFilterOriginType(filterOriginType *string)
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetNextOrderBy(nextOrderBy []string)
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetNextPageNum(nextPageNum *int64)
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetNextPageSize(nextPageSize *int64)
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetNextPageToken(nextPageToken *string)
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetNextTotalPages(nextTotalPages *int64)
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetSummary(summary *bool)
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithContext(ctx context.Context) *HardwareModelQueryGlobalHardwareBrandsParams
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithDefaults() *HardwareModelQueryGlobalHardwareBrandsParams
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithEnterpriseID(enterpriseID *string) *HardwareModelQueryGlobalHardwareBrandsParams
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithFilterNamePattern(filterNamePattern *string) *HardwareModelQueryGlobalHardwareBrandsParams
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithFilterOriginType(filterOriginType *string) *HardwareModelQueryGlobalHardwareBrandsParams
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithHTTPClient(client *http.Client) *HardwareModelQueryGlobalHardwareBrandsParams
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithNextOrderBy(nextOrderBy []string) *HardwareModelQueryGlobalHardwareBrandsParams
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithNextPageNum(nextPageNum *int64) *HardwareModelQueryGlobalHardwareBrandsParams
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithNextPageSize(nextPageSize *int64) *HardwareModelQueryGlobalHardwareBrandsParams
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithNextPageToken(nextPageToken *string) *HardwareModelQueryGlobalHardwareBrandsParams
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithNextTotalPages(nextTotalPages *int64) *HardwareModelQueryGlobalHardwareBrandsParams
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithSummary(summary *bool) *HardwareModelQueryGlobalHardwareBrandsParams
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithTimeout(timeout time.Duration) *HardwareModelQueryGlobalHardwareBrandsParams
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithXRequestID(xRequestID *string) *HardwareModelQueryGlobalHardwareBrandsParams
- func (o *HardwareModelQueryGlobalHardwareBrandsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelQueryGlobalHardwareBrandsReader
- type HardwareModelQueryGlobalHardwareBrandsUnauthorized
- func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) Error() string
- func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsClientError() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsCode(code int) bool
- func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsRedirect() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsServerError() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsSuccess() bool
- func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) String() string
- type HardwareModelQueryGlobalHardwareModelsBadRequest
- func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) Error() string
- func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) IsClientError() bool
- func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) IsCode(code int) bool
- func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) IsRedirect() bool
- func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) IsServerError() bool
- func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) IsSuccess() bool
- func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) String() string
- type HardwareModelQueryGlobalHardwareModelsDefault
- func (o *HardwareModelQueryGlobalHardwareModelsDefault) Code() int
- func (o *HardwareModelQueryGlobalHardwareModelsDefault) Error() string
- func (o *HardwareModelQueryGlobalHardwareModelsDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelQueryGlobalHardwareModelsDefault) IsClientError() bool
- func (o *HardwareModelQueryGlobalHardwareModelsDefault) IsCode(code int) bool
- func (o *HardwareModelQueryGlobalHardwareModelsDefault) IsRedirect() bool
- func (o *HardwareModelQueryGlobalHardwareModelsDefault) IsServerError() bool
- func (o *HardwareModelQueryGlobalHardwareModelsDefault) IsSuccess() bool
- func (o *HardwareModelQueryGlobalHardwareModelsDefault) String() string
- type HardwareModelQueryGlobalHardwareModelsForbidden
- func (o *HardwareModelQueryGlobalHardwareModelsForbidden) Error() string
- func (o *HardwareModelQueryGlobalHardwareModelsForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryGlobalHardwareModelsForbidden) IsClientError() bool
- func (o *HardwareModelQueryGlobalHardwareModelsForbidden) IsCode(code int) bool
- func (o *HardwareModelQueryGlobalHardwareModelsForbidden) IsRedirect() bool
- func (o *HardwareModelQueryGlobalHardwareModelsForbidden) IsServerError() bool
- func (o *HardwareModelQueryGlobalHardwareModelsForbidden) IsSuccess() bool
- func (o *HardwareModelQueryGlobalHardwareModelsForbidden) String() string
- type HardwareModelQueryGlobalHardwareModelsGatewayTimeout
- func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) Error() string
- func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsClientError() bool
- func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsServerError() bool
- func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) String() string
- type HardwareModelQueryGlobalHardwareModelsInternalServerError
- func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) Error() string
- func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) IsClientError() bool
- func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) IsCode(code int) bool
- func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) IsRedirect() bool
- func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) IsServerError() bool
- func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) IsSuccess() bool
- func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) String() string
- type HardwareModelQueryGlobalHardwareModelsOK
- func (o *HardwareModelQueryGlobalHardwareModelsOK) Error() string
- func (o *HardwareModelQueryGlobalHardwareModelsOK) GetPayload() *models.SysModels
- func (o *HardwareModelQueryGlobalHardwareModelsOK) IsClientError() bool
- func (o *HardwareModelQueryGlobalHardwareModelsOK) IsCode(code int) bool
- func (o *HardwareModelQueryGlobalHardwareModelsOK) IsRedirect() bool
- func (o *HardwareModelQueryGlobalHardwareModelsOK) IsServerError() bool
- func (o *HardwareModelQueryGlobalHardwareModelsOK) IsSuccess() bool
- func (o *HardwareModelQueryGlobalHardwareModelsOK) String() string
- type HardwareModelQueryGlobalHardwareModelsParams
- func NewHardwareModelQueryGlobalHardwareModelsParams() *HardwareModelQueryGlobalHardwareModelsParams
- func NewHardwareModelQueryGlobalHardwareModelsParamsWithContext(ctx context.Context) *HardwareModelQueryGlobalHardwareModelsParams
- func NewHardwareModelQueryGlobalHardwareModelsParamsWithHTTPClient(client *http.Client) *HardwareModelQueryGlobalHardwareModelsParams
- func NewHardwareModelQueryGlobalHardwareModelsParamsWithTimeout(timeout time.Duration) *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) SetContext(ctx context.Context)
- func (o *HardwareModelQueryGlobalHardwareModelsParams) SetDefaults()
- func (o *HardwareModelQueryGlobalHardwareModelsParams) SetFilterBrandID(filterBrandID *string)
- func (o *HardwareModelQueryGlobalHardwareModelsParams) SetFilterBrandIds(filterBrandIds []string)
- func (o *HardwareModelQueryGlobalHardwareModelsParams) SetFilterNamePattern(filterNamePattern *string)
- func (o *HardwareModelQueryGlobalHardwareModelsParams) SetFilterOriginType(filterOriginType *string)
- func (o *HardwareModelQueryGlobalHardwareModelsParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelQueryGlobalHardwareModelsParams) SetNextOrderBy(nextOrderBy []string)
- func (o *HardwareModelQueryGlobalHardwareModelsParams) SetNextPageNum(nextPageNum *int64)
- func (o *HardwareModelQueryGlobalHardwareModelsParams) SetNextPageSize(nextPageSize *int64)
- func (o *HardwareModelQueryGlobalHardwareModelsParams) SetNextPageToken(nextPageToken *string)
- func (o *HardwareModelQueryGlobalHardwareModelsParams) SetNextTotalPages(nextTotalPages *int64)
- func (o *HardwareModelQueryGlobalHardwareModelsParams) SetSummary(summary *bool)
- func (o *HardwareModelQueryGlobalHardwareModelsParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelQueryGlobalHardwareModelsParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WithContext(ctx context.Context) *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WithDefaults() *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WithFilterBrandID(filterBrandID *string) *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WithFilterBrandIds(filterBrandIds []string) *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WithFilterNamePattern(filterNamePattern *string) *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WithFilterOriginType(filterOriginType *string) *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WithHTTPClient(client *http.Client) *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WithNextOrderBy(nextOrderBy []string) *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WithNextPageNum(nextPageNum *int64) *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WithNextPageSize(nextPageSize *int64) *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WithNextPageToken(nextPageToken *string) *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WithNextTotalPages(nextTotalPages *int64) *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WithSummary(summary *bool) *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WithTimeout(timeout time.Duration) *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WithXRequestID(xRequestID *string) *HardwareModelQueryGlobalHardwareModelsParams
- func (o *HardwareModelQueryGlobalHardwareModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelQueryGlobalHardwareModelsReader
- type HardwareModelQueryGlobalHardwareModelsUnauthorized
- func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) Error() string
- func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) IsClientError() bool
- func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) IsCode(code int) bool
- func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) IsRedirect() bool
- func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) IsServerError() bool
- func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) IsSuccess() bool
- func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) String() string
- type HardwareModelQueryHardwareBrandsBadRequest
- func (o *HardwareModelQueryHardwareBrandsBadRequest) Error() string
- func (o *HardwareModelQueryHardwareBrandsBadRequest) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryHardwareBrandsBadRequest) IsClientError() bool
- func (o *HardwareModelQueryHardwareBrandsBadRequest) IsCode(code int) bool
- func (o *HardwareModelQueryHardwareBrandsBadRequest) IsRedirect() bool
- func (o *HardwareModelQueryHardwareBrandsBadRequest) IsServerError() bool
- func (o *HardwareModelQueryHardwareBrandsBadRequest) IsSuccess() bool
- func (o *HardwareModelQueryHardwareBrandsBadRequest) String() string
- type HardwareModelQueryHardwareBrandsDefault
- func (o *HardwareModelQueryHardwareBrandsDefault) Code() int
- func (o *HardwareModelQueryHardwareBrandsDefault) Error() string
- func (o *HardwareModelQueryHardwareBrandsDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelQueryHardwareBrandsDefault) IsClientError() bool
- func (o *HardwareModelQueryHardwareBrandsDefault) IsCode(code int) bool
- func (o *HardwareModelQueryHardwareBrandsDefault) IsRedirect() bool
- func (o *HardwareModelQueryHardwareBrandsDefault) IsServerError() bool
- func (o *HardwareModelQueryHardwareBrandsDefault) IsSuccess() bool
- func (o *HardwareModelQueryHardwareBrandsDefault) String() string
- type HardwareModelQueryHardwareBrandsForbidden
- func (o *HardwareModelQueryHardwareBrandsForbidden) Error() string
- func (o *HardwareModelQueryHardwareBrandsForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryHardwareBrandsForbidden) IsClientError() bool
- func (o *HardwareModelQueryHardwareBrandsForbidden) IsCode(code int) bool
- func (o *HardwareModelQueryHardwareBrandsForbidden) IsRedirect() bool
- func (o *HardwareModelQueryHardwareBrandsForbidden) IsServerError() bool
- func (o *HardwareModelQueryHardwareBrandsForbidden) IsSuccess() bool
- func (o *HardwareModelQueryHardwareBrandsForbidden) String() string
- type HardwareModelQueryHardwareBrandsGatewayTimeout
- func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) Error() string
- func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) IsClientError() bool
- func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) IsServerError() bool
- func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) String() string
- type HardwareModelQueryHardwareBrandsInternalServerError
- func (o *HardwareModelQueryHardwareBrandsInternalServerError) Error() string
- func (o *HardwareModelQueryHardwareBrandsInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryHardwareBrandsInternalServerError) IsClientError() bool
- func (o *HardwareModelQueryHardwareBrandsInternalServerError) IsCode(code int) bool
- func (o *HardwareModelQueryHardwareBrandsInternalServerError) IsRedirect() bool
- func (o *HardwareModelQueryHardwareBrandsInternalServerError) IsServerError() bool
- func (o *HardwareModelQueryHardwareBrandsInternalServerError) IsSuccess() bool
- func (o *HardwareModelQueryHardwareBrandsInternalServerError) String() string
- type HardwareModelQueryHardwareBrandsOK
- func (o *HardwareModelQueryHardwareBrandsOK) Error() string
- func (o *HardwareModelQueryHardwareBrandsOK) GetPayload() *models.SysBrands
- func (o *HardwareModelQueryHardwareBrandsOK) IsClientError() bool
- func (o *HardwareModelQueryHardwareBrandsOK) IsCode(code int) bool
- func (o *HardwareModelQueryHardwareBrandsOK) IsRedirect() bool
- func (o *HardwareModelQueryHardwareBrandsOK) IsServerError() bool
- func (o *HardwareModelQueryHardwareBrandsOK) IsSuccess() bool
- func (o *HardwareModelQueryHardwareBrandsOK) String() string
- type HardwareModelQueryHardwareBrandsParams
- func NewHardwareModelQueryHardwareBrandsParams() *HardwareModelQueryHardwareBrandsParams
- func NewHardwareModelQueryHardwareBrandsParamsWithContext(ctx context.Context) *HardwareModelQueryHardwareBrandsParams
- func NewHardwareModelQueryHardwareBrandsParamsWithHTTPClient(client *http.Client) *HardwareModelQueryHardwareBrandsParams
- func NewHardwareModelQueryHardwareBrandsParamsWithTimeout(timeout time.Duration) *HardwareModelQueryHardwareBrandsParams
- func (o *HardwareModelQueryHardwareBrandsParams) SetContext(ctx context.Context)
- func (o *HardwareModelQueryHardwareBrandsParams) SetDefaults()
- func (o *HardwareModelQueryHardwareBrandsParams) SetEnterpriseID(enterpriseID *string)
- func (o *HardwareModelQueryHardwareBrandsParams) SetFilterNamePattern(filterNamePattern *string)
- func (o *HardwareModelQueryHardwareBrandsParams) SetFilterOriginType(filterOriginType *string)
- func (o *HardwareModelQueryHardwareBrandsParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelQueryHardwareBrandsParams) SetNextOrderBy(nextOrderBy []string)
- func (o *HardwareModelQueryHardwareBrandsParams) SetNextPageNum(nextPageNum *int64)
- func (o *HardwareModelQueryHardwareBrandsParams) SetNextPageSize(nextPageSize *int64)
- func (o *HardwareModelQueryHardwareBrandsParams) SetNextPageToken(nextPageToken *string)
- func (o *HardwareModelQueryHardwareBrandsParams) SetNextTotalPages(nextTotalPages *int64)
- func (o *HardwareModelQueryHardwareBrandsParams) SetSummary(summary *bool)
- func (o *HardwareModelQueryHardwareBrandsParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelQueryHardwareBrandsParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelQueryHardwareBrandsParams) WithContext(ctx context.Context) *HardwareModelQueryHardwareBrandsParams
- func (o *HardwareModelQueryHardwareBrandsParams) WithDefaults() *HardwareModelQueryHardwareBrandsParams
- func (o *HardwareModelQueryHardwareBrandsParams) WithEnterpriseID(enterpriseID *string) *HardwareModelQueryHardwareBrandsParams
- func (o *HardwareModelQueryHardwareBrandsParams) WithFilterNamePattern(filterNamePattern *string) *HardwareModelQueryHardwareBrandsParams
- func (o *HardwareModelQueryHardwareBrandsParams) WithFilterOriginType(filterOriginType *string) *HardwareModelQueryHardwareBrandsParams
- func (o *HardwareModelQueryHardwareBrandsParams) WithHTTPClient(client *http.Client) *HardwareModelQueryHardwareBrandsParams
- func (o *HardwareModelQueryHardwareBrandsParams) WithNextOrderBy(nextOrderBy []string) *HardwareModelQueryHardwareBrandsParams
- func (o *HardwareModelQueryHardwareBrandsParams) WithNextPageNum(nextPageNum *int64) *HardwareModelQueryHardwareBrandsParams
- func (o *HardwareModelQueryHardwareBrandsParams) WithNextPageSize(nextPageSize *int64) *HardwareModelQueryHardwareBrandsParams
- func (o *HardwareModelQueryHardwareBrandsParams) WithNextPageToken(nextPageToken *string) *HardwareModelQueryHardwareBrandsParams
- func (o *HardwareModelQueryHardwareBrandsParams) WithNextTotalPages(nextTotalPages *int64) *HardwareModelQueryHardwareBrandsParams
- func (o *HardwareModelQueryHardwareBrandsParams) WithSummary(summary *bool) *HardwareModelQueryHardwareBrandsParams
- func (o *HardwareModelQueryHardwareBrandsParams) WithTimeout(timeout time.Duration) *HardwareModelQueryHardwareBrandsParams
- func (o *HardwareModelQueryHardwareBrandsParams) WithXRequestID(xRequestID *string) *HardwareModelQueryHardwareBrandsParams
- func (o *HardwareModelQueryHardwareBrandsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelQueryHardwareBrandsReader
- type HardwareModelQueryHardwareBrandsUnauthorized
- func (o *HardwareModelQueryHardwareBrandsUnauthorized) Error() string
- func (o *HardwareModelQueryHardwareBrandsUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryHardwareBrandsUnauthorized) IsClientError() bool
- func (o *HardwareModelQueryHardwareBrandsUnauthorized) IsCode(code int) bool
- func (o *HardwareModelQueryHardwareBrandsUnauthorized) IsRedirect() bool
- func (o *HardwareModelQueryHardwareBrandsUnauthorized) IsServerError() bool
- func (o *HardwareModelQueryHardwareBrandsUnauthorized) IsSuccess() bool
- func (o *HardwareModelQueryHardwareBrandsUnauthorized) String() string
- type HardwareModelQueryHardwareModelsBadRequest
- func (o *HardwareModelQueryHardwareModelsBadRequest) Error() string
- func (o *HardwareModelQueryHardwareModelsBadRequest) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryHardwareModelsBadRequest) IsClientError() bool
- func (o *HardwareModelQueryHardwareModelsBadRequest) IsCode(code int) bool
- func (o *HardwareModelQueryHardwareModelsBadRequest) IsRedirect() bool
- func (o *HardwareModelQueryHardwareModelsBadRequest) IsServerError() bool
- func (o *HardwareModelQueryHardwareModelsBadRequest) IsSuccess() bool
- func (o *HardwareModelQueryHardwareModelsBadRequest) String() string
- type HardwareModelQueryHardwareModelsDefault
- func (o *HardwareModelQueryHardwareModelsDefault) Code() int
- func (o *HardwareModelQueryHardwareModelsDefault) Error() string
- func (o *HardwareModelQueryHardwareModelsDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelQueryHardwareModelsDefault) IsClientError() bool
- func (o *HardwareModelQueryHardwareModelsDefault) IsCode(code int) bool
- func (o *HardwareModelQueryHardwareModelsDefault) IsRedirect() bool
- func (o *HardwareModelQueryHardwareModelsDefault) IsServerError() bool
- func (o *HardwareModelQueryHardwareModelsDefault) IsSuccess() bool
- func (o *HardwareModelQueryHardwareModelsDefault) String() string
- type HardwareModelQueryHardwareModelsForbidden
- func (o *HardwareModelQueryHardwareModelsForbidden) Error() string
- func (o *HardwareModelQueryHardwareModelsForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryHardwareModelsForbidden) IsClientError() bool
- func (o *HardwareModelQueryHardwareModelsForbidden) IsCode(code int) bool
- func (o *HardwareModelQueryHardwareModelsForbidden) IsRedirect() bool
- func (o *HardwareModelQueryHardwareModelsForbidden) IsServerError() bool
- func (o *HardwareModelQueryHardwareModelsForbidden) IsSuccess() bool
- func (o *HardwareModelQueryHardwareModelsForbidden) String() string
- type HardwareModelQueryHardwareModelsGatewayTimeout
- func (o *HardwareModelQueryHardwareModelsGatewayTimeout) Error() string
- func (o *HardwareModelQueryHardwareModelsGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryHardwareModelsGatewayTimeout) IsClientError() bool
- func (o *HardwareModelQueryHardwareModelsGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelQueryHardwareModelsGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelQueryHardwareModelsGatewayTimeout) IsServerError() bool
- func (o *HardwareModelQueryHardwareModelsGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelQueryHardwareModelsGatewayTimeout) String() string
- type HardwareModelQueryHardwareModelsInternalServerError
- func (o *HardwareModelQueryHardwareModelsInternalServerError) Error() string
- func (o *HardwareModelQueryHardwareModelsInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryHardwareModelsInternalServerError) IsClientError() bool
- func (o *HardwareModelQueryHardwareModelsInternalServerError) IsCode(code int) bool
- func (o *HardwareModelQueryHardwareModelsInternalServerError) IsRedirect() bool
- func (o *HardwareModelQueryHardwareModelsInternalServerError) IsServerError() bool
- func (o *HardwareModelQueryHardwareModelsInternalServerError) IsSuccess() bool
- func (o *HardwareModelQueryHardwareModelsInternalServerError) String() string
- type HardwareModelQueryHardwareModelsOK
- func (o *HardwareModelQueryHardwareModelsOK) Error() string
- func (o *HardwareModelQueryHardwareModelsOK) GetPayload() *models.SysModels
- func (o *HardwareModelQueryHardwareModelsOK) IsClientError() bool
- func (o *HardwareModelQueryHardwareModelsOK) IsCode(code int) bool
- func (o *HardwareModelQueryHardwareModelsOK) IsRedirect() bool
- func (o *HardwareModelQueryHardwareModelsOK) IsServerError() bool
- func (o *HardwareModelQueryHardwareModelsOK) IsSuccess() bool
- func (o *HardwareModelQueryHardwareModelsOK) String() string
- type HardwareModelQueryHardwareModelsParams
- func NewHardwareModelQueryHardwareModelsParams() *HardwareModelQueryHardwareModelsParams
- func NewHardwareModelQueryHardwareModelsParamsWithContext(ctx context.Context) *HardwareModelQueryHardwareModelsParams
- func NewHardwareModelQueryHardwareModelsParamsWithHTTPClient(client *http.Client) *HardwareModelQueryHardwareModelsParams
- func NewHardwareModelQueryHardwareModelsParamsWithTimeout(timeout time.Duration) *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) SetContext(ctx context.Context)
- func (o *HardwareModelQueryHardwareModelsParams) SetDefaults()
- func (o *HardwareModelQueryHardwareModelsParams) SetFilterBrandID(filterBrandID *string)
- func (o *HardwareModelQueryHardwareModelsParams) SetFilterBrandIds(filterBrandIds []string)
- func (o *HardwareModelQueryHardwareModelsParams) SetFilterNamePattern(filterNamePattern *string)
- func (o *HardwareModelQueryHardwareModelsParams) SetFilterOriginType(filterOriginType *string)
- func (o *HardwareModelQueryHardwareModelsParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelQueryHardwareModelsParams) SetNextOrderBy(nextOrderBy []string)
- func (o *HardwareModelQueryHardwareModelsParams) SetNextPageNum(nextPageNum *int64)
- func (o *HardwareModelQueryHardwareModelsParams) SetNextPageSize(nextPageSize *int64)
- func (o *HardwareModelQueryHardwareModelsParams) SetNextPageToken(nextPageToken *string)
- func (o *HardwareModelQueryHardwareModelsParams) SetNextTotalPages(nextTotalPages *int64)
- func (o *HardwareModelQueryHardwareModelsParams) SetSummary(summary *bool)
- func (o *HardwareModelQueryHardwareModelsParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelQueryHardwareModelsParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelQueryHardwareModelsParams) WithContext(ctx context.Context) *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) WithDefaults() *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) WithFilterBrandID(filterBrandID *string) *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) WithFilterBrandIds(filterBrandIds []string) *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) WithFilterNamePattern(filterNamePattern *string) *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) WithFilterOriginType(filterOriginType *string) *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) WithHTTPClient(client *http.Client) *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) WithNextOrderBy(nextOrderBy []string) *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) WithNextPageNum(nextPageNum *int64) *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) WithNextPageSize(nextPageSize *int64) *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) WithNextPageToken(nextPageToken *string) *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) WithNextTotalPages(nextTotalPages *int64) *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) WithSummary(summary *bool) *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) WithTimeout(timeout time.Duration) *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) WithXRequestID(xRequestID *string) *HardwareModelQueryHardwareModelsParams
- func (o *HardwareModelQueryHardwareModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelQueryHardwareModelsReader
- type HardwareModelQueryHardwareModelsUnauthorized
- func (o *HardwareModelQueryHardwareModelsUnauthorized) Error() string
- func (o *HardwareModelQueryHardwareModelsUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelQueryHardwareModelsUnauthorized) IsClientError() bool
- func (o *HardwareModelQueryHardwareModelsUnauthorized) IsCode(code int) bool
- func (o *HardwareModelQueryHardwareModelsUnauthorized) IsRedirect() bool
- func (o *HardwareModelQueryHardwareModelsUnauthorized) IsServerError() bool
- func (o *HardwareModelQueryHardwareModelsUnauthorized) IsSuccess() bool
- func (o *HardwareModelQueryHardwareModelsUnauthorized) String() string
- type HardwareModelUpdateHardwareBrandBody
- func (o *HardwareModelUpdateHardwareBrandBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *HardwareModelUpdateHardwareBrandBody) MarshalBinary() ([]byte, error)
- func (o *HardwareModelUpdateHardwareBrandBody) UnmarshalBinary(b []byte) error
- func (o *HardwareModelUpdateHardwareBrandBody) Validate(formats strfmt.Registry) error
- type HardwareModelUpdateHardwareBrandConflict
- func (o *HardwareModelUpdateHardwareBrandConflict) Error() string
- func (o *HardwareModelUpdateHardwareBrandConflict) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelUpdateHardwareBrandConflict) IsClientError() bool
- func (o *HardwareModelUpdateHardwareBrandConflict) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareBrandConflict) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareBrandConflict) IsServerError() bool
- func (o *HardwareModelUpdateHardwareBrandConflict) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareBrandConflict) String() string
- type HardwareModelUpdateHardwareBrandDefault
- func (o *HardwareModelUpdateHardwareBrandDefault) Code() int
- func (o *HardwareModelUpdateHardwareBrandDefault) Error() string
- func (o *HardwareModelUpdateHardwareBrandDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelUpdateHardwareBrandDefault) IsClientError() bool
- func (o *HardwareModelUpdateHardwareBrandDefault) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareBrandDefault) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareBrandDefault) IsServerError() bool
- func (o *HardwareModelUpdateHardwareBrandDefault) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareBrandDefault) String() string
- type HardwareModelUpdateHardwareBrandForbidden
- func (o *HardwareModelUpdateHardwareBrandForbidden) Error() string
- func (o *HardwareModelUpdateHardwareBrandForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelUpdateHardwareBrandForbidden) IsClientError() bool
- func (o *HardwareModelUpdateHardwareBrandForbidden) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareBrandForbidden) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareBrandForbidden) IsServerError() bool
- func (o *HardwareModelUpdateHardwareBrandForbidden) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareBrandForbidden) String() string
- type HardwareModelUpdateHardwareBrandGatewayTimeout
- func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) Error() string
- func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) IsClientError() bool
- func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) IsServerError() bool
- func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) String() string
- type HardwareModelUpdateHardwareBrandInternalServerError
- func (o *HardwareModelUpdateHardwareBrandInternalServerError) Error() string
- func (o *HardwareModelUpdateHardwareBrandInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelUpdateHardwareBrandInternalServerError) IsClientError() bool
- func (o *HardwareModelUpdateHardwareBrandInternalServerError) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareBrandInternalServerError) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareBrandInternalServerError) IsServerError() bool
- func (o *HardwareModelUpdateHardwareBrandInternalServerError) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareBrandInternalServerError) String() string
- type HardwareModelUpdateHardwareBrandNotFound
- func (o *HardwareModelUpdateHardwareBrandNotFound) Error() string
- func (o *HardwareModelUpdateHardwareBrandNotFound) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelUpdateHardwareBrandNotFound) IsClientError() bool
- func (o *HardwareModelUpdateHardwareBrandNotFound) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareBrandNotFound) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareBrandNotFound) IsServerError() bool
- func (o *HardwareModelUpdateHardwareBrandNotFound) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareBrandNotFound) String() string
- type HardwareModelUpdateHardwareBrandOK
- func (o *HardwareModelUpdateHardwareBrandOK) Error() string
- func (o *HardwareModelUpdateHardwareBrandOK) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelUpdateHardwareBrandOK) IsClientError() bool
- func (o *HardwareModelUpdateHardwareBrandOK) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareBrandOK) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareBrandOK) IsServerError() bool
- func (o *HardwareModelUpdateHardwareBrandOK) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareBrandOK) String() string
- type HardwareModelUpdateHardwareBrandParams
- func NewHardwareModelUpdateHardwareBrandParams() *HardwareModelUpdateHardwareBrandParams
- func NewHardwareModelUpdateHardwareBrandParamsWithContext(ctx context.Context) *HardwareModelUpdateHardwareBrandParams
- func NewHardwareModelUpdateHardwareBrandParamsWithHTTPClient(client *http.Client) *HardwareModelUpdateHardwareBrandParams
- func NewHardwareModelUpdateHardwareBrandParamsWithTimeout(timeout time.Duration) *HardwareModelUpdateHardwareBrandParams
- func (o *HardwareModelUpdateHardwareBrandParams) SetBody(body HardwareModelUpdateHardwareBrandBody)
- func (o *HardwareModelUpdateHardwareBrandParams) SetContext(ctx context.Context)
- func (o *HardwareModelUpdateHardwareBrandParams) SetDefaults()
- func (o *HardwareModelUpdateHardwareBrandParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelUpdateHardwareBrandParams) SetID(id string)
- func (o *HardwareModelUpdateHardwareBrandParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelUpdateHardwareBrandParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelUpdateHardwareBrandParams) WithBody(body HardwareModelUpdateHardwareBrandBody) *HardwareModelUpdateHardwareBrandParams
- func (o *HardwareModelUpdateHardwareBrandParams) WithContext(ctx context.Context) *HardwareModelUpdateHardwareBrandParams
- func (o *HardwareModelUpdateHardwareBrandParams) WithDefaults() *HardwareModelUpdateHardwareBrandParams
- func (o *HardwareModelUpdateHardwareBrandParams) WithHTTPClient(client *http.Client) *HardwareModelUpdateHardwareBrandParams
- func (o *HardwareModelUpdateHardwareBrandParams) WithID(id string) *HardwareModelUpdateHardwareBrandParams
- func (o *HardwareModelUpdateHardwareBrandParams) WithTimeout(timeout time.Duration) *HardwareModelUpdateHardwareBrandParams
- func (o *HardwareModelUpdateHardwareBrandParams) WithXRequestID(xRequestID *string) *HardwareModelUpdateHardwareBrandParams
- func (o *HardwareModelUpdateHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelUpdateHardwareBrandReader
- type HardwareModelUpdateHardwareBrandUnauthorized
- func (o *HardwareModelUpdateHardwareBrandUnauthorized) Error() string
- func (o *HardwareModelUpdateHardwareBrandUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelUpdateHardwareBrandUnauthorized) IsClientError() bool
- func (o *HardwareModelUpdateHardwareBrandUnauthorized) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareBrandUnauthorized) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareBrandUnauthorized) IsServerError() bool
- func (o *HardwareModelUpdateHardwareBrandUnauthorized) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareBrandUnauthorized) String() string
- type HardwareModelUpdateHardwareModelBody
- func (o *HardwareModelUpdateHardwareModelBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *HardwareModelUpdateHardwareModelBody) MarshalBinary() ([]byte, error)
- func (o *HardwareModelUpdateHardwareModelBody) UnmarshalBinary(b []byte) error
- func (o *HardwareModelUpdateHardwareModelBody) Validate(formats strfmt.Registry) error
- type HardwareModelUpdateHardwareModelConflict
- func (o *HardwareModelUpdateHardwareModelConflict) Error() string
- func (o *HardwareModelUpdateHardwareModelConflict) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelUpdateHardwareModelConflict) IsClientError() bool
- func (o *HardwareModelUpdateHardwareModelConflict) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareModelConflict) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareModelConflict) IsServerError() bool
- func (o *HardwareModelUpdateHardwareModelConflict) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareModelConflict) String() string
- type HardwareModelUpdateHardwareModelDefault
- func (o *HardwareModelUpdateHardwareModelDefault) Code() int
- func (o *HardwareModelUpdateHardwareModelDefault) Error() string
- func (o *HardwareModelUpdateHardwareModelDefault) GetPayload() *models.GooglerpcStatus
- func (o *HardwareModelUpdateHardwareModelDefault) IsClientError() bool
- func (o *HardwareModelUpdateHardwareModelDefault) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareModelDefault) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareModelDefault) IsServerError() bool
- func (o *HardwareModelUpdateHardwareModelDefault) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareModelDefault) String() string
- type HardwareModelUpdateHardwareModelForbidden
- func (o *HardwareModelUpdateHardwareModelForbidden) Error() string
- func (o *HardwareModelUpdateHardwareModelForbidden) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelUpdateHardwareModelForbidden) IsClientError() bool
- func (o *HardwareModelUpdateHardwareModelForbidden) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareModelForbidden) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareModelForbidden) IsServerError() bool
- func (o *HardwareModelUpdateHardwareModelForbidden) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareModelForbidden) String() string
- type HardwareModelUpdateHardwareModelGatewayTimeout
- func (o *HardwareModelUpdateHardwareModelGatewayTimeout) Error() string
- func (o *HardwareModelUpdateHardwareModelGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelUpdateHardwareModelGatewayTimeout) IsClientError() bool
- func (o *HardwareModelUpdateHardwareModelGatewayTimeout) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareModelGatewayTimeout) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareModelGatewayTimeout) IsServerError() bool
- func (o *HardwareModelUpdateHardwareModelGatewayTimeout) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareModelGatewayTimeout) String() string
- type HardwareModelUpdateHardwareModelInternalServerError
- func (o *HardwareModelUpdateHardwareModelInternalServerError) Error() string
- func (o *HardwareModelUpdateHardwareModelInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelUpdateHardwareModelInternalServerError) IsClientError() bool
- func (o *HardwareModelUpdateHardwareModelInternalServerError) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareModelInternalServerError) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareModelInternalServerError) IsServerError() bool
- func (o *HardwareModelUpdateHardwareModelInternalServerError) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareModelInternalServerError) String() string
- type HardwareModelUpdateHardwareModelNotFound
- func (o *HardwareModelUpdateHardwareModelNotFound) Error() string
- func (o *HardwareModelUpdateHardwareModelNotFound) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelUpdateHardwareModelNotFound) IsClientError() bool
- func (o *HardwareModelUpdateHardwareModelNotFound) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareModelNotFound) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareModelNotFound) IsServerError() bool
- func (o *HardwareModelUpdateHardwareModelNotFound) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareModelNotFound) String() string
- type HardwareModelUpdateHardwareModelOK
- func (o *HardwareModelUpdateHardwareModelOK) Error() string
- func (o *HardwareModelUpdateHardwareModelOK) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelUpdateHardwareModelOK) IsClientError() bool
- func (o *HardwareModelUpdateHardwareModelOK) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareModelOK) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareModelOK) IsServerError() bool
- func (o *HardwareModelUpdateHardwareModelOK) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareModelOK) String() string
- type HardwareModelUpdateHardwareModelParams
- func NewHardwareModelUpdateHardwareModelParams() *HardwareModelUpdateHardwareModelParams
- func NewHardwareModelUpdateHardwareModelParamsWithContext(ctx context.Context) *HardwareModelUpdateHardwareModelParams
- func NewHardwareModelUpdateHardwareModelParamsWithHTTPClient(client *http.Client) *HardwareModelUpdateHardwareModelParams
- func NewHardwareModelUpdateHardwareModelParamsWithTimeout(timeout time.Duration) *HardwareModelUpdateHardwareModelParams
- func (o *HardwareModelUpdateHardwareModelParams) SetBody(body HardwareModelUpdateHardwareModelBody)
- func (o *HardwareModelUpdateHardwareModelParams) SetContext(ctx context.Context)
- func (o *HardwareModelUpdateHardwareModelParams) SetDefaults()
- func (o *HardwareModelUpdateHardwareModelParams) SetHTTPClient(client *http.Client)
- func (o *HardwareModelUpdateHardwareModelParams) SetID(id string)
- func (o *HardwareModelUpdateHardwareModelParams) SetTimeout(timeout time.Duration)
- func (o *HardwareModelUpdateHardwareModelParams) SetXRequestID(xRequestID *string)
- func (o *HardwareModelUpdateHardwareModelParams) WithBody(body HardwareModelUpdateHardwareModelBody) *HardwareModelUpdateHardwareModelParams
- func (o *HardwareModelUpdateHardwareModelParams) WithContext(ctx context.Context) *HardwareModelUpdateHardwareModelParams
- func (o *HardwareModelUpdateHardwareModelParams) WithDefaults() *HardwareModelUpdateHardwareModelParams
- func (o *HardwareModelUpdateHardwareModelParams) WithHTTPClient(client *http.Client) *HardwareModelUpdateHardwareModelParams
- func (o *HardwareModelUpdateHardwareModelParams) WithID(id string) *HardwareModelUpdateHardwareModelParams
- func (o *HardwareModelUpdateHardwareModelParams) WithTimeout(timeout time.Duration) *HardwareModelUpdateHardwareModelParams
- func (o *HardwareModelUpdateHardwareModelParams) WithXRequestID(xRequestID *string) *HardwareModelUpdateHardwareModelParams
- func (o *HardwareModelUpdateHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HardwareModelUpdateHardwareModelReader
- type HardwareModelUpdateHardwareModelUnauthorized
- func (o *HardwareModelUpdateHardwareModelUnauthorized) Error() string
- func (o *HardwareModelUpdateHardwareModelUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *HardwareModelUpdateHardwareModelUnauthorized) IsClientError() bool
- func (o *HardwareModelUpdateHardwareModelUnauthorized) IsCode(code int) bool
- func (o *HardwareModelUpdateHardwareModelUnauthorized) IsRedirect() bool
- func (o *HardwareModelUpdateHardwareModelUnauthorized) IsServerError() bool
- func (o *HardwareModelUpdateHardwareModelUnauthorized) IsSuccess() bool
- func (o *HardwareModelUpdateHardwareModelUnauthorized) String() string
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) HardwareModelCreateHardwareBrand ¶
func (a *Client) HardwareModelCreateHardwareBrand(params *HardwareModelCreateHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelCreateHardwareBrandOK, error)
HardwareModelCreateHardwareBrand creates hardware brand
Create a hardware brand record.
func (*Client) HardwareModelCreateHardwareModel ¶
func (a *Client) HardwareModelCreateHardwareModel(params *HardwareModelCreateHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelCreateHardwareModelOK, error)
HardwareModelCreateHardwareModel creates hardware model
Create a hardware model record.
func (*Client) HardwareModelDeleteHardwareBrand ¶
func (a *Client) HardwareModelDeleteHardwareBrand(params *HardwareModelDeleteHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelDeleteHardwareBrandOK, error)
HardwareModelDeleteHardwareBrand deletes hardware brand
Delete a hardware brand record.
func (*Client) HardwareModelDeleteHardwareModel ¶
func (a *Client) HardwareModelDeleteHardwareModel(params *HardwareModelDeleteHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelDeleteHardwareModelOK, error)
HardwareModelDeleteHardwareModel deletes hardware model
Delete a hardware model record.
func (*Client) HardwareModelGetDeviceStatusConfig ¶
func (a *Client) HardwareModelGetDeviceStatusConfig(params *HardwareModelGetDeviceStatusConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetDeviceStatusConfigOK, error)
HardwareModelGetDeviceStatusConfig queries device status and config
Device status config API is a composite API for device config and device status
func (*Client) HardwareModelGetDeviceStatusLocation ¶
func (a *Client) HardwareModelGetDeviceStatusLocation(params *HardwareModelGetDeviceStatusLocationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetDeviceStatusLocationOK, error)
HardwareModelGetDeviceStatusLocation queries device status location
Query device status locations
func (*Client) HardwareModelGetDeviceTags ¶
func (a *Client) HardwareModelGetDeviceTags(params *HardwareModelGetDeviceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetDeviceTagsOK, error)
HardwareModelGetDeviceTags queries device object tag key values
Query device object tag key-values
func (*Client) HardwareModelGetGlobalHardwareBrand ¶
func (a *Client) HardwareModelGetGlobalHardwareBrand(params *HardwareModelGetGlobalHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetGlobalHardwareBrandOK, error)
HardwareModelGetGlobalHardwareBrand gets global hardware brand
Get the configuration (without security details) of a global hardware brand record.
func (*Client) HardwareModelGetGlobalHardwareBrandByName ¶
func (a *Client) HardwareModelGetGlobalHardwareBrandByName(params *HardwareModelGetGlobalHardwareBrandByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetGlobalHardwareBrandByNameOK, error)
HardwareModelGetGlobalHardwareBrandByName gets global hardware brand
Get the configuration (without security details) of a global hardware brand record.
func (*Client) HardwareModelGetGlobalHardwareModel ¶
func (a *Client) HardwareModelGetGlobalHardwareModel(params *HardwareModelGetGlobalHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetGlobalHardwareModelOK, error)
HardwareModelGetGlobalHardwareModel gets global hardware model
Get the configuration (without security details) of a global hardware model record.
func (*Client) HardwareModelGetGlobalHardwareModelByName ¶
func (a *Client) HardwareModelGetGlobalHardwareModelByName(params *HardwareModelGetGlobalHardwareModelByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetGlobalHardwareModelByNameOK, error)
HardwareModelGetGlobalHardwareModelByName gets global hardware model
Get the configuration (without security details) of a global hardware model record.
func (*Client) HardwareModelGetHardwareBrand ¶
func (a *Client) HardwareModelGetHardwareBrand(params *HardwareModelGetHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetHardwareBrandOK, error)
HardwareModelGetHardwareBrand gets hardware brand
Get the configuration (without security details) of a hardware brand record.
func (*Client) HardwareModelGetHardwareBrandByName ¶
func (a *Client) HardwareModelGetHardwareBrandByName(params *HardwareModelGetHardwareBrandByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetHardwareBrandByNameOK, error)
HardwareModelGetHardwareBrandByName gets hardware brand
Get the configuration (without security details) of a hardware brand record.
func (*Client) HardwareModelGetHardwareModel ¶
func (a *Client) HardwareModelGetHardwareModel(params *HardwareModelGetHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetHardwareModelOK, error)
HardwareModelGetHardwareModel gets hardware model
Get the configuration (without security details) of a hardware model record.
func (*Client) HardwareModelGetHardwareModelByName ¶
func (a *Client) HardwareModelGetHardwareModelByName(params *HardwareModelGetHardwareModelByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetHardwareModelByNameOK, error)
HardwareModelGetHardwareModelByName gets hardware model
Get the configuration (without security details) of a hardware model record.
func (*Client) HardwareModelQueryGlobalHardwareBrands ¶
func (a *Client) HardwareModelQueryGlobalHardwareBrands(params *HardwareModelQueryGlobalHardwareBrandsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelQueryGlobalHardwareBrandsOK, error)
HardwareModelQueryGlobalHardwareBrands queries global hardware brands
Query the global hardware brand records.
func (*Client) HardwareModelQueryGlobalHardwareModels ¶
func (a *Client) HardwareModelQueryGlobalHardwareModels(params *HardwareModelQueryGlobalHardwareModelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelQueryGlobalHardwareModelsOK, error)
HardwareModelQueryGlobalHardwareModels queries global hardware models
Query the global hardware model records.
func (*Client) HardwareModelQueryHardwareBrands ¶
func (a *Client) HardwareModelQueryHardwareBrands(params *HardwareModelQueryHardwareBrandsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelQueryHardwareBrandsOK, error)
HardwareModelQueryHardwareBrands queries hardware brands
Query the hardware brand records.
func (*Client) HardwareModelQueryHardwareModels ¶
func (a *Client) HardwareModelQueryHardwareModels(params *HardwareModelQueryHardwareModelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelQueryHardwareModelsOK, error)
HardwareModelQueryHardwareModels queries hardware models
Query the hardware model records.
func (*Client) HardwareModelUpdateHardwareBrand ¶
func (a *Client) HardwareModelUpdateHardwareBrand(params *HardwareModelUpdateHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelUpdateHardwareBrandOK, error)
HardwareModelUpdateHardwareBrand 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) HardwareModelUpdateHardwareModel ¶
func (a *Client) HardwareModelUpdateHardwareModel(params *HardwareModelUpdateHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelUpdateHardwareModelOK, error)
HardwareModelUpdateHardwareModel 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.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { HardwareModelCreateHardwareBrand(params *HardwareModelCreateHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelCreateHardwareBrandOK, error) HardwareModelCreateHardwareModel(params *HardwareModelCreateHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelCreateHardwareModelOK, error) HardwareModelDeleteHardwareBrand(params *HardwareModelDeleteHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelDeleteHardwareBrandOK, error) HardwareModelDeleteHardwareModel(params *HardwareModelDeleteHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelDeleteHardwareModelOK, error) HardwareModelGetDeviceStatusConfig(params *HardwareModelGetDeviceStatusConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetDeviceStatusConfigOK, error) HardwareModelGetDeviceStatusLocation(params *HardwareModelGetDeviceStatusLocationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetDeviceStatusLocationOK, error) HardwareModelGetDeviceTags(params *HardwareModelGetDeviceTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetDeviceTagsOK, error) HardwareModelGetGlobalHardwareBrand(params *HardwareModelGetGlobalHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetGlobalHardwareBrandOK, error) HardwareModelGetGlobalHardwareBrandByName(params *HardwareModelGetGlobalHardwareBrandByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetGlobalHardwareBrandByNameOK, error) HardwareModelGetGlobalHardwareModel(params *HardwareModelGetGlobalHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetGlobalHardwareModelOK, error) HardwareModelGetGlobalHardwareModelByName(params *HardwareModelGetGlobalHardwareModelByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetGlobalHardwareModelByNameOK, error) HardwareModelGetHardwareBrand(params *HardwareModelGetHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetHardwareBrandOK, error) HardwareModelGetHardwareBrandByName(params *HardwareModelGetHardwareBrandByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetHardwareBrandByNameOK, error) HardwareModelGetHardwareModel(params *HardwareModelGetHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetHardwareModelOK, error) HardwareModelGetHardwareModelByName(params *HardwareModelGetHardwareModelByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelGetHardwareModelByNameOK, error) HardwareModelQueryGlobalHardwareBrands(params *HardwareModelQueryGlobalHardwareBrandsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelQueryGlobalHardwareBrandsOK, error) HardwareModelQueryGlobalHardwareModels(params *HardwareModelQueryGlobalHardwareModelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelQueryGlobalHardwareModelsOK, error) HardwareModelQueryHardwareBrands(params *HardwareModelQueryHardwareBrandsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelQueryHardwareBrandsOK, error) HardwareModelQueryHardwareModels(params *HardwareModelQueryHardwareModelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelQueryHardwareModelsOK, error) HardwareModelUpdateHardwareBrand(params *HardwareModelUpdateHardwareBrandParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelUpdateHardwareBrandOK, error) HardwareModelUpdateHardwareModel(params *HardwareModelUpdateHardwareModelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HardwareModelUpdateHardwareModelOK, 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 HardwareModelCreateHardwareBrandBadRequest ¶
type HardwareModelCreateHardwareBrandBadRequest struct {
Payload *models.ZsrvResponse
}
HardwareModelCreateHardwareBrandBadRequest 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 NewHardwareModelCreateHardwareBrandBadRequest ¶
func NewHardwareModelCreateHardwareBrandBadRequest() *HardwareModelCreateHardwareBrandBadRequest
NewHardwareModelCreateHardwareBrandBadRequest creates a HardwareModelCreateHardwareBrandBadRequest with default headers values
func (*HardwareModelCreateHardwareBrandBadRequest) Error ¶
func (o *HardwareModelCreateHardwareBrandBadRequest) Error() string
func (*HardwareModelCreateHardwareBrandBadRequest) GetPayload ¶
func (o *HardwareModelCreateHardwareBrandBadRequest) GetPayload() *models.ZsrvResponse
func (*HardwareModelCreateHardwareBrandBadRequest) IsClientError ¶
func (o *HardwareModelCreateHardwareBrandBadRequest) IsClientError() bool
IsClientError returns true when this hardware model create hardware brand bad request response has a 4xx status code
func (*HardwareModelCreateHardwareBrandBadRequest) IsCode ¶
func (o *HardwareModelCreateHardwareBrandBadRequest) IsCode(code int) bool
IsCode returns true when this hardware model create hardware brand bad request response a status code equal to that given
func (*HardwareModelCreateHardwareBrandBadRequest) IsRedirect ¶
func (o *HardwareModelCreateHardwareBrandBadRequest) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware brand bad request response has a 3xx status code
func (*HardwareModelCreateHardwareBrandBadRequest) IsServerError ¶
func (o *HardwareModelCreateHardwareBrandBadRequest) IsServerError() bool
IsServerError returns true when this hardware model create hardware brand bad request response has a 5xx status code
func (*HardwareModelCreateHardwareBrandBadRequest) IsSuccess ¶
func (o *HardwareModelCreateHardwareBrandBadRequest) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware brand bad request response has a 2xx status code
func (*HardwareModelCreateHardwareBrandBadRequest) String ¶
func (o *HardwareModelCreateHardwareBrandBadRequest) String() string
type HardwareModelCreateHardwareBrandConflict ¶
type HardwareModelCreateHardwareBrandConflict struct {
Payload *models.ZsrvResponse
}
HardwareModelCreateHardwareBrandConflict 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 NewHardwareModelCreateHardwareBrandConflict ¶
func NewHardwareModelCreateHardwareBrandConflict() *HardwareModelCreateHardwareBrandConflict
NewHardwareModelCreateHardwareBrandConflict creates a HardwareModelCreateHardwareBrandConflict with default headers values
func (*HardwareModelCreateHardwareBrandConflict) Error ¶
func (o *HardwareModelCreateHardwareBrandConflict) Error() string
func (*HardwareModelCreateHardwareBrandConflict) GetPayload ¶
func (o *HardwareModelCreateHardwareBrandConflict) GetPayload() *models.ZsrvResponse
func (*HardwareModelCreateHardwareBrandConflict) IsClientError ¶
func (o *HardwareModelCreateHardwareBrandConflict) IsClientError() bool
IsClientError returns true when this hardware model create hardware brand conflict response has a 4xx status code
func (*HardwareModelCreateHardwareBrandConflict) IsCode ¶
func (o *HardwareModelCreateHardwareBrandConflict) IsCode(code int) bool
IsCode returns true when this hardware model create hardware brand conflict response a status code equal to that given
func (*HardwareModelCreateHardwareBrandConflict) IsRedirect ¶
func (o *HardwareModelCreateHardwareBrandConflict) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware brand conflict response has a 3xx status code
func (*HardwareModelCreateHardwareBrandConflict) IsServerError ¶
func (o *HardwareModelCreateHardwareBrandConflict) IsServerError() bool
IsServerError returns true when this hardware model create hardware brand conflict response has a 5xx status code
func (*HardwareModelCreateHardwareBrandConflict) IsSuccess ¶
func (o *HardwareModelCreateHardwareBrandConflict) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware brand conflict response has a 2xx status code
func (*HardwareModelCreateHardwareBrandConflict) String ¶
func (o *HardwareModelCreateHardwareBrandConflict) String() string
type HardwareModelCreateHardwareBrandDefault ¶
type HardwareModelCreateHardwareBrandDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelCreateHardwareBrandDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelCreateHardwareBrandDefault ¶
func NewHardwareModelCreateHardwareBrandDefault(code int) *HardwareModelCreateHardwareBrandDefault
NewHardwareModelCreateHardwareBrandDefault creates a HardwareModelCreateHardwareBrandDefault with default headers values
func (*HardwareModelCreateHardwareBrandDefault) Code ¶
func (o *HardwareModelCreateHardwareBrandDefault) Code() int
Code gets the status code for the hardware model create hardware brand default response
func (*HardwareModelCreateHardwareBrandDefault) Error ¶
func (o *HardwareModelCreateHardwareBrandDefault) Error() string
func (*HardwareModelCreateHardwareBrandDefault) GetPayload ¶
func (o *HardwareModelCreateHardwareBrandDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelCreateHardwareBrandDefault) IsClientError ¶
func (o *HardwareModelCreateHardwareBrandDefault) IsClientError() bool
IsClientError returns true when this hardware model create hardware brand default response has a 4xx status code
func (*HardwareModelCreateHardwareBrandDefault) IsCode ¶
func (o *HardwareModelCreateHardwareBrandDefault) IsCode(code int) bool
IsCode returns true when this hardware model create hardware brand default response a status code equal to that given
func (*HardwareModelCreateHardwareBrandDefault) IsRedirect ¶
func (o *HardwareModelCreateHardwareBrandDefault) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware brand default response has a 3xx status code
func (*HardwareModelCreateHardwareBrandDefault) IsServerError ¶
func (o *HardwareModelCreateHardwareBrandDefault) IsServerError() bool
IsServerError returns true when this hardware model create hardware brand default response has a 5xx status code
func (*HardwareModelCreateHardwareBrandDefault) IsSuccess ¶
func (o *HardwareModelCreateHardwareBrandDefault) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware brand default response has a 2xx status code
func (*HardwareModelCreateHardwareBrandDefault) String ¶
func (o *HardwareModelCreateHardwareBrandDefault) String() string
type HardwareModelCreateHardwareBrandForbidden ¶
type HardwareModelCreateHardwareBrandForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelCreateHardwareBrandForbidden 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 NewHardwareModelCreateHardwareBrandForbidden ¶
func NewHardwareModelCreateHardwareBrandForbidden() *HardwareModelCreateHardwareBrandForbidden
NewHardwareModelCreateHardwareBrandForbidden creates a HardwareModelCreateHardwareBrandForbidden with default headers values
func (*HardwareModelCreateHardwareBrandForbidden) Error ¶
func (o *HardwareModelCreateHardwareBrandForbidden) Error() string
func (*HardwareModelCreateHardwareBrandForbidden) GetPayload ¶
func (o *HardwareModelCreateHardwareBrandForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelCreateHardwareBrandForbidden) IsClientError ¶
func (o *HardwareModelCreateHardwareBrandForbidden) IsClientError() bool
IsClientError returns true when this hardware model create hardware brand forbidden response has a 4xx status code
func (*HardwareModelCreateHardwareBrandForbidden) IsCode ¶
func (o *HardwareModelCreateHardwareBrandForbidden) IsCode(code int) bool
IsCode returns true when this hardware model create hardware brand forbidden response a status code equal to that given
func (*HardwareModelCreateHardwareBrandForbidden) IsRedirect ¶
func (o *HardwareModelCreateHardwareBrandForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware brand forbidden response has a 3xx status code
func (*HardwareModelCreateHardwareBrandForbidden) IsServerError ¶
func (o *HardwareModelCreateHardwareBrandForbidden) IsServerError() bool
IsServerError returns true when this hardware model create hardware brand forbidden response has a 5xx status code
func (*HardwareModelCreateHardwareBrandForbidden) IsSuccess ¶
func (o *HardwareModelCreateHardwareBrandForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware brand forbidden response has a 2xx status code
func (*HardwareModelCreateHardwareBrandForbidden) String ¶
func (o *HardwareModelCreateHardwareBrandForbidden) String() string
type HardwareModelCreateHardwareBrandGatewayTimeout ¶
type HardwareModelCreateHardwareBrandGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelCreateHardwareBrandGatewayTimeout 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 NewHardwareModelCreateHardwareBrandGatewayTimeout ¶
func NewHardwareModelCreateHardwareBrandGatewayTimeout() *HardwareModelCreateHardwareBrandGatewayTimeout
NewHardwareModelCreateHardwareBrandGatewayTimeout creates a HardwareModelCreateHardwareBrandGatewayTimeout with default headers values
func (*HardwareModelCreateHardwareBrandGatewayTimeout) Error ¶
func (o *HardwareModelCreateHardwareBrandGatewayTimeout) Error() string
func (*HardwareModelCreateHardwareBrandGatewayTimeout) GetPayload ¶
func (o *HardwareModelCreateHardwareBrandGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelCreateHardwareBrandGatewayTimeout) IsClientError ¶
func (o *HardwareModelCreateHardwareBrandGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model create hardware brand gateway timeout response has a 4xx status code
func (*HardwareModelCreateHardwareBrandGatewayTimeout) IsCode ¶
func (o *HardwareModelCreateHardwareBrandGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model create hardware brand gateway timeout response a status code equal to that given
func (*HardwareModelCreateHardwareBrandGatewayTimeout) IsRedirect ¶
func (o *HardwareModelCreateHardwareBrandGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware brand gateway timeout response has a 3xx status code
func (*HardwareModelCreateHardwareBrandGatewayTimeout) IsServerError ¶
func (o *HardwareModelCreateHardwareBrandGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model create hardware brand gateway timeout response has a 5xx status code
func (*HardwareModelCreateHardwareBrandGatewayTimeout) IsSuccess ¶
func (o *HardwareModelCreateHardwareBrandGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware brand gateway timeout response has a 2xx status code
func (*HardwareModelCreateHardwareBrandGatewayTimeout) String ¶
func (o *HardwareModelCreateHardwareBrandGatewayTimeout) String() string
type HardwareModelCreateHardwareBrandInternalServerError ¶
type HardwareModelCreateHardwareBrandInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelCreateHardwareBrandInternalServerError 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 NewHardwareModelCreateHardwareBrandInternalServerError ¶
func NewHardwareModelCreateHardwareBrandInternalServerError() *HardwareModelCreateHardwareBrandInternalServerError
NewHardwareModelCreateHardwareBrandInternalServerError creates a HardwareModelCreateHardwareBrandInternalServerError with default headers values
func (*HardwareModelCreateHardwareBrandInternalServerError) Error ¶
func (o *HardwareModelCreateHardwareBrandInternalServerError) Error() string
func (*HardwareModelCreateHardwareBrandInternalServerError) GetPayload ¶
func (o *HardwareModelCreateHardwareBrandInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelCreateHardwareBrandInternalServerError) IsClientError ¶
func (o *HardwareModelCreateHardwareBrandInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model create hardware brand internal server error response has a 4xx status code
func (*HardwareModelCreateHardwareBrandInternalServerError) IsCode ¶
func (o *HardwareModelCreateHardwareBrandInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model create hardware brand internal server error response a status code equal to that given
func (*HardwareModelCreateHardwareBrandInternalServerError) IsRedirect ¶
func (o *HardwareModelCreateHardwareBrandInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware brand internal server error response has a 3xx status code
func (*HardwareModelCreateHardwareBrandInternalServerError) IsServerError ¶
func (o *HardwareModelCreateHardwareBrandInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model create hardware brand internal server error response has a 5xx status code
func (*HardwareModelCreateHardwareBrandInternalServerError) IsSuccess ¶
func (o *HardwareModelCreateHardwareBrandInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware brand internal server error response has a 2xx status code
func (*HardwareModelCreateHardwareBrandInternalServerError) String ¶
func (o *HardwareModelCreateHardwareBrandInternalServerError) String() string
type HardwareModelCreateHardwareBrandOK ¶
type HardwareModelCreateHardwareBrandOK struct {
Payload *models.ZsrvResponse
}
HardwareModelCreateHardwareBrandOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelCreateHardwareBrandOK ¶
func NewHardwareModelCreateHardwareBrandOK() *HardwareModelCreateHardwareBrandOK
NewHardwareModelCreateHardwareBrandOK creates a HardwareModelCreateHardwareBrandOK with default headers values
func (*HardwareModelCreateHardwareBrandOK) Error ¶
func (o *HardwareModelCreateHardwareBrandOK) Error() string
func (*HardwareModelCreateHardwareBrandOK) GetPayload ¶
func (o *HardwareModelCreateHardwareBrandOK) GetPayload() *models.ZsrvResponse
func (*HardwareModelCreateHardwareBrandOK) IsClientError ¶
func (o *HardwareModelCreateHardwareBrandOK) IsClientError() bool
IsClientError returns true when this hardware model create hardware brand o k response has a 4xx status code
func (*HardwareModelCreateHardwareBrandOK) IsCode ¶
func (o *HardwareModelCreateHardwareBrandOK) IsCode(code int) bool
IsCode returns true when this hardware model create hardware brand o k response a status code equal to that given
func (*HardwareModelCreateHardwareBrandOK) IsRedirect ¶
func (o *HardwareModelCreateHardwareBrandOK) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware brand o k response has a 3xx status code
func (*HardwareModelCreateHardwareBrandOK) IsServerError ¶
func (o *HardwareModelCreateHardwareBrandOK) IsServerError() bool
IsServerError returns true when this hardware model create hardware brand o k response has a 5xx status code
func (*HardwareModelCreateHardwareBrandOK) IsSuccess ¶
func (o *HardwareModelCreateHardwareBrandOK) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware brand o k response has a 2xx status code
func (*HardwareModelCreateHardwareBrandOK) String ¶
func (o *HardwareModelCreateHardwareBrandOK) String() string
type HardwareModelCreateHardwareBrandParams ¶
type HardwareModelCreateHardwareBrandParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string // Body. Body *models.SysBrand Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HardwareModelCreateHardwareBrandParams contains all the parameters to send to the API endpoint
for the hardware model create hardware brand operation. Typically these are written to a http.Request.
func NewHardwareModelCreateHardwareBrandParams ¶
func NewHardwareModelCreateHardwareBrandParams() *HardwareModelCreateHardwareBrandParams
NewHardwareModelCreateHardwareBrandParams creates a new HardwareModelCreateHardwareBrandParams 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 NewHardwareModelCreateHardwareBrandParamsWithContext ¶
func NewHardwareModelCreateHardwareBrandParamsWithContext(ctx context.Context) *HardwareModelCreateHardwareBrandParams
NewHardwareModelCreateHardwareBrandParamsWithContext creates a new HardwareModelCreateHardwareBrandParams object with the ability to set a context for a request.
func NewHardwareModelCreateHardwareBrandParamsWithHTTPClient ¶
func NewHardwareModelCreateHardwareBrandParamsWithHTTPClient(client *http.Client) *HardwareModelCreateHardwareBrandParams
NewHardwareModelCreateHardwareBrandParamsWithHTTPClient creates a new HardwareModelCreateHardwareBrandParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelCreateHardwareBrandParamsWithTimeout ¶
func NewHardwareModelCreateHardwareBrandParamsWithTimeout(timeout time.Duration) *HardwareModelCreateHardwareBrandParams
NewHardwareModelCreateHardwareBrandParamsWithTimeout creates a new HardwareModelCreateHardwareBrandParams object with the ability to set a timeout on a request.
func (*HardwareModelCreateHardwareBrandParams) SetBody ¶
func (o *HardwareModelCreateHardwareBrandParams) SetBody(body *models.SysBrand)
SetBody adds the body to the hardware model create hardware brand params
func (*HardwareModelCreateHardwareBrandParams) SetContext ¶
func (o *HardwareModelCreateHardwareBrandParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model create hardware brand params
func (*HardwareModelCreateHardwareBrandParams) SetDefaults ¶
func (o *HardwareModelCreateHardwareBrandParams) SetDefaults()
SetDefaults hydrates default values in the hardware model create hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelCreateHardwareBrandParams) SetHTTPClient ¶
func (o *HardwareModelCreateHardwareBrandParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model create hardware brand params
func (*HardwareModelCreateHardwareBrandParams) SetTimeout ¶
func (o *HardwareModelCreateHardwareBrandParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model create hardware brand params
func (*HardwareModelCreateHardwareBrandParams) SetXRequestID ¶
func (o *HardwareModelCreateHardwareBrandParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model create hardware brand params
func (*HardwareModelCreateHardwareBrandParams) WithBody ¶
func (o *HardwareModelCreateHardwareBrandParams) WithBody(body *models.SysBrand) *HardwareModelCreateHardwareBrandParams
WithBody adds the body to the hardware model create hardware brand params
func (*HardwareModelCreateHardwareBrandParams) WithContext ¶
func (o *HardwareModelCreateHardwareBrandParams) WithContext(ctx context.Context) *HardwareModelCreateHardwareBrandParams
WithContext adds the context to the hardware model create hardware brand params
func (*HardwareModelCreateHardwareBrandParams) WithDefaults ¶
func (o *HardwareModelCreateHardwareBrandParams) WithDefaults() *HardwareModelCreateHardwareBrandParams
WithDefaults hydrates default values in the hardware model create hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelCreateHardwareBrandParams) WithHTTPClient ¶
func (o *HardwareModelCreateHardwareBrandParams) WithHTTPClient(client *http.Client) *HardwareModelCreateHardwareBrandParams
WithHTTPClient adds the HTTPClient to the hardware model create hardware brand params
func (*HardwareModelCreateHardwareBrandParams) WithTimeout ¶
func (o *HardwareModelCreateHardwareBrandParams) WithTimeout(timeout time.Duration) *HardwareModelCreateHardwareBrandParams
WithTimeout adds the timeout to the hardware model create hardware brand params
func (*HardwareModelCreateHardwareBrandParams) WithXRequestID ¶
func (o *HardwareModelCreateHardwareBrandParams) WithXRequestID(xRequestID *string) *HardwareModelCreateHardwareBrandParams
WithXRequestID adds the xRequestID to the hardware model create hardware brand params
func (*HardwareModelCreateHardwareBrandParams) WriteToRequest ¶
func (o *HardwareModelCreateHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelCreateHardwareBrandReader ¶
type HardwareModelCreateHardwareBrandReader struct {
// contains filtered or unexported fields
}
HardwareModelCreateHardwareBrandReader is a Reader for the HardwareModelCreateHardwareBrand structure.
func (*HardwareModelCreateHardwareBrandReader) ReadResponse ¶
func (o *HardwareModelCreateHardwareBrandReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelCreateHardwareBrandUnauthorized ¶
type HardwareModelCreateHardwareBrandUnauthorized struct {
}HardwareModelCreateHardwareBrandUnauthorized 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 NewHardwareModelCreateHardwareBrandUnauthorized ¶
func NewHardwareModelCreateHardwareBrandUnauthorized() *HardwareModelCreateHardwareBrandUnauthorized
NewHardwareModelCreateHardwareBrandUnauthorized creates a HardwareModelCreateHardwareBrandUnauthorized with default headers values
func (*HardwareModelCreateHardwareBrandUnauthorized) Error ¶
func (o *HardwareModelCreateHardwareBrandUnauthorized) Error() string
func (*HardwareModelCreateHardwareBrandUnauthorized) GetPayload ¶
func (o *HardwareModelCreateHardwareBrandUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelCreateHardwareBrandUnauthorized) IsClientError ¶
func (o *HardwareModelCreateHardwareBrandUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model create hardware brand unauthorized response has a 4xx status code
func (*HardwareModelCreateHardwareBrandUnauthorized) IsCode ¶
func (o *HardwareModelCreateHardwareBrandUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model create hardware brand unauthorized response a status code equal to that given
func (*HardwareModelCreateHardwareBrandUnauthorized) IsRedirect ¶
func (o *HardwareModelCreateHardwareBrandUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware brand unauthorized response has a 3xx status code
func (*HardwareModelCreateHardwareBrandUnauthorized) IsServerError ¶
func (o *HardwareModelCreateHardwareBrandUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model create hardware brand unauthorized response has a 5xx status code
func (*HardwareModelCreateHardwareBrandUnauthorized) IsSuccess ¶
func (o *HardwareModelCreateHardwareBrandUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware brand unauthorized response has a 2xx status code
func (*HardwareModelCreateHardwareBrandUnauthorized) String ¶
func (o *HardwareModelCreateHardwareBrandUnauthorized) String() string
type HardwareModelCreateHardwareModelBadRequest ¶
type HardwareModelCreateHardwareModelBadRequest struct {
Payload *models.ZsrvResponse
}
HardwareModelCreateHardwareModelBadRequest 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 NewHardwareModelCreateHardwareModelBadRequest ¶
func NewHardwareModelCreateHardwareModelBadRequest() *HardwareModelCreateHardwareModelBadRequest
NewHardwareModelCreateHardwareModelBadRequest creates a HardwareModelCreateHardwareModelBadRequest with default headers values
func (*HardwareModelCreateHardwareModelBadRequest) Error ¶
func (o *HardwareModelCreateHardwareModelBadRequest) Error() string
func (*HardwareModelCreateHardwareModelBadRequest) GetPayload ¶
func (o *HardwareModelCreateHardwareModelBadRequest) GetPayload() *models.ZsrvResponse
func (*HardwareModelCreateHardwareModelBadRequest) IsClientError ¶
func (o *HardwareModelCreateHardwareModelBadRequest) IsClientError() bool
IsClientError returns true when this hardware model create hardware model bad request response has a 4xx status code
func (*HardwareModelCreateHardwareModelBadRequest) IsCode ¶
func (o *HardwareModelCreateHardwareModelBadRequest) IsCode(code int) bool
IsCode returns true when this hardware model create hardware model bad request response a status code equal to that given
func (*HardwareModelCreateHardwareModelBadRequest) IsRedirect ¶
func (o *HardwareModelCreateHardwareModelBadRequest) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware model bad request response has a 3xx status code
func (*HardwareModelCreateHardwareModelBadRequest) IsServerError ¶
func (o *HardwareModelCreateHardwareModelBadRequest) IsServerError() bool
IsServerError returns true when this hardware model create hardware model bad request response has a 5xx status code
func (*HardwareModelCreateHardwareModelBadRequest) IsSuccess ¶
func (o *HardwareModelCreateHardwareModelBadRequest) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware model bad request response has a 2xx status code
func (*HardwareModelCreateHardwareModelBadRequest) String ¶
func (o *HardwareModelCreateHardwareModelBadRequest) String() string
type HardwareModelCreateHardwareModelConflict ¶
type HardwareModelCreateHardwareModelConflict struct {
Payload *models.ZsrvResponse
}
HardwareModelCreateHardwareModelConflict 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 NewHardwareModelCreateHardwareModelConflict ¶
func NewHardwareModelCreateHardwareModelConflict() *HardwareModelCreateHardwareModelConflict
NewHardwareModelCreateHardwareModelConflict creates a HardwareModelCreateHardwareModelConflict with default headers values
func (*HardwareModelCreateHardwareModelConflict) Error ¶
func (o *HardwareModelCreateHardwareModelConflict) Error() string
func (*HardwareModelCreateHardwareModelConflict) GetPayload ¶
func (o *HardwareModelCreateHardwareModelConflict) GetPayload() *models.ZsrvResponse
func (*HardwareModelCreateHardwareModelConflict) IsClientError ¶
func (o *HardwareModelCreateHardwareModelConflict) IsClientError() bool
IsClientError returns true when this hardware model create hardware model conflict response has a 4xx status code
func (*HardwareModelCreateHardwareModelConflict) IsCode ¶
func (o *HardwareModelCreateHardwareModelConflict) IsCode(code int) bool
IsCode returns true when this hardware model create hardware model conflict response a status code equal to that given
func (*HardwareModelCreateHardwareModelConflict) IsRedirect ¶
func (o *HardwareModelCreateHardwareModelConflict) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware model conflict response has a 3xx status code
func (*HardwareModelCreateHardwareModelConflict) IsServerError ¶
func (o *HardwareModelCreateHardwareModelConflict) IsServerError() bool
IsServerError returns true when this hardware model create hardware model conflict response has a 5xx status code
func (*HardwareModelCreateHardwareModelConflict) IsSuccess ¶
func (o *HardwareModelCreateHardwareModelConflict) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware model conflict response has a 2xx status code
func (*HardwareModelCreateHardwareModelConflict) String ¶
func (o *HardwareModelCreateHardwareModelConflict) String() string
type HardwareModelCreateHardwareModelDefault ¶
type HardwareModelCreateHardwareModelDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelCreateHardwareModelDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelCreateHardwareModelDefault ¶
func NewHardwareModelCreateHardwareModelDefault(code int) *HardwareModelCreateHardwareModelDefault
NewHardwareModelCreateHardwareModelDefault creates a HardwareModelCreateHardwareModelDefault with default headers values
func (*HardwareModelCreateHardwareModelDefault) Code ¶
func (o *HardwareModelCreateHardwareModelDefault) Code() int
Code gets the status code for the hardware model create hardware model default response
func (*HardwareModelCreateHardwareModelDefault) Error ¶
func (o *HardwareModelCreateHardwareModelDefault) Error() string
func (*HardwareModelCreateHardwareModelDefault) GetPayload ¶
func (o *HardwareModelCreateHardwareModelDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelCreateHardwareModelDefault) IsClientError ¶
func (o *HardwareModelCreateHardwareModelDefault) IsClientError() bool
IsClientError returns true when this hardware model create hardware model default response has a 4xx status code
func (*HardwareModelCreateHardwareModelDefault) IsCode ¶
func (o *HardwareModelCreateHardwareModelDefault) IsCode(code int) bool
IsCode returns true when this hardware model create hardware model default response a status code equal to that given
func (*HardwareModelCreateHardwareModelDefault) IsRedirect ¶
func (o *HardwareModelCreateHardwareModelDefault) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware model default response has a 3xx status code
func (*HardwareModelCreateHardwareModelDefault) IsServerError ¶
func (o *HardwareModelCreateHardwareModelDefault) IsServerError() bool
IsServerError returns true when this hardware model create hardware model default response has a 5xx status code
func (*HardwareModelCreateHardwareModelDefault) IsSuccess ¶
func (o *HardwareModelCreateHardwareModelDefault) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware model default response has a 2xx status code
func (*HardwareModelCreateHardwareModelDefault) String ¶
func (o *HardwareModelCreateHardwareModelDefault) String() string
type HardwareModelCreateHardwareModelForbidden ¶
type HardwareModelCreateHardwareModelForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelCreateHardwareModelForbidden 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 NewHardwareModelCreateHardwareModelForbidden ¶
func NewHardwareModelCreateHardwareModelForbidden() *HardwareModelCreateHardwareModelForbidden
NewHardwareModelCreateHardwareModelForbidden creates a HardwareModelCreateHardwareModelForbidden with default headers values
func (*HardwareModelCreateHardwareModelForbidden) Error ¶
func (o *HardwareModelCreateHardwareModelForbidden) Error() string
func (*HardwareModelCreateHardwareModelForbidden) GetPayload ¶
func (o *HardwareModelCreateHardwareModelForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelCreateHardwareModelForbidden) IsClientError ¶
func (o *HardwareModelCreateHardwareModelForbidden) IsClientError() bool
IsClientError returns true when this hardware model create hardware model forbidden response has a 4xx status code
func (*HardwareModelCreateHardwareModelForbidden) IsCode ¶
func (o *HardwareModelCreateHardwareModelForbidden) IsCode(code int) bool
IsCode returns true when this hardware model create hardware model forbidden response a status code equal to that given
func (*HardwareModelCreateHardwareModelForbidden) IsRedirect ¶
func (o *HardwareModelCreateHardwareModelForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware model forbidden response has a 3xx status code
func (*HardwareModelCreateHardwareModelForbidden) IsServerError ¶
func (o *HardwareModelCreateHardwareModelForbidden) IsServerError() bool
IsServerError returns true when this hardware model create hardware model forbidden response has a 5xx status code
func (*HardwareModelCreateHardwareModelForbidden) IsSuccess ¶
func (o *HardwareModelCreateHardwareModelForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware model forbidden response has a 2xx status code
func (*HardwareModelCreateHardwareModelForbidden) String ¶
func (o *HardwareModelCreateHardwareModelForbidden) String() string
type HardwareModelCreateHardwareModelGatewayTimeout ¶
type HardwareModelCreateHardwareModelGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelCreateHardwareModelGatewayTimeout 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 NewHardwareModelCreateHardwareModelGatewayTimeout ¶
func NewHardwareModelCreateHardwareModelGatewayTimeout() *HardwareModelCreateHardwareModelGatewayTimeout
NewHardwareModelCreateHardwareModelGatewayTimeout creates a HardwareModelCreateHardwareModelGatewayTimeout with default headers values
func (*HardwareModelCreateHardwareModelGatewayTimeout) Error ¶
func (o *HardwareModelCreateHardwareModelGatewayTimeout) Error() string
func (*HardwareModelCreateHardwareModelGatewayTimeout) GetPayload ¶
func (o *HardwareModelCreateHardwareModelGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelCreateHardwareModelGatewayTimeout) IsClientError ¶
func (o *HardwareModelCreateHardwareModelGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model create hardware model gateway timeout response has a 4xx status code
func (*HardwareModelCreateHardwareModelGatewayTimeout) IsCode ¶
func (o *HardwareModelCreateHardwareModelGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model create hardware model gateway timeout response a status code equal to that given
func (*HardwareModelCreateHardwareModelGatewayTimeout) IsRedirect ¶
func (o *HardwareModelCreateHardwareModelGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware model gateway timeout response has a 3xx status code
func (*HardwareModelCreateHardwareModelGatewayTimeout) IsServerError ¶
func (o *HardwareModelCreateHardwareModelGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model create hardware model gateway timeout response has a 5xx status code
func (*HardwareModelCreateHardwareModelGatewayTimeout) IsSuccess ¶
func (o *HardwareModelCreateHardwareModelGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware model gateway timeout response has a 2xx status code
func (*HardwareModelCreateHardwareModelGatewayTimeout) String ¶
func (o *HardwareModelCreateHardwareModelGatewayTimeout) String() string
type HardwareModelCreateHardwareModelInternalServerError ¶
type HardwareModelCreateHardwareModelInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelCreateHardwareModelInternalServerError 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 NewHardwareModelCreateHardwareModelInternalServerError ¶
func NewHardwareModelCreateHardwareModelInternalServerError() *HardwareModelCreateHardwareModelInternalServerError
NewHardwareModelCreateHardwareModelInternalServerError creates a HardwareModelCreateHardwareModelInternalServerError with default headers values
func (*HardwareModelCreateHardwareModelInternalServerError) Error ¶
func (o *HardwareModelCreateHardwareModelInternalServerError) Error() string
func (*HardwareModelCreateHardwareModelInternalServerError) GetPayload ¶
func (o *HardwareModelCreateHardwareModelInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelCreateHardwareModelInternalServerError) IsClientError ¶
func (o *HardwareModelCreateHardwareModelInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model create hardware model internal server error response has a 4xx status code
func (*HardwareModelCreateHardwareModelInternalServerError) IsCode ¶
func (o *HardwareModelCreateHardwareModelInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model create hardware model internal server error response a status code equal to that given
func (*HardwareModelCreateHardwareModelInternalServerError) IsRedirect ¶
func (o *HardwareModelCreateHardwareModelInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware model internal server error response has a 3xx status code
func (*HardwareModelCreateHardwareModelInternalServerError) IsServerError ¶
func (o *HardwareModelCreateHardwareModelInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model create hardware model internal server error response has a 5xx status code
func (*HardwareModelCreateHardwareModelInternalServerError) IsSuccess ¶
func (o *HardwareModelCreateHardwareModelInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware model internal server error response has a 2xx status code
func (*HardwareModelCreateHardwareModelInternalServerError) String ¶
func (o *HardwareModelCreateHardwareModelInternalServerError) String() string
type HardwareModelCreateHardwareModelOK ¶
type HardwareModelCreateHardwareModelOK struct {
Payload *models.ZsrvResponse
}
HardwareModelCreateHardwareModelOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelCreateHardwareModelOK ¶
func NewHardwareModelCreateHardwareModelOK() *HardwareModelCreateHardwareModelOK
NewHardwareModelCreateHardwareModelOK creates a HardwareModelCreateHardwareModelOK with default headers values
func (*HardwareModelCreateHardwareModelOK) Error ¶
func (o *HardwareModelCreateHardwareModelOK) Error() string
func (*HardwareModelCreateHardwareModelOK) GetPayload ¶
func (o *HardwareModelCreateHardwareModelOK) GetPayload() *models.ZsrvResponse
func (*HardwareModelCreateHardwareModelOK) IsClientError ¶
func (o *HardwareModelCreateHardwareModelOK) IsClientError() bool
IsClientError returns true when this hardware model create hardware model o k response has a 4xx status code
func (*HardwareModelCreateHardwareModelOK) IsCode ¶
func (o *HardwareModelCreateHardwareModelOK) IsCode(code int) bool
IsCode returns true when this hardware model create hardware model o k response a status code equal to that given
func (*HardwareModelCreateHardwareModelOK) IsRedirect ¶
func (o *HardwareModelCreateHardwareModelOK) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware model o k response has a 3xx status code
func (*HardwareModelCreateHardwareModelOK) IsServerError ¶
func (o *HardwareModelCreateHardwareModelOK) IsServerError() bool
IsServerError returns true when this hardware model create hardware model o k response has a 5xx status code
func (*HardwareModelCreateHardwareModelOK) IsSuccess ¶
func (o *HardwareModelCreateHardwareModelOK) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware model o k response has a 2xx status code
func (*HardwareModelCreateHardwareModelOK) String ¶
func (o *HardwareModelCreateHardwareModelOK) String() string
type HardwareModelCreateHardwareModelParams ¶
type HardwareModelCreateHardwareModelParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string // Body. Body *models.SysModel Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HardwareModelCreateHardwareModelParams contains all the parameters to send to the API endpoint
for the hardware model create hardware model operation. Typically these are written to a http.Request.
func NewHardwareModelCreateHardwareModelParams ¶
func NewHardwareModelCreateHardwareModelParams() *HardwareModelCreateHardwareModelParams
NewHardwareModelCreateHardwareModelParams creates a new HardwareModelCreateHardwareModelParams 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 NewHardwareModelCreateHardwareModelParamsWithContext ¶
func NewHardwareModelCreateHardwareModelParamsWithContext(ctx context.Context) *HardwareModelCreateHardwareModelParams
NewHardwareModelCreateHardwareModelParamsWithContext creates a new HardwareModelCreateHardwareModelParams object with the ability to set a context for a request.
func NewHardwareModelCreateHardwareModelParamsWithHTTPClient ¶
func NewHardwareModelCreateHardwareModelParamsWithHTTPClient(client *http.Client) *HardwareModelCreateHardwareModelParams
NewHardwareModelCreateHardwareModelParamsWithHTTPClient creates a new HardwareModelCreateHardwareModelParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelCreateHardwareModelParamsWithTimeout ¶
func NewHardwareModelCreateHardwareModelParamsWithTimeout(timeout time.Duration) *HardwareModelCreateHardwareModelParams
NewHardwareModelCreateHardwareModelParamsWithTimeout creates a new HardwareModelCreateHardwareModelParams object with the ability to set a timeout on a request.
func (*HardwareModelCreateHardwareModelParams) SetBody ¶
func (o *HardwareModelCreateHardwareModelParams) SetBody(body *models.SysModel)
SetBody adds the body to the hardware model create hardware model params
func (*HardwareModelCreateHardwareModelParams) SetContext ¶
func (o *HardwareModelCreateHardwareModelParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model create hardware model params
func (*HardwareModelCreateHardwareModelParams) SetDefaults ¶
func (o *HardwareModelCreateHardwareModelParams) SetDefaults()
SetDefaults hydrates default values in the hardware model create hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelCreateHardwareModelParams) SetHTTPClient ¶
func (o *HardwareModelCreateHardwareModelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model create hardware model params
func (*HardwareModelCreateHardwareModelParams) SetTimeout ¶
func (o *HardwareModelCreateHardwareModelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model create hardware model params
func (*HardwareModelCreateHardwareModelParams) SetXRequestID ¶
func (o *HardwareModelCreateHardwareModelParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model create hardware model params
func (*HardwareModelCreateHardwareModelParams) WithBody ¶
func (o *HardwareModelCreateHardwareModelParams) WithBody(body *models.SysModel) *HardwareModelCreateHardwareModelParams
WithBody adds the body to the hardware model create hardware model params
func (*HardwareModelCreateHardwareModelParams) WithContext ¶
func (o *HardwareModelCreateHardwareModelParams) WithContext(ctx context.Context) *HardwareModelCreateHardwareModelParams
WithContext adds the context to the hardware model create hardware model params
func (*HardwareModelCreateHardwareModelParams) WithDefaults ¶
func (o *HardwareModelCreateHardwareModelParams) WithDefaults() *HardwareModelCreateHardwareModelParams
WithDefaults hydrates default values in the hardware model create hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelCreateHardwareModelParams) WithHTTPClient ¶
func (o *HardwareModelCreateHardwareModelParams) WithHTTPClient(client *http.Client) *HardwareModelCreateHardwareModelParams
WithHTTPClient adds the HTTPClient to the hardware model create hardware model params
func (*HardwareModelCreateHardwareModelParams) WithTimeout ¶
func (o *HardwareModelCreateHardwareModelParams) WithTimeout(timeout time.Duration) *HardwareModelCreateHardwareModelParams
WithTimeout adds the timeout to the hardware model create hardware model params
func (*HardwareModelCreateHardwareModelParams) WithXRequestID ¶
func (o *HardwareModelCreateHardwareModelParams) WithXRequestID(xRequestID *string) *HardwareModelCreateHardwareModelParams
WithXRequestID adds the xRequestID to the hardware model create hardware model params
func (*HardwareModelCreateHardwareModelParams) WriteToRequest ¶
func (o *HardwareModelCreateHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelCreateHardwareModelReader ¶
type HardwareModelCreateHardwareModelReader struct {
// contains filtered or unexported fields
}
HardwareModelCreateHardwareModelReader is a Reader for the HardwareModelCreateHardwareModel structure.
func (*HardwareModelCreateHardwareModelReader) ReadResponse ¶
func (o *HardwareModelCreateHardwareModelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelCreateHardwareModelUnauthorized ¶
type HardwareModelCreateHardwareModelUnauthorized struct {
}HardwareModelCreateHardwareModelUnauthorized 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 NewHardwareModelCreateHardwareModelUnauthorized ¶
func NewHardwareModelCreateHardwareModelUnauthorized() *HardwareModelCreateHardwareModelUnauthorized
NewHardwareModelCreateHardwareModelUnauthorized creates a HardwareModelCreateHardwareModelUnauthorized with default headers values
func (*HardwareModelCreateHardwareModelUnauthorized) Error ¶
func (o *HardwareModelCreateHardwareModelUnauthorized) Error() string
func (*HardwareModelCreateHardwareModelUnauthorized) GetPayload ¶
func (o *HardwareModelCreateHardwareModelUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelCreateHardwareModelUnauthorized) IsClientError ¶
func (o *HardwareModelCreateHardwareModelUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model create hardware model unauthorized response has a 4xx status code
func (*HardwareModelCreateHardwareModelUnauthorized) IsCode ¶
func (o *HardwareModelCreateHardwareModelUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model create hardware model unauthorized response a status code equal to that given
func (*HardwareModelCreateHardwareModelUnauthorized) IsRedirect ¶
func (o *HardwareModelCreateHardwareModelUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model create hardware model unauthorized response has a 3xx status code
func (*HardwareModelCreateHardwareModelUnauthorized) IsServerError ¶
func (o *HardwareModelCreateHardwareModelUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model create hardware model unauthorized response has a 5xx status code
func (*HardwareModelCreateHardwareModelUnauthorized) IsSuccess ¶
func (o *HardwareModelCreateHardwareModelUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model create hardware model unauthorized response has a 2xx status code
func (*HardwareModelCreateHardwareModelUnauthorized) String ¶
func (o *HardwareModelCreateHardwareModelUnauthorized) String() string
type HardwareModelDeleteHardwareBrandDefault ¶
type HardwareModelDeleteHardwareBrandDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelDeleteHardwareBrandDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelDeleteHardwareBrandDefault ¶
func NewHardwareModelDeleteHardwareBrandDefault(code int) *HardwareModelDeleteHardwareBrandDefault
NewHardwareModelDeleteHardwareBrandDefault creates a HardwareModelDeleteHardwareBrandDefault with default headers values
func (*HardwareModelDeleteHardwareBrandDefault) Code ¶
func (o *HardwareModelDeleteHardwareBrandDefault) Code() int
Code gets the status code for the hardware model delete hardware brand default response
func (*HardwareModelDeleteHardwareBrandDefault) Error ¶
func (o *HardwareModelDeleteHardwareBrandDefault) Error() string
func (*HardwareModelDeleteHardwareBrandDefault) GetPayload ¶
func (o *HardwareModelDeleteHardwareBrandDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelDeleteHardwareBrandDefault) IsClientError ¶
func (o *HardwareModelDeleteHardwareBrandDefault) IsClientError() bool
IsClientError returns true when this hardware model delete hardware brand default response has a 4xx status code
func (*HardwareModelDeleteHardwareBrandDefault) IsCode ¶
func (o *HardwareModelDeleteHardwareBrandDefault) IsCode(code int) bool
IsCode returns true when this hardware model delete hardware brand default response a status code equal to that given
func (*HardwareModelDeleteHardwareBrandDefault) IsRedirect ¶
func (o *HardwareModelDeleteHardwareBrandDefault) IsRedirect() bool
IsRedirect returns true when this hardware model delete hardware brand default response has a 3xx status code
func (*HardwareModelDeleteHardwareBrandDefault) IsServerError ¶
func (o *HardwareModelDeleteHardwareBrandDefault) IsServerError() bool
IsServerError returns true when this hardware model delete hardware brand default response has a 5xx status code
func (*HardwareModelDeleteHardwareBrandDefault) IsSuccess ¶
func (o *HardwareModelDeleteHardwareBrandDefault) IsSuccess() bool
IsSuccess returns true when this hardware model delete hardware brand default response has a 2xx status code
func (*HardwareModelDeleteHardwareBrandDefault) String ¶
func (o *HardwareModelDeleteHardwareBrandDefault) String() string
type HardwareModelDeleteHardwareBrandForbidden ¶
type HardwareModelDeleteHardwareBrandForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelDeleteHardwareBrandForbidden 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 NewHardwareModelDeleteHardwareBrandForbidden ¶
func NewHardwareModelDeleteHardwareBrandForbidden() *HardwareModelDeleteHardwareBrandForbidden
NewHardwareModelDeleteHardwareBrandForbidden creates a HardwareModelDeleteHardwareBrandForbidden with default headers values
func (*HardwareModelDeleteHardwareBrandForbidden) Error ¶
func (o *HardwareModelDeleteHardwareBrandForbidden) Error() string
func (*HardwareModelDeleteHardwareBrandForbidden) GetPayload ¶
func (o *HardwareModelDeleteHardwareBrandForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelDeleteHardwareBrandForbidden) IsClientError ¶
func (o *HardwareModelDeleteHardwareBrandForbidden) IsClientError() bool
IsClientError returns true when this hardware model delete hardware brand forbidden response has a 4xx status code
func (*HardwareModelDeleteHardwareBrandForbidden) IsCode ¶
func (o *HardwareModelDeleteHardwareBrandForbidden) IsCode(code int) bool
IsCode returns true when this hardware model delete hardware brand forbidden response a status code equal to that given
func (*HardwareModelDeleteHardwareBrandForbidden) IsRedirect ¶
func (o *HardwareModelDeleteHardwareBrandForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model delete hardware brand forbidden response has a 3xx status code
func (*HardwareModelDeleteHardwareBrandForbidden) IsServerError ¶
func (o *HardwareModelDeleteHardwareBrandForbidden) IsServerError() bool
IsServerError returns true when this hardware model delete hardware brand forbidden response has a 5xx status code
func (*HardwareModelDeleteHardwareBrandForbidden) IsSuccess ¶
func (o *HardwareModelDeleteHardwareBrandForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model delete hardware brand forbidden response has a 2xx status code
func (*HardwareModelDeleteHardwareBrandForbidden) String ¶
func (o *HardwareModelDeleteHardwareBrandForbidden) String() string
type HardwareModelDeleteHardwareBrandGatewayTimeout ¶
type HardwareModelDeleteHardwareBrandGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelDeleteHardwareBrandGatewayTimeout 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 NewHardwareModelDeleteHardwareBrandGatewayTimeout ¶
func NewHardwareModelDeleteHardwareBrandGatewayTimeout() *HardwareModelDeleteHardwareBrandGatewayTimeout
NewHardwareModelDeleteHardwareBrandGatewayTimeout creates a HardwareModelDeleteHardwareBrandGatewayTimeout with default headers values
func (*HardwareModelDeleteHardwareBrandGatewayTimeout) Error ¶
func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) Error() string
func (*HardwareModelDeleteHardwareBrandGatewayTimeout) GetPayload ¶
func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelDeleteHardwareBrandGatewayTimeout) IsClientError ¶
func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model delete hardware brand gateway timeout response has a 4xx status code
func (*HardwareModelDeleteHardwareBrandGatewayTimeout) IsCode ¶
func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model delete hardware brand gateway timeout response a status code equal to that given
func (*HardwareModelDeleteHardwareBrandGatewayTimeout) IsRedirect ¶
func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model delete hardware brand gateway timeout response has a 3xx status code
func (*HardwareModelDeleteHardwareBrandGatewayTimeout) IsServerError ¶
func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model delete hardware brand gateway timeout response has a 5xx status code
func (*HardwareModelDeleteHardwareBrandGatewayTimeout) IsSuccess ¶
func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model delete hardware brand gateway timeout response has a 2xx status code
func (*HardwareModelDeleteHardwareBrandGatewayTimeout) String ¶
func (o *HardwareModelDeleteHardwareBrandGatewayTimeout) String() string
type HardwareModelDeleteHardwareBrandInternalServerError ¶
type HardwareModelDeleteHardwareBrandInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelDeleteHardwareBrandInternalServerError 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 NewHardwareModelDeleteHardwareBrandInternalServerError ¶
func NewHardwareModelDeleteHardwareBrandInternalServerError() *HardwareModelDeleteHardwareBrandInternalServerError
NewHardwareModelDeleteHardwareBrandInternalServerError creates a HardwareModelDeleteHardwareBrandInternalServerError with default headers values
func (*HardwareModelDeleteHardwareBrandInternalServerError) Error ¶
func (o *HardwareModelDeleteHardwareBrandInternalServerError) Error() string
func (*HardwareModelDeleteHardwareBrandInternalServerError) GetPayload ¶
func (o *HardwareModelDeleteHardwareBrandInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelDeleteHardwareBrandInternalServerError) IsClientError ¶
func (o *HardwareModelDeleteHardwareBrandInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model delete hardware brand internal server error response has a 4xx status code
func (*HardwareModelDeleteHardwareBrandInternalServerError) IsCode ¶
func (o *HardwareModelDeleteHardwareBrandInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model delete hardware brand internal server error response a status code equal to that given
func (*HardwareModelDeleteHardwareBrandInternalServerError) IsRedirect ¶
func (o *HardwareModelDeleteHardwareBrandInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model delete hardware brand internal server error response has a 3xx status code
func (*HardwareModelDeleteHardwareBrandInternalServerError) IsServerError ¶
func (o *HardwareModelDeleteHardwareBrandInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model delete hardware brand internal server error response has a 5xx status code
func (*HardwareModelDeleteHardwareBrandInternalServerError) IsSuccess ¶
func (o *HardwareModelDeleteHardwareBrandInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model delete hardware brand internal server error response has a 2xx status code
func (*HardwareModelDeleteHardwareBrandInternalServerError) String ¶
func (o *HardwareModelDeleteHardwareBrandInternalServerError) String() string
type HardwareModelDeleteHardwareBrandNotFound ¶
type HardwareModelDeleteHardwareBrandNotFound struct {
Payload *models.ZsrvResponse
}
HardwareModelDeleteHardwareBrandNotFound 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 NewHardwareModelDeleteHardwareBrandNotFound ¶
func NewHardwareModelDeleteHardwareBrandNotFound() *HardwareModelDeleteHardwareBrandNotFound
NewHardwareModelDeleteHardwareBrandNotFound creates a HardwareModelDeleteHardwareBrandNotFound with default headers values
func (*HardwareModelDeleteHardwareBrandNotFound) Error ¶
func (o *HardwareModelDeleteHardwareBrandNotFound) Error() string
func (*HardwareModelDeleteHardwareBrandNotFound) GetPayload ¶
func (o *HardwareModelDeleteHardwareBrandNotFound) GetPayload() *models.ZsrvResponse
func (*HardwareModelDeleteHardwareBrandNotFound) IsClientError ¶
func (o *HardwareModelDeleteHardwareBrandNotFound) IsClientError() bool
IsClientError returns true when this hardware model delete hardware brand not found response has a 4xx status code
func (*HardwareModelDeleteHardwareBrandNotFound) IsCode ¶
func (o *HardwareModelDeleteHardwareBrandNotFound) IsCode(code int) bool
IsCode returns true when this hardware model delete hardware brand not found response a status code equal to that given
func (*HardwareModelDeleteHardwareBrandNotFound) IsRedirect ¶
func (o *HardwareModelDeleteHardwareBrandNotFound) IsRedirect() bool
IsRedirect returns true when this hardware model delete hardware brand not found response has a 3xx status code
func (*HardwareModelDeleteHardwareBrandNotFound) IsServerError ¶
func (o *HardwareModelDeleteHardwareBrandNotFound) IsServerError() bool
IsServerError returns true when this hardware model delete hardware brand not found response has a 5xx status code
func (*HardwareModelDeleteHardwareBrandNotFound) IsSuccess ¶
func (o *HardwareModelDeleteHardwareBrandNotFound) IsSuccess() bool
IsSuccess returns true when this hardware model delete hardware brand not found response has a 2xx status code
func (*HardwareModelDeleteHardwareBrandNotFound) String ¶
func (o *HardwareModelDeleteHardwareBrandNotFound) String() string
type HardwareModelDeleteHardwareBrandOK ¶
type HardwareModelDeleteHardwareBrandOK struct {
Payload *models.ZsrvResponse
}
HardwareModelDeleteHardwareBrandOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelDeleteHardwareBrandOK ¶
func NewHardwareModelDeleteHardwareBrandOK() *HardwareModelDeleteHardwareBrandOK
NewHardwareModelDeleteHardwareBrandOK creates a HardwareModelDeleteHardwareBrandOK with default headers values
func (*HardwareModelDeleteHardwareBrandOK) Error ¶
func (o *HardwareModelDeleteHardwareBrandOK) Error() string
func (*HardwareModelDeleteHardwareBrandOK) GetPayload ¶
func (o *HardwareModelDeleteHardwareBrandOK) GetPayload() *models.ZsrvResponse
func (*HardwareModelDeleteHardwareBrandOK) IsClientError ¶
func (o *HardwareModelDeleteHardwareBrandOK) IsClientError() bool
IsClientError returns true when this hardware model delete hardware brand o k response has a 4xx status code
func (*HardwareModelDeleteHardwareBrandOK) IsCode ¶
func (o *HardwareModelDeleteHardwareBrandOK) IsCode(code int) bool
IsCode returns true when this hardware model delete hardware brand o k response a status code equal to that given
func (*HardwareModelDeleteHardwareBrandOK) IsRedirect ¶
func (o *HardwareModelDeleteHardwareBrandOK) IsRedirect() bool
IsRedirect returns true when this hardware model delete hardware brand o k response has a 3xx status code
func (*HardwareModelDeleteHardwareBrandOK) IsServerError ¶
func (o *HardwareModelDeleteHardwareBrandOK) IsServerError() bool
IsServerError returns true when this hardware model delete hardware brand o k response has a 5xx status code
func (*HardwareModelDeleteHardwareBrandOK) IsSuccess ¶
func (o *HardwareModelDeleteHardwareBrandOK) IsSuccess() bool
IsSuccess returns true when this hardware model delete hardware brand o k response has a 2xx status code
func (*HardwareModelDeleteHardwareBrandOK) String ¶
func (o *HardwareModelDeleteHardwareBrandOK) String() string
type HardwareModelDeleteHardwareBrandParams ¶
type HardwareModelDeleteHardwareBrandParams 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 }
HardwareModelDeleteHardwareBrandParams contains all the parameters to send to the API endpoint
for the hardware model delete hardware brand operation. Typically these are written to a http.Request.
func NewHardwareModelDeleteHardwareBrandParams ¶
func NewHardwareModelDeleteHardwareBrandParams() *HardwareModelDeleteHardwareBrandParams
NewHardwareModelDeleteHardwareBrandParams creates a new HardwareModelDeleteHardwareBrandParams 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 NewHardwareModelDeleteHardwareBrandParamsWithContext ¶
func NewHardwareModelDeleteHardwareBrandParamsWithContext(ctx context.Context) *HardwareModelDeleteHardwareBrandParams
NewHardwareModelDeleteHardwareBrandParamsWithContext creates a new HardwareModelDeleteHardwareBrandParams object with the ability to set a context for a request.
func NewHardwareModelDeleteHardwareBrandParamsWithHTTPClient ¶
func NewHardwareModelDeleteHardwareBrandParamsWithHTTPClient(client *http.Client) *HardwareModelDeleteHardwareBrandParams
NewHardwareModelDeleteHardwareBrandParamsWithHTTPClient creates a new HardwareModelDeleteHardwareBrandParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelDeleteHardwareBrandParamsWithTimeout ¶
func NewHardwareModelDeleteHardwareBrandParamsWithTimeout(timeout time.Duration) *HardwareModelDeleteHardwareBrandParams
NewHardwareModelDeleteHardwareBrandParamsWithTimeout creates a new HardwareModelDeleteHardwareBrandParams object with the ability to set a timeout on a request.
func (*HardwareModelDeleteHardwareBrandParams) SetContext ¶
func (o *HardwareModelDeleteHardwareBrandParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model delete hardware brand params
func (*HardwareModelDeleteHardwareBrandParams) SetDefaults ¶
func (o *HardwareModelDeleteHardwareBrandParams) SetDefaults()
SetDefaults hydrates default values in the hardware model delete hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelDeleteHardwareBrandParams) SetEnterpriseID ¶
func (o *HardwareModelDeleteHardwareBrandParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the hardware model delete hardware brand params
func (*HardwareModelDeleteHardwareBrandParams) SetHTTPClient ¶
func (o *HardwareModelDeleteHardwareBrandParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model delete hardware brand params
func (*HardwareModelDeleteHardwareBrandParams) SetID ¶
func (o *HardwareModelDeleteHardwareBrandParams) SetID(id string)
SetID adds the id to the hardware model delete hardware brand params
func (*HardwareModelDeleteHardwareBrandParams) SetTimeout ¶
func (o *HardwareModelDeleteHardwareBrandParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model delete hardware brand params
func (*HardwareModelDeleteHardwareBrandParams) SetXRequestID ¶
func (o *HardwareModelDeleteHardwareBrandParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model delete hardware brand params
func (*HardwareModelDeleteHardwareBrandParams) WithContext ¶
func (o *HardwareModelDeleteHardwareBrandParams) WithContext(ctx context.Context) *HardwareModelDeleteHardwareBrandParams
WithContext adds the context to the hardware model delete hardware brand params
func (*HardwareModelDeleteHardwareBrandParams) WithDefaults ¶
func (o *HardwareModelDeleteHardwareBrandParams) WithDefaults() *HardwareModelDeleteHardwareBrandParams
WithDefaults hydrates default values in the hardware model delete hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelDeleteHardwareBrandParams) WithEnterpriseID ¶
func (o *HardwareModelDeleteHardwareBrandParams) WithEnterpriseID(enterpriseID *string) *HardwareModelDeleteHardwareBrandParams
WithEnterpriseID adds the enterpriseID to the hardware model delete hardware brand params
func (*HardwareModelDeleteHardwareBrandParams) WithHTTPClient ¶
func (o *HardwareModelDeleteHardwareBrandParams) WithHTTPClient(client *http.Client) *HardwareModelDeleteHardwareBrandParams
WithHTTPClient adds the HTTPClient to the hardware model delete hardware brand params
func (*HardwareModelDeleteHardwareBrandParams) WithID ¶
func (o *HardwareModelDeleteHardwareBrandParams) WithID(id string) *HardwareModelDeleteHardwareBrandParams
WithID adds the id to the hardware model delete hardware brand params
func (*HardwareModelDeleteHardwareBrandParams) WithTimeout ¶
func (o *HardwareModelDeleteHardwareBrandParams) WithTimeout(timeout time.Duration) *HardwareModelDeleteHardwareBrandParams
WithTimeout adds the timeout to the hardware model delete hardware brand params
func (*HardwareModelDeleteHardwareBrandParams) WithXRequestID ¶
func (o *HardwareModelDeleteHardwareBrandParams) WithXRequestID(xRequestID *string) *HardwareModelDeleteHardwareBrandParams
WithXRequestID adds the xRequestID to the hardware model delete hardware brand params
func (*HardwareModelDeleteHardwareBrandParams) WriteToRequest ¶
func (o *HardwareModelDeleteHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelDeleteHardwareBrandReader ¶
type HardwareModelDeleteHardwareBrandReader struct {
// contains filtered or unexported fields
}
HardwareModelDeleteHardwareBrandReader is a Reader for the HardwareModelDeleteHardwareBrand structure.
func (*HardwareModelDeleteHardwareBrandReader) ReadResponse ¶
func (o *HardwareModelDeleteHardwareBrandReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelDeleteHardwareBrandUnauthorized ¶
type HardwareModelDeleteHardwareBrandUnauthorized struct {
}HardwareModelDeleteHardwareBrandUnauthorized 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 NewHardwareModelDeleteHardwareBrandUnauthorized ¶
func NewHardwareModelDeleteHardwareBrandUnauthorized() *HardwareModelDeleteHardwareBrandUnauthorized
NewHardwareModelDeleteHardwareBrandUnauthorized creates a HardwareModelDeleteHardwareBrandUnauthorized with default headers values
func (*HardwareModelDeleteHardwareBrandUnauthorized) Error ¶
func (o *HardwareModelDeleteHardwareBrandUnauthorized) Error() string
func (*HardwareModelDeleteHardwareBrandUnauthorized) GetPayload ¶
func (o *HardwareModelDeleteHardwareBrandUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelDeleteHardwareBrandUnauthorized) IsClientError ¶
func (o *HardwareModelDeleteHardwareBrandUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model delete hardware brand unauthorized response has a 4xx status code
func (*HardwareModelDeleteHardwareBrandUnauthorized) IsCode ¶
func (o *HardwareModelDeleteHardwareBrandUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model delete hardware brand unauthorized response a status code equal to that given
func (*HardwareModelDeleteHardwareBrandUnauthorized) IsRedirect ¶
func (o *HardwareModelDeleteHardwareBrandUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model delete hardware brand unauthorized response has a 3xx status code
func (*HardwareModelDeleteHardwareBrandUnauthorized) IsServerError ¶
func (o *HardwareModelDeleteHardwareBrandUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model delete hardware brand unauthorized response has a 5xx status code
func (*HardwareModelDeleteHardwareBrandUnauthorized) IsSuccess ¶
func (o *HardwareModelDeleteHardwareBrandUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model delete hardware brand unauthorized response has a 2xx status code
func (*HardwareModelDeleteHardwareBrandUnauthorized) String ¶
func (o *HardwareModelDeleteHardwareBrandUnauthorized) String() string
type HardwareModelDeleteHardwareModelDefault ¶
type HardwareModelDeleteHardwareModelDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelDeleteHardwareModelDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelDeleteHardwareModelDefault ¶
func NewHardwareModelDeleteHardwareModelDefault(code int) *HardwareModelDeleteHardwareModelDefault
NewHardwareModelDeleteHardwareModelDefault creates a HardwareModelDeleteHardwareModelDefault with default headers values
func (*HardwareModelDeleteHardwareModelDefault) Code ¶
func (o *HardwareModelDeleteHardwareModelDefault) Code() int
Code gets the status code for the hardware model delete hardware model default response
func (*HardwareModelDeleteHardwareModelDefault) Error ¶
func (o *HardwareModelDeleteHardwareModelDefault) Error() string
func (*HardwareModelDeleteHardwareModelDefault) GetPayload ¶
func (o *HardwareModelDeleteHardwareModelDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelDeleteHardwareModelDefault) IsClientError ¶
func (o *HardwareModelDeleteHardwareModelDefault) IsClientError() bool
IsClientError returns true when this hardware model delete hardware model default response has a 4xx status code
func (*HardwareModelDeleteHardwareModelDefault) IsCode ¶
func (o *HardwareModelDeleteHardwareModelDefault) IsCode(code int) bool
IsCode returns true when this hardware model delete hardware model default response a status code equal to that given
func (*HardwareModelDeleteHardwareModelDefault) IsRedirect ¶
func (o *HardwareModelDeleteHardwareModelDefault) IsRedirect() bool
IsRedirect returns true when this hardware model delete hardware model default response has a 3xx status code
func (*HardwareModelDeleteHardwareModelDefault) IsServerError ¶
func (o *HardwareModelDeleteHardwareModelDefault) IsServerError() bool
IsServerError returns true when this hardware model delete hardware model default response has a 5xx status code
func (*HardwareModelDeleteHardwareModelDefault) IsSuccess ¶
func (o *HardwareModelDeleteHardwareModelDefault) IsSuccess() bool
IsSuccess returns true when this hardware model delete hardware model default response has a 2xx status code
func (*HardwareModelDeleteHardwareModelDefault) String ¶
func (o *HardwareModelDeleteHardwareModelDefault) String() string
type HardwareModelDeleteHardwareModelForbidden ¶
type HardwareModelDeleteHardwareModelForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelDeleteHardwareModelForbidden 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 NewHardwareModelDeleteHardwareModelForbidden ¶
func NewHardwareModelDeleteHardwareModelForbidden() *HardwareModelDeleteHardwareModelForbidden
NewHardwareModelDeleteHardwareModelForbidden creates a HardwareModelDeleteHardwareModelForbidden with default headers values
func (*HardwareModelDeleteHardwareModelForbidden) Error ¶
func (o *HardwareModelDeleteHardwareModelForbidden) Error() string
func (*HardwareModelDeleteHardwareModelForbidden) GetPayload ¶
func (o *HardwareModelDeleteHardwareModelForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelDeleteHardwareModelForbidden) IsClientError ¶
func (o *HardwareModelDeleteHardwareModelForbidden) IsClientError() bool
IsClientError returns true when this hardware model delete hardware model forbidden response has a 4xx status code
func (*HardwareModelDeleteHardwareModelForbidden) IsCode ¶
func (o *HardwareModelDeleteHardwareModelForbidden) IsCode(code int) bool
IsCode returns true when this hardware model delete hardware model forbidden response a status code equal to that given
func (*HardwareModelDeleteHardwareModelForbidden) IsRedirect ¶
func (o *HardwareModelDeleteHardwareModelForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model delete hardware model forbidden response has a 3xx status code
func (*HardwareModelDeleteHardwareModelForbidden) IsServerError ¶
func (o *HardwareModelDeleteHardwareModelForbidden) IsServerError() bool
IsServerError returns true when this hardware model delete hardware model forbidden response has a 5xx status code
func (*HardwareModelDeleteHardwareModelForbidden) IsSuccess ¶
func (o *HardwareModelDeleteHardwareModelForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model delete hardware model forbidden response has a 2xx status code
func (*HardwareModelDeleteHardwareModelForbidden) String ¶
func (o *HardwareModelDeleteHardwareModelForbidden) String() string
type HardwareModelDeleteHardwareModelGatewayTimeout ¶
type HardwareModelDeleteHardwareModelGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelDeleteHardwareModelGatewayTimeout 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 NewHardwareModelDeleteHardwareModelGatewayTimeout ¶
func NewHardwareModelDeleteHardwareModelGatewayTimeout() *HardwareModelDeleteHardwareModelGatewayTimeout
NewHardwareModelDeleteHardwareModelGatewayTimeout creates a HardwareModelDeleteHardwareModelGatewayTimeout with default headers values
func (*HardwareModelDeleteHardwareModelGatewayTimeout) Error ¶
func (o *HardwareModelDeleteHardwareModelGatewayTimeout) Error() string
func (*HardwareModelDeleteHardwareModelGatewayTimeout) GetPayload ¶
func (o *HardwareModelDeleteHardwareModelGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelDeleteHardwareModelGatewayTimeout) IsClientError ¶
func (o *HardwareModelDeleteHardwareModelGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model delete hardware model gateway timeout response has a 4xx status code
func (*HardwareModelDeleteHardwareModelGatewayTimeout) IsCode ¶
func (o *HardwareModelDeleteHardwareModelGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model delete hardware model gateway timeout response a status code equal to that given
func (*HardwareModelDeleteHardwareModelGatewayTimeout) IsRedirect ¶
func (o *HardwareModelDeleteHardwareModelGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model delete hardware model gateway timeout response has a 3xx status code
func (*HardwareModelDeleteHardwareModelGatewayTimeout) IsServerError ¶
func (o *HardwareModelDeleteHardwareModelGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model delete hardware model gateway timeout response has a 5xx status code
func (*HardwareModelDeleteHardwareModelGatewayTimeout) IsSuccess ¶
func (o *HardwareModelDeleteHardwareModelGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model delete hardware model gateway timeout response has a 2xx status code
func (*HardwareModelDeleteHardwareModelGatewayTimeout) String ¶
func (o *HardwareModelDeleteHardwareModelGatewayTimeout) String() string
type HardwareModelDeleteHardwareModelInternalServerError ¶
type HardwareModelDeleteHardwareModelInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelDeleteHardwareModelInternalServerError 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 NewHardwareModelDeleteHardwareModelInternalServerError ¶
func NewHardwareModelDeleteHardwareModelInternalServerError() *HardwareModelDeleteHardwareModelInternalServerError
NewHardwareModelDeleteHardwareModelInternalServerError creates a HardwareModelDeleteHardwareModelInternalServerError with default headers values
func (*HardwareModelDeleteHardwareModelInternalServerError) Error ¶
func (o *HardwareModelDeleteHardwareModelInternalServerError) Error() string
func (*HardwareModelDeleteHardwareModelInternalServerError) GetPayload ¶
func (o *HardwareModelDeleteHardwareModelInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelDeleteHardwareModelInternalServerError) IsClientError ¶
func (o *HardwareModelDeleteHardwareModelInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model delete hardware model internal server error response has a 4xx status code
func (*HardwareModelDeleteHardwareModelInternalServerError) IsCode ¶
func (o *HardwareModelDeleteHardwareModelInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model delete hardware model internal server error response a status code equal to that given
func (*HardwareModelDeleteHardwareModelInternalServerError) IsRedirect ¶
func (o *HardwareModelDeleteHardwareModelInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model delete hardware model internal server error response has a 3xx status code
func (*HardwareModelDeleteHardwareModelInternalServerError) IsServerError ¶
func (o *HardwareModelDeleteHardwareModelInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model delete hardware model internal server error response has a 5xx status code
func (*HardwareModelDeleteHardwareModelInternalServerError) IsSuccess ¶
func (o *HardwareModelDeleteHardwareModelInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model delete hardware model internal server error response has a 2xx status code
func (*HardwareModelDeleteHardwareModelInternalServerError) String ¶
func (o *HardwareModelDeleteHardwareModelInternalServerError) String() string
type HardwareModelDeleteHardwareModelNotFound ¶
type HardwareModelDeleteHardwareModelNotFound struct {
Payload *models.ZsrvResponse
}
HardwareModelDeleteHardwareModelNotFound 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 NewHardwareModelDeleteHardwareModelNotFound ¶
func NewHardwareModelDeleteHardwareModelNotFound() *HardwareModelDeleteHardwareModelNotFound
NewHardwareModelDeleteHardwareModelNotFound creates a HardwareModelDeleteHardwareModelNotFound with default headers values
func (*HardwareModelDeleteHardwareModelNotFound) Error ¶
func (o *HardwareModelDeleteHardwareModelNotFound) Error() string
func (*HardwareModelDeleteHardwareModelNotFound) GetPayload ¶
func (o *HardwareModelDeleteHardwareModelNotFound) GetPayload() *models.ZsrvResponse
func (*HardwareModelDeleteHardwareModelNotFound) IsClientError ¶
func (o *HardwareModelDeleteHardwareModelNotFound) IsClientError() bool
IsClientError returns true when this hardware model delete hardware model not found response has a 4xx status code
func (*HardwareModelDeleteHardwareModelNotFound) IsCode ¶
func (o *HardwareModelDeleteHardwareModelNotFound) IsCode(code int) bool
IsCode returns true when this hardware model delete hardware model not found response a status code equal to that given
func (*HardwareModelDeleteHardwareModelNotFound) IsRedirect ¶
func (o *HardwareModelDeleteHardwareModelNotFound) IsRedirect() bool
IsRedirect returns true when this hardware model delete hardware model not found response has a 3xx status code
func (*HardwareModelDeleteHardwareModelNotFound) IsServerError ¶
func (o *HardwareModelDeleteHardwareModelNotFound) IsServerError() bool
IsServerError returns true when this hardware model delete hardware model not found response has a 5xx status code
func (*HardwareModelDeleteHardwareModelNotFound) IsSuccess ¶
func (o *HardwareModelDeleteHardwareModelNotFound) IsSuccess() bool
IsSuccess returns true when this hardware model delete hardware model not found response has a 2xx status code
func (*HardwareModelDeleteHardwareModelNotFound) String ¶
func (o *HardwareModelDeleteHardwareModelNotFound) String() string
type HardwareModelDeleteHardwareModelOK ¶
type HardwareModelDeleteHardwareModelOK struct {
Payload *models.ZsrvResponse
}
HardwareModelDeleteHardwareModelOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelDeleteHardwareModelOK ¶
func NewHardwareModelDeleteHardwareModelOK() *HardwareModelDeleteHardwareModelOK
NewHardwareModelDeleteHardwareModelOK creates a HardwareModelDeleteHardwareModelOK with default headers values
func (*HardwareModelDeleteHardwareModelOK) Error ¶
func (o *HardwareModelDeleteHardwareModelOK) Error() string
func (*HardwareModelDeleteHardwareModelOK) GetPayload ¶
func (o *HardwareModelDeleteHardwareModelOK) GetPayload() *models.ZsrvResponse
func (*HardwareModelDeleteHardwareModelOK) IsClientError ¶
func (o *HardwareModelDeleteHardwareModelOK) IsClientError() bool
IsClientError returns true when this hardware model delete hardware model o k response has a 4xx status code
func (*HardwareModelDeleteHardwareModelOK) IsCode ¶
func (o *HardwareModelDeleteHardwareModelOK) IsCode(code int) bool
IsCode returns true when this hardware model delete hardware model o k response a status code equal to that given
func (*HardwareModelDeleteHardwareModelOK) IsRedirect ¶
func (o *HardwareModelDeleteHardwareModelOK) IsRedirect() bool
IsRedirect returns true when this hardware model delete hardware model o k response has a 3xx status code
func (*HardwareModelDeleteHardwareModelOK) IsServerError ¶
func (o *HardwareModelDeleteHardwareModelOK) IsServerError() bool
IsServerError returns true when this hardware model delete hardware model o k response has a 5xx status code
func (*HardwareModelDeleteHardwareModelOK) IsSuccess ¶
func (o *HardwareModelDeleteHardwareModelOK) IsSuccess() bool
IsSuccess returns true when this hardware model delete hardware model o k response has a 2xx status code
func (*HardwareModelDeleteHardwareModelOK) String ¶
func (o *HardwareModelDeleteHardwareModelOK) String() string
type HardwareModelDeleteHardwareModelParams ¶
type HardwareModelDeleteHardwareModelParams 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 }
HardwareModelDeleteHardwareModelParams contains all the parameters to send to the API endpoint
for the hardware model delete hardware model operation. Typically these are written to a http.Request.
func NewHardwareModelDeleteHardwareModelParams ¶
func NewHardwareModelDeleteHardwareModelParams() *HardwareModelDeleteHardwareModelParams
NewHardwareModelDeleteHardwareModelParams creates a new HardwareModelDeleteHardwareModelParams 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 NewHardwareModelDeleteHardwareModelParamsWithContext ¶
func NewHardwareModelDeleteHardwareModelParamsWithContext(ctx context.Context) *HardwareModelDeleteHardwareModelParams
NewHardwareModelDeleteHardwareModelParamsWithContext creates a new HardwareModelDeleteHardwareModelParams object with the ability to set a context for a request.
func NewHardwareModelDeleteHardwareModelParamsWithHTTPClient ¶
func NewHardwareModelDeleteHardwareModelParamsWithHTTPClient(client *http.Client) *HardwareModelDeleteHardwareModelParams
NewHardwareModelDeleteHardwareModelParamsWithHTTPClient creates a new HardwareModelDeleteHardwareModelParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelDeleteHardwareModelParamsWithTimeout ¶
func NewHardwareModelDeleteHardwareModelParamsWithTimeout(timeout time.Duration) *HardwareModelDeleteHardwareModelParams
NewHardwareModelDeleteHardwareModelParamsWithTimeout creates a new HardwareModelDeleteHardwareModelParams object with the ability to set a timeout on a request.
func (*HardwareModelDeleteHardwareModelParams) SetContext ¶
func (o *HardwareModelDeleteHardwareModelParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model delete hardware model params
func (*HardwareModelDeleteHardwareModelParams) SetDefaults ¶
func (o *HardwareModelDeleteHardwareModelParams) SetDefaults()
SetDefaults hydrates default values in the hardware model delete hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelDeleteHardwareModelParams) SetHTTPClient ¶
func (o *HardwareModelDeleteHardwareModelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model delete hardware model params
func (*HardwareModelDeleteHardwareModelParams) SetID ¶
func (o *HardwareModelDeleteHardwareModelParams) SetID(id string)
SetID adds the id to the hardware model delete hardware model params
func (*HardwareModelDeleteHardwareModelParams) SetTimeout ¶
func (o *HardwareModelDeleteHardwareModelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model delete hardware model params
func (*HardwareModelDeleteHardwareModelParams) SetXRequestID ¶
func (o *HardwareModelDeleteHardwareModelParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model delete hardware model params
func (*HardwareModelDeleteHardwareModelParams) WithContext ¶
func (o *HardwareModelDeleteHardwareModelParams) WithContext(ctx context.Context) *HardwareModelDeleteHardwareModelParams
WithContext adds the context to the hardware model delete hardware model params
func (*HardwareModelDeleteHardwareModelParams) WithDefaults ¶
func (o *HardwareModelDeleteHardwareModelParams) WithDefaults() *HardwareModelDeleteHardwareModelParams
WithDefaults hydrates default values in the hardware model delete hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelDeleteHardwareModelParams) WithHTTPClient ¶
func (o *HardwareModelDeleteHardwareModelParams) WithHTTPClient(client *http.Client) *HardwareModelDeleteHardwareModelParams
WithHTTPClient adds the HTTPClient to the hardware model delete hardware model params
func (*HardwareModelDeleteHardwareModelParams) WithID ¶
func (o *HardwareModelDeleteHardwareModelParams) WithID(id string) *HardwareModelDeleteHardwareModelParams
WithID adds the id to the hardware model delete hardware model params
func (*HardwareModelDeleteHardwareModelParams) WithTimeout ¶
func (o *HardwareModelDeleteHardwareModelParams) WithTimeout(timeout time.Duration) *HardwareModelDeleteHardwareModelParams
WithTimeout adds the timeout to the hardware model delete hardware model params
func (*HardwareModelDeleteHardwareModelParams) WithXRequestID ¶
func (o *HardwareModelDeleteHardwareModelParams) WithXRequestID(xRequestID *string) *HardwareModelDeleteHardwareModelParams
WithXRequestID adds the xRequestID to the hardware model delete hardware model params
func (*HardwareModelDeleteHardwareModelParams) WriteToRequest ¶
func (o *HardwareModelDeleteHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelDeleteHardwareModelReader ¶
type HardwareModelDeleteHardwareModelReader struct {
// contains filtered or unexported fields
}
HardwareModelDeleteHardwareModelReader is a Reader for the HardwareModelDeleteHardwareModel structure.
func (*HardwareModelDeleteHardwareModelReader) ReadResponse ¶
func (o *HardwareModelDeleteHardwareModelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelDeleteHardwareModelUnauthorized ¶
type HardwareModelDeleteHardwareModelUnauthorized struct {
}HardwareModelDeleteHardwareModelUnauthorized 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 NewHardwareModelDeleteHardwareModelUnauthorized ¶
func NewHardwareModelDeleteHardwareModelUnauthorized() *HardwareModelDeleteHardwareModelUnauthorized
NewHardwareModelDeleteHardwareModelUnauthorized creates a HardwareModelDeleteHardwareModelUnauthorized with default headers values
func (*HardwareModelDeleteHardwareModelUnauthorized) Error ¶
func (o *HardwareModelDeleteHardwareModelUnauthorized) Error() string
func (*HardwareModelDeleteHardwareModelUnauthorized) GetPayload ¶
func (o *HardwareModelDeleteHardwareModelUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelDeleteHardwareModelUnauthorized) IsClientError ¶
func (o *HardwareModelDeleteHardwareModelUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model delete hardware model unauthorized response has a 4xx status code
func (*HardwareModelDeleteHardwareModelUnauthorized) IsCode ¶
func (o *HardwareModelDeleteHardwareModelUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model delete hardware model unauthorized response a status code equal to that given
func (*HardwareModelDeleteHardwareModelUnauthorized) IsRedirect ¶
func (o *HardwareModelDeleteHardwareModelUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model delete hardware model unauthorized response has a 3xx status code
func (*HardwareModelDeleteHardwareModelUnauthorized) IsServerError ¶
func (o *HardwareModelDeleteHardwareModelUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model delete hardware model unauthorized response has a 5xx status code
func (*HardwareModelDeleteHardwareModelUnauthorized) IsSuccess ¶
func (o *HardwareModelDeleteHardwareModelUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model delete hardware model unauthorized response has a 2xx status code
func (*HardwareModelDeleteHardwareModelUnauthorized) String ¶
func (o *HardwareModelDeleteHardwareModelUnauthorized) String() string
type HardwareModelGetDeviceStatusConfigBadRequest ¶
type HardwareModelGetDeviceStatusConfigBadRequest struct {
Payload *models.ZsrvResponse
}
HardwareModelGetDeviceStatusConfigBadRequest 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 NewHardwareModelGetDeviceStatusConfigBadRequest ¶
func NewHardwareModelGetDeviceStatusConfigBadRequest() *HardwareModelGetDeviceStatusConfigBadRequest
NewHardwareModelGetDeviceStatusConfigBadRequest creates a HardwareModelGetDeviceStatusConfigBadRequest with default headers values
func (*HardwareModelGetDeviceStatusConfigBadRequest) Error ¶
func (o *HardwareModelGetDeviceStatusConfigBadRequest) Error() string
func (*HardwareModelGetDeviceStatusConfigBadRequest) GetPayload ¶
func (o *HardwareModelGetDeviceStatusConfigBadRequest) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetDeviceStatusConfigBadRequest) IsClientError ¶
func (o *HardwareModelGetDeviceStatusConfigBadRequest) IsClientError() bool
IsClientError returns true when this hardware model get device status config bad request response has a 4xx status code
func (*HardwareModelGetDeviceStatusConfigBadRequest) IsCode ¶
func (o *HardwareModelGetDeviceStatusConfigBadRequest) IsCode(code int) bool
IsCode returns true when this hardware model get device status config bad request response a status code equal to that given
func (*HardwareModelGetDeviceStatusConfigBadRequest) IsRedirect ¶
func (o *HardwareModelGetDeviceStatusConfigBadRequest) IsRedirect() bool
IsRedirect returns true when this hardware model get device status config bad request response has a 3xx status code
func (*HardwareModelGetDeviceStatusConfigBadRequest) IsServerError ¶
func (o *HardwareModelGetDeviceStatusConfigBadRequest) IsServerError() bool
IsServerError returns true when this hardware model get device status config bad request response has a 5xx status code
func (*HardwareModelGetDeviceStatusConfigBadRequest) IsSuccess ¶
func (o *HardwareModelGetDeviceStatusConfigBadRequest) IsSuccess() bool
IsSuccess returns true when this hardware model get device status config bad request response has a 2xx status code
func (*HardwareModelGetDeviceStatusConfigBadRequest) String ¶
func (o *HardwareModelGetDeviceStatusConfigBadRequest) String() string
type HardwareModelGetDeviceStatusConfigDefault ¶
type HardwareModelGetDeviceStatusConfigDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelGetDeviceStatusConfigDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelGetDeviceStatusConfigDefault ¶
func NewHardwareModelGetDeviceStatusConfigDefault(code int) *HardwareModelGetDeviceStatusConfigDefault
NewHardwareModelGetDeviceStatusConfigDefault creates a HardwareModelGetDeviceStatusConfigDefault with default headers values
func (*HardwareModelGetDeviceStatusConfigDefault) Code ¶
func (o *HardwareModelGetDeviceStatusConfigDefault) Code() int
Code gets the status code for the hardware model get device status config default response
func (*HardwareModelGetDeviceStatusConfigDefault) Error ¶
func (o *HardwareModelGetDeviceStatusConfigDefault) Error() string
func (*HardwareModelGetDeviceStatusConfigDefault) GetPayload ¶
func (o *HardwareModelGetDeviceStatusConfigDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelGetDeviceStatusConfigDefault) IsClientError ¶
func (o *HardwareModelGetDeviceStatusConfigDefault) IsClientError() bool
IsClientError returns true when this hardware model get device status config default response has a 4xx status code
func (*HardwareModelGetDeviceStatusConfigDefault) IsCode ¶
func (o *HardwareModelGetDeviceStatusConfigDefault) IsCode(code int) bool
IsCode returns true when this hardware model get device status config default response a status code equal to that given
func (*HardwareModelGetDeviceStatusConfigDefault) IsRedirect ¶
func (o *HardwareModelGetDeviceStatusConfigDefault) IsRedirect() bool
IsRedirect returns true when this hardware model get device status config default response has a 3xx status code
func (*HardwareModelGetDeviceStatusConfigDefault) IsServerError ¶
func (o *HardwareModelGetDeviceStatusConfigDefault) IsServerError() bool
IsServerError returns true when this hardware model get device status config default response has a 5xx status code
func (*HardwareModelGetDeviceStatusConfigDefault) IsSuccess ¶
func (o *HardwareModelGetDeviceStatusConfigDefault) IsSuccess() bool
IsSuccess returns true when this hardware model get device status config default response has a 2xx status code
func (*HardwareModelGetDeviceStatusConfigDefault) String ¶
func (o *HardwareModelGetDeviceStatusConfigDefault) String() string
type HardwareModelGetDeviceStatusConfigForbidden ¶
type HardwareModelGetDeviceStatusConfigForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelGetDeviceStatusConfigForbidden 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 NewHardwareModelGetDeviceStatusConfigForbidden ¶
func NewHardwareModelGetDeviceStatusConfigForbidden() *HardwareModelGetDeviceStatusConfigForbidden
NewHardwareModelGetDeviceStatusConfigForbidden creates a HardwareModelGetDeviceStatusConfigForbidden with default headers values
func (*HardwareModelGetDeviceStatusConfigForbidden) Error ¶
func (o *HardwareModelGetDeviceStatusConfigForbidden) Error() string
func (*HardwareModelGetDeviceStatusConfigForbidden) GetPayload ¶
func (o *HardwareModelGetDeviceStatusConfigForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetDeviceStatusConfigForbidden) IsClientError ¶
func (o *HardwareModelGetDeviceStatusConfigForbidden) IsClientError() bool
IsClientError returns true when this hardware model get device status config forbidden response has a 4xx status code
func (*HardwareModelGetDeviceStatusConfigForbidden) IsCode ¶
func (o *HardwareModelGetDeviceStatusConfigForbidden) IsCode(code int) bool
IsCode returns true when this hardware model get device status config forbidden response a status code equal to that given
func (*HardwareModelGetDeviceStatusConfigForbidden) IsRedirect ¶
func (o *HardwareModelGetDeviceStatusConfigForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model get device status config forbidden response has a 3xx status code
func (*HardwareModelGetDeviceStatusConfigForbidden) IsServerError ¶
func (o *HardwareModelGetDeviceStatusConfigForbidden) IsServerError() bool
IsServerError returns true when this hardware model get device status config forbidden response has a 5xx status code
func (*HardwareModelGetDeviceStatusConfigForbidden) IsSuccess ¶
func (o *HardwareModelGetDeviceStatusConfigForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model get device status config forbidden response has a 2xx status code
func (*HardwareModelGetDeviceStatusConfigForbidden) String ¶
func (o *HardwareModelGetDeviceStatusConfigForbidden) String() string
type HardwareModelGetDeviceStatusConfigGatewayTimeout ¶
type HardwareModelGetDeviceStatusConfigGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelGetDeviceStatusConfigGatewayTimeout 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 NewHardwareModelGetDeviceStatusConfigGatewayTimeout ¶
func NewHardwareModelGetDeviceStatusConfigGatewayTimeout() *HardwareModelGetDeviceStatusConfigGatewayTimeout
NewHardwareModelGetDeviceStatusConfigGatewayTimeout creates a HardwareModelGetDeviceStatusConfigGatewayTimeout with default headers values
func (*HardwareModelGetDeviceStatusConfigGatewayTimeout) Error ¶
func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) Error() string
func (*HardwareModelGetDeviceStatusConfigGatewayTimeout) GetPayload ¶
func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetDeviceStatusConfigGatewayTimeout) IsClientError ¶
func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model get device status config gateway timeout response has a 4xx status code
func (*HardwareModelGetDeviceStatusConfigGatewayTimeout) IsCode ¶
func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model get device status config gateway timeout response a status code equal to that given
func (*HardwareModelGetDeviceStatusConfigGatewayTimeout) IsRedirect ¶
func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model get device status config gateway timeout response has a 3xx status code
func (*HardwareModelGetDeviceStatusConfigGatewayTimeout) IsServerError ¶
func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model get device status config gateway timeout response has a 5xx status code
func (*HardwareModelGetDeviceStatusConfigGatewayTimeout) IsSuccess ¶
func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model get device status config gateway timeout response has a 2xx status code
func (*HardwareModelGetDeviceStatusConfigGatewayTimeout) String ¶
func (o *HardwareModelGetDeviceStatusConfigGatewayTimeout) String() string
type HardwareModelGetDeviceStatusConfigInternalServerError ¶
type HardwareModelGetDeviceStatusConfigInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelGetDeviceStatusConfigInternalServerError 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 NewHardwareModelGetDeviceStatusConfigInternalServerError ¶
func NewHardwareModelGetDeviceStatusConfigInternalServerError() *HardwareModelGetDeviceStatusConfigInternalServerError
NewHardwareModelGetDeviceStatusConfigInternalServerError creates a HardwareModelGetDeviceStatusConfigInternalServerError with default headers values
func (*HardwareModelGetDeviceStatusConfigInternalServerError) Error ¶
func (o *HardwareModelGetDeviceStatusConfigInternalServerError) Error() string
func (*HardwareModelGetDeviceStatusConfigInternalServerError) GetPayload ¶
func (o *HardwareModelGetDeviceStatusConfigInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetDeviceStatusConfigInternalServerError) IsClientError ¶
func (o *HardwareModelGetDeviceStatusConfigInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model get device status config internal server error response has a 4xx status code
func (*HardwareModelGetDeviceStatusConfigInternalServerError) IsCode ¶
func (o *HardwareModelGetDeviceStatusConfigInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model get device status config internal server error response a status code equal to that given
func (*HardwareModelGetDeviceStatusConfigInternalServerError) IsRedirect ¶
func (o *HardwareModelGetDeviceStatusConfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model get device status config internal server error response has a 3xx status code
func (*HardwareModelGetDeviceStatusConfigInternalServerError) IsServerError ¶
func (o *HardwareModelGetDeviceStatusConfigInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model get device status config internal server error response has a 5xx status code
func (*HardwareModelGetDeviceStatusConfigInternalServerError) IsSuccess ¶
func (o *HardwareModelGetDeviceStatusConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model get device status config internal server error response has a 2xx status code
func (*HardwareModelGetDeviceStatusConfigInternalServerError) String ¶
func (o *HardwareModelGetDeviceStatusConfigInternalServerError) String() string
type HardwareModelGetDeviceStatusConfigOK ¶
type HardwareModelGetDeviceStatusConfigOK struct {
Payload *models.DeviceStatusConfigList
}
HardwareModelGetDeviceStatusConfigOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelGetDeviceStatusConfigOK ¶
func NewHardwareModelGetDeviceStatusConfigOK() *HardwareModelGetDeviceStatusConfigOK
NewHardwareModelGetDeviceStatusConfigOK creates a HardwareModelGetDeviceStatusConfigOK with default headers values
func (*HardwareModelGetDeviceStatusConfigOK) Error ¶
func (o *HardwareModelGetDeviceStatusConfigOK) Error() string
func (*HardwareModelGetDeviceStatusConfigOK) GetPayload ¶
func (o *HardwareModelGetDeviceStatusConfigOK) GetPayload() *models.DeviceStatusConfigList
func (*HardwareModelGetDeviceStatusConfigOK) IsClientError ¶
func (o *HardwareModelGetDeviceStatusConfigOK) IsClientError() bool
IsClientError returns true when this hardware model get device status config o k response has a 4xx status code
func (*HardwareModelGetDeviceStatusConfigOK) IsCode ¶
func (o *HardwareModelGetDeviceStatusConfigOK) IsCode(code int) bool
IsCode returns true when this hardware model get device status config o k response a status code equal to that given
func (*HardwareModelGetDeviceStatusConfigOK) IsRedirect ¶
func (o *HardwareModelGetDeviceStatusConfigOK) IsRedirect() bool
IsRedirect returns true when this hardware model get device status config o k response has a 3xx status code
func (*HardwareModelGetDeviceStatusConfigOK) IsServerError ¶
func (o *HardwareModelGetDeviceStatusConfigOK) IsServerError() bool
IsServerError returns true when this hardware model get device status config o k response has a 5xx status code
func (*HardwareModelGetDeviceStatusConfigOK) IsSuccess ¶
func (o *HardwareModelGetDeviceStatusConfigOK) IsSuccess() bool
IsSuccess returns true when this hardware model get device status config o k response has a 2xx status code
func (*HardwareModelGetDeviceStatusConfigOK) String ¶
func (o *HardwareModelGetDeviceStatusConfigOK) String() string
type HardwareModelGetDeviceStatusConfigParams ¶
type HardwareModelGetDeviceStatusConfigParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* Fields. Fields to select for composite api: id, name, title, serialNo, projectId, projectName, isEveLatest, appInstCount, runState, adminState. */ Fields []string // FilterDeviceName. FilterDeviceName *string // FilterLoad. // // Default: "DEVICE_LOAD_UNSPECIFIED" FilterLoad *string // FilterNamePattern. FilterNamePattern *string // FilterProjectName. FilterProjectName *string // FilterProjectNamePattern. FilterProjectNamePattern *string /* FilterRunState. - RUN_STATE_ONLINE: Entity Online - RUN_STATE_HALTED: Entity Halted - RUN_STATE_INIT: Entity Initializing - RUN_STATE_REBOOTING: Entity Rebooting - RUN_STATE_OFFLINE: Entity Offline - RUN_STATE_UNKNOWN: Entity state Unknown - RUN_STATE_UNPROVISIONED: Entity Unprovisioned - RUN_STATE_PROVISIONED: Entity Provisioned - RUN_STATE_SUSPECT: Entity Suspect - RUN_STATE_DOWNLOADING: Edge-node downloading entity artifacts - RUN_STATE_RESTARTING: Entity Restarting - RUN_STATE_PURGING: Entity Purging - RUN_STATE_HALTING: Entity Halting - RUN_STATE_ERROR: Entity encountered an error - RUN_STATE_VERIFYING: Verification of downloaded Artifacts in Progress. - RUN_STATE_LOADING: Loading of Artifacts into local datastore in Progress. - RUN_STATE_CREATING_VOLUME: Volume creation from artifacts in Progress - RUN_STATE_BOOTING: Entity booting up - RUN_STATE_MAINTENANCE_MODE: Entity maintenance mode - RUN_STATE_START_DELAYED: Application start delayed as per configuration - RUN_STATE_BASEOS_UPDATING: Device BaseOs Update in Progress - RUN_STATE_PREPARING_POWEROFF: device preparing power off - shutting down all app instances - RUN_STATE_POWERING_OFF: device powering off from local profile server - RUN_STATE_PREPARED_POWEROFF: device prepared power off - all app instances are shut down Default: "RUN_STATE_UNSPECIFIED" */ FilterRunState *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. Summary *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HardwareModelGetDeviceStatusConfigParams contains all the parameters to send to the API endpoint
for the hardware model get device status config operation. Typically these are written to a http.Request.
func NewHardwareModelGetDeviceStatusConfigParams ¶
func NewHardwareModelGetDeviceStatusConfigParams() *HardwareModelGetDeviceStatusConfigParams
NewHardwareModelGetDeviceStatusConfigParams creates a new HardwareModelGetDeviceStatusConfigParams 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 NewHardwareModelGetDeviceStatusConfigParamsWithContext ¶
func NewHardwareModelGetDeviceStatusConfigParamsWithContext(ctx context.Context) *HardwareModelGetDeviceStatusConfigParams
NewHardwareModelGetDeviceStatusConfigParamsWithContext creates a new HardwareModelGetDeviceStatusConfigParams object with the ability to set a context for a request.
func NewHardwareModelGetDeviceStatusConfigParamsWithHTTPClient ¶
func NewHardwareModelGetDeviceStatusConfigParamsWithHTTPClient(client *http.Client) *HardwareModelGetDeviceStatusConfigParams
NewHardwareModelGetDeviceStatusConfigParamsWithHTTPClient creates a new HardwareModelGetDeviceStatusConfigParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelGetDeviceStatusConfigParamsWithTimeout ¶
func NewHardwareModelGetDeviceStatusConfigParamsWithTimeout(timeout time.Duration) *HardwareModelGetDeviceStatusConfigParams
NewHardwareModelGetDeviceStatusConfigParamsWithTimeout creates a new HardwareModelGetDeviceStatusConfigParams object with the ability to set a timeout on a request.
func (*HardwareModelGetDeviceStatusConfigParams) SetContext ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetDefaults ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetDefaults()
SetDefaults hydrates default values in the hardware model get device status config params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetDeviceStatusConfigParams) SetFields ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetFields(fields []string)
SetFields adds the fields to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetFilterDeviceName ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetFilterDeviceName(filterDeviceName *string)
SetFilterDeviceName adds the filterDeviceName to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetFilterLoad ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetFilterLoad(filterLoad *string)
SetFilterLoad adds the filterLoad to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetFilterNamePattern ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetFilterNamePattern(filterNamePattern *string)
SetFilterNamePattern adds the filterNamePattern to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetFilterProjectName ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetFilterProjectName(filterProjectName *string)
SetFilterProjectName adds the filterProjectName to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetFilterProjectNamePattern ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetFilterProjectNamePattern(filterProjectNamePattern *string)
SetFilterProjectNamePattern adds the filterProjectNamePattern to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetFilterRunState ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetFilterRunState(filterRunState *string)
SetFilterRunState adds the filterRunState to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetHTTPClient ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetNextOrderBy ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetNextOrderBy(nextOrderBy []string)
SetNextOrderBy adds the nextOrderBy to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetNextPageNum ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetNextPageNum(nextPageNum *int64)
SetNextPageNum adds the nextPageNum to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetNextPageSize ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetNextPageSize(nextPageSize *int64)
SetNextPageSize adds the nextPageSize to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetNextPageToken ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetNextTotalPages ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetNextTotalPages(nextTotalPages *int64)
SetNextTotalPages adds the nextTotalPages to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetSummary ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetSummary(summary *bool)
SetSummary adds the summary to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetTimeout ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) SetXRequestID ¶
func (o *HardwareModelGetDeviceStatusConfigParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithContext ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithContext(ctx context.Context) *HardwareModelGetDeviceStatusConfigParams
WithContext adds the context to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithDefaults ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithDefaults() *HardwareModelGetDeviceStatusConfigParams
WithDefaults hydrates default values in the hardware model get device status config params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetDeviceStatusConfigParams) WithFields ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithFields(fields []string) *HardwareModelGetDeviceStatusConfigParams
WithFields adds the fields to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithFilterDeviceName ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithFilterDeviceName(filterDeviceName *string) *HardwareModelGetDeviceStatusConfigParams
WithFilterDeviceName adds the filterDeviceName to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithFilterLoad ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithFilterLoad(filterLoad *string) *HardwareModelGetDeviceStatusConfigParams
WithFilterLoad adds the filterLoad to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithFilterNamePattern ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithFilterNamePattern(filterNamePattern *string) *HardwareModelGetDeviceStatusConfigParams
WithFilterNamePattern adds the filterNamePattern to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithFilterProjectName ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithFilterProjectName(filterProjectName *string) *HardwareModelGetDeviceStatusConfigParams
WithFilterProjectName adds the filterProjectName to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithFilterProjectNamePattern ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithFilterProjectNamePattern(filterProjectNamePattern *string) *HardwareModelGetDeviceStatusConfigParams
WithFilterProjectNamePattern adds the filterProjectNamePattern to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithFilterRunState ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithFilterRunState(filterRunState *string) *HardwareModelGetDeviceStatusConfigParams
WithFilterRunState adds the filterRunState to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithHTTPClient ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithHTTPClient(client *http.Client) *HardwareModelGetDeviceStatusConfigParams
WithHTTPClient adds the HTTPClient to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithNextOrderBy ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithNextOrderBy(nextOrderBy []string) *HardwareModelGetDeviceStatusConfigParams
WithNextOrderBy adds the nextOrderBy to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithNextPageNum ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithNextPageNum(nextPageNum *int64) *HardwareModelGetDeviceStatusConfigParams
WithNextPageNum adds the nextPageNum to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithNextPageSize ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithNextPageSize(nextPageSize *int64) *HardwareModelGetDeviceStatusConfigParams
WithNextPageSize adds the nextPageSize to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithNextPageToken ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithNextPageToken(nextPageToken *string) *HardwareModelGetDeviceStatusConfigParams
WithNextPageToken adds the nextPageToken to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithNextTotalPages ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithNextTotalPages(nextTotalPages *int64) *HardwareModelGetDeviceStatusConfigParams
WithNextTotalPages adds the nextTotalPages to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithSummary ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithSummary(summary *bool) *HardwareModelGetDeviceStatusConfigParams
WithSummary adds the summary to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithTimeout ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithTimeout(timeout time.Duration) *HardwareModelGetDeviceStatusConfigParams
WithTimeout adds the timeout to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WithXRequestID ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WithXRequestID(xRequestID *string) *HardwareModelGetDeviceStatusConfigParams
WithXRequestID adds the xRequestID to the hardware model get device status config params
func (*HardwareModelGetDeviceStatusConfigParams) WriteToRequest ¶
func (o *HardwareModelGetDeviceStatusConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelGetDeviceStatusConfigReader ¶
type HardwareModelGetDeviceStatusConfigReader struct {
// contains filtered or unexported fields
}
HardwareModelGetDeviceStatusConfigReader is a Reader for the HardwareModelGetDeviceStatusConfig structure.
func (*HardwareModelGetDeviceStatusConfigReader) ReadResponse ¶
func (o *HardwareModelGetDeviceStatusConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelGetDeviceStatusConfigUnauthorized ¶
type HardwareModelGetDeviceStatusConfigUnauthorized struct {
}HardwareModelGetDeviceStatusConfigUnauthorized 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 NewHardwareModelGetDeviceStatusConfigUnauthorized ¶
func NewHardwareModelGetDeviceStatusConfigUnauthorized() *HardwareModelGetDeviceStatusConfigUnauthorized
NewHardwareModelGetDeviceStatusConfigUnauthorized creates a HardwareModelGetDeviceStatusConfigUnauthorized with default headers values
func (*HardwareModelGetDeviceStatusConfigUnauthorized) Error ¶
func (o *HardwareModelGetDeviceStatusConfigUnauthorized) Error() string
func (*HardwareModelGetDeviceStatusConfigUnauthorized) GetPayload ¶
func (o *HardwareModelGetDeviceStatusConfigUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetDeviceStatusConfigUnauthorized) IsClientError ¶
func (o *HardwareModelGetDeviceStatusConfigUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model get device status config unauthorized response has a 4xx status code
func (*HardwareModelGetDeviceStatusConfigUnauthorized) IsCode ¶
func (o *HardwareModelGetDeviceStatusConfigUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model get device status config unauthorized response a status code equal to that given
func (*HardwareModelGetDeviceStatusConfigUnauthorized) IsRedirect ¶
func (o *HardwareModelGetDeviceStatusConfigUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model get device status config unauthorized response has a 3xx status code
func (*HardwareModelGetDeviceStatusConfigUnauthorized) IsServerError ¶
func (o *HardwareModelGetDeviceStatusConfigUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model get device status config unauthorized response has a 5xx status code
func (*HardwareModelGetDeviceStatusConfigUnauthorized) IsSuccess ¶
func (o *HardwareModelGetDeviceStatusConfigUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model get device status config unauthorized response has a 2xx status code
func (*HardwareModelGetDeviceStatusConfigUnauthorized) String ¶
func (o *HardwareModelGetDeviceStatusConfigUnauthorized) String() string
type HardwareModelGetDeviceStatusLocationBadRequest ¶
type HardwareModelGetDeviceStatusLocationBadRequest struct {
Payload *models.ZsrvResponse
}
HardwareModelGetDeviceStatusLocationBadRequest 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 NewHardwareModelGetDeviceStatusLocationBadRequest ¶
func NewHardwareModelGetDeviceStatusLocationBadRequest() *HardwareModelGetDeviceStatusLocationBadRequest
NewHardwareModelGetDeviceStatusLocationBadRequest creates a HardwareModelGetDeviceStatusLocationBadRequest with default headers values
func (*HardwareModelGetDeviceStatusLocationBadRequest) Error ¶
func (o *HardwareModelGetDeviceStatusLocationBadRequest) Error() string
func (*HardwareModelGetDeviceStatusLocationBadRequest) GetPayload ¶
func (o *HardwareModelGetDeviceStatusLocationBadRequest) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetDeviceStatusLocationBadRequest) IsClientError ¶
func (o *HardwareModelGetDeviceStatusLocationBadRequest) IsClientError() bool
IsClientError returns true when this hardware model get device status location bad request response has a 4xx status code
func (*HardwareModelGetDeviceStatusLocationBadRequest) IsCode ¶
func (o *HardwareModelGetDeviceStatusLocationBadRequest) IsCode(code int) bool
IsCode returns true when this hardware model get device status location bad request response a status code equal to that given
func (*HardwareModelGetDeviceStatusLocationBadRequest) IsRedirect ¶
func (o *HardwareModelGetDeviceStatusLocationBadRequest) IsRedirect() bool
IsRedirect returns true when this hardware model get device status location bad request response has a 3xx status code
func (*HardwareModelGetDeviceStatusLocationBadRequest) IsServerError ¶
func (o *HardwareModelGetDeviceStatusLocationBadRequest) IsServerError() bool
IsServerError returns true when this hardware model get device status location bad request response has a 5xx status code
func (*HardwareModelGetDeviceStatusLocationBadRequest) IsSuccess ¶
func (o *HardwareModelGetDeviceStatusLocationBadRequest) IsSuccess() bool
IsSuccess returns true when this hardware model get device status location bad request response has a 2xx status code
func (*HardwareModelGetDeviceStatusLocationBadRequest) String ¶
func (o *HardwareModelGetDeviceStatusLocationBadRequest) String() string
type HardwareModelGetDeviceStatusLocationDefault ¶
type HardwareModelGetDeviceStatusLocationDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelGetDeviceStatusLocationDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelGetDeviceStatusLocationDefault ¶
func NewHardwareModelGetDeviceStatusLocationDefault(code int) *HardwareModelGetDeviceStatusLocationDefault
NewHardwareModelGetDeviceStatusLocationDefault creates a HardwareModelGetDeviceStatusLocationDefault with default headers values
func (*HardwareModelGetDeviceStatusLocationDefault) Code ¶
func (o *HardwareModelGetDeviceStatusLocationDefault) Code() int
Code gets the status code for the hardware model get device status location default response
func (*HardwareModelGetDeviceStatusLocationDefault) Error ¶
func (o *HardwareModelGetDeviceStatusLocationDefault) Error() string
func (*HardwareModelGetDeviceStatusLocationDefault) GetPayload ¶
func (o *HardwareModelGetDeviceStatusLocationDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelGetDeviceStatusLocationDefault) IsClientError ¶
func (o *HardwareModelGetDeviceStatusLocationDefault) IsClientError() bool
IsClientError returns true when this hardware model get device status location default response has a 4xx status code
func (*HardwareModelGetDeviceStatusLocationDefault) IsCode ¶
func (o *HardwareModelGetDeviceStatusLocationDefault) IsCode(code int) bool
IsCode returns true when this hardware model get device status location default response a status code equal to that given
func (*HardwareModelGetDeviceStatusLocationDefault) IsRedirect ¶
func (o *HardwareModelGetDeviceStatusLocationDefault) IsRedirect() bool
IsRedirect returns true when this hardware model get device status location default response has a 3xx status code
func (*HardwareModelGetDeviceStatusLocationDefault) IsServerError ¶
func (o *HardwareModelGetDeviceStatusLocationDefault) IsServerError() bool
IsServerError returns true when this hardware model get device status location default response has a 5xx status code
func (*HardwareModelGetDeviceStatusLocationDefault) IsSuccess ¶
func (o *HardwareModelGetDeviceStatusLocationDefault) IsSuccess() bool
IsSuccess returns true when this hardware model get device status location default response has a 2xx status code
func (*HardwareModelGetDeviceStatusLocationDefault) String ¶
func (o *HardwareModelGetDeviceStatusLocationDefault) String() string
type HardwareModelGetDeviceStatusLocationForbidden ¶
type HardwareModelGetDeviceStatusLocationForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelGetDeviceStatusLocationForbidden 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 NewHardwareModelGetDeviceStatusLocationForbidden ¶
func NewHardwareModelGetDeviceStatusLocationForbidden() *HardwareModelGetDeviceStatusLocationForbidden
NewHardwareModelGetDeviceStatusLocationForbidden creates a HardwareModelGetDeviceStatusLocationForbidden with default headers values
func (*HardwareModelGetDeviceStatusLocationForbidden) Error ¶
func (o *HardwareModelGetDeviceStatusLocationForbidden) Error() string
func (*HardwareModelGetDeviceStatusLocationForbidden) GetPayload ¶
func (o *HardwareModelGetDeviceStatusLocationForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetDeviceStatusLocationForbidden) IsClientError ¶
func (o *HardwareModelGetDeviceStatusLocationForbidden) IsClientError() bool
IsClientError returns true when this hardware model get device status location forbidden response has a 4xx status code
func (*HardwareModelGetDeviceStatusLocationForbidden) IsCode ¶
func (o *HardwareModelGetDeviceStatusLocationForbidden) IsCode(code int) bool
IsCode returns true when this hardware model get device status location forbidden response a status code equal to that given
func (*HardwareModelGetDeviceStatusLocationForbidden) IsRedirect ¶
func (o *HardwareModelGetDeviceStatusLocationForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model get device status location forbidden response has a 3xx status code
func (*HardwareModelGetDeviceStatusLocationForbidden) IsServerError ¶
func (o *HardwareModelGetDeviceStatusLocationForbidden) IsServerError() bool
IsServerError returns true when this hardware model get device status location forbidden response has a 5xx status code
func (*HardwareModelGetDeviceStatusLocationForbidden) IsSuccess ¶
func (o *HardwareModelGetDeviceStatusLocationForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model get device status location forbidden response has a 2xx status code
func (*HardwareModelGetDeviceStatusLocationForbidden) String ¶
func (o *HardwareModelGetDeviceStatusLocationForbidden) String() string
type HardwareModelGetDeviceStatusLocationGatewayTimeout ¶
type HardwareModelGetDeviceStatusLocationGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelGetDeviceStatusLocationGatewayTimeout 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 NewHardwareModelGetDeviceStatusLocationGatewayTimeout ¶
func NewHardwareModelGetDeviceStatusLocationGatewayTimeout() *HardwareModelGetDeviceStatusLocationGatewayTimeout
NewHardwareModelGetDeviceStatusLocationGatewayTimeout creates a HardwareModelGetDeviceStatusLocationGatewayTimeout with default headers values
func (*HardwareModelGetDeviceStatusLocationGatewayTimeout) Error ¶
func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) Error() string
func (*HardwareModelGetDeviceStatusLocationGatewayTimeout) GetPayload ¶
func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetDeviceStatusLocationGatewayTimeout) IsClientError ¶
func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model get device status location gateway timeout response has a 4xx status code
func (*HardwareModelGetDeviceStatusLocationGatewayTimeout) IsCode ¶
func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model get device status location gateway timeout response a status code equal to that given
func (*HardwareModelGetDeviceStatusLocationGatewayTimeout) IsRedirect ¶
func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model get device status location gateway timeout response has a 3xx status code
func (*HardwareModelGetDeviceStatusLocationGatewayTimeout) IsServerError ¶
func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model get device status location gateway timeout response has a 5xx status code
func (*HardwareModelGetDeviceStatusLocationGatewayTimeout) IsSuccess ¶
func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model get device status location gateway timeout response has a 2xx status code
func (*HardwareModelGetDeviceStatusLocationGatewayTimeout) String ¶
func (o *HardwareModelGetDeviceStatusLocationGatewayTimeout) String() string
type HardwareModelGetDeviceStatusLocationInternalServerError ¶
type HardwareModelGetDeviceStatusLocationInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelGetDeviceStatusLocationInternalServerError 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 NewHardwareModelGetDeviceStatusLocationInternalServerError ¶
func NewHardwareModelGetDeviceStatusLocationInternalServerError() *HardwareModelGetDeviceStatusLocationInternalServerError
NewHardwareModelGetDeviceStatusLocationInternalServerError creates a HardwareModelGetDeviceStatusLocationInternalServerError with default headers values
func (*HardwareModelGetDeviceStatusLocationInternalServerError) Error ¶
func (o *HardwareModelGetDeviceStatusLocationInternalServerError) Error() string
func (*HardwareModelGetDeviceStatusLocationInternalServerError) GetPayload ¶
func (o *HardwareModelGetDeviceStatusLocationInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetDeviceStatusLocationInternalServerError) IsClientError ¶
func (o *HardwareModelGetDeviceStatusLocationInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model get device status location internal server error response has a 4xx status code
func (*HardwareModelGetDeviceStatusLocationInternalServerError) IsCode ¶
func (o *HardwareModelGetDeviceStatusLocationInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model get device status location internal server error response a status code equal to that given
func (*HardwareModelGetDeviceStatusLocationInternalServerError) IsRedirect ¶
func (o *HardwareModelGetDeviceStatusLocationInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model get device status location internal server error response has a 3xx status code
func (*HardwareModelGetDeviceStatusLocationInternalServerError) IsServerError ¶
func (o *HardwareModelGetDeviceStatusLocationInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model get device status location internal server error response has a 5xx status code
func (*HardwareModelGetDeviceStatusLocationInternalServerError) IsSuccess ¶
func (o *HardwareModelGetDeviceStatusLocationInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model get device status location internal server error response has a 2xx status code
func (*HardwareModelGetDeviceStatusLocationInternalServerError) String ¶
func (o *HardwareModelGetDeviceStatusLocationInternalServerError) String() string
type HardwareModelGetDeviceStatusLocationOK ¶
type HardwareModelGetDeviceStatusLocationOK struct {
Payload *models.DeviceLocations
}
HardwareModelGetDeviceStatusLocationOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelGetDeviceStatusLocationOK ¶
func NewHardwareModelGetDeviceStatusLocationOK() *HardwareModelGetDeviceStatusLocationOK
NewHardwareModelGetDeviceStatusLocationOK creates a HardwareModelGetDeviceStatusLocationOK with default headers values
func (*HardwareModelGetDeviceStatusLocationOK) Error ¶
func (o *HardwareModelGetDeviceStatusLocationOK) Error() string
func (*HardwareModelGetDeviceStatusLocationOK) GetPayload ¶
func (o *HardwareModelGetDeviceStatusLocationOK) GetPayload() *models.DeviceLocations
func (*HardwareModelGetDeviceStatusLocationOK) IsClientError ¶
func (o *HardwareModelGetDeviceStatusLocationOK) IsClientError() bool
IsClientError returns true when this hardware model get device status location o k response has a 4xx status code
func (*HardwareModelGetDeviceStatusLocationOK) IsCode ¶
func (o *HardwareModelGetDeviceStatusLocationOK) IsCode(code int) bool
IsCode returns true when this hardware model get device status location o k response a status code equal to that given
func (*HardwareModelGetDeviceStatusLocationOK) IsRedirect ¶
func (o *HardwareModelGetDeviceStatusLocationOK) IsRedirect() bool
IsRedirect returns true when this hardware model get device status location o k response has a 3xx status code
func (*HardwareModelGetDeviceStatusLocationOK) IsServerError ¶
func (o *HardwareModelGetDeviceStatusLocationOK) IsServerError() bool
IsServerError returns true when this hardware model get device status location o k response has a 5xx status code
func (*HardwareModelGetDeviceStatusLocationOK) IsSuccess ¶
func (o *HardwareModelGetDeviceStatusLocationOK) IsSuccess() bool
IsSuccess returns true when this hardware model get device status location o k response has a 2xx status code
func (*HardwareModelGetDeviceStatusLocationOK) String ¶
func (o *HardwareModelGetDeviceStatusLocationOK) String() string
type HardwareModelGetDeviceStatusLocationParams ¶
type HardwareModelGetDeviceStatusLocationParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* Fields. Fields to select for composite api: id, name, title, serialNo, projectId, projectName, isEveLatest, appInstCount, runState, adminState. */ Fields []string // FilterDeviceName. FilterDeviceName *string // FilterLoad. // // Default: "DEVICE_LOAD_UNSPECIFIED" FilterLoad *string // FilterNamePattern. FilterNamePattern *string // FilterProjectName. FilterProjectName *string // FilterProjectNamePattern. FilterProjectNamePattern *string /* FilterRunState. - RUN_STATE_ONLINE: Entity Online - RUN_STATE_HALTED: Entity Halted - RUN_STATE_INIT: Entity Initializing - RUN_STATE_REBOOTING: Entity Rebooting - RUN_STATE_OFFLINE: Entity Offline - RUN_STATE_UNKNOWN: Entity state Unknown - RUN_STATE_UNPROVISIONED: Entity Unprovisioned - RUN_STATE_PROVISIONED: Entity Provisioned - RUN_STATE_SUSPECT: Entity Suspect - RUN_STATE_DOWNLOADING: Edge-node downloading entity artifacts - RUN_STATE_RESTARTING: Entity Restarting - RUN_STATE_PURGING: Entity Purging - RUN_STATE_HALTING: Entity Halting - RUN_STATE_ERROR: Entity encountered an error - RUN_STATE_VERIFYING: Verification of downloaded Artifacts in Progress. - RUN_STATE_LOADING: Loading of Artifacts into local datastore in Progress. - RUN_STATE_CREATING_VOLUME: Volume creation from artifacts in Progress - RUN_STATE_BOOTING: Entity booting up - RUN_STATE_MAINTENANCE_MODE: Entity maintenance mode - RUN_STATE_START_DELAYED: Application start delayed as per configuration - RUN_STATE_BASEOS_UPDATING: Device BaseOs Update in Progress - RUN_STATE_PREPARING_POWEROFF: device preparing power off - shutting down all app instances - RUN_STATE_POWERING_OFF: device powering off from local profile server - RUN_STATE_PREPARED_POWEROFF: device prepared power off - all app instances are shut down Default: "RUN_STATE_UNSPECIFIED" */ FilterRunState *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. Summary *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HardwareModelGetDeviceStatusLocationParams contains all the parameters to send to the API endpoint
for the hardware model get device status location operation. Typically these are written to a http.Request.
func NewHardwareModelGetDeviceStatusLocationParams ¶
func NewHardwareModelGetDeviceStatusLocationParams() *HardwareModelGetDeviceStatusLocationParams
NewHardwareModelGetDeviceStatusLocationParams creates a new HardwareModelGetDeviceStatusLocationParams 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 NewHardwareModelGetDeviceStatusLocationParamsWithContext ¶
func NewHardwareModelGetDeviceStatusLocationParamsWithContext(ctx context.Context) *HardwareModelGetDeviceStatusLocationParams
NewHardwareModelGetDeviceStatusLocationParamsWithContext creates a new HardwareModelGetDeviceStatusLocationParams object with the ability to set a context for a request.
func NewHardwareModelGetDeviceStatusLocationParamsWithHTTPClient ¶
func NewHardwareModelGetDeviceStatusLocationParamsWithHTTPClient(client *http.Client) *HardwareModelGetDeviceStatusLocationParams
NewHardwareModelGetDeviceStatusLocationParamsWithHTTPClient creates a new HardwareModelGetDeviceStatusLocationParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelGetDeviceStatusLocationParamsWithTimeout ¶
func NewHardwareModelGetDeviceStatusLocationParamsWithTimeout(timeout time.Duration) *HardwareModelGetDeviceStatusLocationParams
NewHardwareModelGetDeviceStatusLocationParamsWithTimeout creates a new HardwareModelGetDeviceStatusLocationParams object with the ability to set a timeout on a request.
func (*HardwareModelGetDeviceStatusLocationParams) SetContext ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetDefaults ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetDefaults()
SetDefaults hydrates default values in the hardware model get device status location params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetDeviceStatusLocationParams) SetFields ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetFields(fields []string)
SetFields adds the fields to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetFilterDeviceName ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetFilterDeviceName(filterDeviceName *string)
SetFilterDeviceName adds the filterDeviceName to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetFilterLoad ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetFilterLoad(filterLoad *string)
SetFilterLoad adds the filterLoad to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetFilterNamePattern ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetFilterNamePattern(filterNamePattern *string)
SetFilterNamePattern adds the filterNamePattern to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetFilterProjectName ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetFilterProjectName(filterProjectName *string)
SetFilterProjectName adds the filterProjectName to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetFilterProjectNamePattern ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetFilterProjectNamePattern(filterProjectNamePattern *string)
SetFilterProjectNamePattern adds the filterProjectNamePattern to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetFilterRunState ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetFilterRunState(filterRunState *string)
SetFilterRunState adds the filterRunState to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetHTTPClient ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetNextOrderBy ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetNextOrderBy(nextOrderBy []string)
SetNextOrderBy adds the nextOrderBy to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetNextPageNum ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetNextPageNum(nextPageNum *int64)
SetNextPageNum adds the nextPageNum to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetNextPageSize ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetNextPageSize(nextPageSize *int64)
SetNextPageSize adds the nextPageSize to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetNextPageToken ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetNextTotalPages ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetNextTotalPages(nextTotalPages *int64)
SetNextTotalPages adds the nextTotalPages to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetSummary ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetSummary(summary *bool)
SetSummary adds the summary to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetTimeout ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) SetXRequestID ¶
func (o *HardwareModelGetDeviceStatusLocationParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithContext ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithContext(ctx context.Context) *HardwareModelGetDeviceStatusLocationParams
WithContext adds the context to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithDefaults ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithDefaults() *HardwareModelGetDeviceStatusLocationParams
WithDefaults hydrates default values in the hardware model get device status location params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetDeviceStatusLocationParams) WithFields ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithFields(fields []string) *HardwareModelGetDeviceStatusLocationParams
WithFields adds the fields to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithFilterDeviceName ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithFilterDeviceName(filterDeviceName *string) *HardwareModelGetDeviceStatusLocationParams
WithFilterDeviceName adds the filterDeviceName to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithFilterLoad ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithFilterLoad(filterLoad *string) *HardwareModelGetDeviceStatusLocationParams
WithFilterLoad adds the filterLoad to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithFilterNamePattern ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithFilterNamePattern(filterNamePattern *string) *HardwareModelGetDeviceStatusLocationParams
WithFilterNamePattern adds the filterNamePattern to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithFilterProjectName ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithFilterProjectName(filterProjectName *string) *HardwareModelGetDeviceStatusLocationParams
WithFilterProjectName adds the filterProjectName to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithFilterProjectNamePattern ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithFilterProjectNamePattern(filterProjectNamePattern *string) *HardwareModelGetDeviceStatusLocationParams
WithFilterProjectNamePattern adds the filterProjectNamePattern to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithFilterRunState ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithFilterRunState(filterRunState *string) *HardwareModelGetDeviceStatusLocationParams
WithFilterRunState adds the filterRunState to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithHTTPClient ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithHTTPClient(client *http.Client) *HardwareModelGetDeviceStatusLocationParams
WithHTTPClient adds the HTTPClient to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithNextOrderBy ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithNextOrderBy(nextOrderBy []string) *HardwareModelGetDeviceStatusLocationParams
WithNextOrderBy adds the nextOrderBy to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithNextPageNum ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithNextPageNum(nextPageNum *int64) *HardwareModelGetDeviceStatusLocationParams
WithNextPageNum adds the nextPageNum to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithNextPageSize ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithNextPageSize(nextPageSize *int64) *HardwareModelGetDeviceStatusLocationParams
WithNextPageSize adds the nextPageSize to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithNextPageToken ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithNextPageToken(nextPageToken *string) *HardwareModelGetDeviceStatusLocationParams
WithNextPageToken adds the nextPageToken to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithNextTotalPages ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithNextTotalPages(nextTotalPages *int64) *HardwareModelGetDeviceStatusLocationParams
WithNextTotalPages adds the nextTotalPages to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithSummary ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithSummary(summary *bool) *HardwareModelGetDeviceStatusLocationParams
WithSummary adds the summary to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithTimeout ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithTimeout(timeout time.Duration) *HardwareModelGetDeviceStatusLocationParams
WithTimeout adds the timeout to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WithXRequestID ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WithXRequestID(xRequestID *string) *HardwareModelGetDeviceStatusLocationParams
WithXRequestID adds the xRequestID to the hardware model get device status location params
func (*HardwareModelGetDeviceStatusLocationParams) WriteToRequest ¶
func (o *HardwareModelGetDeviceStatusLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelGetDeviceStatusLocationReader ¶
type HardwareModelGetDeviceStatusLocationReader struct {
// contains filtered or unexported fields
}
HardwareModelGetDeviceStatusLocationReader is a Reader for the HardwareModelGetDeviceStatusLocation structure.
func (*HardwareModelGetDeviceStatusLocationReader) ReadResponse ¶
func (o *HardwareModelGetDeviceStatusLocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelGetDeviceStatusLocationUnauthorized ¶
type HardwareModelGetDeviceStatusLocationUnauthorized struct {
}HardwareModelGetDeviceStatusLocationUnauthorized 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 NewHardwareModelGetDeviceStatusLocationUnauthorized ¶
func NewHardwareModelGetDeviceStatusLocationUnauthorized() *HardwareModelGetDeviceStatusLocationUnauthorized
NewHardwareModelGetDeviceStatusLocationUnauthorized creates a HardwareModelGetDeviceStatusLocationUnauthorized with default headers values
func (*HardwareModelGetDeviceStatusLocationUnauthorized) Error ¶
func (o *HardwareModelGetDeviceStatusLocationUnauthorized) Error() string
func (*HardwareModelGetDeviceStatusLocationUnauthorized) GetPayload ¶
func (o *HardwareModelGetDeviceStatusLocationUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetDeviceStatusLocationUnauthorized) IsClientError ¶
func (o *HardwareModelGetDeviceStatusLocationUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model get device status location unauthorized response has a 4xx status code
func (*HardwareModelGetDeviceStatusLocationUnauthorized) IsCode ¶
func (o *HardwareModelGetDeviceStatusLocationUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model get device status location unauthorized response a status code equal to that given
func (*HardwareModelGetDeviceStatusLocationUnauthorized) IsRedirect ¶
func (o *HardwareModelGetDeviceStatusLocationUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model get device status location unauthorized response has a 3xx status code
func (*HardwareModelGetDeviceStatusLocationUnauthorized) IsServerError ¶
func (o *HardwareModelGetDeviceStatusLocationUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model get device status location unauthorized response has a 5xx status code
func (*HardwareModelGetDeviceStatusLocationUnauthorized) IsSuccess ¶
func (o *HardwareModelGetDeviceStatusLocationUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model get device status location unauthorized response has a 2xx status code
func (*HardwareModelGetDeviceStatusLocationUnauthorized) String ¶
func (o *HardwareModelGetDeviceStatusLocationUnauthorized) String() string
type HardwareModelGetDeviceTagsBadRequest ¶
type HardwareModelGetDeviceTagsBadRequest struct {
Payload *models.ZsrvResponse
}
HardwareModelGetDeviceTagsBadRequest 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 NewHardwareModelGetDeviceTagsBadRequest ¶
func NewHardwareModelGetDeviceTagsBadRequest() *HardwareModelGetDeviceTagsBadRequest
NewHardwareModelGetDeviceTagsBadRequest creates a HardwareModelGetDeviceTagsBadRequest with default headers values
func (*HardwareModelGetDeviceTagsBadRequest) Error ¶
func (o *HardwareModelGetDeviceTagsBadRequest) Error() string
func (*HardwareModelGetDeviceTagsBadRequest) GetPayload ¶
func (o *HardwareModelGetDeviceTagsBadRequest) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetDeviceTagsBadRequest) IsClientError ¶
func (o *HardwareModelGetDeviceTagsBadRequest) IsClientError() bool
IsClientError returns true when this hardware model get device tags bad request response has a 4xx status code
func (*HardwareModelGetDeviceTagsBadRequest) IsCode ¶
func (o *HardwareModelGetDeviceTagsBadRequest) IsCode(code int) bool
IsCode returns true when this hardware model get device tags bad request response a status code equal to that given
func (*HardwareModelGetDeviceTagsBadRequest) IsRedirect ¶
func (o *HardwareModelGetDeviceTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this hardware model get device tags bad request response has a 3xx status code
func (*HardwareModelGetDeviceTagsBadRequest) IsServerError ¶
func (o *HardwareModelGetDeviceTagsBadRequest) IsServerError() bool
IsServerError returns true when this hardware model get device tags bad request response has a 5xx status code
func (*HardwareModelGetDeviceTagsBadRequest) IsSuccess ¶
func (o *HardwareModelGetDeviceTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this hardware model get device tags bad request response has a 2xx status code
func (*HardwareModelGetDeviceTagsBadRequest) String ¶
func (o *HardwareModelGetDeviceTagsBadRequest) String() string
type HardwareModelGetDeviceTagsDefault ¶
type HardwareModelGetDeviceTagsDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelGetDeviceTagsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelGetDeviceTagsDefault ¶
func NewHardwareModelGetDeviceTagsDefault(code int) *HardwareModelGetDeviceTagsDefault
NewHardwareModelGetDeviceTagsDefault creates a HardwareModelGetDeviceTagsDefault with default headers values
func (*HardwareModelGetDeviceTagsDefault) Code ¶
func (o *HardwareModelGetDeviceTagsDefault) Code() int
Code gets the status code for the hardware model get device tags default response
func (*HardwareModelGetDeviceTagsDefault) Error ¶
func (o *HardwareModelGetDeviceTagsDefault) Error() string
func (*HardwareModelGetDeviceTagsDefault) GetPayload ¶
func (o *HardwareModelGetDeviceTagsDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelGetDeviceTagsDefault) IsClientError ¶
func (o *HardwareModelGetDeviceTagsDefault) IsClientError() bool
IsClientError returns true when this hardware model get device tags default response has a 4xx status code
func (*HardwareModelGetDeviceTagsDefault) IsCode ¶
func (o *HardwareModelGetDeviceTagsDefault) IsCode(code int) bool
IsCode returns true when this hardware model get device tags default response a status code equal to that given
func (*HardwareModelGetDeviceTagsDefault) IsRedirect ¶
func (o *HardwareModelGetDeviceTagsDefault) IsRedirect() bool
IsRedirect returns true when this hardware model get device tags default response has a 3xx status code
func (*HardwareModelGetDeviceTagsDefault) IsServerError ¶
func (o *HardwareModelGetDeviceTagsDefault) IsServerError() bool
IsServerError returns true when this hardware model get device tags default response has a 5xx status code
func (*HardwareModelGetDeviceTagsDefault) IsSuccess ¶
func (o *HardwareModelGetDeviceTagsDefault) IsSuccess() bool
IsSuccess returns true when this hardware model get device tags default response has a 2xx status code
func (*HardwareModelGetDeviceTagsDefault) String ¶
func (o *HardwareModelGetDeviceTagsDefault) String() string
type HardwareModelGetDeviceTagsForbidden ¶
type HardwareModelGetDeviceTagsForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelGetDeviceTagsForbidden 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 NewHardwareModelGetDeviceTagsForbidden ¶
func NewHardwareModelGetDeviceTagsForbidden() *HardwareModelGetDeviceTagsForbidden
NewHardwareModelGetDeviceTagsForbidden creates a HardwareModelGetDeviceTagsForbidden with default headers values
func (*HardwareModelGetDeviceTagsForbidden) Error ¶
func (o *HardwareModelGetDeviceTagsForbidden) Error() string
func (*HardwareModelGetDeviceTagsForbidden) GetPayload ¶
func (o *HardwareModelGetDeviceTagsForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetDeviceTagsForbidden) IsClientError ¶
func (o *HardwareModelGetDeviceTagsForbidden) IsClientError() bool
IsClientError returns true when this hardware model get device tags forbidden response has a 4xx status code
func (*HardwareModelGetDeviceTagsForbidden) IsCode ¶
func (o *HardwareModelGetDeviceTagsForbidden) IsCode(code int) bool
IsCode returns true when this hardware model get device tags forbidden response a status code equal to that given
func (*HardwareModelGetDeviceTagsForbidden) IsRedirect ¶
func (o *HardwareModelGetDeviceTagsForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model get device tags forbidden response has a 3xx status code
func (*HardwareModelGetDeviceTagsForbidden) IsServerError ¶
func (o *HardwareModelGetDeviceTagsForbidden) IsServerError() bool
IsServerError returns true when this hardware model get device tags forbidden response has a 5xx status code
func (*HardwareModelGetDeviceTagsForbidden) IsSuccess ¶
func (o *HardwareModelGetDeviceTagsForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model get device tags forbidden response has a 2xx status code
func (*HardwareModelGetDeviceTagsForbidden) String ¶
func (o *HardwareModelGetDeviceTagsForbidden) String() string
type HardwareModelGetDeviceTagsGatewayTimeout ¶
type HardwareModelGetDeviceTagsGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelGetDeviceTagsGatewayTimeout 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 NewHardwareModelGetDeviceTagsGatewayTimeout ¶
func NewHardwareModelGetDeviceTagsGatewayTimeout() *HardwareModelGetDeviceTagsGatewayTimeout
NewHardwareModelGetDeviceTagsGatewayTimeout creates a HardwareModelGetDeviceTagsGatewayTimeout with default headers values
func (*HardwareModelGetDeviceTagsGatewayTimeout) Error ¶
func (o *HardwareModelGetDeviceTagsGatewayTimeout) Error() string
func (*HardwareModelGetDeviceTagsGatewayTimeout) GetPayload ¶
func (o *HardwareModelGetDeviceTagsGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetDeviceTagsGatewayTimeout) IsClientError ¶
func (o *HardwareModelGetDeviceTagsGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model get device tags gateway timeout response has a 4xx status code
func (*HardwareModelGetDeviceTagsGatewayTimeout) IsCode ¶
func (o *HardwareModelGetDeviceTagsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model get device tags gateway timeout response a status code equal to that given
func (*HardwareModelGetDeviceTagsGatewayTimeout) IsRedirect ¶
func (o *HardwareModelGetDeviceTagsGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model get device tags gateway timeout response has a 3xx status code
func (*HardwareModelGetDeviceTagsGatewayTimeout) IsServerError ¶
func (o *HardwareModelGetDeviceTagsGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model get device tags gateway timeout response has a 5xx status code
func (*HardwareModelGetDeviceTagsGatewayTimeout) IsSuccess ¶
func (o *HardwareModelGetDeviceTagsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model get device tags gateway timeout response has a 2xx status code
func (*HardwareModelGetDeviceTagsGatewayTimeout) String ¶
func (o *HardwareModelGetDeviceTagsGatewayTimeout) String() string
type HardwareModelGetDeviceTagsInternalServerError ¶
type HardwareModelGetDeviceTagsInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelGetDeviceTagsInternalServerError 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 NewHardwareModelGetDeviceTagsInternalServerError ¶
func NewHardwareModelGetDeviceTagsInternalServerError() *HardwareModelGetDeviceTagsInternalServerError
NewHardwareModelGetDeviceTagsInternalServerError creates a HardwareModelGetDeviceTagsInternalServerError with default headers values
func (*HardwareModelGetDeviceTagsInternalServerError) Error ¶
func (o *HardwareModelGetDeviceTagsInternalServerError) Error() string
func (*HardwareModelGetDeviceTagsInternalServerError) GetPayload ¶
func (o *HardwareModelGetDeviceTagsInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetDeviceTagsInternalServerError) IsClientError ¶
func (o *HardwareModelGetDeviceTagsInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model get device tags internal server error response has a 4xx status code
func (*HardwareModelGetDeviceTagsInternalServerError) IsCode ¶
func (o *HardwareModelGetDeviceTagsInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model get device tags internal server error response a status code equal to that given
func (*HardwareModelGetDeviceTagsInternalServerError) IsRedirect ¶
func (o *HardwareModelGetDeviceTagsInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model get device tags internal server error response has a 3xx status code
func (*HardwareModelGetDeviceTagsInternalServerError) IsServerError ¶
func (o *HardwareModelGetDeviceTagsInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model get device tags internal server error response has a 5xx status code
func (*HardwareModelGetDeviceTagsInternalServerError) IsSuccess ¶
func (o *HardwareModelGetDeviceTagsInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model get device tags internal server error response has a 2xx status code
func (*HardwareModelGetDeviceTagsInternalServerError) String ¶
func (o *HardwareModelGetDeviceTagsInternalServerError) String() string
type HardwareModelGetDeviceTagsOK ¶
type HardwareModelGetDeviceTagsOK struct {
Payload *models.ObjectTagsList
}
HardwareModelGetDeviceTagsOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelGetDeviceTagsOK ¶
func NewHardwareModelGetDeviceTagsOK() *HardwareModelGetDeviceTagsOK
NewHardwareModelGetDeviceTagsOK creates a HardwareModelGetDeviceTagsOK with default headers values
func (*HardwareModelGetDeviceTagsOK) Error ¶
func (o *HardwareModelGetDeviceTagsOK) Error() string
func (*HardwareModelGetDeviceTagsOK) GetPayload ¶
func (o *HardwareModelGetDeviceTagsOK) GetPayload() *models.ObjectTagsList
func (*HardwareModelGetDeviceTagsOK) IsClientError ¶
func (o *HardwareModelGetDeviceTagsOK) IsClientError() bool
IsClientError returns true when this hardware model get device tags o k response has a 4xx status code
func (*HardwareModelGetDeviceTagsOK) IsCode ¶
func (o *HardwareModelGetDeviceTagsOK) IsCode(code int) bool
IsCode returns true when this hardware model get device tags o k response a status code equal to that given
func (*HardwareModelGetDeviceTagsOK) IsRedirect ¶
func (o *HardwareModelGetDeviceTagsOK) IsRedirect() bool
IsRedirect returns true when this hardware model get device tags o k response has a 3xx status code
func (*HardwareModelGetDeviceTagsOK) IsServerError ¶
func (o *HardwareModelGetDeviceTagsOK) IsServerError() bool
IsServerError returns true when this hardware model get device tags o k response has a 5xx status code
func (*HardwareModelGetDeviceTagsOK) IsSuccess ¶
func (o *HardwareModelGetDeviceTagsOK) IsSuccess() bool
IsSuccess returns true when this hardware model get device tags o k response has a 2xx status code
func (*HardwareModelGetDeviceTagsOK) String ¶
func (o *HardwareModelGetDeviceTagsOK) String() string
type HardwareModelGetDeviceTagsParams ¶
type HardwareModelGetDeviceTagsParams 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 }
HardwareModelGetDeviceTagsParams contains all the parameters to send to the API endpoint
for the hardware model get device tags operation. Typically these are written to a http.Request.
func NewHardwareModelGetDeviceTagsParams ¶
func NewHardwareModelGetDeviceTagsParams() *HardwareModelGetDeviceTagsParams
NewHardwareModelGetDeviceTagsParams creates a new HardwareModelGetDeviceTagsParams 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 NewHardwareModelGetDeviceTagsParamsWithContext ¶
func NewHardwareModelGetDeviceTagsParamsWithContext(ctx context.Context) *HardwareModelGetDeviceTagsParams
NewHardwareModelGetDeviceTagsParamsWithContext creates a new HardwareModelGetDeviceTagsParams object with the ability to set a context for a request.
func NewHardwareModelGetDeviceTagsParamsWithHTTPClient ¶
func NewHardwareModelGetDeviceTagsParamsWithHTTPClient(client *http.Client) *HardwareModelGetDeviceTagsParams
NewHardwareModelGetDeviceTagsParamsWithHTTPClient creates a new HardwareModelGetDeviceTagsParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelGetDeviceTagsParamsWithTimeout ¶
func NewHardwareModelGetDeviceTagsParamsWithTimeout(timeout time.Duration) *HardwareModelGetDeviceTagsParams
NewHardwareModelGetDeviceTagsParamsWithTimeout creates a new HardwareModelGetDeviceTagsParams object with the ability to set a timeout on a request.
func (*HardwareModelGetDeviceTagsParams) SetContext ¶
func (o *HardwareModelGetDeviceTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) SetDefaults ¶
func (o *HardwareModelGetDeviceTagsParams) SetDefaults()
SetDefaults hydrates default values in the hardware model get device tags params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetDeviceTagsParams) SetFilterObjID ¶
func (o *HardwareModelGetDeviceTagsParams) SetFilterObjID(filterObjID *string)
SetFilterObjID adds the filterObjId to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) SetFilterObjName ¶
func (o *HardwareModelGetDeviceTagsParams) SetFilterObjName(filterObjName *string)
SetFilterObjName adds the filterObjName to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) SetHTTPClient ¶
func (o *HardwareModelGetDeviceTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) SetNextOrderBy ¶
func (o *HardwareModelGetDeviceTagsParams) SetNextOrderBy(nextOrderBy []string)
SetNextOrderBy adds the nextOrderBy to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) SetNextPageNum ¶
func (o *HardwareModelGetDeviceTagsParams) SetNextPageNum(nextPageNum *int64)
SetNextPageNum adds the nextPageNum to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) SetNextPageSize ¶
func (o *HardwareModelGetDeviceTagsParams) SetNextPageSize(nextPageSize *int64)
SetNextPageSize adds the nextPageSize to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) SetNextPageToken ¶
func (o *HardwareModelGetDeviceTagsParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) SetNextTotalPages ¶
func (o *HardwareModelGetDeviceTagsParams) SetNextTotalPages(nextTotalPages *int64)
SetNextTotalPages adds the nextTotalPages to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) SetTimeout ¶
func (o *HardwareModelGetDeviceTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) SetXRequestID ¶
func (o *HardwareModelGetDeviceTagsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) WithContext ¶
func (o *HardwareModelGetDeviceTagsParams) WithContext(ctx context.Context) *HardwareModelGetDeviceTagsParams
WithContext adds the context to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) WithDefaults ¶
func (o *HardwareModelGetDeviceTagsParams) WithDefaults() *HardwareModelGetDeviceTagsParams
WithDefaults hydrates default values in the hardware model get device tags params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetDeviceTagsParams) WithFilterObjID ¶
func (o *HardwareModelGetDeviceTagsParams) WithFilterObjID(filterObjID *string) *HardwareModelGetDeviceTagsParams
WithFilterObjID adds the filterObjID to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) WithFilterObjName ¶
func (o *HardwareModelGetDeviceTagsParams) WithFilterObjName(filterObjName *string) *HardwareModelGetDeviceTagsParams
WithFilterObjName adds the filterObjName to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) WithHTTPClient ¶
func (o *HardwareModelGetDeviceTagsParams) WithHTTPClient(client *http.Client) *HardwareModelGetDeviceTagsParams
WithHTTPClient adds the HTTPClient to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) WithNextOrderBy ¶
func (o *HardwareModelGetDeviceTagsParams) WithNextOrderBy(nextOrderBy []string) *HardwareModelGetDeviceTagsParams
WithNextOrderBy adds the nextOrderBy to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) WithNextPageNum ¶
func (o *HardwareModelGetDeviceTagsParams) WithNextPageNum(nextPageNum *int64) *HardwareModelGetDeviceTagsParams
WithNextPageNum adds the nextPageNum to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) WithNextPageSize ¶
func (o *HardwareModelGetDeviceTagsParams) WithNextPageSize(nextPageSize *int64) *HardwareModelGetDeviceTagsParams
WithNextPageSize adds the nextPageSize to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) WithNextPageToken ¶
func (o *HardwareModelGetDeviceTagsParams) WithNextPageToken(nextPageToken *string) *HardwareModelGetDeviceTagsParams
WithNextPageToken adds the nextPageToken to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) WithNextTotalPages ¶
func (o *HardwareModelGetDeviceTagsParams) WithNextTotalPages(nextTotalPages *int64) *HardwareModelGetDeviceTagsParams
WithNextTotalPages adds the nextTotalPages to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) WithTimeout ¶
func (o *HardwareModelGetDeviceTagsParams) WithTimeout(timeout time.Duration) *HardwareModelGetDeviceTagsParams
WithTimeout adds the timeout to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) WithXRequestID ¶
func (o *HardwareModelGetDeviceTagsParams) WithXRequestID(xRequestID *string) *HardwareModelGetDeviceTagsParams
WithXRequestID adds the xRequestID to the hardware model get device tags params
func (*HardwareModelGetDeviceTagsParams) WriteToRequest ¶
func (o *HardwareModelGetDeviceTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelGetDeviceTagsReader ¶
type HardwareModelGetDeviceTagsReader struct {
// contains filtered or unexported fields
}
HardwareModelGetDeviceTagsReader is a Reader for the HardwareModelGetDeviceTags structure.
func (*HardwareModelGetDeviceTagsReader) ReadResponse ¶
func (o *HardwareModelGetDeviceTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelGetDeviceTagsUnauthorized ¶
type HardwareModelGetDeviceTagsUnauthorized struct {
}HardwareModelGetDeviceTagsUnauthorized 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 NewHardwareModelGetDeviceTagsUnauthorized ¶
func NewHardwareModelGetDeviceTagsUnauthorized() *HardwareModelGetDeviceTagsUnauthorized
NewHardwareModelGetDeviceTagsUnauthorized creates a HardwareModelGetDeviceTagsUnauthorized with default headers values
func (*HardwareModelGetDeviceTagsUnauthorized) Error ¶
func (o *HardwareModelGetDeviceTagsUnauthorized) Error() string
func (*HardwareModelGetDeviceTagsUnauthorized) GetPayload ¶
func (o *HardwareModelGetDeviceTagsUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetDeviceTagsUnauthorized) IsClientError ¶
func (o *HardwareModelGetDeviceTagsUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model get device tags unauthorized response has a 4xx status code
func (*HardwareModelGetDeviceTagsUnauthorized) IsCode ¶
func (o *HardwareModelGetDeviceTagsUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model get device tags unauthorized response a status code equal to that given
func (*HardwareModelGetDeviceTagsUnauthorized) IsRedirect ¶
func (o *HardwareModelGetDeviceTagsUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model get device tags unauthorized response has a 3xx status code
func (*HardwareModelGetDeviceTagsUnauthorized) IsServerError ¶
func (o *HardwareModelGetDeviceTagsUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model get device tags unauthorized response has a 5xx status code
func (*HardwareModelGetDeviceTagsUnauthorized) IsSuccess ¶
func (o *HardwareModelGetDeviceTagsUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model get device tags unauthorized response has a 2xx status code
func (*HardwareModelGetDeviceTagsUnauthorized) String ¶
func (o *HardwareModelGetDeviceTagsUnauthorized) String() string
type HardwareModelGetGlobalHardwareBrandByNameDefault ¶
type HardwareModelGetGlobalHardwareBrandByNameDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelGetGlobalHardwareBrandByNameDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelGetGlobalHardwareBrandByNameDefault ¶
func NewHardwareModelGetGlobalHardwareBrandByNameDefault(code int) *HardwareModelGetGlobalHardwareBrandByNameDefault
NewHardwareModelGetGlobalHardwareBrandByNameDefault creates a HardwareModelGetGlobalHardwareBrandByNameDefault with default headers values
func (*HardwareModelGetGlobalHardwareBrandByNameDefault) Code ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) Code() int
Code gets the status code for the hardware model get global hardware brand by name default response
func (*HardwareModelGetGlobalHardwareBrandByNameDefault) Error ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) Error() string
func (*HardwareModelGetGlobalHardwareBrandByNameDefault) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelGetGlobalHardwareBrandByNameDefault) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) IsClientError() bool
IsClientError returns true when this hardware model get global hardware brand by name default response has a 4xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameDefault) IsCode ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware brand by name default response a status code equal to that given
func (*HardwareModelGetGlobalHardwareBrandByNameDefault) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware brand by name default response has a 3xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameDefault) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) IsServerError() bool
IsServerError returns true when this hardware model get global hardware brand by name default response has a 5xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameDefault) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware brand by name default response has a 2xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameDefault) String ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameDefault) String() string
type HardwareModelGetGlobalHardwareBrandByNameForbidden ¶
type HardwareModelGetGlobalHardwareBrandByNameForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareBrandByNameForbidden 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 NewHardwareModelGetGlobalHardwareBrandByNameForbidden ¶
func NewHardwareModelGetGlobalHardwareBrandByNameForbidden() *HardwareModelGetGlobalHardwareBrandByNameForbidden
NewHardwareModelGetGlobalHardwareBrandByNameForbidden creates a HardwareModelGetGlobalHardwareBrandByNameForbidden with default headers values
func (*HardwareModelGetGlobalHardwareBrandByNameForbidden) Error ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) Error() string
func (*HardwareModelGetGlobalHardwareBrandByNameForbidden) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareBrandByNameForbidden) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) IsClientError() bool
IsClientError returns true when this hardware model get global hardware brand by name forbidden response has a 4xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameForbidden) IsCode ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware brand by name forbidden response a status code equal to that given
func (*HardwareModelGetGlobalHardwareBrandByNameForbidden) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware brand by name forbidden response has a 3xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameForbidden) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) IsServerError() bool
IsServerError returns true when this hardware model get global hardware brand by name forbidden response has a 5xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameForbidden) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware brand by name forbidden response has a 2xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameForbidden) String ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameForbidden) String() string
type HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout ¶
type HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout 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 NewHardwareModelGetGlobalHardwareBrandByNameGatewayTimeout ¶
func NewHardwareModelGetGlobalHardwareBrandByNameGatewayTimeout() *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout
NewHardwareModelGetGlobalHardwareBrandByNameGatewayTimeout creates a HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout with default headers values
func (*HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) Error ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) Error() string
func (*HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model get global hardware brand by name gateway timeout response has a 4xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsCode ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware brand by name gateway timeout response a status code equal to that given
func (*HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware brand by name gateway timeout response has a 3xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model get global hardware brand by name gateway timeout response has a 5xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware brand by name gateway timeout response has a 2xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) String ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) String() string
type HardwareModelGetGlobalHardwareBrandByNameInternalServerError ¶
type HardwareModelGetGlobalHardwareBrandByNameInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareBrandByNameInternalServerError 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 NewHardwareModelGetGlobalHardwareBrandByNameInternalServerError ¶
func NewHardwareModelGetGlobalHardwareBrandByNameInternalServerError() *HardwareModelGetGlobalHardwareBrandByNameInternalServerError
NewHardwareModelGetGlobalHardwareBrandByNameInternalServerError creates a HardwareModelGetGlobalHardwareBrandByNameInternalServerError with default headers values
func (*HardwareModelGetGlobalHardwareBrandByNameInternalServerError) Error ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) Error() string
func (*HardwareModelGetGlobalHardwareBrandByNameInternalServerError) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model get global hardware brand by name internal server error response has a 4xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsCode ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware brand by name internal server error response a status code equal to that given
func (*HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware brand by name internal server error response has a 3xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model get global hardware brand by name internal server error response has a 5xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware brand by name internal server error response has a 2xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameInternalServerError) String ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameInternalServerError) String() string
type HardwareModelGetGlobalHardwareBrandByNameNotFound ¶
type HardwareModelGetGlobalHardwareBrandByNameNotFound struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareBrandByNameNotFound 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 NewHardwareModelGetGlobalHardwareBrandByNameNotFound ¶
func NewHardwareModelGetGlobalHardwareBrandByNameNotFound() *HardwareModelGetGlobalHardwareBrandByNameNotFound
NewHardwareModelGetGlobalHardwareBrandByNameNotFound creates a HardwareModelGetGlobalHardwareBrandByNameNotFound with default headers values
func (*HardwareModelGetGlobalHardwareBrandByNameNotFound) Error ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) Error() string
func (*HardwareModelGetGlobalHardwareBrandByNameNotFound) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareBrandByNameNotFound) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) IsClientError() bool
IsClientError returns true when this hardware model get global hardware brand by name not found response has a 4xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameNotFound) IsCode ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware brand by name not found response a status code equal to that given
func (*HardwareModelGetGlobalHardwareBrandByNameNotFound) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware brand by name not found response has a 3xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameNotFound) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) IsServerError() bool
IsServerError returns true when this hardware model get global hardware brand by name not found response has a 5xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameNotFound) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware brand by name not found response has a 2xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameNotFound) String ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameNotFound) String() string
type HardwareModelGetGlobalHardwareBrandByNameOK ¶
HardwareModelGetGlobalHardwareBrandByNameOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelGetGlobalHardwareBrandByNameOK ¶
func NewHardwareModelGetGlobalHardwareBrandByNameOK() *HardwareModelGetGlobalHardwareBrandByNameOK
NewHardwareModelGetGlobalHardwareBrandByNameOK creates a HardwareModelGetGlobalHardwareBrandByNameOK with default headers values
func (*HardwareModelGetGlobalHardwareBrandByNameOK) Error ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameOK) Error() string
func (*HardwareModelGetGlobalHardwareBrandByNameOK) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameOK) GetPayload() *models.SysBrand
func (*HardwareModelGetGlobalHardwareBrandByNameOK) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameOK) IsClientError() bool
IsClientError returns true when this hardware model get global hardware brand by name o k response has a 4xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameOK) IsCode ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameOK) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware brand by name o k response a status code equal to that given
func (*HardwareModelGetGlobalHardwareBrandByNameOK) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameOK) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware brand by name o k response has a 3xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameOK) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameOK) IsServerError() bool
IsServerError returns true when this hardware model get global hardware brand by name o k response has a 5xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameOK) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameOK) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware brand by name o k response has a 2xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameOK) String ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameOK) String() string
type HardwareModelGetGlobalHardwareBrandByNameParams ¶
type HardwareModelGetGlobalHardwareBrandByNameParams 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 }
HardwareModelGetGlobalHardwareBrandByNameParams contains all the parameters to send to the API endpoint
for the hardware model get global hardware brand by name operation. Typically these are written to a http.Request.
func NewHardwareModelGetGlobalHardwareBrandByNameParams ¶
func NewHardwareModelGetGlobalHardwareBrandByNameParams() *HardwareModelGetGlobalHardwareBrandByNameParams
NewHardwareModelGetGlobalHardwareBrandByNameParams creates a new HardwareModelGetGlobalHardwareBrandByNameParams 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 NewHardwareModelGetGlobalHardwareBrandByNameParamsWithContext ¶
func NewHardwareModelGetGlobalHardwareBrandByNameParamsWithContext(ctx context.Context) *HardwareModelGetGlobalHardwareBrandByNameParams
NewHardwareModelGetGlobalHardwareBrandByNameParamsWithContext creates a new HardwareModelGetGlobalHardwareBrandByNameParams object with the ability to set a context for a request.
func NewHardwareModelGetGlobalHardwareBrandByNameParamsWithHTTPClient ¶
func NewHardwareModelGetGlobalHardwareBrandByNameParamsWithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareBrandByNameParams
NewHardwareModelGetGlobalHardwareBrandByNameParamsWithHTTPClient creates a new HardwareModelGetGlobalHardwareBrandByNameParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelGetGlobalHardwareBrandByNameParamsWithTimeout ¶
func NewHardwareModelGetGlobalHardwareBrandByNameParamsWithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareBrandByNameParams
NewHardwareModelGetGlobalHardwareBrandByNameParamsWithTimeout creates a new HardwareModelGetGlobalHardwareBrandByNameParams object with the ability to set a timeout on a request.
func (*HardwareModelGetGlobalHardwareBrandByNameParams) SetContext ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model get global hardware brand by name params
func (*HardwareModelGetGlobalHardwareBrandByNameParams) SetDefaults ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameParams) SetDefaults()
SetDefaults hydrates default values in the hardware model get global hardware brand by name params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetGlobalHardwareBrandByNameParams) SetEnterpriseID ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the hardware model get global hardware brand by name params
func (*HardwareModelGetGlobalHardwareBrandByNameParams) SetHTTPClient ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model get global hardware brand by name params
func (*HardwareModelGetGlobalHardwareBrandByNameParams) SetName ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameParams) SetName(name string)
SetName adds the name to the hardware model get global hardware brand by name params
func (*HardwareModelGetGlobalHardwareBrandByNameParams) SetTimeout ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model get global hardware brand by name params
func (*HardwareModelGetGlobalHardwareBrandByNameParams) SetXRequestID ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model get global hardware brand by name params
func (*HardwareModelGetGlobalHardwareBrandByNameParams) WithContext ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WithContext(ctx context.Context) *HardwareModelGetGlobalHardwareBrandByNameParams
WithContext adds the context to the hardware model get global hardware brand by name params
func (*HardwareModelGetGlobalHardwareBrandByNameParams) WithDefaults ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WithDefaults() *HardwareModelGetGlobalHardwareBrandByNameParams
WithDefaults hydrates default values in the hardware model get global hardware brand by name params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetGlobalHardwareBrandByNameParams) WithEnterpriseID ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WithEnterpriseID(enterpriseID *string) *HardwareModelGetGlobalHardwareBrandByNameParams
WithEnterpriseID adds the enterpriseID to the hardware model get global hardware brand by name params
func (*HardwareModelGetGlobalHardwareBrandByNameParams) WithHTTPClient ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareBrandByNameParams
WithHTTPClient adds the HTTPClient to the hardware model get global hardware brand by name params
func (*HardwareModelGetGlobalHardwareBrandByNameParams) WithName ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WithName(name string) *HardwareModelGetGlobalHardwareBrandByNameParams
WithName adds the name to the hardware model get global hardware brand by name params
func (*HardwareModelGetGlobalHardwareBrandByNameParams) WithTimeout ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareBrandByNameParams
WithTimeout adds the timeout to the hardware model get global hardware brand by name params
func (*HardwareModelGetGlobalHardwareBrandByNameParams) WithXRequestID ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WithXRequestID(xRequestID *string) *HardwareModelGetGlobalHardwareBrandByNameParams
WithXRequestID adds the xRequestID to the hardware model get global hardware brand by name params
func (*HardwareModelGetGlobalHardwareBrandByNameParams) WriteToRequest ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelGetGlobalHardwareBrandByNameReader ¶
type HardwareModelGetGlobalHardwareBrandByNameReader struct {
// contains filtered or unexported fields
}
HardwareModelGetGlobalHardwareBrandByNameReader is a Reader for the HardwareModelGetGlobalHardwareBrandByName structure.
func (*HardwareModelGetGlobalHardwareBrandByNameReader) ReadResponse ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelGetGlobalHardwareBrandByNameUnauthorized ¶
type HardwareModelGetGlobalHardwareBrandByNameUnauthorized struct {
}HardwareModelGetGlobalHardwareBrandByNameUnauthorized 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 NewHardwareModelGetGlobalHardwareBrandByNameUnauthorized ¶
func NewHardwareModelGetGlobalHardwareBrandByNameUnauthorized() *HardwareModelGetGlobalHardwareBrandByNameUnauthorized
NewHardwareModelGetGlobalHardwareBrandByNameUnauthorized creates a HardwareModelGetGlobalHardwareBrandByNameUnauthorized with default headers values
func (*HardwareModelGetGlobalHardwareBrandByNameUnauthorized) Error ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) Error() string
func (*HardwareModelGetGlobalHardwareBrandByNameUnauthorized) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model get global hardware brand by name unauthorized response has a 4xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsCode ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware brand by name unauthorized response a status code equal to that given
func (*HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware brand by name unauthorized response has a 3xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model get global hardware brand by name unauthorized response has a 5xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware brand by name unauthorized response has a 2xx status code
func (*HardwareModelGetGlobalHardwareBrandByNameUnauthorized) String ¶
func (o *HardwareModelGetGlobalHardwareBrandByNameUnauthorized) String() string
type HardwareModelGetGlobalHardwareBrandDefault ¶
type HardwareModelGetGlobalHardwareBrandDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelGetGlobalHardwareBrandDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelGetGlobalHardwareBrandDefault ¶
func NewHardwareModelGetGlobalHardwareBrandDefault(code int) *HardwareModelGetGlobalHardwareBrandDefault
NewHardwareModelGetGlobalHardwareBrandDefault creates a HardwareModelGetGlobalHardwareBrandDefault with default headers values
func (*HardwareModelGetGlobalHardwareBrandDefault) Code ¶
func (o *HardwareModelGetGlobalHardwareBrandDefault) Code() int
Code gets the status code for the hardware model get global hardware brand default response
func (*HardwareModelGetGlobalHardwareBrandDefault) Error ¶
func (o *HardwareModelGetGlobalHardwareBrandDefault) Error() string
func (*HardwareModelGetGlobalHardwareBrandDefault) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareBrandDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelGetGlobalHardwareBrandDefault) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareBrandDefault) IsClientError() bool
IsClientError returns true when this hardware model get global hardware brand default response has a 4xx status code
func (*HardwareModelGetGlobalHardwareBrandDefault) IsCode ¶
func (o *HardwareModelGetGlobalHardwareBrandDefault) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware brand default response a status code equal to that given
func (*HardwareModelGetGlobalHardwareBrandDefault) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareBrandDefault) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware brand default response has a 3xx status code
func (*HardwareModelGetGlobalHardwareBrandDefault) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareBrandDefault) IsServerError() bool
IsServerError returns true when this hardware model get global hardware brand default response has a 5xx status code
func (*HardwareModelGetGlobalHardwareBrandDefault) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareBrandDefault) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware brand default response has a 2xx status code
func (*HardwareModelGetGlobalHardwareBrandDefault) String ¶
func (o *HardwareModelGetGlobalHardwareBrandDefault) String() string
type HardwareModelGetGlobalHardwareBrandForbidden ¶
type HardwareModelGetGlobalHardwareBrandForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareBrandForbidden 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 NewHardwareModelGetGlobalHardwareBrandForbidden ¶
func NewHardwareModelGetGlobalHardwareBrandForbidden() *HardwareModelGetGlobalHardwareBrandForbidden
NewHardwareModelGetGlobalHardwareBrandForbidden creates a HardwareModelGetGlobalHardwareBrandForbidden with default headers values
func (*HardwareModelGetGlobalHardwareBrandForbidden) Error ¶
func (o *HardwareModelGetGlobalHardwareBrandForbidden) Error() string
func (*HardwareModelGetGlobalHardwareBrandForbidden) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareBrandForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareBrandForbidden) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareBrandForbidden) IsClientError() bool
IsClientError returns true when this hardware model get global hardware brand forbidden response has a 4xx status code
func (*HardwareModelGetGlobalHardwareBrandForbidden) IsCode ¶
func (o *HardwareModelGetGlobalHardwareBrandForbidden) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware brand forbidden response a status code equal to that given
func (*HardwareModelGetGlobalHardwareBrandForbidden) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareBrandForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware brand forbidden response has a 3xx status code
func (*HardwareModelGetGlobalHardwareBrandForbidden) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareBrandForbidden) IsServerError() bool
IsServerError returns true when this hardware model get global hardware brand forbidden response has a 5xx status code
func (*HardwareModelGetGlobalHardwareBrandForbidden) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareBrandForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware brand forbidden response has a 2xx status code
func (*HardwareModelGetGlobalHardwareBrandForbidden) String ¶
func (o *HardwareModelGetGlobalHardwareBrandForbidden) String() string
type HardwareModelGetGlobalHardwareBrandGatewayTimeout ¶
type HardwareModelGetGlobalHardwareBrandGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareBrandGatewayTimeout 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 NewHardwareModelGetGlobalHardwareBrandGatewayTimeout ¶
func NewHardwareModelGetGlobalHardwareBrandGatewayTimeout() *HardwareModelGetGlobalHardwareBrandGatewayTimeout
NewHardwareModelGetGlobalHardwareBrandGatewayTimeout creates a HardwareModelGetGlobalHardwareBrandGatewayTimeout with default headers values
func (*HardwareModelGetGlobalHardwareBrandGatewayTimeout) Error ¶
func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) Error() string
func (*HardwareModelGetGlobalHardwareBrandGatewayTimeout) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model get global hardware brand gateway timeout response has a 4xx status code
func (*HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsCode ¶
func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware brand gateway timeout response a status code equal to that given
func (*HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware brand gateway timeout response has a 3xx status code
func (*HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model get global hardware brand gateway timeout response has a 5xx status code
func (*HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware brand gateway timeout response has a 2xx status code
func (*HardwareModelGetGlobalHardwareBrandGatewayTimeout) String ¶
func (o *HardwareModelGetGlobalHardwareBrandGatewayTimeout) String() string
type HardwareModelGetGlobalHardwareBrandInternalServerError ¶
type HardwareModelGetGlobalHardwareBrandInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareBrandInternalServerError 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 NewHardwareModelGetGlobalHardwareBrandInternalServerError ¶
func NewHardwareModelGetGlobalHardwareBrandInternalServerError() *HardwareModelGetGlobalHardwareBrandInternalServerError
NewHardwareModelGetGlobalHardwareBrandInternalServerError creates a HardwareModelGetGlobalHardwareBrandInternalServerError with default headers values
func (*HardwareModelGetGlobalHardwareBrandInternalServerError) Error ¶
func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) Error() string
func (*HardwareModelGetGlobalHardwareBrandInternalServerError) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareBrandInternalServerError) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model get global hardware brand internal server error response has a 4xx status code
func (*HardwareModelGetGlobalHardwareBrandInternalServerError) IsCode ¶
func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware brand internal server error response a status code equal to that given
func (*HardwareModelGetGlobalHardwareBrandInternalServerError) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware brand internal server error response has a 3xx status code
func (*HardwareModelGetGlobalHardwareBrandInternalServerError) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model get global hardware brand internal server error response has a 5xx status code
func (*HardwareModelGetGlobalHardwareBrandInternalServerError) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware brand internal server error response has a 2xx status code
func (*HardwareModelGetGlobalHardwareBrandInternalServerError) String ¶
func (o *HardwareModelGetGlobalHardwareBrandInternalServerError) String() string
type HardwareModelGetGlobalHardwareBrandNotFound ¶
type HardwareModelGetGlobalHardwareBrandNotFound struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareBrandNotFound 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 NewHardwareModelGetGlobalHardwareBrandNotFound ¶
func NewHardwareModelGetGlobalHardwareBrandNotFound() *HardwareModelGetGlobalHardwareBrandNotFound
NewHardwareModelGetGlobalHardwareBrandNotFound creates a HardwareModelGetGlobalHardwareBrandNotFound with default headers values
func (*HardwareModelGetGlobalHardwareBrandNotFound) Error ¶
func (o *HardwareModelGetGlobalHardwareBrandNotFound) Error() string
func (*HardwareModelGetGlobalHardwareBrandNotFound) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareBrandNotFound) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareBrandNotFound) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareBrandNotFound) IsClientError() bool
IsClientError returns true when this hardware model get global hardware brand not found response has a 4xx status code
func (*HardwareModelGetGlobalHardwareBrandNotFound) IsCode ¶
func (o *HardwareModelGetGlobalHardwareBrandNotFound) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware brand not found response a status code equal to that given
func (*HardwareModelGetGlobalHardwareBrandNotFound) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareBrandNotFound) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware brand not found response has a 3xx status code
func (*HardwareModelGetGlobalHardwareBrandNotFound) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareBrandNotFound) IsServerError() bool
IsServerError returns true when this hardware model get global hardware brand not found response has a 5xx status code
func (*HardwareModelGetGlobalHardwareBrandNotFound) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareBrandNotFound) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware brand not found response has a 2xx status code
func (*HardwareModelGetGlobalHardwareBrandNotFound) String ¶
func (o *HardwareModelGetGlobalHardwareBrandNotFound) String() string
type HardwareModelGetGlobalHardwareBrandOK ¶
HardwareModelGetGlobalHardwareBrandOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelGetGlobalHardwareBrandOK ¶
func NewHardwareModelGetGlobalHardwareBrandOK() *HardwareModelGetGlobalHardwareBrandOK
NewHardwareModelGetGlobalHardwareBrandOK creates a HardwareModelGetGlobalHardwareBrandOK with default headers values
func (*HardwareModelGetGlobalHardwareBrandOK) Error ¶
func (o *HardwareModelGetGlobalHardwareBrandOK) Error() string
func (*HardwareModelGetGlobalHardwareBrandOK) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareBrandOK) GetPayload() *models.SysBrand
func (*HardwareModelGetGlobalHardwareBrandOK) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareBrandOK) IsClientError() bool
IsClientError returns true when this hardware model get global hardware brand o k response has a 4xx status code
func (*HardwareModelGetGlobalHardwareBrandOK) IsCode ¶
func (o *HardwareModelGetGlobalHardwareBrandOK) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware brand o k response a status code equal to that given
func (*HardwareModelGetGlobalHardwareBrandOK) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareBrandOK) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware brand o k response has a 3xx status code
func (*HardwareModelGetGlobalHardwareBrandOK) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareBrandOK) IsServerError() bool
IsServerError returns true when this hardware model get global hardware brand o k response has a 5xx status code
func (*HardwareModelGetGlobalHardwareBrandOK) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareBrandOK) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware brand o k response has a 2xx status code
func (*HardwareModelGetGlobalHardwareBrandOK) String ¶
func (o *HardwareModelGetGlobalHardwareBrandOK) String() string
type HardwareModelGetGlobalHardwareBrandParams ¶
type HardwareModelGetGlobalHardwareBrandParams 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 }
HardwareModelGetGlobalHardwareBrandParams contains all the parameters to send to the API endpoint
for the hardware model get global hardware brand operation. Typically these are written to a http.Request.
func NewHardwareModelGetGlobalHardwareBrandParams ¶
func NewHardwareModelGetGlobalHardwareBrandParams() *HardwareModelGetGlobalHardwareBrandParams
NewHardwareModelGetGlobalHardwareBrandParams creates a new HardwareModelGetGlobalHardwareBrandParams 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 NewHardwareModelGetGlobalHardwareBrandParamsWithContext ¶
func NewHardwareModelGetGlobalHardwareBrandParamsWithContext(ctx context.Context) *HardwareModelGetGlobalHardwareBrandParams
NewHardwareModelGetGlobalHardwareBrandParamsWithContext creates a new HardwareModelGetGlobalHardwareBrandParams object with the ability to set a context for a request.
func NewHardwareModelGetGlobalHardwareBrandParamsWithHTTPClient ¶
func NewHardwareModelGetGlobalHardwareBrandParamsWithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareBrandParams
NewHardwareModelGetGlobalHardwareBrandParamsWithHTTPClient creates a new HardwareModelGetGlobalHardwareBrandParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelGetGlobalHardwareBrandParamsWithTimeout ¶
func NewHardwareModelGetGlobalHardwareBrandParamsWithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareBrandParams
NewHardwareModelGetGlobalHardwareBrandParamsWithTimeout creates a new HardwareModelGetGlobalHardwareBrandParams object with the ability to set a timeout on a request.
func (*HardwareModelGetGlobalHardwareBrandParams) SetContext ¶
func (o *HardwareModelGetGlobalHardwareBrandParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model get global hardware brand params
func (*HardwareModelGetGlobalHardwareBrandParams) SetDefaults ¶
func (o *HardwareModelGetGlobalHardwareBrandParams) SetDefaults()
SetDefaults hydrates default values in the hardware model get global hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetGlobalHardwareBrandParams) SetEnterpriseID ¶
func (o *HardwareModelGetGlobalHardwareBrandParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the hardware model get global hardware brand params
func (*HardwareModelGetGlobalHardwareBrandParams) SetHTTPClient ¶
func (o *HardwareModelGetGlobalHardwareBrandParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model get global hardware brand params
func (*HardwareModelGetGlobalHardwareBrandParams) SetID ¶
func (o *HardwareModelGetGlobalHardwareBrandParams) SetID(id string)
SetID adds the id to the hardware model get global hardware brand params
func (*HardwareModelGetGlobalHardwareBrandParams) SetTimeout ¶
func (o *HardwareModelGetGlobalHardwareBrandParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model get global hardware brand params
func (*HardwareModelGetGlobalHardwareBrandParams) SetXRequestID ¶
func (o *HardwareModelGetGlobalHardwareBrandParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model get global hardware brand params
func (*HardwareModelGetGlobalHardwareBrandParams) WithContext ¶
func (o *HardwareModelGetGlobalHardwareBrandParams) WithContext(ctx context.Context) *HardwareModelGetGlobalHardwareBrandParams
WithContext adds the context to the hardware model get global hardware brand params
func (*HardwareModelGetGlobalHardwareBrandParams) WithDefaults ¶
func (o *HardwareModelGetGlobalHardwareBrandParams) WithDefaults() *HardwareModelGetGlobalHardwareBrandParams
WithDefaults hydrates default values in the hardware model get global hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetGlobalHardwareBrandParams) WithEnterpriseID ¶
func (o *HardwareModelGetGlobalHardwareBrandParams) WithEnterpriseID(enterpriseID *string) *HardwareModelGetGlobalHardwareBrandParams
WithEnterpriseID adds the enterpriseID to the hardware model get global hardware brand params
func (*HardwareModelGetGlobalHardwareBrandParams) WithHTTPClient ¶
func (o *HardwareModelGetGlobalHardwareBrandParams) WithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareBrandParams
WithHTTPClient adds the HTTPClient to the hardware model get global hardware brand params
func (*HardwareModelGetGlobalHardwareBrandParams) WithID ¶
func (o *HardwareModelGetGlobalHardwareBrandParams) WithID(id string) *HardwareModelGetGlobalHardwareBrandParams
WithID adds the id to the hardware model get global hardware brand params
func (*HardwareModelGetGlobalHardwareBrandParams) WithTimeout ¶
func (o *HardwareModelGetGlobalHardwareBrandParams) WithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareBrandParams
WithTimeout adds the timeout to the hardware model get global hardware brand params
func (*HardwareModelGetGlobalHardwareBrandParams) WithXRequestID ¶
func (o *HardwareModelGetGlobalHardwareBrandParams) WithXRequestID(xRequestID *string) *HardwareModelGetGlobalHardwareBrandParams
WithXRequestID adds the xRequestID to the hardware model get global hardware brand params
func (*HardwareModelGetGlobalHardwareBrandParams) WriteToRequest ¶
func (o *HardwareModelGetGlobalHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelGetGlobalHardwareBrandReader ¶
type HardwareModelGetGlobalHardwareBrandReader struct {
// contains filtered or unexported fields
}
HardwareModelGetGlobalHardwareBrandReader is a Reader for the HardwareModelGetGlobalHardwareBrand structure.
func (*HardwareModelGetGlobalHardwareBrandReader) ReadResponse ¶
func (o *HardwareModelGetGlobalHardwareBrandReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelGetGlobalHardwareBrandUnauthorized ¶
type HardwareModelGetGlobalHardwareBrandUnauthorized struct {
}HardwareModelGetGlobalHardwareBrandUnauthorized 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 NewHardwareModelGetGlobalHardwareBrandUnauthorized ¶
func NewHardwareModelGetGlobalHardwareBrandUnauthorized() *HardwareModelGetGlobalHardwareBrandUnauthorized
NewHardwareModelGetGlobalHardwareBrandUnauthorized creates a HardwareModelGetGlobalHardwareBrandUnauthorized with default headers values
func (*HardwareModelGetGlobalHardwareBrandUnauthorized) Error ¶
func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) Error() string
func (*HardwareModelGetGlobalHardwareBrandUnauthorized) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareBrandUnauthorized) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model get global hardware brand unauthorized response has a 4xx status code
func (*HardwareModelGetGlobalHardwareBrandUnauthorized) IsCode ¶
func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware brand unauthorized response a status code equal to that given
func (*HardwareModelGetGlobalHardwareBrandUnauthorized) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware brand unauthorized response has a 3xx status code
func (*HardwareModelGetGlobalHardwareBrandUnauthorized) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model get global hardware brand unauthorized response has a 5xx status code
func (*HardwareModelGetGlobalHardwareBrandUnauthorized) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware brand unauthorized response has a 2xx status code
func (*HardwareModelGetGlobalHardwareBrandUnauthorized) String ¶
func (o *HardwareModelGetGlobalHardwareBrandUnauthorized) String() string
type HardwareModelGetGlobalHardwareModelByNameDefault ¶
type HardwareModelGetGlobalHardwareModelByNameDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelGetGlobalHardwareModelByNameDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelGetGlobalHardwareModelByNameDefault ¶
func NewHardwareModelGetGlobalHardwareModelByNameDefault(code int) *HardwareModelGetGlobalHardwareModelByNameDefault
NewHardwareModelGetGlobalHardwareModelByNameDefault creates a HardwareModelGetGlobalHardwareModelByNameDefault with default headers values
func (*HardwareModelGetGlobalHardwareModelByNameDefault) Code ¶
func (o *HardwareModelGetGlobalHardwareModelByNameDefault) Code() int
Code gets the status code for the hardware model get global hardware model by name default response
func (*HardwareModelGetGlobalHardwareModelByNameDefault) Error ¶
func (o *HardwareModelGetGlobalHardwareModelByNameDefault) Error() string
func (*HardwareModelGetGlobalHardwareModelByNameDefault) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareModelByNameDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelGetGlobalHardwareModelByNameDefault) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareModelByNameDefault) IsClientError() bool
IsClientError returns true when this hardware model get global hardware model by name default response has a 4xx status code
func (*HardwareModelGetGlobalHardwareModelByNameDefault) IsCode ¶
func (o *HardwareModelGetGlobalHardwareModelByNameDefault) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware model by name default response a status code equal to that given
func (*HardwareModelGetGlobalHardwareModelByNameDefault) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareModelByNameDefault) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware model by name default response has a 3xx status code
func (*HardwareModelGetGlobalHardwareModelByNameDefault) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareModelByNameDefault) IsServerError() bool
IsServerError returns true when this hardware model get global hardware model by name default response has a 5xx status code
func (*HardwareModelGetGlobalHardwareModelByNameDefault) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareModelByNameDefault) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware model by name default response has a 2xx status code
func (*HardwareModelGetGlobalHardwareModelByNameDefault) String ¶
func (o *HardwareModelGetGlobalHardwareModelByNameDefault) String() string
type HardwareModelGetGlobalHardwareModelByNameForbidden ¶
type HardwareModelGetGlobalHardwareModelByNameForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareModelByNameForbidden 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 NewHardwareModelGetGlobalHardwareModelByNameForbidden ¶
func NewHardwareModelGetGlobalHardwareModelByNameForbidden() *HardwareModelGetGlobalHardwareModelByNameForbidden
NewHardwareModelGetGlobalHardwareModelByNameForbidden creates a HardwareModelGetGlobalHardwareModelByNameForbidden with default headers values
func (*HardwareModelGetGlobalHardwareModelByNameForbidden) Error ¶
func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) Error() string
func (*HardwareModelGetGlobalHardwareModelByNameForbidden) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareModelByNameForbidden) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) IsClientError() bool
IsClientError returns true when this hardware model get global hardware model by name forbidden response has a 4xx status code
func (*HardwareModelGetGlobalHardwareModelByNameForbidden) IsCode ¶
func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware model by name forbidden response a status code equal to that given
func (*HardwareModelGetGlobalHardwareModelByNameForbidden) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware model by name forbidden response has a 3xx status code
func (*HardwareModelGetGlobalHardwareModelByNameForbidden) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) IsServerError() bool
IsServerError returns true when this hardware model get global hardware model by name forbidden response has a 5xx status code
func (*HardwareModelGetGlobalHardwareModelByNameForbidden) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware model by name forbidden response has a 2xx status code
func (*HardwareModelGetGlobalHardwareModelByNameForbidden) String ¶
func (o *HardwareModelGetGlobalHardwareModelByNameForbidden) String() string
type HardwareModelGetGlobalHardwareModelByNameGatewayTimeout ¶
type HardwareModelGetGlobalHardwareModelByNameGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareModelByNameGatewayTimeout 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 NewHardwareModelGetGlobalHardwareModelByNameGatewayTimeout ¶
func NewHardwareModelGetGlobalHardwareModelByNameGatewayTimeout() *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout
NewHardwareModelGetGlobalHardwareModelByNameGatewayTimeout creates a HardwareModelGetGlobalHardwareModelByNameGatewayTimeout with default headers values
func (*HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) Error ¶
func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) Error() string
func (*HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model get global hardware model by name gateway timeout response has a 4xx status code
func (*HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsCode ¶
func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware model by name gateway timeout response a status code equal to that given
func (*HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware model by name gateway timeout response has a 3xx status code
func (*HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model get global hardware model by name gateway timeout response has a 5xx status code
func (*HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware model by name gateway timeout response has a 2xx status code
func (*HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) String ¶
func (o *HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) String() string
type HardwareModelGetGlobalHardwareModelByNameInternalServerError ¶
type HardwareModelGetGlobalHardwareModelByNameInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareModelByNameInternalServerError 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 NewHardwareModelGetGlobalHardwareModelByNameInternalServerError ¶
func NewHardwareModelGetGlobalHardwareModelByNameInternalServerError() *HardwareModelGetGlobalHardwareModelByNameInternalServerError
NewHardwareModelGetGlobalHardwareModelByNameInternalServerError creates a HardwareModelGetGlobalHardwareModelByNameInternalServerError with default headers values
func (*HardwareModelGetGlobalHardwareModelByNameInternalServerError) Error ¶
func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) Error() string
func (*HardwareModelGetGlobalHardwareModelByNameInternalServerError) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model get global hardware model by name internal server error response has a 4xx status code
func (*HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsCode ¶
func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware model by name internal server error response a status code equal to that given
func (*HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware model by name internal server error response has a 3xx status code
func (*HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model get global hardware model by name internal server error response has a 5xx status code
func (*HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware model by name internal server error response has a 2xx status code
func (*HardwareModelGetGlobalHardwareModelByNameInternalServerError) String ¶
func (o *HardwareModelGetGlobalHardwareModelByNameInternalServerError) String() string
type HardwareModelGetGlobalHardwareModelByNameNotFound ¶
type HardwareModelGetGlobalHardwareModelByNameNotFound struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareModelByNameNotFound 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 NewHardwareModelGetGlobalHardwareModelByNameNotFound ¶
func NewHardwareModelGetGlobalHardwareModelByNameNotFound() *HardwareModelGetGlobalHardwareModelByNameNotFound
NewHardwareModelGetGlobalHardwareModelByNameNotFound creates a HardwareModelGetGlobalHardwareModelByNameNotFound with default headers values
func (*HardwareModelGetGlobalHardwareModelByNameNotFound) Error ¶
func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) Error() string
func (*HardwareModelGetGlobalHardwareModelByNameNotFound) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareModelByNameNotFound) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) IsClientError() bool
IsClientError returns true when this hardware model get global hardware model by name not found response has a 4xx status code
func (*HardwareModelGetGlobalHardwareModelByNameNotFound) IsCode ¶
func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware model by name not found response a status code equal to that given
func (*HardwareModelGetGlobalHardwareModelByNameNotFound) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware model by name not found response has a 3xx status code
func (*HardwareModelGetGlobalHardwareModelByNameNotFound) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) IsServerError() bool
IsServerError returns true when this hardware model get global hardware model by name not found response has a 5xx status code
func (*HardwareModelGetGlobalHardwareModelByNameNotFound) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware model by name not found response has a 2xx status code
func (*HardwareModelGetGlobalHardwareModelByNameNotFound) String ¶
func (o *HardwareModelGetGlobalHardwareModelByNameNotFound) String() string
type HardwareModelGetGlobalHardwareModelByNameOK ¶
HardwareModelGetGlobalHardwareModelByNameOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelGetGlobalHardwareModelByNameOK ¶
func NewHardwareModelGetGlobalHardwareModelByNameOK() *HardwareModelGetGlobalHardwareModelByNameOK
NewHardwareModelGetGlobalHardwareModelByNameOK creates a HardwareModelGetGlobalHardwareModelByNameOK with default headers values
func (*HardwareModelGetGlobalHardwareModelByNameOK) Error ¶
func (o *HardwareModelGetGlobalHardwareModelByNameOK) Error() string
func (*HardwareModelGetGlobalHardwareModelByNameOK) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareModelByNameOK) GetPayload() *models.SysModel
func (*HardwareModelGetGlobalHardwareModelByNameOK) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareModelByNameOK) IsClientError() bool
IsClientError returns true when this hardware model get global hardware model by name o k response has a 4xx status code
func (*HardwareModelGetGlobalHardwareModelByNameOK) IsCode ¶
func (o *HardwareModelGetGlobalHardwareModelByNameOK) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware model by name o k response a status code equal to that given
func (*HardwareModelGetGlobalHardwareModelByNameOK) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareModelByNameOK) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware model by name o k response has a 3xx status code
func (*HardwareModelGetGlobalHardwareModelByNameOK) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareModelByNameOK) IsServerError() bool
IsServerError returns true when this hardware model get global hardware model by name o k response has a 5xx status code
func (*HardwareModelGetGlobalHardwareModelByNameOK) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareModelByNameOK) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware model by name o k response has a 2xx status code
func (*HardwareModelGetGlobalHardwareModelByNameOK) String ¶
func (o *HardwareModelGetGlobalHardwareModelByNameOK) String() string
type HardwareModelGetGlobalHardwareModelByNameParams ¶
type HardwareModelGetGlobalHardwareModelByNameParams 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 }
HardwareModelGetGlobalHardwareModelByNameParams contains all the parameters to send to the API endpoint
for the hardware model get global hardware model by name operation. Typically these are written to a http.Request.
func NewHardwareModelGetGlobalHardwareModelByNameParams ¶
func NewHardwareModelGetGlobalHardwareModelByNameParams() *HardwareModelGetGlobalHardwareModelByNameParams
NewHardwareModelGetGlobalHardwareModelByNameParams creates a new HardwareModelGetGlobalHardwareModelByNameParams 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 NewHardwareModelGetGlobalHardwareModelByNameParamsWithContext ¶
func NewHardwareModelGetGlobalHardwareModelByNameParamsWithContext(ctx context.Context) *HardwareModelGetGlobalHardwareModelByNameParams
NewHardwareModelGetGlobalHardwareModelByNameParamsWithContext creates a new HardwareModelGetGlobalHardwareModelByNameParams object with the ability to set a context for a request.
func NewHardwareModelGetGlobalHardwareModelByNameParamsWithHTTPClient ¶
func NewHardwareModelGetGlobalHardwareModelByNameParamsWithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareModelByNameParams
NewHardwareModelGetGlobalHardwareModelByNameParamsWithHTTPClient creates a new HardwareModelGetGlobalHardwareModelByNameParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelGetGlobalHardwareModelByNameParamsWithTimeout ¶
func NewHardwareModelGetGlobalHardwareModelByNameParamsWithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareModelByNameParams
NewHardwareModelGetGlobalHardwareModelByNameParamsWithTimeout creates a new HardwareModelGetGlobalHardwareModelByNameParams object with the ability to set a timeout on a request.
func (*HardwareModelGetGlobalHardwareModelByNameParams) SetContext ¶
func (o *HardwareModelGetGlobalHardwareModelByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model get global hardware model by name params
func (*HardwareModelGetGlobalHardwareModelByNameParams) SetDefaults ¶
func (o *HardwareModelGetGlobalHardwareModelByNameParams) SetDefaults()
SetDefaults hydrates default values in the hardware model get global hardware model by name params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetGlobalHardwareModelByNameParams) SetHTTPClient ¶
func (o *HardwareModelGetGlobalHardwareModelByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model get global hardware model by name params
func (*HardwareModelGetGlobalHardwareModelByNameParams) SetName ¶
func (o *HardwareModelGetGlobalHardwareModelByNameParams) SetName(name string)
SetName adds the name to the hardware model get global hardware model by name params
func (*HardwareModelGetGlobalHardwareModelByNameParams) SetTimeout ¶
func (o *HardwareModelGetGlobalHardwareModelByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model get global hardware model by name params
func (*HardwareModelGetGlobalHardwareModelByNameParams) SetXRequestID ¶
func (o *HardwareModelGetGlobalHardwareModelByNameParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model get global hardware model by name params
func (*HardwareModelGetGlobalHardwareModelByNameParams) WithContext ¶
func (o *HardwareModelGetGlobalHardwareModelByNameParams) WithContext(ctx context.Context) *HardwareModelGetGlobalHardwareModelByNameParams
WithContext adds the context to the hardware model get global hardware model by name params
func (*HardwareModelGetGlobalHardwareModelByNameParams) WithDefaults ¶
func (o *HardwareModelGetGlobalHardwareModelByNameParams) WithDefaults() *HardwareModelGetGlobalHardwareModelByNameParams
WithDefaults hydrates default values in the hardware model get global hardware model by name params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetGlobalHardwareModelByNameParams) WithHTTPClient ¶
func (o *HardwareModelGetGlobalHardwareModelByNameParams) WithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareModelByNameParams
WithHTTPClient adds the HTTPClient to the hardware model get global hardware model by name params
func (*HardwareModelGetGlobalHardwareModelByNameParams) WithName ¶
func (o *HardwareModelGetGlobalHardwareModelByNameParams) WithName(name string) *HardwareModelGetGlobalHardwareModelByNameParams
WithName adds the name to the hardware model get global hardware model by name params
func (*HardwareModelGetGlobalHardwareModelByNameParams) WithTimeout ¶
func (o *HardwareModelGetGlobalHardwareModelByNameParams) WithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareModelByNameParams
WithTimeout adds the timeout to the hardware model get global hardware model by name params
func (*HardwareModelGetGlobalHardwareModelByNameParams) WithXRequestID ¶
func (o *HardwareModelGetGlobalHardwareModelByNameParams) WithXRequestID(xRequestID *string) *HardwareModelGetGlobalHardwareModelByNameParams
WithXRequestID adds the xRequestID to the hardware model get global hardware model by name params
func (*HardwareModelGetGlobalHardwareModelByNameParams) WriteToRequest ¶
func (o *HardwareModelGetGlobalHardwareModelByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelGetGlobalHardwareModelByNameReader ¶
type HardwareModelGetGlobalHardwareModelByNameReader struct {
// contains filtered or unexported fields
}
HardwareModelGetGlobalHardwareModelByNameReader is a Reader for the HardwareModelGetGlobalHardwareModelByName structure.
func (*HardwareModelGetGlobalHardwareModelByNameReader) ReadResponse ¶
func (o *HardwareModelGetGlobalHardwareModelByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelGetGlobalHardwareModelByNameUnauthorized ¶
type HardwareModelGetGlobalHardwareModelByNameUnauthorized struct {
}HardwareModelGetGlobalHardwareModelByNameUnauthorized 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 NewHardwareModelGetGlobalHardwareModelByNameUnauthorized ¶
func NewHardwareModelGetGlobalHardwareModelByNameUnauthorized() *HardwareModelGetGlobalHardwareModelByNameUnauthorized
NewHardwareModelGetGlobalHardwareModelByNameUnauthorized creates a HardwareModelGetGlobalHardwareModelByNameUnauthorized with default headers values
func (*HardwareModelGetGlobalHardwareModelByNameUnauthorized) Error ¶
func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) Error() string
func (*HardwareModelGetGlobalHardwareModelByNameUnauthorized) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model get global hardware model by name unauthorized response has a 4xx status code
func (*HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsCode ¶
func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware model by name unauthorized response a status code equal to that given
func (*HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware model by name unauthorized response has a 3xx status code
func (*HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model get global hardware model by name unauthorized response has a 5xx status code
func (*HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware model by name unauthorized response has a 2xx status code
func (*HardwareModelGetGlobalHardwareModelByNameUnauthorized) String ¶
func (o *HardwareModelGetGlobalHardwareModelByNameUnauthorized) String() string
type HardwareModelGetGlobalHardwareModelDefault ¶
type HardwareModelGetGlobalHardwareModelDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelGetGlobalHardwareModelDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelGetGlobalHardwareModelDefault ¶
func NewHardwareModelGetGlobalHardwareModelDefault(code int) *HardwareModelGetGlobalHardwareModelDefault
NewHardwareModelGetGlobalHardwareModelDefault creates a HardwareModelGetGlobalHardwareModelDefault with default headers values
func (*HardwareModelGetGlobalHardwareModelDefault) Code ¶
func (o *HardwareModelGetGlobalHardwareModelDefault) Code() int
Code gets the status code for the hardware model get global hardware model default response
func (*HardwareModelGetGlobalHardwareModelDefault) Error ¶
func (o *HardwareModelGetGlobalHardwareModelDefault) Error() string
func (*HardwareModelGetGlobalHardwareModelDefault) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareModelDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelGetGlobalHardwareModelDefault) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareModelDefault) IsClientError() bool
IsClientError returns true when this hardware model get global hardware model default response has a 4xx status code
func (*HardwareModelGetGlobalHardwareModelDefault) IsCode ¶
func (o *HardwareModelGetGlobalHardwareModelDefault) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware model default response a status code equal to that given
func (*HardwareModelGetGlobalHardwareModelDefault) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareModelDefault) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware model default response has a 3xx status code
func (*HardwareModelGetGlobalHardwareModelDefault) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareModelDefault) IsServerError() bool
IsServerError returns true when this hardware model get global hardware model default response has a 5xx status code
func (*HardwareModelGetGlobalHardwareModelDefault) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareModelDefault) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware model default response has a 2xx status code
func (*HardwareModelGetGlobalHardwareModelDefault) String ¶
func (o *HardwareModelGetGlobalHardwareModelDefault) String() string
type HardwareModelGetGlobalHardwareModelForbidden ¶
type HardwareModelGetGlobalHardwareModelForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareModelForbidden 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 NewHardwareModelGetGlobalHardwareModelForbidden ¶
func NewHardwareModelGetGlobalHardwareModelForbidden() *HardwareModelGetGlobalHardwareModelForbidden
NewHardwareModelGetGlobalHardwareModelForbidden creates a HardwareModelGetGlobalHardwareModelForbidden with default headers values
func (*HardwareModelGetGlobalHardwareModelForbidden) Error ¶
func (o *HardwareModelGetGlobalHardwareModelForbidden) Error() string
func (*HardwareModelGetGlobalHardwareModelForbidden) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareModelForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareModelForbidden) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareModelForbidden) IsClientError() bool
IsClientError returns true when this hardware model get global hardware model forbidden response has a 4xx status code
func (*HardwareModelGetGlobalHardwareModelForbidden) IsCode ¶
func (o *HardwareModelGetGlobalHardwareModelForbidden) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware model forbidden response a status code equal to that given
func (*HardwareModelGetGlobalHardwareModelForbidden) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareModelForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware model forbidden response has a 3xx status code
func (*HardwareModelGetGlobalHardwareModelForbidden) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareModelForbidden) IsServerError() bool
IsServerError returns true when this hardware model get global hardware model forbidden response has a 5xx status code
func (*HardwareModelGetGlobalHardwareModelForbidden) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareModelForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware model forbidden response has a 2xx status code
func (*HardwareModelGetGlobalHardwareModelForbidden) String ¶
func (o *HardwareModelGetGlobalHardwareModelForbidden) String() string
type HardwareModelGetGlobalHardwareModelGatewayTimeout ¶
type HardwareModelGetGlobalHardwareModelGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareModelGatewayTimeout 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 NewHardwareModelGetGlobalHardwareModelGatewayTimeout ¶
func NewHardwareModelGetGlobalHardwareModelGatewayTimeout() *HardwareModelGetGlobalHardwareModelGatewayTimeout
NewHardwareModelGetGlobalHardwareModelGatewayTimeout creates a HardwareModelGetGlobalHardwareModelGatewayTimeout with default headers values
func (*HardwareModelGetGlobalHardwareModelGatewayTimeout) Error ¶
func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) Error() string
func (*HardwareModelGetGlobalHardwareModelGatewayTimeout) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareModelGatewayTimeout) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model get global hardware model gateway timeout response has a 4xx status code
func (*HardwareModelGetGlobalHardwareModelGatewayTimeout) IsCode ¶
func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware model gateway timeout response a status code equal to that given
func (*HardwareModelGetGlobalHardwareModelGatewayTimeout) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware model gateway timeout response has a 3xx status code
func (*HardwareModelGetGlobalHardwareModelGatewayTimeout) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model get global hardware model gateway timeout response has a 5xx status code
func (*HardwareModelGetGlobalHardwareModelGatewayTimeout) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware model gateway timeout response has a 2xx status code
func (*HardwareModelGetGlobalHardwareModelGatewayTimeout) String ¶
func (o *HardwareModelGetGlobalHardwareModelGatewayTimeout) String() string
type HardwareModelGetGlobalHardwareModelInternalServerError ¶
type HardwareModelGetGlobalHardwareModelInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareModelInternalServerError 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 NewHardwareModelGetGlobalHardwareModelInternalServerError ¶
func NewHardwareModelGetGlobalHardwareModelInternalServerError() *HardwareModelGetGlobalHardwareModelInternalServerError
NewHardwareModelGetGlobalHardwareModelInternalServerError creates a HardwareModelGetGlobalHardwareModelInternalServerError with default headers values
func (*HardwareModelGetGlobalHardwareModelInternalServerError) Error ¶
func (o *HardwareModelGetGlobalHardwareModelInternalServerError) Error() string
func (*HardwareModelGetGlobalHardwareModelInternalServerError) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareModelInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareModelInternalServerError) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareModelInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model get global hardware model internal server error response has a 4xx status code
func (*HardwareModelGetGlobalHardwareModelInternalServerError) IsCode ¶
func (o *HardwareModelGetGlobalHardwareModelInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware model internal server error response a status code equal to that given
func (*HardwareModelGetGlobalHardwareModelInternalServerError) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareModelInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware model internal server error response has a 3xx status code
func (*HardwareModelGetGlobalHardwareModelInternalServerError) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareModelInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model get global hardware model internal server error response has a 5xx status code
func (*HardwareModelGetGlobalHardwareModelInternalServerError) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareModelInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware model internal server error response has a 2xx status code
func (*HardwareModelGetGlobalHardwareModelInternalServerError) String ¶
func (o *HardwareModelGetGlobalHardwareModelInternalServerError) String() string
type HardwareModelGetGlobalHardwareModelNotFound ¶
type HardwareModelGetGlobalHardwareModelNotFound struct {
Payload *models.ZsrvResponse
}
HardwareModelGetGlobalHardwareModelNotFound 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 NewHardwareModelGetGlobalHardwareModelNotFound ¶
func NewHardwareModelGetGlobalHardwareModelNotFound() *HardwareModelGetGlobalHardwareModelNotFound
NewHardwareModelGetGlobalHardwareModelNotFound creates a HardwareModelGetGlobalHardwareModelNotFound with default headers values
func (*HardwareModelGetGlobalHardwareModelNotFound) Error ¶
func (o *HardwareModelGetGlobalHardwareModelNotFound) Error() string
func (*HardwareModelGetGlobalHardwareModelNotFound) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareModelNotFound) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareModelNotFound) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareModelNotFound) IsClientError() bool
IsClientError returns true when this hardware model get global hardware model not found response has a 4xx status code
func (*HardwareModelGetGlobalHardwareModelNotFound) IsCode ¶
func (o *HardwareModelGetGlobalHardwareModelNotFound) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware model not found response a status code equal to that given
func (*HardwareModelGetGlobalHardwareModelNotFound) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareModelNotFound) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware model not found response has a 3xx status code
func (*HardwareModelGetGlobalHardwareModelNotFound) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareModelNotFound) IsServerError() bool
IsServerError returns true when this hardware model get global hardware model not found response has a 5xx status code
func (*HardwareModelGetGlobalHardwareModelNotFound) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareModelNotFound) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware model not found response has a 2xx status code
func (*HardwareModelGetGlobalHardwareModelNotFound) String ¶
func (o *HardwareModelGetGlobalHardwareModelNotFound) String() string
type HardwareModelGetGlobalHardwareModelOK ¶
HardwareModelGetGlobalHardwareModelOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelGetGlobalHardwareModelOK ¶
func NewHardwareModelGetGlobalHardwareModelOK() *HardwareModelGetGlobalHardwareModelOK
NewHardwareModelGetGlobalHardwareModelOK creates a HardwareModelGetGlobalHardwareModelOK with default headers values
func (*HardwareModelGetGlobalHardwareModelOK) Error ¶
func (o *HardwareModelGetGlobalHardwareModelOK) Error() string
func (*HardwareModelGetGlobalHardwareModelOK) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareModelOK) GetPayload() *models.SysModel
func (*HardwareModelGetGlobalHardwareModelOK) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareModelOK) IsClientError() bool
IsClientError returns true when this hardware model get global hardware model o k response has a 4xx status code
func (*HardwareModelGetGlobalHardwareModelOK) IsCode ¶
func (o *HardwareModelGetGlobalHardwareModelOK) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware model o k response a status code equal to that given
func (*HardwareModelGetGlobalHardwareModelOK) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareModelOK) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware model o k response has a 3xx status code
func (*HardwareModelGetGlobalHardwareModelOK) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareModelOK) IsServerError() bool
IsServerError returns true when this hardware model get global hardware model o k response has a 5xx status code
func (*HardwareModelGetGlobalHardwareModelOK) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareModelOK) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware model o k response has a 2xx status code
func (*HardwareModelGetGlobalHardwareModelOK) String ¶
func (o *HardwareModelGetGlobalHardwareModelOK) String() string
type HardwareModelGetGlobalHardwareModelParams ¶
type HardwareModelGetGlobalHardwareModelParams 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 }
HardwareModelGetGlobalHardwareModelParams contains all the parameters to send to the API endpoint
for the hardware model get global hardware model operation. Typically these are written to a http.Request.
func NewHardwareModelGetGlobalHardwareModelParams ¶
func NewHardwareModelGetGlobalHardwareModelParams() *HardwareModelGetGlobalHardwareModelParams
NewHardwareModelGetGlobalHardwareModelParams creates a new HardwareModelGetGlobalHardwareModelParams 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 NewHardwareModelGetGlobalHardwareModelParamsWithContext ¶
func NewHardwareModelGetGlobalHardwareModelParamsWithContext(ctx context.Context) *HardwareModelGetGlobalHardwareModelParams
NewHardwareModelGetGlobalHardwareModelParamsWithContext creates a new HardwareModelGetGlobalHardwareModelParams object with the ability to set a context for a request.
func NewHardwareModelGetGlobalHardwareModelParamsWithHTTPClient ¶
func NewHardwareModelGetGlobalHardwareModelParamsWithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareModelParams
NewHardwareModelGetGlobalHardwareModelParamsWithHTTPClient creates a new HardwareModelGetGlobalHardwareModelParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelGetGlobalHardwareModelParamsWithTimeout ¶
func NewHardwareModelGetGlobalHardwareModelParamsWithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareModelParams
NewHardwareModelGetGlobalHardwareModelParamsWithTimeout creates a new HardwareModelGetGlobalHardwareModelParams object with the ability to set a timeout on a request.
func (*HardwareModelGetGlobalHardwareModelParams) SetContext ¶
func (o *HardwareModelGetGlobalHardwareModelParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model get global hardware model params
func (*HardwareModelGetGlobalHardwareModelParams) SetDefaults ¶
func (o *HardwareModelGetGlobalHardwareModelParams) SetDefaults()
SetDefaults hydrates default values in the hardware model get global hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetGlobalHardwareModelParams) SetHTTPClient ¶
func (o *HardwareModelGetGlobalHardwareModelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model get global hardware model params
func (*HardwareModelGetGlobalHardwareModelParams) SetID ¶
func (o *HardwareModelGetGlobalHardwareModelParams) SetID(id string)
SetID adds the id to the hardware model get global hardware model params
func (*HardwareModelGetGlobalHardwareModelParams) SetTimeout ¶
func (o *HardwareModelGetGlobalHardwareModelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model get global hardware model params
func (*HardwareModelGetGlobalHardwareModelParams) SetXRequestID ¶
func (o *HardwareModelGetGlobalHardwareModelParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model get global hardware model params
func (*HardwareModelGetGlobalHardwareModelParams) WithContext ¶
func (o *HardwareModelGetGlobalHardwareModelParams) WithContext(ctx context.Context) *HardwareModelGetGlobalHardwareModelParams
WithContext adds the context to the hardware model get global hardware model params
func (*HardwareModelGetGlobalHardwareModelParams) WithDefaults ¶
func (o *HardwareModelGetGlobalHardwareModelParams) WithDefaults() *HardwareModelGetGlobalHardwareModelParams
WithDefaults hydrates default values in the hardware model get global hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetGlobalHardwareModelParams) WithHTTPClient ¶
func (o *HardwareModelGetGlobalHardwareModelParams) WithHTTPClient(client *http.Client) *HardwareModelGetGlobalHardwareModelParams
WithHTTPClient adds the HTTPClient to the hardware model get global hardware model params
func (*HardwareModelGetGlobalHardwareModelParams) WithID ¶
func (o *HardwareModelGetGlobalHardwareModelParams) WithID(id string) *HardwareModelGetGlobalHardwareModelParams
WithID adds the id to the hardware model get global hardware model params
func (*HardwareModelGetGlobalHardwareModelParams) WithTimeout ¶
func (o *HardwareModelGetGlobalHardwareModelParams) WithTimeout(timeout time.Duration) *HardwareModelGetGlobalHardwareModelParams
WithTimeout adds the timeout to the hardware model get global hardware model params
func (*HardwareModelGetGlobalHardwareModelParams) WithXRequestID ¶
func (o *HardwareModelGetGlobalHardwareModelParams) WithXRequestID(xRequestID *string) *HardwareModelGetGlobalHardwareModelParams
WithXRequestID adds the xRequestID to the hardware model get global hardware model params
func (*HardwareModelGetGlobalHardwareModelParams) WriteToRequest ¶
func (o *HardwareModelGetGlobalHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelGetGlobalHardwareModelReader ¶
type HardwareModelGetGlobalHardwareModelReader struct {
// contains filtered or unexported fields
}
HardwareModelGetGlobalHardwareModelReader is a Reader for the HardwareModelGetGlobalHardwareModel structure.
func (*HardwareModelGetGlobalHardwareModelReader) ReadResponse ¶
func (o *HardwareModelGetGlobalHardwareModelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelGetGlobalHardwareModelUnauthorized ¶
type HardwareModelGetGlobalHardwareModelUnauthorized struct {
}HardwareModelGetGlobalHardwareModelUnauthorized 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 NewHardwareModelGetGlobalHardwareModelUnauthorized ¶
func NewHardwareModelGetGlobalHardwareModelUnauthorized() *HardwareModelGetGlobalHardwareModelUnauthorized
NewHardwareModelGetGlobalHardwareModelUnauthorized creates a HardwareModelGetGlobalHardwareModelUnauthorized with default headers values
func (*HardwareModelGetGlobalHardwareModelUnauthorized) Error ¶
func (o *HardwareModelGetGlobalHardwareModelUnauthorized) Error() string
func (*HardwareModelGetGlobalHardwareModelUnauthorized) GetPayload ¶
func (o *HardwareModelGetGlobalHardwareModelUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetGlobalHardwareModelUnauthorized) IsClientError ¶
func (o *HardwareModelGetGlobalHardwareModelUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model get global hardware model unauthorized response has a 4xx status code
func (*HardwareModelGetGlobalHardwareModelUnauthorized) IsCode ¶
func (o *HardwareModelGetGlobalHardwareModelUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model get global hardware model unauthorized response a status code equal to that given
func (*HardwareModelGetGlobalHardwareModelUnauthorized) IsRedirect ¶
func (o *HardwareModelGetGlobalHardwareModelUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model get global hardware model unauthorized response has a 3xx status code
func (*HardwareModelGetGlobalHardwareModelUnauthorized) IsServerError ¶
func (o *HardwareModelGetGlobalHardwareModelUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model get global hardware model unauthorized response has a 5xx status code
func (*HardwareModelGetGlobalHardwareModelUnauthorized) IsSuccess ¶
func (o *HardwareModelGetGlobalHardwareModelUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model get global hardware model unauthorized response has a 2xx status code
func (*HardwareModelGetGlobalHardwareModelUnauthorized) String ¶
func (o *HardwareModelGetGlobalHardwareModelUnauthorized) String() string
type HardwareModelGetHardwareBrandByNameDefault ¶
type HardwareModelGetHardwareBrandByNameDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelGetHardwareBrandByNameDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelGetHardwareBrandByNameDefault ¶
func NewHardwareModelGetHardwareBrandByNameDefault(code int) *HardwareModelGetHardwareBrandByNameDefault
NewHardwareModelGetHardwareBrandByNameDefault creates a HardwareModelGetHardwareBrandByNameDefault with default headers values
func (*HardwareModelGetHardwareBrandByNameDefault) Code ¶
func (o *HardwareModelGetHardwareBrandByNameDefault) Code() int
Code gets the status code for the hardware model get hardware brand by name default response
func (*HardwareModelGetHardwareBrandByNameDefault) Error ¶
func (o *HardwareModelGetHardwareBrandByNameDefault) Error() string
func (*HardwareModelGetHardwareBrandByNameDefault) GetPayload ¶
func (o *HardwareModelGetHardwareBrandByNameDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelGetHardwareBrandByNameDefault) IsClientError ¶
func (o *HardwareModelGetHardwareBrandByNameDefault) IsClientError() bool
IsClientError returns true when this hardware model get hardware brand by name default response has a 4xx status code
func (*HardwareModelGetHardwareBrandByNameDefault) IsCode ¶
func (o *HardwareModelGetHardwareBrandByNameDefault) IsCode(code int) bool
IsCode returns true when this hardware model get hardware brand by name default response a status code equal to that given
func (*HardwareModelGetHardwareBrandByNameDefault) IsRedirect ¶
func (o *HardwareModelGetHardwareBrandByNameDefault) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware brand by name default response has a 3xx status code
func (*HardwareModelGetHardwareBrandByNameDefault) IsServerError ¶
func (o *HardwareModelGetHardwareBrandByNameDefault) IsServerError() bool
IsServerError returns true when this hardware model get hardware brand by name default response has a 5xx status code
func (*HardwareModelGetHardwareBrandByNameDefault) IsSuccess ¶
func (o *HardwareModelGetHardwareBrandByNameDefault) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware brand by name default response has a 2xx status code
func (*HardwareModelGetHardwareBrandByNameDefault) String ¶
func (o *HardwareModelGetHardwareBrandByNameDefault) String() string
type HardwareModelGetHardwareBrandByNameForbidden ¶
type HardwareModelGetHardwareBrandByNameForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareBrandByNameForbidden 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 NewHardwareModelGetHardwareBrandByNameForbidden ¶
func NewHardwareModelGetHardwareBrandByNameForbidden() *HardwareModelGetHardwareBrandByNameForbidden
NewHardwareModelGetHardwareBrandByNameForbidden creates a HardwareModelGetHardwareBrandByNameForbidden with default headers values
func (*HardwareModelGetHardwareBrandByNameForbidden) Error ¶
func (o *HardwareModelGetHardwareBrandByNameForbidden) Error() string
func (*HardwareModelGetHardwareBrandByNameForbidden) GetPayload ¶
func (o *HardwareModelGetHardwareBrandByNameForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareBrandByNameForbidden) IsClientError ¶
func (o *HardwareModelGetHardwareBrandByNameForbidden) IsClientError() bool
IsClientError returns true when this hardware model get hardware brand by name forbidden response has a 4xx status code
func (*HardwareModelGetHardwareBrandByNameForbidden) IsCode ¶
func (o *HardwareModelGetHardwareBrandByNameForbidden) IsCode(code int) bool
IsCode returns true when this hardware model get hardware brand by name forbidden response a status code equal to that given
func (*HardwareModelGetHardwareBrandByNameForbidden) IsRedirect ¶
func (o *HardwareModelGetHardwareBrandByNameForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware brand by name forbidden response has a 3xx status code
func (*HardwareModelGetHardwareBrandByNameForbidden) IsServerError ¶
func (o *HardwareModelGetHardwareBrandByNameForbidden) IsServerError() bool
IsServerError returns true when this hardware model get hardware brand by name forbidden response has a 5xx status code
func (*HardwareModelGetHardwareBrandByNameForbidden) IsSuccess ¶
func (o *HardwareModelGetHardwareBrandByNameForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware brand by name forbidden response has a 2xx status code
func (*HardwareModelGetHardwareBrandByNameForbidden) String ¶
func (o *HardwareModelGetHardwareBrandByNameForbidden) String() string
type HardwareModelGetHardwareBrandByNameGatewayTimeout ¶
type HardwareModelGetHardwareBrandByNameGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareBrandByNameGatewayTimeout 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 NewHardwareModelGetHardwareBrandByNameGatewayTimeout ¶
func NewHardwareModelGetHardwareBrandByNameGatewayTimeout() *HardwareModelGetHardwareBrandByNameGatewayTimeout
NewHardwareModelGetHardwareBrandByNameGatewayTimeout creates a HardwareModelGetHardwareBrandByNameGatewayTimeout with default headers values
func (*HardwareModelGetHardwareBrandByNameGatewayTimeout) Error ¶
func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) Error() string
func (*HardwareModelGetHardwareBrandByNameGatewayTimeout) GetPayload ¶
func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareBrandByNameGatewayTimeout) IsClientError ¶
func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model get hardware brand by name gateway timeout response has a 4xx status code
func (*HardwareModelGetHardwareBrandByNameGatewayTimeout) IsCode ¶
func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model get hardware brand by name gateway timeout response a status code equal to that given
func (*HardwareModelGetHardwareBrandByNameGatewayTimeout) IsRedirect ¶
func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware brand by name gateway timeout response has a 3xx status code
func (*HardwareModelGetHardwareBrandByNameGatewayTimeout) IsServerError ¶
func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model get hardware brand by name gateway timeout response has a 5xx status code
func (*HardwareModelGetHardwareBrandByNameGatewayTimeout) IsSuccess ¶
func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware brand by name gateway timeout response has a 2xx status code
func (*HardwareModelGetHardwareBrandByNameGatewayTimeout) String ¶
func (o *HardwareModelGetHardwareBrandByNameGatewayTimeout) String() string
type HardwareModelGetHardwareBrandByNameInternalServerError ¶
type HardwareModelGetHardwareBrandByNameInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareBrandByNameInternalServerError 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 NewHardwareModelGetHardwareBrandByNameInternalServerError ¶
func NewHardwareModelGetHardwareBrandByNameInternalServerError() *HardwareModelGetHardwareBrandByNameInternalServerError
NewHardwareModelGetHardwareBrandByNameInternalServerError creates a HardwareModelGetHardwareBrandByNameInternalServerError with default headers values
func (*HardwareModelGetHardwareBrandByNameInternalServerError) Error ¶
func (o *HardwareModelGetHardwareBrandByNameInternalServerError) Error() string
func (*HardwareModelGetHardwareBrandByNameInternalServerError) GetPayload ¶
func (o *HardwareModelGetHardwareBrandByNameInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareBrandByNameInternalServerError) IsClientError ¶
func (o *HardwareModelGetHardwareBrandByNameInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model get hardware brand by name internal server error response has a 4xx status code
func (*HardwareModelGetHardwareBrandByNameInternalServerError) IsCode ¶
func (o *HardwareModelGetHardwareBrandByNameInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model get hardware brand by name internal server error response a status code equal to that given
func (*HardwareModelGetHardwareBrandByNameInternalServerError) IsRedirect ¶
func (o *HardwareModelGetHardwareBrandByNameInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware brand by name internal server error response has a 3xx status code
func (*HardwareModelGetHardwareBrandByNameInternalServerError) IsServerError ¶
func (o *HardwareModelGetHardwareBrandByNameInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model get hardware brand by name internal server error response has a 5xx status code
func (*HardwareModelGetHardwareBrandByNameInternalServerError) IsSuccess ¶
func (o *HardwareModelGetHardwareBrandByNameInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware brand by name internal server error response has a 2xx status code
func (*HardwareModelGetHardwareBrandByNameInternalServerError) String ¶
func (o *HardwareModelGetHardwareBrandByNameInternalServerError) String() string
type HardwareModelGetHardwareBrandByNameNotFound ¶
type HardwareModelGetHardwareBrandByNameNotFound struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareBrandByNameNotFound 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 NewHardwareModelGetHardwareBrandByNameNotFound ¶
func NewHardwareModelGetHardwareBrandByNameNotFound() *HardwareModelGetHardwareBrandByNameNotFound
NewHardwareModelGetHardwareBrandByNameNotFound creates a HardwareModelGetHardwareBrandByNameNotFound with default headers values
func (*HardwareModelGetHardwareBrandByNameNotFound) Error ¶
func (o *HardwareModelGetHardwareBrandByNameNotFound) Error() string
func (*HardwareModelGetHardwareBrandByNameNotFound) GetPayload ¶
func (o *HardwareModelGetHardwareBrandByNameNotFound) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareBrandByNameNotFound) IsClientError ¶
func (o *HardwareModelGetHardwareBrandByNameNotFound) IsClientError() bool
IsClientError returns true when this hardware model get hardware brand by name not found response has a 4xx status code
func (*HardwareModelGetHardwareBrandByNameNotFound) IsCode ¶
func (o *HardwareModelGetHardwareBrandByNameNotFound) IsCode(code int) bool
IsCode returns true when this hardware model get hardware brand by name not found response a status code equal to that given
func (*HardwareModelGetHardwareBrandByNameNotFound) IsRedirect ¶
func (o *HardwareModelGetHardwareBrandByNameNotFound) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware brand by name not found response has a 3xx status code
func (*HardwareModelGetHardwareBrandByNameNotFound) IsServerError ¶
func (o *HardwareModelGetHardwareBrandByNameNotFound) IsServerError() bool
IsServerError returns true when this hardware model get hardware brand by name not found response has a 5xx status code
func (*HardwareModelGetHardwareBrandByNameNotFound) IsSuccess ¶
func (o *HardwareModelGetHardwareBrandByNameNotFound) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware brand by name not found response has a 2xx status code
func (*HardwareModelGetHardwareBrandByNameNotFound) String ¶
func (o *HardwareModelGetHardwareBrandByNameNotFound) String() string
type HardwareModelGetHardwareBrandByNameOK ¶
HardwareModelGetHardwareBrandByNameOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelGetHardwareBrandByNameOK ¶
func NewHardwareModelGetHardwareBrandByNameOK() *HardwareModelGetHardwareBrandByNameOK
NewHardwareModelGetHardwareBrandByNameOK creates a HardwareModelGetHardwareBrandByNameOK with default headers values
func (*HardwareModelGetHardwareBrandByNameOK) Error ¶
func (o *HardwareModelGetHardwareBrandByNameOK) Error() string
func (*HardwareModelGetHardwareBrandByNameOK) GetPayload ¶
func (o *HardwareModelGetHardwareBrandByNameOK) GetPayload() *models.SysBrand
func (*HardwareModelGetHardwareBrandByNameOK) IsClientError ¶
func (o *HardwareModelGetHardwareBrandByNameOK) IsClientError() bool
IsClientError returns true when this hardware model get hardware brand by name o k response has a 4xx status code
func (*HardwareModelGetHardwareBrandByNameOK) IsCode ¶
func (o *HardwareModelGetHardwareBrandByNameOK) IsCode(code int) bool
IsCode returns true when this hardware model get hardware brand by name o k response a status code equal to that given
func (*HardwareModelGetHardwareBrandByNameOK) IsRedirect ¶
func (o *HardwareModelGetHardwareBrandByNameOK) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware brand by name o k response has a 3xx status code
func (*HardwareModelGetHardwareBrandByNameOK) IsServerError ¶
func (o *HardwareModelGetHardwareBrandByNameOK) IsServerError() bool
IsServerError returns true when this hardware model get hardware brand by name o k response has a 5xx status code
func (*HardwareModelGetHardwareBrandByNameOK) IsSuccess ¶
func (o *HardwareModelGetHardwareBrandByNameOK) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware brand by name o k response has a 2xx status code
func (*HardwareModelGetHardwareBrandByNameOK) String ¶
func (o *HardwareModelGetHardwareBrandByNameOK) String() string
type HardwareModelGetHardwareBrandByNameParams ¶
type HardwareModelGetHardwareBrandByNameParams 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 }
HardwareModelGetHardwareBrandByNameParams contains all the parameters to send to the API endpoint
for the hardware model get hardware brand by name operation. Typically these are written to a http.Request.
func NewHardwareModelGetHardwareBrandByNameParams ¶
func NewHardwareModelGetHardwareBrandByNameParams() *HardwareModelGetHardwareBrandByNameParams
NewHardwareModelGetHardwareBrandByNameParams creates a new HardwareModelGetHardwareBrandByNameParams 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 NewHardwareModelGetHardwareBrandByNameParamsWithContext ¶
func NewHardwareModelGetHardwareBrandByNameParamsWithContext(ctx context.Context) *HardwareModelGetHardwareBrandByNameParams
NewHardwareModelGetHardwareBrandByNameParamsWithContext creates a new HardwareModelGetHardwareBrandByNameParams object with the ability to set a context for a request.
func NewHardwareModelGetHardwareBrandByNameParamsWithHTTPClient ¶
func NewHardwareModelGetHardwareBrandByNameParamsWithHTTPClient(client *http.Client) *HardwareModelGetHardwareBrandByNameParams
NewHardwareModelGetHardwareBrandByNameParamsWithHTTPClient creates a new HardwareModelGetHardwareBrandByNameParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelGetHardwareBrandByNameParamsWithTimeout ¶
func NewHardwareModelGetHardwareBrandByNameParamsWithTimeout(timeout time.Duration) *HardwareModelGetHardwareBrandByNameParams
NewHardwareModelGetHardwareBrandByNameParamsWithTimeout creates a new HardwareModelGetHardwareBrandByNameParams object with the ability to set a timeout on a request.
func (*HardwareModelGetHardwareBrandByNameParams) SetContext ¶
func (o *HardwareModelGetHardwareBrandByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model get hardware brand by name params
func (*HardwareModelGetHardwareBrandByNameParams) SetDefaults ¶
func (o *HardwareModelGetHardwareBrandByNameParams) SetDefaults()
SetDefaults hydrates default values in the hardware model get hardware brand by name params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetHardwareBrandByNameParams) SetEnterpriseID ¶
func (o *HardwareModelGetHardwareBrandByNameParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the hardware model get hardware brand by name params
func (*HardwareModelGetHardwareBrandByNameParams) SetHTTPClient ¶
func (o *HardwareModelGetHardwareBrandByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model get hardware brand by name params
func (*HardwareModelGetHardwareBrandByNameParams) SetName ¶
func (o *HardwareModelGetHardwareBrandByNameParams) SetName(name string)
SetName adds the name to the hardware model get hardware brand by name params
func (*HardwareModelGetHardwareBrandByNameParams) SetTimeout ¶
func (o *HardwareModelGetHardwareBrandByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model get hardware brand by name params
func (*HardwareModelGetHardwareBrandByNameParams) SetXRequestID ¶
func (o *HardwareModelGetHardwareBrandByNameParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model get hardware brand by name params
func (*HardwareModelGetHardwareBrandByNameParams) WithContext ¶
func (o *HardwareModelGetHardwareBrandByNameParams) WithContext(ctx context.Context) *HardwareModelGetHardwareBrandByNameParams
WithContext adds the context to the hardware model get hardware brand by name params
func (*HardwareModelGetHardwareBrandByNameParams) WithDefaults ¶
func (o *HardwareModelGetHardwareBrandByNameParams) WithDefaults() *HardwareModelGetHardwareBrandByNameParams
WithDefaults hydrates default values in the hardware model get hardware brand by name params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetHardwareBrandByNameParams) WithEnterpriseID ¶
func (o *HardwareModelGetHardwareBrandByNameParams) WithEnterpriseID(enterpriseID *string) *HardwareModelGetHardwareBrandByNameParams
WithEnterpriseID adds the enterpriseID to the hardware model get hardware brand by name params
func (*HardwareModelGetHardwareBrandByNameParams) WithHTTPClient ¶
func (o *HardwareModelGetHardwareBrandByNameParams) WithHTTPClient(client *http.Client) *HardwareModelGetHardwareBrandByNameParams
WithHTTPClient adds the HTTPClient to the hardware model get hardware brand by name params
func (*HardwareModelGetHardwareBrandByNameParams) WithName ¶
func (o *HardwareModelGetHardwareBrandByNameParams) WithName(name string) *HardwareModelGetHardwareBrandByNameParams
WithName adds the name to the hardware model get hardware brand by name params
func (*HardwareModelGetHardwareBrandByNameParams) WithTimeout ¶
func (o *HardwareModelGetHardwareBrandByNameParams) WithTimeout(timeout time.Duration) *HardwareModelGetHardwareBrandByNameParams
WithTimeout adds the timeout to the hardware model get hardware brand by name params
func (*HardwareModelGetHardwareBrandByNameParams) WithXRequestID ¶
func (o *HardwareModelGetHardwareBrandByNameParams) WithXRequestID(xRequestID *string) *HardwareModelGetHardwareBrandByNameParams
WithXRequestID adds the xRequestID to the hardware model get hardware brand by name params
func (*HardwareModelGetHardwareBrandByNameParams) WriteToRequest ¶
func (o *HardwareModelGetHardwareBrandByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelGetHardwareBrandByNameReader ¶
type HardwareModelGetHardwareBrandByNameReader struct {
// contains filtered or unexported fields
}
HardwareModelGetHardwareBrandByNameReader is a Reader for the HardwareModelGetHardwareBrandByName structure.
func (*HardwareModelGetHardwareBrandByNameReader) ReadResponse ¶
func (o *HardwareModelGetHardwareBrandByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelGetHardwareBrandByNameUnauthorized ¶
type HardwareModelGetHardwareBrandByNameUnauthorized struct {
}HardwareModelGetHardwareBrandByNameUnauthorized 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 NewHardwareModelGetHardwareBrandByNameUnauthorized ¶
func NewHardwareModelGetHardwareBrandByNameUnauthorized() *HardwareModelGetHardwareBrandByNameUnauthorized
NewHardwareModelGetHardwareBrandByNameUnauthorized creates a HardwareModelGetHardwareBrandByNameUnauthorized with default headers values
func (*HardwareModelGetHardwareBrandByNameUnauthorized) Error ¶
func (o *HardwareModelGetHardwareBrandByNameUnauthorized) Error() string
func (*HardwareModelGetHardwareBrandByNameUnauthorized) GetPayload ¶
func (o *HardwareModelGetHardwareBrandByNameUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareBrandByNameUnauthorized) IsClientError ¶
func (o *HardwareModelGetHardwareBrandByNameUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model get hardware brand by name unauthorized response has a 4xx status code
func (*HardwareModelGetHardwareBrandByNameUnauthorized) IsCode ¶
func (o *HardwareModelGetHardwareBrandByNameUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model get hardware brand by name unauthorized response a status code equal to that given
func (*HardwareModelGetHardwareBrandByNameUnauthorized) IsRedirect ¶
func (o *HardwareModelGetHardwareBrandByNameUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware brand by name unauthorized response has a 3xx status code
func (*HardwareModelGetHardwareBrandByNameUnauthorized) IsServerError ¶
func (o *HardwareModelGetHardwareBrandByNameUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model get hardware brand by name unauthorized response has a 5xx status code
func (*HardwareModelGetHardwareBrandByNameUnauthorized) IsSuccess ¶
func (o *HardwareModelGetHardwareBrandByNameUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware brand by name unauthorized response has a 2xx status code
func (*HardwareModelGetHardwareBrandByNameUnauthorized) String ¶
func (o *HardwareModelGetHardwareBrandByNameUnauthorized) String() string
type HardwareModelGetHardwareBrandDefault ¶
type HardwareModelGetHardwareBrandDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelGetHardwareBrandDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelGetHardwareBrandDefault ¶
func NewHardwareModelGetHardwareBrandDefault(code int) *HardwareModelGetHardwareBrandDefault
NewHardwareModelGetHardwareBrandDefault creates a HardwareModelGetHardwareBrandDefault with default headers values
func (*HardwareModelGetHardwareBrandDefault) Code ¶
func (o *HardwareModelGetHardwareBrandDefault) Code() int
Code gets the status code for the hardware model get hardware brand default response
func (*HardwareModelGetHardwareBrandDefault) Error ¶
func (o *HardwareModelGetHardwareBrandDefault) Error() string
func (*HardwareModelGetHardwareBrandDefault) GetPayload ¶
func (o *HardwareModelGetHardwareBrandDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelGetHardwareBrandDefault) IsClientError ¶
func (o *HardwareModelGetHardwareBrandDefault) IsClientError() bool
IsClientError returns true when this hardware model get hardware brand default response has a 4xx status code
func (*HardwareModelGetHardwareBrandDefault) IsCode ¶
func (o *HardwareModelGetHardwareBrandDefault) IsCode(code int) bool
IsCode returns true when this hardware model get hardware brand default response a status code equal to that given
func (*HardwareModelGetHardwareBrandDefault) IsRedirect ¶
func (o *HardwareModelGetHardwareBrandDefault) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware brand default response has a 3xx status code
func (*HardwareModelGetHardwareBrandDefault) IsServerError ¶
func (o *HardwareModelGetHardwareBrandDefault) IsServerError() bool
IsServerError returns true when this hardware model get hardware brand default response has a 5xx status code
func (*HardwareModelGetHardwareBrandDefault) IsSuccess ¶
func (o *HardwareModelGetHardwareBrandDefault) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware brand default response has a 2xx status code
func (*HardwareModelGetHardwareBrandDefault) String ¶
func (o *HardwareModelGetHardwareBrandDefault) String() string
type HardwareModelGetHardwareBrandForbidden ¶
type HardwareModelGetHardwareBrandForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareBrandForbidden 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 NewHardwareModelGetHardwareBrandForbidden ¶
func NewHardwareModelGetHardwareBrandForbidden() *HardwareModelGetHardwareBrandForbidden
NewHardwareModelGetHardwareBrandForbidden creates a HardwareModelGetHardwareBrandForbidden with default headers values
func (*HardwareModelGetHardwareBrandForbidden) Error ¶
func (o *HardwareModelGetHardwareBrandForbidden) Error() string
func (*HardwareModelGetHardwareBrandForbidden) GetPayload ¶
func (o *HardwareModelGetHardwareBrandForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareBrandForbidden) IsClientError ¶
func (o *HardwareModelGetHardwareBrandForbidden) IsClientError() bool
IsClientError returns true when this hardware model get hardware brand forbidden response has a 4xx status code
func (*HardwareModelGetHardwareBrandForbidden) IsCode ¶
func (o *HardwareModelGetHardwareBrandForbidden) IsCode(code int) bool
IsCode returns true when this hardware model get hardware brand forbidden response a status code equal to that given
func (*HardwareModelGetHardwareBrandForbidden) IsRedirect ¶
func (o *HardwareModelGetHardwareBrandForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware brand forbidden response has a 3xx status code
func (*HardwareModelGetHardwareBrandForbidden) IsServerError ¶
func (o *HardwareModelGetHardwareBrandForbidden) IsServerError() bool
IsServerError returns true when this hardware model get hardware brand forbidden response has a 5xx status code
func (*HardwareModelGetHardwareBrandForbidden) IsSuccess ¶
func (o *HardwareModelGetHardwareBrandForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware brand forbidden response has a 2xx status code
func (*HardwareModelGetHardwareBrandForbidden) String ¶
func (o *HardwareModelGetHardwareBrandForbidden) String() string
type HardwareModelGetHardwareBrandGatewayTimeout ¶
type HardwareModelGetHardwareBrandGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareBrandGatewayTimeout 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 NewHardwareModelGetHardwareBrandGatewayTimeout ¶
func NewHardwareModelGetHardwareBrandGatewayTimeout() *HardwareModelGetHardwareBrandGatewayTimeout
NewHardwareModelGetHardwareBrandGatewayTimeout creates a HardwareModelGetHardwareBrandGatewayTimeout with default headers values
func (*HardwareModelGetHardwareBrandGatewayTimeout) Error ¶
func (o *HardwareModelGetHardwareBrandGatewayTimeout) Error() string
func (*HardwareModelGetHardwareBrandGatewayTimeout) GetPayload ¶
func (o *HardwareModelGetHardwareBrandGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareBrandGatewayTimeout) IsClientError ¶
func (o *HardwareModelGetHardwareBrandGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model get hardware brand gateway timeout response has a 4xx status code
func (*HardwareModelGetHardwareBrandGatewayTimeout) IsCode ¶
func (o *HardwareModelGetHardwareBrandGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model get hardware brand gateway timeout response a status code equal to that given
func (*HardwareModelGetHardwareBrandGatewayTimeout) IsRedirect ¶
func (o *HardwareModelGetHardwareBrandGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware brand gateway timeout response has a 3xx status code
func (*HardwareModelGetHardwareBrandGatewayTimeout) IsServerError ¶
func (o *HardwareModelGetHardwareBrandGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model get hardware brand gateway timeout response has a 5xx status code
func (*HardwareModelGetHardwareBrandGatewayTimeout) IsSuccess ¶
func (o *HardwareModelGetHardwareBrandGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware brand gateway timeout response has a 2xx status code
func (*HardwareModelGetHardwareBrandGatewayTimeout) String ¶
func (o *HardwareModelGetHardwareBrandGatewayTimeout) String() string
type HardwareModelGetHardwareBrandInternalServerError ¶
type HardwareModelGetHardwareBrandInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareBrandInternalServerError 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 NewHardwareModelGetHardwareBrandInternalServerError ¶
func NewHardwareModelGetHardwareBrandInternalServerError() *HardwareModelGetHardwareBrandInternalServerError
NewHardwareModelGetHardwareBrandInternalServerError creates a HardwareModelGetHardwareBrandInternalServerError with default headers values
func (*HardwareModelGetHardwareBrandInternalServerError) Error ¶
func (o *HardwareModelGetHardwareBrandInternalServerError) Error() string
func (*HardwareModelGetHardwareBrandInternalServerError) GetPayload ¶
func (o *HardwareModelGetHardwareBrandInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareBrandInternalServerError) IsClientError ¶
func (o *HardwareModelGetHardwareBrandInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model get hardware brand internal server error response has a 4xx status code
func (*HardwareModelGetHardwareBrandInternalServerError) IsCode ¶
func (o *HardwareModelGetHardwareBrandInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model get hardware brand internal server error response a status code equal to that given
func (*HardwareModelGetHardwareBrandInternalServerError) IsRedirect ¶
func (o *HardwareModelGetHardwareBrandInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware brand internal server error response has a 3xx status code
func (*HardwareModelGetHardwareBrandInternalServerError) IsServerError ¶
func (o *HardwareModelGetHardwareBrandInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model get hardware brand internal server error response has a 5xx status code
func (*HardwareModelGetHardwareBrandInternalServerError) IsSuccess ¶
func (o *HardwareModelGetHardwareBrandInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware brand internal server error response has a 2xx status code
func (*HardwareModelGetHardwareBrandInternalServerError) String ¶
func (o *HardwareModelGetHardwareBrandInternalServerError) String() string
type HardwareModelGetHardwareBrandNotFound ¶
type HardwareModelGetHardwareBrandNotFound struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareBrandNotFound 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 NewHardwareModelGetHardwareBrandNotFound ¶
func NewHardwareModelGetHardwareBrandNotFound() *HardwareModelGetHardwareBrandNotFound
NewHardwareModelGetHardwareBrandNotFound creates a HardwareModelGetHardwareBrandNotFound with default headers values
func (*HardwareModelGetHardwareBrandNotFound) Error ¶
func (o *HardwareModelGetHardwareBrandNotFound) Error() string
func (*HardwareModelGetHardwareBrandNotFound) GetPayload ¶
func (o *HardwareModelGetHardwareBrandNotFound) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareBrandNotFound) IsClientError ¶
func (o *HardwareModelGetHardwareBrandNotFound) IsClientError() bool
IsClientError returns true when this hardware model get hardware brand not found response has a 4xx status code
func (*HardwareModelGetHardwareBrandNotFound) IsCode ¶
func (o *HardwareModelGetHardwareBrandNotFound) IsCode(code int) bool
IsCode returns true when this hardware model get hardware brand not found response a status code equal to that given
func (*HardwareModelGetHardwareBrandNotFound) IsRedirect ¶
func (o *HardwareModelGetHardwareBrandNotFound) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware brand not found response has a 3xx status code
func (*HardwareModelGetHardwareBrandNotFound) IsServerError ¶
func (o *HardwareModelGetHardwareBrandNotFound) IsServerError() bool
IsServerError returns true when this hardware model get hardware brand not found response has a 5xx status code
func (*HardwareModelGetHardwareBrandNotFound) IsSuccess ¶
func (o *HardwareModelGetHardwareBrandNotFound) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware brand not found response has a 2xx status code
func (*HardwareModelGetHardwareBrandNotFound) String ¶
func (o *HardwareModelGetHardwareBrandNotFound) String() string
type HardwareModelGetHardwareBrandOK ¶
HardwareModelGetHardwareBrandOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelGetHardwareBrandOK ¶
func NewHardwareModelGetHardwareBrandOK() *HardwareModelGetHardwareBrandOK
NewHardwareModelGetHardwareBrandOK creates a HardwareModelGetHardwareBrandOK with default headers values
func (*HardwareModelGetHardwareBrandOK) Error ¶
func (o *HardwareModelGetHardwareBrandOK) Error() string
func (*HardwareModelGetHardwareBrandOK) GetPayload ¶
func (o *HardwareModelGetHardwareBrandOK) GetPayload() *models.SysBrand
func (*HardwareModelGetHardwareBrandOK) IsClientError ¶
func (o *HardwareModelGetHardwareBrandOK) IsClientError() bool
IsClientError returns true when this hardware model get hardware brand o k response has a 4xx status code
func (*HardwareModelGetHardwareBrandOK) IsCode ¶
func (o *HardwareModelGetHardwareBrandOK) IsCode(code int) bool
IsCode returns true when this hardware model get hardware brand o k response a status code equal to that given
func (*HardwareModelGetHardwareBrandOK) IsRedirect ¶
func (o *HardwareModelGetHardwareBrandOK) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware brand o k response has a 3xx status code
func (*HardwareModelGetHardwareBrandOK) IsServerError ¶
func (o *HardwareModelGetHardwareBrandOK) IsServerError() bool
IsServerError returns true when this hardware model get hardware brand o k response has a 5xx status code
func (*HardwareModelGetHardwareBrandOK) IsSuccess ¶
func (o *HardwareModelGetHardwareBrandOK) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware brand o k response has a 2xx status code
func (*HardwareModelGetHardwareBrandOK) String ¶
func (o *HardwareModelGetHardwareBrandOK) String() string
type HardwareModelGetHardwareBrandParams ¶
type HardwareModelGetHardwareBrandParams 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 }
HardwareModelGetHardwareBrandParams contains all the parameters to send to the API endpoint
for the hardware model get hardware brand operation. Typically these are written to a http.Request.
func NewHardwareModelGetHardwareBrandParams ¶
func NewHardwareModelGetHardwareBrandParams() *HardwareModelGetHardwareBrandParams
NewHardwareModelGetHardwareBrandParams creates a new HardwareModelGetHardwareBrandParams 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 NewHardwareModelGetHardwareBrandParamsWithContext ¶
func NewHardwareModelGetHardwareBrandParamsWithContext(ctx context.Context) *HardwareModelGetHardwareBrandParams
NewHardwareModelGetHardwareBrandParamsWithContext creates a new HardwareModelGetHardwareBrandParams object with the ability to set a context for a request.
func NewHardwareModelGetHardwareBrandParamsWithHTTPClient ¶
func NewHardwareModelGetHardwareBrandParamsWithHTTPClient(client *http.Client) *HardwareModelGetHardwareBrandParams
NewHardwareModelGetHardwareBrandParamsWithHTTPClient creates a new HardwareModelGetHardwareBrandParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelGetHardwareBrandParamsWithTimeout ¶
func NewHardwareModelGetHardwareBrandParamsWithTimeout(timeout time.Duration) *HardwareModelGetHardwareBrandParams
NewHardwareModelGetHardwareBrandParamsWithTimeout creates a new HardwareModelGetHardwareBrandParams object with the ability to set a timeout on a request.
func (*HardwareModelGetHardwareBrandParams) SetContext ¶
func (o *HardwareModelGetHardwareBrandParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model get hardware brand params
func (*HardwareModelGetHardwareBrandParams) SetDefaults ¶
func (o *HardwareModelGetHardwareBrandParams) SetDefaults()
SetDefaults hydrates default values in the hardware model get hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetHardwareBrandParams) SetEnterpriseID ¶
func (o *HardwareModelGetHardwareBrandParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the hardware model get hardware brand params
func (*HardwareModelGetHardwareBrandParams) SetHTTPClient ¶
func (o *HardwareModelGetHardwareBrandParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model get hardware brand params
func (*HardwareModelGetHardwareBrandParams) SetID ¶
func (o *HardwareModelGetHardwareBrandParams) SetID(id string)
SetID adds the id to the hardware model get hardware brand params
func (*HardwareModelGetHardwareBrandParams) SetTimeout ¶
func (o *HardwareModelGetHardwareBrandParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model get hardware brand params
func (*HardwareModelGetHardwareBrandParams) SetXRequestID ¶
func (o *HardwareModelGetHardwareBrandParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model get hardware brand params
func (*HardwareModelGetHardwareBrandParams) WithContext ¶
func (o *HardwareModelGetHardwareBrandParams) WithContext(ctx context.Context) *HardwareModelGetHardwareBrandParams
WithContext adds the context to the hardware model get hardware brand params
func (*HardwareModelGetHardwareBrandParams) WithDefaults ¶
func (o *HardwareModelGetHardwareBrandParams) WithDefaults() *HardwareModelGetHardwareBrandParams
WithDefaults hydrates default values in the hardware model get hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetHardwareBrandParams) WithEnterpriseID ¶
func (o *HardwareModelGetHardwareBrandParams) WithEnterpriseID(enterpriseID *string) *HardwareModelGetHardwareBrandParams
WithEnterpriseID adds the enterpriseID to the hardware model get hardware brand params
func (*HardwareModelGetHardwareBrandParams) WithHTTPClient ¶
func (o *HardwareModelGetHardwareBrandParams) WithHTTPClient(client *http.Client) *HardwareModelGetHardwareBrandParams
WithHTTPClient adds the HTTPClient to the hardware model get hardware brand params
func (*HardwareModelGetHardwareBrandParams) WithID ¶
func (o *HardwareModelGetHardwareBrandParams) WithID(id string) *HardwareModelGetHardwareBrandParams
WithID adds the id to the hardware model get hardware brand params
func (*HardwareModelGetHardwareBrandParams) WithTimeout ¶
func (o *HardwareModelGetHardwareBrandParams) WithTimeout(timeout time.Duration) *HardwareModelGetHardwareBrandParams
WithTimeout adds the timeout to the hardware model get hardware brand params
func (*HardwareModelGetHardwareBrandParams) WithXRequestID ¶
func (o *HardwareModelGetHardwareBrandParams) WithXRequestID(xRequestID *string) *HardwareModelGetHardwareBrandParams
WithXRequestID adds the xRequestID to the hardware model get hardware brand params
func (*HardwareModelGetHardwareBrandParams) WriteToRequest ¶
func (o *HardwareModelGetHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelGetHardwareBrandReader ¶
type HardwareModelGetHardwareBrandReader struct {
// contains filtered or unexported fields
}
HardwareModelGetHardwareBrandReader is a Reader for the HardwareModelGetHardwareBrand structure.
func (*HardwareModelGetHardwareBrandReader) ReadResponse ¶
func (o *HardwareModelGetHardwareBrandReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelGetHardwareBrandUnauthorized ¶
type HardwareModelGetHardwareBrandUnauthorized struct {
}HardwareModelGetHardwareBrandUnauthorized 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 NewHardwareModelGetHardwareBrandUnauthorized ¶
func NewHardwareModelGetHardwareBrandUnauthorized() *HardwareModelGetHardwareBrandUnauthorized
NewHardwareModelGetHardwareBrandUnauthorized creates a HardwareModelGetHardwareBrandUnauthorized with default headers values
func (*HardwareModelGetHardwareBrandUnauthorized) Error ¶
func (o *HardwareModelGetHardwareBrandUnauthorized) Error() string
func (*HardwareModelGetHardwareBrandUnauthorized) GetPayload ¶
func (o *HardwareModelGetHardwareBrandUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareBrandUnauthorized) IsClientError ¶
func (o *HardwareModelGetHardwareBrandUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model get hardware brand unauthorized response has a 4xx status code
func (*HardwareModelGetHardwareBrandUnauthorized) IsCode ¶
func (o *HardwareModelGetHardwareBrandUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model get hardware brand unauthorized response a status code equal to that given
func (*HardwareModelGetHardwareBrandUnauthorized) IsRedirect ¶
func (o *HardwareModelGetHardwareBrandUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware brand unauthorized response has a 3xx status code
func (*HardwareModelGetHardwareBrandUnauthorized) IsServerError ¶
func (o *HardwareModelGetHardwareBrandUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model get hardware brand unauthorized response has a 5xx status code
func (*HardwareModelGetHardwareBrandUnauthorized) IsSuccess ¶
func (o *HardwareModelGetHardwareBrandUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware brand unauthorized response has a 2xx status code
func (*HardwareModelGetHardwareBrandUnauthorized) String ¶
func (o *HardwareModelGetHardwareBrandUnauthorized) String() string
type HardwareModelGetHardwareModelByNameDefault ¶
type HardwareModelGetHardwareModelByNameDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelGetHardwareModelByNameDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelGetHardwareModelByNameDefault ¶
func NewHardwareModelGetHardwareModelByNameDefault(code int) *HardwareModelGetHardwareModelByNameDefault
NewHardwareModelGetHardwareModelByNameDefault creates a HardwareModelGetHardwareModelByNameDefault with default headers values
func (*HardwareModelGetHardwareModelByNameDefault) Code ¶
func (o *HardwareModelGetHardwareModelByNameDefault) Code() int
Code gets the status code for the hardware model get hardware model by name default response
func (*HardwareModelGetHardwareModelByNameDefault) Error ¶
func (o *HardwareModelGetHardwareModelByNameDefault) Error() string
func (*HardwareModelGetHardwareModelByNameDefault) GetPayload ¶
func (o *HardwareModelGetHardwareModelByNameDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelGetHardwareModelByNameDefault) IsClientError ¶
func (o *HardwareModelGetHardwareModelByNameDefault) IsClientError() bool
IsClientError returns true when this hardware model get hardware model by name default response has a 4xx status code
func (*HardwareModelGetHardwareModelByNameDefault) IsCode ¶
func (o *HardwareModelGetHardwareModelByNameDefault) IsCode(code int) bool
IsCode returns true when this hardware model get hardware model by name default response a status code equal to that given
func (*HardwareModelGetHardwareModelByNameDefault) IsRedirect ¶
func (o *HardwareModelGetHardwareModelByNameDefault) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware model by name default response has a 3xx status code
func (*HardwareModelGetHardwareModelByNameDefault) IsServerError ¶
func (o *HardwareModelGetHardwareModelByNameDefault) IsServerError() bool
IsServerError returns true when this hardware model get hardware model by name default response has a 5xx status code
func (*HardwareModelGetHardwareModelByNameDefault) IsSuccess ¶
func (o *HardwareModelGetHardwareModelByNameDefault) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware model by name default response has a 2xx status code
func (*HardwareModelGetHardwareModelByNameDefault) String ¶
func (o *HardwareModelGetHardwareModelByNameDefault) String() string
type HardwareModelGetHardwareModelByNameForbidden ¶
type HardwareModelGetHardwareModelByNameForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareModelByNameForbidden 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 NewHardwareModelGetHardwareModelByNameForbidden ¶
func NewHardwareModelGetHardwareModelByNameForbidden() *HardwareModelGetHardwareModelByNameForbidden
NewHardwareModelGetHardwareModelByNameForbidden creates a HardwareModelGetHardwareModelByNameForbidden with default headers values
func (*HardwareModelGetHardwareModelByNameForbidden) Error ¶
func (o *HardwareModelGetHardwareModelByNameForbidden) Error() string
func (*HardwareModelGetHardwareModelByNameForbidden) GetPayload ¶
func (o *HardwareModelGetHardwareModelByNameForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareModelByNameForbidden) IsClientError ¶
func (o *HardwareModelGetHardwareModelByNameForbidden) IsClientError() bool
IsClientError returns true when this hardware model get hardware model by name forbidden response has a 4xx status code
func (*HardwareModelGetHardwareModelByNameForbidden) IsCode ¶
func (o *HardwareModelGetHardwareModelByNameForbidden) IsCode(code int) bool
IsCode returns true when this hardware model get hardware model by name forbidden response a status code equal to that given
func (*HardwareModelGetHardwareModelByNameForbidden) IsRedirect ¶
func (o *HardwareModelGetHardwareModelByNameForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware model by name forbidden response has a 3xx status code
func (*HardwareModelGetHardwareModelByNameForbidden) IsServerError ¶
func (o *HardwareModelGetHardwareModelByNameForbidden) IsServerError() bool
IsServerError returns true when this hardware model get hardware model by name forbidden response has a 5xx status code
func (*HardwareModelGetHardwareModelByNameForbidden) IsSuccess ¶
func (o *HardwareModelGetHardwareModelByNameForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware model by name forbidden response has a 2xx status code
func (*HardwareModelGetHardwareModelByNameForbidden) String ¶
func (o *HardwareModelGetHardwareModelByNameForbidden) String() string
type HardwareModelGetHardwareModelByNameGatewayTimeout ¶
type HardwareModelGetHardwareModelByNameGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareModelByNameGatewayTimeout 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 NewHardwareModelGetHardwareModelByNameGatewayTimeout ¶
func NewHardwareModelGetHardwareModelByNameGatewayTimeout() *HardwareModelGetHardwareModelByNameGatewayTimeout
NewHardwareModelGetHardwareModelByNameGatewayTimeout creates a HardwareModelGetHardwareModelByNameGatewayTimeout with default headers values
func (*HardwareModelGetHardwareModelByNameGatewayTimeout) Error ¶
func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) Error() string
func (*HardwareModelGetHardwareModelByNameGatewayTimeout) GetPayload ¶
func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareModelByNameGatewayTimeout) IsClientError ¶
func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model get hardware model by name gateway timeout response has a 4xx status code
func (*HardwareModelGetHardwareModelByNameGatewayTimeout) IsCode ¶
func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model get hardware model by name gateway timeout response a status code equal to that given
func (*HardwareModelGetHardwareModelByNameGatewayTimeout) IsRedirect ¶
func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware model by name gateway timeout response has a 3xx status code
func (*HardwareModelGetHardwareModelByNameGatewayTimeout) IsServerError ¶
func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model get hardware model by name gateway timeout response has a 5xx status code
func (*HardwareModelGetHardwareModelByNameGatewayTimeout) IsSuccess ¶
func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware model by name gateway timeout response has a 2xx status code
func (*HardwareModelGetHardwareModelByNameGatewayTimeout) String ¶
func (o *HardwareModelGetHardwareModelByNameGatewayTimeout) String() string
type HardwareModelGetHardwareModelByNameInternalServerError ¶
type HardwareModelGetHardwareModelByNameInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareModelByNameInternalServerError 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 NewHardwareModelGetHardwareModelByNameInternalServerError ¶
func NewHardwareModelGetHardwareModelByNameInternalServerError() *HardwareModelGetHardwareModelByNameInternalServerError
NewHardwareModelGetHardwareModelByNameInternalServerError creates a HardwareModelGetHardwareModelByNameInternalServerError with default headers values
func (*HardwareModelGetHardwareModelByNameInternalServerError) Error ¶
func (o *HardwareModelGetHardwareModelByNameInternalServerError) Error() string
func (*HardwareModelGetHardwareModelByNameInternalServerError) GetPayload ¶
func (o *HardwareModelGetHardwareModelByNameInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareModelByNameInternalServerError) IsClientError ¶
func (o *HardwareModelGetHardwareModelByNameInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model get hardware model by name internal server error response has a 4xx status code
func (*HardwareModelGetHardwareModelByNameInternalServerError) IsCode ¶
func (o *HardwareModelGetHardwareModelByNameInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model get hardware model by name internal server error response a status code equal to that given
func (*HardwareModelGetHardwareModelByNameInternalServerError) IsRedirect ¶
func (o *HardwareModelGetHardwareModelByNameInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware model by name internal server error response has a 3xx status code
func (*HardwareModelGetHardwareModelByNameInternalServerError) IsServerError ¶
func (o *HardwareModelGetHardwareModelByNameInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model get hardware model by name internal server error response has a 5xx status code
func (*HardwareModelGetHardwareModelByNameInternalServerError) IsSuccess ¶
func (o *HardwareModelGetHardwareModelByNameInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware model by name internal server error response has a 2xx status code
func (*HardwareModelGetHardwareModelByNameInternalServerError) String ¶
func (o *HardwareModelGetHardwareModelByNameInternalServerError) String() string
type HardwareModelGetHardwareModelByNameNotFound ¶
type HardwareModelGetHardwareModelByNameNotFound struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareModelByNameNotFound 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 NewHardwareModelGetHardwareModelByNameNotFound ¶
func NewHardwareModelGetHardwareModelByNameNotFound() *HardwareModelGetHardwareModelByNameNotFound
NewHardwareModelGetHardwareModelByNameNotFound creates a HardwareModelGetHardwareModelByNameNotFound with default headers values
func (*HardwareModelGetHardwareModelByNameNotFound) Error ¶
func (o *HardwareModelGetHardwareModelByNameNotFound) Error() string
func (*HardwareModelGetHardwareModelByNameNotFound) GetPayload ¶
func (o *HardwareModelGetHardwareModelByNameNotFound) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareModelByNameNotFound) IsClientError ¶
func (o *HardwareModelGetHardwareModelByNameNotFound) IsClientError() bool
IsClientError returns true when this hardware model get hardware model by name not found response has a 4xx status code
func (*HardwareModelGetHardwareModelByNameNotFound) IsCode ¶
func (o *HardwareModelGetHardwareModelByNameNotFound) IsCode(code int) bool
IsCode returns true when this hardware model get hardware model by name not found response a status code equal to that given
func (*HardwareModelGetHardwareModelByNameNotFound) IsRedirect ¶
func (o *HardwareModelGetHardwareModelByNameNotFound) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware model by name not found response has a 3xx status code
func (*HardwareModelGetHardwareModelByNameNotFound) IsServerError ¶
func (o *HardwareModelGetHardwareModelByNameNotFound) IsServerError() bool
IsServerError returns true when this hardware model get hardware model by name not found response has a 5xx status code
func (*HardwareModelGetHardwareModelByNameNotFound) IsSuccess ¶
func (o *HardwareModelGetHardwareModelByNameNotFound) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware model by name not found response has a 2xx status code
func (*HardwareModelGetHardwareModelByNameNotFound) String ¶
func (o *HardwareModelGetHardwareModelByNameNotFound) String() string
type HardwareModelGetHardwareModelByNameOK ¶
HardwareModelGetHardwareModelByNameOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelGetHardwareModelByNameOK ¶
func NewHardwareModelGetHardwareModelByNameOK() *HardwareModelGetHardwareModelByNameOK
NewHardwareModelGetHardwareModelByNameOK creates a HardwareModelGetHardwareModelByNameOK with default headers values
func (*HardwareModelGetHardwareModelByNameOK) Error ¶
func (o *HardwareModelGetHardwareModelByNameOK) Error() string
func (*HardwareModelGetHardwareModelByNameOK) GetPayload ¶
func (o *HardwareModelGetHardwareModelByNameOK) GetPayload() *models.SysModel
func (*HardwareModelGetHardwareModelByNameOK) IsClientError ¶
func (o *HardwareModelGetHardwareModelByNameOK) IsClientError() bool
IsClientError returns true when this hardware model get hardware model by name o k response has a 4xx status code
func (*HardwareModelGetHardwareModelByNameOK) IsCode ¶
func (o *HardwareModelGetHardwareModelByNameOK) IsCode(code int) bool
IsCode returns true when this hardware model get hardware model by name o k response a status code equal to that given
func (*HardwareModelGetHardwareModelByNameOK) IsRedirect ¶
func (o *HardwareModelGetHardwareModelByNameOK) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware model by name o k response has a 3xx status code
func (*HardwareModelGetHardwareModelByNameOK) IsServerError ¶
func (o *HardwareModelGetHardwareModelByNameOK) IsServerError() bool
IsServerError returns true when this hardware model get hardware model by name o k response has a 5xx status code
func (*HardwareModelGetHardwareModelByNameOK) IsSuccess ¶
func (o *HardwareModelGetHardwareModelByNameOK) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware model by name o k response has a 2xx status code
func (*HardwareModelGetHardwareModelByNameOK) String ¶
func (o *HardwareModelGetHardwareModelByNameOK) String() string
type HardwareModelGetHardwareModelByNameParams ¶
type HardwareModelGetHardwareModelByNameParams 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 }
HardwareModelGetHardwareModelByNameParams contains all the parameters to send to the API endpoint
for the hardware model get hardware model by name operation. Typically these are written to a http.Request.
func NewHardwareModelGetHardwareModelByNameParams ¶
func NewHardwareModelGetHardwareModelByNameParams() *HardwareModelGetHardwareModelByNameParams
NewHardwareModelGetHardwareModelByNameParams creates a new HardwareModelGetHardwareModelByNameParams 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 NewHardwareModelGetHardwareModelByNameParamsWithContext ¶
func NewHardwareModelGetHardwareModelByNameParamsWithContext(ctx context.Context) *HardwareModelGetHardwareModelByNameParams
NewHardwareModelGetHardwareModelByNameParamsWithContext creates a new HardwareModelGetHardwareModelByNameParams object with the ability to set a context for a request.
func NewHardwareModelGetHardwareModelByNameParamsWithHTTPClient ¶
func NewHardwareModelGetHardwareModelByNameParamsWithHTTPClient(client *http.Client) *HardwareModelGetHardwareModelByNameParams
NewHardwareModelGetHardwareModelByNameParamsWithHTTPClient creates a new HardwareModelGetHardwareModelByNameParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelGetHardwareModelByNameParamsWithTimeout ¶
func NewHardwareModelGetHardwareModelByNameParamsWithTimeout(timeout time.Duration) *HardwareModelGetHardwareModelByNameParams
NewHardwareModelGetHardwareModelByNameParamsWithTimeout creates a new HardwareModelGetHardwareModelByNameParams object with the ability to set a timeout on a request.
func (*HardwareModelGetHardwareModelByNameParams) SetContext ¶
func (o *HardwareModelGetHardwareModelByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model get hardware model by name params
func (*HardwareModelGetHardwareModelByNameParams) SetDefaults ¶
func (o *HardwareModelGetHardwareModelByNameParams) SetDefaults()
SetDefaults hydrates default values in the hardware model get hardware model by name params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetHardwareModelByNameParams) SetHTTPClient ¶
func (o *HardwareModelGetHardwareModelByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model get hardware model by name params
func (*HardwareModelGetHardwareModelByNameParams) SetName ¶
func (o *HardwareModelGetHardwareModelByNameParams) SetName(name string)
SetName adds the name to the hardware model get hardware model by name params
func (*HardwareModelGetHardwareModelByNameParams) SetTimeout ¶
func (o *HardwareModelGetHardwareModelByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model get hardware model by name params
func (*HardwareModelGetHardwareModelByNameParams) SetXRequestID ¶
func (o *HardwareModelGetHardwareModelByNameParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model get hardware model by name params
func (*HardwareModelGetHardwareModelByNameParams) WithContext ¶
func (o *HardwareModelGetHardwareModelByNameParams) WithContext(ctx context.Context) *HardwareModelGetHardwareModelByNameParams
WithContext adds the context to the hardware model get hardware model by name params
func (*HardwareModelGetHardwareModelByNameParams) WithDefaults ¶
func (o *HardwareModelGetHardwareModelByNameParams) WithDefaults() *HardwareModelGetHardwareModelByNameParams
WithDefaults hydrates default values in the hardware model get hardware model by name params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetHardwareModelByNameParams) WithHTTPClient ¶
func (o *HardwareModelGetHardwareModelByNameParams) WithHTTPClient(client *http.Client) *HardwareModelGetHardwareModelByNameParams
WithHTTPClient adds the HTTPClient to the hardware model get hardware model by name params
func (*HardwareModelGetHardwareModelByNameParams) WithName ¶
func (o *HardwareModelGetHardwareModelByNameParams) WithName(name string) *HardwareModelGetHardwareModelByNameParams
WithName adds the name to the hardware model get hardware model by name params
func (*HardwareModelGetHardwareModelByNameParams) WithTimeout ¶
func (o *HardwareModelGetHardwareModelByNameParams) WithTimeout(timeout time.Duration) *HardwareModelGetHardwareModelByNameParams
WithTimeout adds the timeout to the hardware model get hardware model by name params
func (*HardwareModelGetHardwareModelByNameParams) WithXRequestID ¶
func (o *HardwareModelGetHardwareModelByNameParams) WithXRequestID(xRequestID *string) *HardwareModelGetHardwareModelByNameParams
WithXRequestID adds the xRequestID to the hardware model get hardware model by name params
func (*HardwareModelGetHardwareModelByNameParams) WriteToRequest ¶
func (o *HardwareModelGetHardwareModelByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelGetHardwareModelByNameReader ¶
type HardwareModelGetHardwareModelByNameReader struct {
// contains filtered or unexported fields
}
HardwareModelGetHardwareModelByNameReader is a Reader for the HardwareModelGetHardwareModelByName structure.
func (*HardwareModelGetHardwareModelByNameReader) ReadResponse ¶
func (o *HardwareModelGetHardwareModelByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelGetHardwareModelByNameUnauthorized ¶
type HardwareModelGetHardwareModelByNameUnauthorized struct {
}HardwareModelGetHardwareModelByNameUnauthorized 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 NewHardwareModelGetHardwareModelByNameUnauthorized ¶
func NewHardwareModelGetHardwareModelByNameUnauthorized() *HardwareModelGetHardwareModelByNameUnauthorized
NewHardwareModelGetHardwareModelByNameUnauthorized creates a HardwareModelGetHardwareModelByNameUnauthorized with default headers values
func (*HardwareModelGetHardwareModelByNameUnauthorized) Error ¶
func (o *HardwareModelGetHardwareModelByNameUnauthorized) Error() string
func (*HardwareModelGetHardwareModelByNameUnauthorized) GetPayload ¶
func (o *HardwareModelGetHardwareModelByNameUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareModelByNameUnauthorized) IsClientError ¶
func (o *HardwareModelGetHardwareModelByNameUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model get hardware model by name unauthorized response has a 4xx status code
func (*HardwareModelGetHardwareModelByNameUnauthorized) IsCode ¶
func (o *HardwareModelGetHardwareModelByNameUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model get hardware model by name unauthorized response a status code equal to that given
func (*HardwareModelGetHardwareModelByNameUnauthorized) IsRedirect ¶
func (o *HardwareModelGetHardwareModelByNameUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware model by name unauthorized response has a 3xx status code
func (*HardwareModelGetHardwareModelByNameUnauthorized) IsServerError ¶
func (o *HardwareModelGetHardwareModelByNameUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model get hardware model by name unauthorized response has a 5xx status code
func (*HardwareModelGetHardwareModelByNameUnauthorized) IsSuccess ¶
func (o *HardwareModelGetHardwareModelByNameUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware model by name unauthorized response has a 2xx status code
func (*HardwareModelGetHardwareModelByNameUnauthorized) String ¶
func (o *HardwareModelGetHardwareModelByNameUnauthorized) String() string
type HardwareModelGetHardwareModelDefault ¶
type HardwareModelGetHardwareModelDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelGetHardwareModelDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelGetHardwareModelDefault ¶
func NewHardwareModelGetHardwareModelDefault(code int) *HardwareModelGetHardwareModelDefault
NewHardwareModelGetHardwareModelDefault creates a HardwareModelGetHardwareModelDefault with default headers values
func (*HardwareModelGetHardwareModelDefault) Code ¶
func (o *HardwareModelGetHardwareModelDefault) Code() int
Code gets the status code for the hardware model get hardware model default response
func (*HardwareModelGetHardwareModelDefault) Error ¶
func (o *HardwareModelGetHardwareModelDefault) Error() string
func (*HardwareModelGetHardwareModelDefault) GetPayload ¶
func (o *HardwareModelGetHardwareModelDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelGetHardwareModelDefault) IsClientError ¶
func (o *HardwareModelGetHardwareModelDefault) IsClientError() bool
IsClientError returns true when this hardware model get hardware model default response has a 4xx status code
func (*HardwareModelGetHardwareModelDefault) IsCode ¶
func (o *HardwareModelGetHardwareModelDefault) IsCode(code int) bool
IsCode returns true when this hardware model get hardware model default response a status code equal to that given
func (*HardwareModelGetHardwareModelDefault) IsRedirect ¶
func (o *HardwareModelGetHardwareModelDefault) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware model default response has a 3xx status code
func (*HardwareModelGetHardwareModelDefault) IsServerError ¶
func (o *HardwareModelGetHardwareModelDefault) IsServerError() bool
IsServerError returns true when this hardware model get hardware model default response has a 5xx status code
func (*HardwareModelGetHardwareModelDefault) IsSuccess ¶
func (o *HardwareModelGetHardwareModelDefault) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware model default response has a 2xx status code
func (*HardwareModelGetHardwareModelDefault) String ¶
func (o *HardwareModelGetHardwareModelDefault) String() string
type HardwareModelGetHardwareModelForbidden ¶
type HardwareModelGetHardwareModelForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareModelForbidden 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 NewHardwareModelGetHardwareModelForbidden ¶
func NewHardwareModelGetHardwareModelForbidden() *HardwareModelGetHardwareModelForbidden
NewHardwareModelGetHardwareModelForbidden creates a HardwareModelGetHardwareModelForbidden with default headers values
func (*HardwareModelGetHardwareModelForbidden) Error ¶
func (o *HardwareModelGetHardwareModelForbidden) Error() string
func (*HardwareModelGetHardwareModelForbidden) GetPayload ¶
func (o *HardwareModelGetHardwareModelForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareModelForbidden) IsClientError ¶
func (o *HardwareModelGetHardwareModelForbidden) IsClientError() bool
IsClientError returns true when this hardware model get hardware model forbidden response has a 4xx status code
func (*HardwareModelGetHardwareModelForbidden) IsCode ¶
func (o *HardwareModelGetHardwareModelForbidden) IsCode(code int) bool
IsCode returns true when this hardware model get hardware model forbidden response a status code equal to that given
func (*HardwareModelGetHardwareModelForbidden) IsRedirect ¶
func (o *HardwareModelGetHardwareModelForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware model forbidden response has a 3xx status code
func (*HardwareModelGetHardwareModelForbidden) IsServerError ¶
func (o *HardwareModelGetHardwareModelForbidden) IsServerError() bool
IsServerError returns true when this hardware model get hardware model forbidden response has a 5xx status code
func (*HardwareModelGetHardwareModelForbidden) IsSuccess ¶
func (o *HardwareModelGetHardwareModelForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware model forbidden response has a 2xx status code
func (*HardwareModelGetHardwareModelForbidden) String ¶
func (o *HardwareModelGetHardwareModelForbidden) String() string
type HardwareModelGetHardwareModelGatewayTimeout ¶
type HardwareModelGetHardwareModelGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareModelGatewayTimeout 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 NewHardwareModelGetHardwareModelGatewayTimeout ¶
func NewHardwareModelGetHardwareModelGatewayTimeout() *HardwareModelGetHardwareModelGatewayTimeout
NewHardwareModelGetHardwareModelGatewayTimeout creates a HardwareModelGetHardwareModelGatewayTimeout with default headers values
func (*HardwareModelGetHardwareModelGatewayTimeout) Error ¶
func (o *HardwareModelGetHardwareModelGatewayTimeout) Error() string
func (*HardwareModelGetHardwareModelGatewayTimeout) GetPayload ¶
func (o *HardwareModelGetHardwareModelGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareModelGatewayTimeout) IsClientError ¶
func (o *HardwareModelGetHardwareModelGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model get hardware model gateway timeout response has a 4xx status code
func (*HardwareModelGetHardwareModelGatewayTimeout) IsCode ¶
func (o *HardwareModelGetHardwareModelGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model get hardware model gateway timeout response a status code equal to that given
func (*HardwareModelGetHardwareModelGatewayTimeout) IsRedirect ¶
func (o *HardwareModelGetHardwareModelGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware model gateway timeout response has a 3xx status code
func (*HardwareModelGetHardwareModelGatewayTimeout) IsServerError ¶
func (o *HardwareModelGetHardwareModelGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model get hardware model gateway timeout response has a 5xx status code
func (*HardwareModelGetHardwareModelGatewayTimeout) IsSuccess ¶
func (o *HardwareModelGetHardwareModelGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware model gateway timeout response has a 2xx status code
func (*HardwareModelGetHardwareModelGatewayTimeout) String ¶
func (o *HardwareModelGetHardwareModelGatewayTimeout) String() string
type HardwareModelGetHardwareModelInternalServerError ¶
type HardwareModelGetHardwareModelInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareModelInternalServerError 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 NewHardwareModelGetHardwareModelInternalServerError ¶
func NewHardwareModelGetHardwareModelInternalServerError() *HardwareModelGetHardwareModelInternalServerError
NewHardwareModelGetHardwareModelInternalServerError creates a HardwareModelGetHardwareModelInternalServerError with default headers values
func (*HardwareModelGetHardwareModelInternalServerError) Error ¶
func (o *HardwareModelGetHardwareModelInternalServerError) Error() string
func (*HardwareModelGetHardwareModelInternalServerError) GetPayload ¶
func (o *HardwareModelGetHardwareModelInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareModelInternalServerError) IsClientError ¶
func (o *HardwareModelGetHardwareModelInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model get hardware model internal server error response has a 4xx status code
func (*HardwareModelGetHardwareModelInternalServerError) IsCode ¶
func (o *HardwareModelGetHardwareModelInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model get hardware model internal server error response a status code equal to that given
func (*HardwareModelGetHardwareModelInternalServerError) IsRedirect ¶
func (o *HardwareModelGetHardwareModelInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware model internal server error response has a 3xx status code
func (*HardwareModelGetHardwareModelInternalServerError) IsServerError ¶
func (o *HardwareModelGetHardwareModelInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model get hardware model internal server error response has a 5xx status code
func (*HardwareModelGetHardwareModelInternalServerError) IsSuccess ¶
func (o *HardwareModelGetHardwareModelInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware model internal server error response has a 2xx status code
func (*HardwareModelGetHardwareModelInternalServerError) String ¶
func (o *HardwareModelGetHardwareModelInternalServerError) String() string
type HardwareModelGetHardwareModelNotFound ¶
type HardwareModelGetHardwareModelNotFound struct {
Payload *models.ZsrvResponse
}
HardwareModelGetHardwareModelNotFound 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 NewHardwareModelGetHardwareModelNotFound ¶
func NewHardwareModelGetHardwareModelNotFound() *HardwareModelGetHardwareModelNotFound
NewHardwareModelGetHardwareModelNotFound creates a HardwareModelGetHardwareModelNotFound with default headers values
func (*HardwareModelGetHardwareModelNotFound) Error ¶
func (o *HardwareModelGetHardwareModelNotFound) Error() string
func (*HardwareModelGetHardwareModelNotFound) GetPayload ¶
func (o *HardwareModelGetHardwareModelNotFound) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareModelNotFound) IsClientError ¶
func (o *HardwareModelGetHardwareModelNotFound) IsClientError() bool
IsClientError returns true when this hardware model get hardware model not found response has a 4xx status code
func (*HardwareModelGetHardwareModelNotFound) IsCode ¶
func (o *HardwareModelGetHardwareModelNotFound) IsCode(code int) bool
IsCode returns true when this hardware model get hardware model not found response a status code equal to that given
func (*HardwareModelGetHardwareModelNotFound) IsRedirect ¶
func (o *HardwareModelGetHardwareModelNotFound) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware model not found response has a 3xx status code
func (*HardwareModelGetHardwareModelNotFound) IsServerError ¶
func (o *HardwareModelGetHardwareModelNotFound) IsServerError() bool
IsServerError returns true when this hardware model get hardware model not found response has a 5xx status code
func (*HardwareModelGetHardwareModelNotFound) IsSuccess ¶
func (o *HardwareModelGetHardwareModelNotFound) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware model not found response has a 2xx status code
func (*HardwareModelGetHardwareModelNotFound) String ¶
func (o *HardwareModelGetHardwareModelNotFound) String() string
type HardwareModelGetHardwareModelOK ¶
HardwareModelGetHardwareModelOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelGetHardwareModelOK ¶
func NewHardwareModelGetHardwareModelOK() *HardwareModelGetHardwareModelOK
NewHardwareModelGetHardwareModelOK creates a HardwareModelGetHardwareModelOK with default headers values
func (*HardwareModelGetHardwareModelOK) Error ¶
func (o *HardwareModelGetHardwareModelOK) Error() string
func (*HardwareModelGetHardwareModelOK) GetPayload ¶
func (o *HardwareModelGetHardwareModelOK) GetPayload() *models.SysModel
func (*HardwareModelGetHardwareModelOK) IsClientError ¶
func (o *HardwareModelGetHardwareModelOK) IsClientError() bool
IsClientError returns true when this hardware model get hardware model o k response has a 4xx status code
func (*HardwareModelGetHardwareModelOK) IsCode ¶
func (o *HardwareModelGetHardwareModelOK) IsCode(code int) bool
IsCode returns true when this hardware model get hardware model o k response a status code equal to that given
func (*HardwareModelGetHardwareModelOK) IsRedirect ¶
func (o *HardwareModelGetHardwareModelOK) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware model o k response has a 3xx status code
func (*HardwareModelGetHardwareModelOK) IsServerError ¶
func (o *HardwareModelGetHardwareModelOK) IsServerError() bool
IsServerError returns true when this hardware model get hardware model o k response has a 5xx status code
func (*HardwareModelGetHardwareModelOK) IsSuccess ¶
func (o *HardwareModelGetHardwareModelOK) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware model o k response has a 2xx status code
func (*HardwareModelGetHardwareModelOK) String ¶
func (o *HardwareModelGetHardwareModelOK) String() string
type HardwareModelGetHardwareModelParams ¶
type HardwareModelGetHardwareModelParams 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 }
HardwareModelGetHardwareModelParams contains all the parameters to send to the API endpoint
for the hardware model get hardware model operation. Typically these are written to a http.Request.
func NewHardwareModelGetHardwareModelParams ¶
func NewHardwareModelGetHardwareModelParams() *HardwareModelGetHardwareModelParams
NewHardwareModelGetHardwareModelParams creates a new HardwareModelGetHardwareModelParams 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 NewHardwareModelGetHardwareModelParamsWithContext ¶
func NewHardwareModelGetHardwareModelParamsWithContext(ctx context.Context) *HardwareModelGetHardwareModelParams
NewHardwareModelGetHardwareModelParamsWithContext creates a new HardwareModelGetHardwareModelParams object with the ability to set a context for a request.
func NewHardwareModelGetHardwareModelParamsWithHTTPClient ¶
func NewHardwareModelGetHardwareModelParamsWithHTTPClient(client *http.Client) *HardwareModelGetHardwareModelParams
NewHardwareModelGetHardwareModelParamsWithHTTPClient creates a new HardwareModelGetHardwareModelParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelGetHardwareModelParamsWithTimeout ¶
func NewHardwareModelGetHardwareModelParamsWithTimeout(timeout time.Duration) *HardwareModelGetHardwareModelParams
NewHardwareModelGetHardwareModelParamsWithTimeout creates a new HardwareModelGetHardwareModelParams object with the ability to set a timeout on a request.
func (*HardwareModelGetHardwareModelParams) SetContext ¶
func (o *HardwareModelGetHardwareModelParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model get hardware model params
func (*HardwareModelGetHardwareModelParams) SetDefaults ¶
func (o *HardwareModelGetHardwareModelParams) SetDefaults()
SetDefaults hydrates default values in the hardware model get hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetHardwareModelParams) SetHTTPClient ¶
func (o *HardwareModelGetHardwareModelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model get hardware model params
func (*HardwareModelGetHardwareModelParams) SetID ¶
func (o *HardwareModelGetHardwareModelParams) SetID(id string)
SetID adds the id to the hardware model get hardware model params
func (*HardwareModelGetHardwareModelParams) SetTimeout ¶
func (o *HardwareModelGetHardwareModelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model get hardware model params
func (*HardwareModelGetHardwareModelParams) SetXRequestID ¶
func (o *HardwareModelGetHardwareModelParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model get hardware model params
func (*HardwareModelGetHardwareModelParams) WithContext ¶
func (o *HardwareModelGetHardwareModelParams) WithContext(ctx context.Context) *HardwareModelGetHardwareModelParams
WithContext adds the context to the hardware model get hardware model params
func (*HardwareModelGetHardwareModelParams) WithDefaults ¶
func (o *HardwareModelGetHardwareModelParams) WithDefaults() *HardwareModelGetHardwareModelParams
WithDefaults hydrates default values in the hardware model get hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelGetHardwareModelParams) WithHTTPClient ¶
func (o *HardwareModelGetHardwareModelParams) WithHTTPClient(client *http.Client) *HardwareModelGetHardwareModelParams
WithHTTPClient adds the HTTPClient to the hardware model get hardware model params
func (*HardwareModelGetHardwareModelParams) WithID ¶
func (o *HardwareModelGetHardwareModelParams) WithID(id string) *HardwareModelGetHardwareModelParams
WithID adds the id to the hardware model get hardware model params
func (*HardwareModelGetHardwareModelParams) WithTimeout ¶
func (o *HardwareModelGetHardwareModelParams) WithTimeout(timeout time.Duration) *HardwareModelGetHardwareModelParams
WithTimeout adds the timeout to the hardware model get hardware model params
func (*HardwareModelGetHardwareModelParams) WithXRequestID ¶
func (o *HardwareModelGetHardwareModelParams) WithXRequestID(xRequestID *string) *HardwareModelGetHardwareModelParams
WithXRequestID adds the xRequestID to the hardware model get hardware model params
func (*HardwareModelGetHardwareModelParams) WriteToRequest ¶
func (o *HardwareModelGetHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelGetHardwareModelReader ¶
type HardwareModelGetHardwareModelReader struct {
// contains filtered or unexported fields
}
HardwareModelGetHardwareModelReader is a Reader for the HardwareModelGetHardwareModel structure.
func (*HardwareModelGetHardwareModelReader) ReadResponse ¶
func (o *HardwareModelGetHardwareModelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelGetHardwareModelUnauthorized ¶
type HardwareModelGetHardwareModelUnauthorized struct {
}HardwareModelGetHardwareModelUnauthorized 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 NewHardwareModelGetHardwareModelUnauthorized ¶
func NewHardwareModelGetHardwareModelUnauthorized() *HardwareModelGetHardwareModelUnauthorized
NewHardwareModelGetHardwareModelUnauthorized creates a HardwareModelGetHardwareModelUnauthorized with default headers values
func (*HardwareModelGetHardwareModelUnauthorized) Error ¶
func (o *HardwareModelGetHardwareModelUnauthorized) Error() string
func (*HardwareModelGetHardwareModelUnauthorized) GetPayload ¶
func (o *HardwareModelGetHardwareModelUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelGetHardwareModelUnauthorized) IsClientError ¶
func (o *HardwareModelGetHardwareModelUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model get hardware model unauthorized response has a 4xx status code
func (*HardwareModelGetHardwareModelUnauthorized) IsCode ¶
func (o *HardwareModelGetHardwareModelUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model get hardware model unauthorized response a status code equal to that given
func (*HardwareModelGetHardwareModelUnauthorized) IsRedirect ¶
func (o *HardwareModelGetHardwareModelUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model get hardware model unauthorized response has a 3xx status code
func (*HardwareModelGetHardwareModelUnauthorized) IsServerError ¶
func (o *HardwareModelGetHardwareModelUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model get hardware model unauthorized response has a 5xx status code
func (*HardwareModelGetHardwareModelUnauthorized) IsSuccess ¶
func (o *HardwareModelGetHardwareModelUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model get hardware model unauthorized response has a 2xx status code
func (*HardwareModelGetHardwareModelUnauthorized) String ¶
func (o *HardwareModelGetHardwareModelUnauthorized) String() string
type HardwareModelQueryGlobalHardwareBrandsBadRequest ¶
type HardwareModelQueryGlobalHardwareBrandsBadRequest struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryGlobalHardwareBrandsBadRequest 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 NewHardwareModelQueryGlobalHardwareBrandsBadRequest ¶
func NewHardwareModelQueryGlobalHardwareBrandsBadRequest() *HardwareModelQueryGlobalHardwareBrandsBadRequest
NewHardwareModelQueryGlobalHardwareBrandsBadRequest creates a HardwareModelQueryGlobalHardwareBrandsBadRequest with default headers values
func (*HardwareModelQueryGlobalHardwareBrandsBadRequest) Error ¶
func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) Error() string
func (*HardwareModelQueryGlobalHardwareBrandsBadRequest) GetPayload ¶
func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryGlobalHardwareBrandsBadRequest) IsClientError ¶
func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) IsClientError() bool
IsClientError returns true when this hardware model query global hardware brands bad request response has a 4xx status code
func (*HardwareModelQueryGlobalHardwareBrandsBadRequest) IsCode ¶
func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) IsCode(code int) bool
IsCode returns true when this hardware model query global hardware brands bad request response a status code equal to that given
func (*HardwareModelQueryGlobalHardwareBrandsBadRequest) IsRedirect ¶
func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) IsRedirect() bool
IsRedirect returns true when this hardware model query global hardware brands bad request response has a 3xx status code
func (*HardwareModelQueryGlobalHardwareBrandsBadRequest) IsServerError ¶
func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) IsServerError() bool
IsServerError returns true when this hardware model query global hardware brands bad request response has a 5xx status code
func (*HardwareModelQueryGlobalHardwareBrandsBadRequest) IsSuccess ¶
func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) IsSuccess() bool
IsSuccess returns true when this hardware model query global hardware brands bad request response has a 2xx status code
func (*HardwareModelQueryGlobalHardwareBrandsBadRequest) String ¶
func (o *HardwareModelQueryGlobalHardwareBrandsBadRequest) String() string
type HardwareModelQueryGlobalHardwareBrandsDefault ¶
type HardwareModelQueryGlobalHardwareBrandsDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelQueryGlobalHardwareBrandsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelQueryGlobalHardwareBrandsDefault ¶
func NewHardwareModelQueryGlobalHardwareBrandsDefault(code int) *HardwareModelQueryGlobalHardwareBrandsDefault
NewHardwareModelQueryGlobalHardwareBrandsDefault creates a HardwareModelQueryGlobalHardwareBrandsDefault with default headers values
func (*HardwareModelQueryGlobalHardwareBrandsDefault) Code ¶
func (o *HardwareModelQueryGlobalHardwareBrandsDefault) Code() int
Code gets the status code for the hardware model query global hardware brands default response
func (*HardwareModelQueryGlobalHardwareBrandsDefault) Error ¶
func (o *HardwareModelQueryGlobalHardwareBrandsDefault) Error() string
func (*HardwareModelQueryGlobalHardwareBrandsDefault) GetPayload ¶
func (o *HardwareModelQueryGlobalHardwareBrandsDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelQueryGlobalHardwareBrandsDefault) IsClientError ¶
func (o *HardwareModelQueryGlobalHardwareBrandsDefault) IsClientError() bool
IsClientError returns true when this hardware model query global hardware brands default response has a 4xx status code
func (*HardwareModelQueryGlobalHardwareBrandsDefault) IsCode ¶
func (o *HardwareModelQueryGlobalHardwareBrandsDefault) IsCode(code int) bool
IsCode returns true when this hardware model query global hardware brands default response a status code equal to that given
func (*HardwareModelQueryGlobalHardwareBrandsDefault) IsRedirect ¶
func (o *HardwareModelQueryGlobalHardwareBrandsDefault) IsRedirect() bool
IsRedirect returns true when this hardware model query global hardware brands default response has a 3xx status code
func (*HardwareModelQueryGlobalHardwareBrandsDefault) IsServerError ¶
func (o *HardwareModelQueryGlobalHardwareBrandsDefault) IsServerError() bool
IsServerError returns true when this hardware model query global hardware brands default response has a 5xx status code
func (*HardwareModelQueryGlobalHardwareBrandsDefault) IsSuccess ¶
func (o *HardwareModelQueryGlobalHardwareBrandsDefault) IsSuccess() bool
IsSuccess returns true when this hardware model query global hardware brands default response has a 2xx status code
func (*HardwareModelQueryGlobalHardwareBrandsDefault) String ¶
func (o *HardwareModelQueryGlobalHardwareBrandsDefault) String() string
type HardwareModelQueryGlobalHardwareBrandsForbidden ¶
type HardwareModelQueryGlobalHardwareBrandsForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryGlobalHardwareBrandsForbidden 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 NewHardwareModelQueryGlobalHardwareBrandsForbidden ¶
func NewHardwareModelQueryGlobalHardwareBrandsForbidden() *HardwareModelQueryGlobalHardwareBrandsForbidden
NewHardwareModelQueryGlobalHardwareBrandsForbidden creates a HardwareModelQueryGlobalHardwareBrandsForbidden with default headers values
func (*HardwareModelQueryGlobalHardwareBrandsForbidden) Error ¶
func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) Error() string
func (*HardwareModelQueryGlobalHardwareBrandsForbidden) GetPayload ¶
func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryGlobalHardwareBrandsForbidden) IsClientError ¶
func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) IsClientError() bool
IsClientError returns true when this hardware model query global hardware brands forbidden response has a 4xx status code
func (*HardwareModelQueryGlobalHardwareBrandsForbidden) IsCode ¶
func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) IsCode(code int) bool
IsCode returns true when this hardware model query global hardware brands forbidden response a status code equal to that given
func (*HardwareModelQueryGlobalHardwareBrandsForbidden) IsRedirect ¶
func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model query global hardware brands forbidden response has a 3xx status code
func (*HardwareModelQueryGlobalHardwareBrandsForbidden) IsServerError ¶
func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) IsServerError() bool
IsServerError returns true when this hardware model query global hardware brands forbidden response has a 5xx status code
func (*HardwareModelQueryGlobalHardwareBrandsForbidden) IsSuccess ¶
func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model query global hardware brands forbidden response has a 2xx status code
func (*HardwareModelQueryGlobalHardwareBrandsForbidden) String ¶
func (o *HardwareModelQueryGlobalHardwareBrandsForbidden) String() string
type HardwareModelQueryGlobalHardwareBrandsGatewayTimeout ¶
type HardwareModelQueryGlobalHardwareBrandsGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryGlobalHardwareBrandsGatewayTimeout 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 NewHardwareModelQueryGlobalHardwareBrandsGatewayTimeout ¶
func NewHardwareModelQueryGlobalHardwareBrandsGatewayTimeout() *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout
NewHardwareModelQueryGlobalHardwareBrandsGatewayTimeout creates a HardwareModelQueryGlobalHardwareBrandsGatewayTimeout with default headers values
func (*HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) Error ¶
func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) Error() string
func (*HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) GetPayload ¶
func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsClientError ¶
func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model query global hardware brands gateway timeout response has a 4xx status code
func (*HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsCode ¶
func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model query global hardware brands gateway timeout response a status code equal to that given
func (*HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsRedirect ¶
func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model query global hardware brands gateway timeout response has a 3xx status code
func (*HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsServerError ¶
func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model query global hardware brands gateway timeout response has a 5xx status code
func (*HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsSuccess ¶
func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model query global hardware brands gateway timeout response has a 2xx status code
func (*HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) String ¶
func (o *HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) String() string
type HardwareModelQueryGlobalHardwareBrandsInternalServerError ¶
type HardwareModelQueryGlobalHardwareBrandsInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryGlobalHardwareBrandsInternalServerError 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 NewHardwareModelQueryGlobalHardwareBrandsInternalServerError ¶
func NewHardwareModelQueryGlobalHardwareBrandsInternalServerError() *HardwareModelQueryGlobalHardwareBrandsInternalServerError
NewHardwareModelQueryGlobalHardwareBrandsInternalServerError creates a HardwareModelQueryGlobalHardwareBrandsInternalServerError with default headers values
func (*HardwareModelQueryGlobalHardwareBrandsInternalServerError) Error ¶
func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) Error() string
func (*HardwareModelQueryGlobalHardwareBrandsInternalServerError) GetPayload ¶
func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsClientError ¶
func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model query global hardware brands internal server error response has a 4xx status code
func (*HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsCode ¶
func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model query global hardware brands internal server error response a status code equal to that given
func (*HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsRedirect ¶
func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model query global hardware brands internal server error response has a 3xx status code
func (*HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsServerError ¶
func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model query global hardware brands internal server error response has a 5xx status code
func (*HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsSuccess ¶
func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model query global hardware brands internal server error response has a 2xx status code
func (*HardwareModelQueryGlobalHardwareBrandsInternalServerError) String ¶
func (o *HardwareModelQueryGlobalHardwareBrandsInternalServerError) String() string
type HardwareModelQueryGlobalHardwareBrandsOK ¶
HardwareModelQueryGlobalHardwareBrandsOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelQueryGlobalHardwareBrandsOK ¶
func NewHardwareModelQueryGlobalHardwareBrandsOK() *HardwareModelQueryGlobalHardwareBrandsOK
NewHardwareModelQueryGlobalHardwareBrandsOK creates a HardwareModelQueryGlobalHardwareBrandsOK with default headers values
func (*HardwareModelQueryGlobalHardwareBrandsOK) Error ¶
func (o *HardwareModelQueryGlobalHardwareBrandsOK) Error() string
func (*HardwareModelQueryGlobalHardwareBrandsOK) GetPayload ¶
func (o *HardwareModelQueryGlobalHardwareBrandsOK) GetPayload() *models.SysBrands
func (*HardwareModelQueryGlobalHardwareBrandsOK) IsClientError ¶
func (o *HardwareModelQueryGlobalHardwareBrandsOK) IsClientError() bool
IsClientError returns true when this hardware model query global hardware brands o k response has a 4xx status code
func (*HardwareModelQueryGlobalHardwareBrandsOK) IsCode ¶
func (o *HardwareModelQueryGlobalHardwareBrandsOK) IsCode(code int) bool
IsCode returns true when this hardware model query global hardware brands o k response a status code equal to that given
func (*HardwareModelQueryGlobalHardwareBrandsOK) IsRedirect ¶
func (o *HardwareModelQueryGlobalHardwareBrandsOK) IsRedirect() bool
IsRedirect returns true when this hardware model query global hardware brands o k response has a 3xx status code
func (*HardwareModelQueryGlobalHardwareBrandsOK) IsServerError ¶
func (o *HardwareModelQueryGlobalHardwareBrandsOK) IsServerError() bool
IsServerError returns true when this hardware model query global hardware brands o k response has a 5xx status code
func (*HardwareModelQueryGlobalHardwareBrandsOK) IsSuccess ¶
func (o *HardwareModelQueryGlobalHardwareBrandsOK) IsSuccess() bool
IsSuccess returns true when this hardware model query global hardware brands o k response has a 2xx status code
func (*HardwareModelQueryGlobalHardwareBrandsOK) String ¶
func (o *HardwareModelQueryGlobalHardwareBrandsOK) String() string
type HardwareModelQueryGlobalHardwareBrandsParams ¶
type HardwareModelQueryGlobalHardwareBrandsParams 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 */ Summary *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HardwareModelQueryGlobalHardwareBrandsParams contains all the parameters to send to the API endpoint
for the hardware model query global hardware brands operation. Typically these are written to a http.Request.
func NewHardwareModelQueryGlobalHardwareBrandsParams ¶
func NewHardwareModelQueryGlobalHardwareBrandsParams() *HardwareModelQueryGlobalHardwareBrandsParams
NewHardwareModelQueryGlobalHardwareBrandsParams creates a new HardwareModelQueryGlobalHardwareBrandsParams 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 NewHardwareModelQueryGlobalHardwareBrandsParamsWithContext ¶
func NewHardwareModelQueryGlobalHardwareBrandsParamsWithContext(ctx context.Context) *HardwareModelQueryGlobalHardwareBrandsParams
NewHardwareModelQueryGlobalHardwareBrandsParamsWithContext creates a new HardwareModelQueryGlobalHardwareBrandsParams object with the ability to set a context for a request.
func NewHardwareModelQueryGlobalHardwareBrandsParamsWithHTTPClient ¶
func NewHardwareModelQueryGlobalHardwareBrandsParamsWithHTTPClient(client *http.Client) *HardwareModelQueryGlobalHardwareBrandsParams
NewHardwareModelQueryGlobalHardwareBrandsParamsWithHTTPClient creates a new HardwareModelQueryGlobalHardwareBrandsParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelQueryGlobalHardwareBrandsParamsWithTimeout ¶
func NewHardwareModelQueryGlobalHardwareBrandsParamsWithTimeout(timeout time.Duration) *HardwareModelQueryGlobalHardwareBrandsParams
NewHardwareModelQueryGlobalHardwareBrandsParamsWithTimeout creates a new HardwareModelQueryGlobalHardwareBrandsParams object with the ability to set a timeout on a request.
func (*HardwareModelQueryGlobalHardwareBrandsParams) SetContext ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) SetDefaults ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetDefaults()
SetDefaults hydrates default values in the hardware model query global hardware brands params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelQueryGlobalHardwareBrandsParams) SetEnterpriseID ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) SetFilterNamePattern ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetFilterNamePattern(filterNamePattern *string)
SetFilterNamePattern adds the filterNamePattern to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) SetFilterOriginType ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetFilterOriginType(filterOriginType *string)
SetFilterOriginType adds the filterOriginType to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) SetHTTPClient ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) SetNextOrderBy ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetNextOrderBy(nextOrderBy []string)
SetNextOrderBy adds the nextOrderBy to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) SetNextPageNum ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetNextPageNum(nextPageNum *int64)
SetNextPageNum adds the nextPageNum to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) SetNextPageSize ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetNextPageSize(nextPageSize *int64)
SetNextPageSize adds the nextPageSize to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) SetNextPageToken ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) SetNextTotalPages ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetNextTotalPages(nextTotalPages *int64)
SetNextTotalPages adds the nextTotalPages to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) SetSummary ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetSummary(summary *bool)
SetSummary adds the summary to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) SetTimeout ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) SetXRequestID ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) WithContext ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithContext(ctx context.Context) *HardwareModelQueryGlobalHardwareBrandsParams
WithContext adds the context to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) WithDefaults ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithDefaults() *HardwareModelQueryGlobalHardwareBrandsParams
WithDefaults hydrates default values in the hardware model query global hardware brands params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelQueryGlobalHardwareBrandsParams) WithEnterpriseID ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithEnterpriseID(enterpriseID *string) *HardwareModelQueryGlobalHardwareBrandsParams
WithEnterpriseID adds the enterpriseID to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) WithFilterNamePattern ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithFilterNamePattern(filterNamePattern *string) *HardwareModelQueryGlobalHardwareBrandsParams
WithFilterNamePattern adds the filterNamePattern to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) WithFilterOriginType ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithFilterOriginType(filterOriginType *string) *HardwareModelQueryGlobalHardwareBrandsParams
WithFilterOriginType adds the filterOriginType to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) WithHTTPClient ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithHTTPClient(client *http.Client) *HardwareModelQueryGlobalHardwareBrandsParams
WithHTTPClient adds the HTTPClient to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) WithNextOrderBy ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithNextOrderBy(nextOrderBy []string) *HardwareModelQueryGlobalHardwareBrandsParams
WithNextOrderBy adds the nextOrderBy to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) WithNextPageNum ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithNextPageNum(nextPageNum *int64) *HardwareModelQueryGlobalHardwareBrandsParams
WithNextPageNum adds the nextPageNum to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) WithNextPageSize ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithNextPageSize(nextPageSize *int64) *HardwareModelQueryGlobalHardwareBrandsParams
WithNextPageSize adds the nextPageSize to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) WithNextPageToken ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithNextPageToken(nextPageToken *string) *HardwareModelQueryGlobalHardwareBrandsParams
WithNextPageToken adds the nextPageToken to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) WithNextTotalPages ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithNextTotalPages(nextTotalPages *int64) *HardwareModelQueryGlobalHardwareBrandsParams
WithNextTotalPages adds the nextTotalPages to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) WithSummary ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithSummary(summary *bool) *HardwareModelQueryGlobalHardwareBrandsParams
WithSummary adds the summary to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) WithTimeout ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithTimeout(timeout time.Duration) *HardwareModelQueryGlobalHardwareBrandsParams
WithTimeout adds the timeout to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) WithXRequestID ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) WithXRequestID(xRequestID *string) *HardwareModelQueryGlobalHardwareBrandsParams
WithXRequestID adds the xRequestID to the hardware model query global hardware brands params
func (*HardwareModelQueryGlobalHardwareBrandsParams) WriteToRequest ¶
func (o *HardwareModelQueryGlobalHardwareBrandsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelQueryGlobalHardwareBrandsReader ¶
type HardwareModelQueryGlobalHardwareBrandsReader struct {
// contains filtered or unexported fields
}
HardwareModelQueryGlobalHardwareBrandsReader is a Reader for the HardwareModelQueryGlobalHardwareBrands structure.
func (*HardwareModelQueryGlobalHardwareBrandsReader) ReadResponse ¶
func (o *HardwareModelQueryGlobalHardwareBrandsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelQueryGlobalHardwareBrandsUnauthorized ¶
type HardwareModelQueryGlobalHardwareBrandsUnauthorized struct {
}HardwareModelQueryGlobalHardwareBrandsUnauthorized 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 NewHardwareModelQueryGlobalHardwareBrandsUnauthorized ¶
func NewHardwareModelQueryGlobalHardwareBrandsUnauthorized() *HardwareModelQueryGlobalHardwareBrandsUnauthorized
NewHardwareModelQueryGlobalHardwareBrandsUnauthorized creates a HardwareModelQueryGlobalHardwareBrandsUnauthorized with default headers values
func (*HardwareModelQueryGlobalHardwareBrandsUnauthorized) Error ¶
func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) Error() string
func (*HardwareModelQueryGlobalHardwareBrandsUnauthorized) GetPayload ¶
func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsClientError ¶
func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model query global hardware brands unauthorized response has a 4xx status code
func (*HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsCode ¶
func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model query global hardware brands unauthorized response a status code equal to that given
func (*HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsRedirect ¶
func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model query global hardware brands unauthorized response has a 3xx status code
func (*HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsServerError ¶
func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model query global hardware brands unauthorized response has a 5xx status code
func (*HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsSuccess ¶
func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model query global hardware brands unauthorized response has a 2xx status code
func (*HardwareModelQueryGlobalHardwareBrandsUnauthorized) String ¶
func (o *HardwareModelQueryGlobalHardwareBrandsUnauthorized) String() string
type HardwareModelQueryGlobalHardwareModelsBadRequest ¶
type HardwareModelQueryGlobalHardwareModelsBadRequest struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryGlobalHardwareModelsBadRequest 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 NewHardwareModelQueryGlobalHardwareModelsBadRequest ¶
func NewHardwareModelQueryGlobalHardwareModelsBadRequest() *HardwareModelQueryGlobalHardwareModelsBadRequest
NewHardwareModelQueryGlobalHardwareModelsBadRequest creates a HardwareModelQueryGlobalHardwareModelsBadRequest with default headers values
func (*HardwareModelQueryGlobalHardwareModelsBadRequest) Error ¶
func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) Error() string
func (*HardwareModelQueryGlobalHardwareModelsBadRequest) GetPayload ¶
func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryGlobalHardwareModelsBadRequest) IsClientError ¶
func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) IsClientError() bool
IsClientError returns true when this hardware model query global hardware models bad request response has a 4xx status code
func (*HardwareModelQueryGlobalHardwareModelsBadRequest) IsCode ¶
func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) IsCode(code int) bool
IsCode returns true when this hardware model query global hardware models bad request response a status code equal to that given
func (*HardwareModelQueryGlobalHardwareModelsBadRequest) IsRedirect ¶
func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) IsRedirect() bool
IsRedirect returns true when this hardware model query global hardware models bad request response has a 3xx status code
func (*HardwareModelQueryGlobalHardwareModelsBadRequest) IsServerError ¶
func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) IsServerError() bool
IsServerError returns true when this hardware model query global hardware models bad request response has a 5xx status code
func (*HardwareModelQueryGlobalHardwareModelsBadRequest) IsSuccess ¶
func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) IsSuccess() bool
IsSuccess returns true when this hardware model query global hardware models bad request response has a 2xx status code
func (*HardwareModelQueryGlobalHardwareModelsBadRequest) String ¶
func (o *HardwareModelQueryGlobalHardwareModelsBadRequest) String() string
type HardwareModelQueryGlobalHardwareModelsDefault ¶
type HardwareModelQueryGlobalHardwareModelsDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelQueryGlobalHardwareModelsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelQueryGlobalHardwareModelsDefault ¶
func NewHardwareModelQueryGlobalHardwareModelsDefault(code int) *HardwareModelQueryGlobalHardwareModelsDefault
NewHardwareModelQueryGlobalHardwareModelsDefault creates a HardwareModelQueryGlobalHardwareModelsDefault with default headers values
func (*HardwareModelQueryGlobalHardwareModelsDefault) Code ¶
func (o *HardwareModelQueryGlobalHardwareModelsDefault) Code() int
Code gets the status code for the hardware model query global hardware models default response
func (*HardwareModelQueryGlobalHardwareModelsDefault) Error ¶
func (o *HardwareModelQueryGlobalHardwareModelsDefault) Error() string
func (*HardwareModelQueryGlobalHardwareModelsDefault) GetPayload ¶
func (o *HardwareModelQueryGlobalHardwareModelsDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelQueryGlobalHardwareModelsDefault) IsClientError ¶
func (o *HardwareModelQueryGlobalHardwareModelsDefault) IsClientError() bool
IsClientError returns true when this hardware model query global hardware models default response has a 4xx status code
func (*HardwareModelQueryGlobalHardwareModelsDefault) IsCode ¶
func (o *HardwareModelQueryGlobalHardwareModelsDefault) IsCode(code int) bool
IsCode returns true when this hardware model query global hardware models default response a status code equal to that given
func (*HardwareModelQueryGlobalHardwareModelsDefault) IsRedirect ¶
func (o *HardwareModelQueryGlobalHardwareModelsDefault) IsRedirect() bool
IsRedirect returns true when this hardware model query global hardware models default response has a 3xx status code
func (*HardwareModelQueryGlobalHardwareModelsDefault) IsServerError ¶
func (o *HardwareModelQueryGlobalHardwareModelsDefault) IsServerError() bool
IsServerError returns true when this hardware model query global hardware models default response has a 5xx status code
func (*HardwareModelQueryGlobalHardwareModelsDefault) IsSuccess ¶
func (o *HardwareModelQueryGlobalHardwareModelsDefault) IsSuccess() bool
IsSuccess returns true when this hardware model query global hardware models default response has a 2xx status code
func (*HardwareModelQueryGlobalHardwareModelsDefault) String ¶
func (o *HardwareModelQueryGlobalHardwareModelsDefault) String() string
type HardwareModelQueryGlobalHardwareModelsForbidden ¶
type HardwareModelQueryGlobalHardwareModelsForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryGlobalHardwareModelsForbidden 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 NewHardwareModelQueryGlobalHardwareModelsForbidden ¶
func NewHardwareModelQueryGlobalHardwareModelsForbidden() *HardwareModelQueryGlobalHardwareModelsForbidden
NewHardwareModelQueryGlobalHardwareModelsForbidden creates a HardwareModelQueryGlobalHardwareModelsForbidden with default headers values
func (*HardwareModelQueryGlobalHardwareModelsForbidden) Error ¶
func (o *HardwareModelQueryGlobalHardwareModelsForbidden) Error() string
func (*HardwareModelQueryGlobalHardwareModelsForbidden) GetPayload ¶
func (o *HardwareModelQueryGlobalHardwareModelsForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryGlobalHardwareModelsForbidden) IsClientError ¶
func (o *HardwareModelQueryGlobalHardwareModelsForbidden) IsClientError() bool
IsClientError returns true when this hardware model query global hardware models forbidden response has a 4xx status code
func (*HardwareModelQueryGlobalHardwareModelsForbidden) IsCode ¶
func (o *HardwareModelQueryGlobalHardwareModelsForbidden) IsCode(code int) bool
IsCode returns true when this hardware model query global hardware models forbidden response a status code equal to that given
func (*HardwareModelQueryGlobalHardwareModelsForbidden) IsRedirect ¶
func (o *HardwareModelQueryGlobalHardwareModelsForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model query global hardware models forbidden response has a 3xx status code
func (*HardwareModelQueryGlobalHardwareModelsForbidden) IsServerError ¶
func (o *HardwareModelQueryGlobalHardwareModelsForbidden) IsServerError() bool
IsServerError returns true when this hardware model query global hardware models forbidden response has a 5xx status code
func (*HardwareModelQueryGlobalHardwareModelsForbidden) IsSuccess ¶
func (o *HardwareModelQueryGlobalHardwareModelsForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model query global hardware models forbidden response has a 2xx status code
func (*HardwareModelQueryGlobalHardwareModelsForbidden) String ¶
func (o *HardwareModelQueryGlobalHardwareModelsForbidden) String() string
type HardwareModelQueryGlobalHardwareModelsGatewayTimeout ¶
type HardwareModelQueryGlobalHardwareModelsGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryGlobalHardwareModelsGatewayTimeout 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 NewHardwareModelQueryGlobalHardwareModelsGatewayTimeout ¶
func NewHardwareModelQueryGlobalHardwareModelsGatewayTimeout() *HardwareModelQueryGlobalHardwareModelsGatewayTimeout
NewHardwareModelQueryGlobalHardwareModelsGatewayTimeout creates a HardwareModelQueryGlobalHardwareModelsGatewayTimeout with default headers values
func (*HardwareModelQueryGlobalHardwareModelsGatewayTimeout) Error ¶
func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) Error() string
func (*HardwareModelQueryGlobalHardwareModelsGatewayTimeout) GetPayload ¶
func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsClientError ¶
func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model query global hardware models gateway timeout response has a 4xx status code
func (*HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsCode ¶
func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model query global hardware models gateway timeout response a status code equal to that given
func (*HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsRedirect ¶
func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model query global hardware models gateway timeout response has a 3xx status code
func (*HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsServerError ¶
func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model query global hardware models gateway timeout response has a 5xx status code
func (*HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsSuccess ¶
func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model query global hardware models gateway timeout response has a 2xx status code
func (*HardwareModelQueryGlobalHardwareModelsGatewayTimeout) String ¶
func (o *HardwareModelQueryGlobalHardwareModelsGatewayTimeout) String() string
type HardwareModelQueryGlobalHardwareModelsInternalServerError ¶
type HardwareModelQueryGlobalHardwareModelsInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryGlobalHardwareModelsInternalServerError 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 NewHardwareModelQueryGlobalHardwareModelsInternalServerError ¶
func NewHardwareModelQueryGlobalHardwareModelsInternalServerError() *HardwareModelQueryGlobalHardwareModelsInternalServerError
NewHardwareModelQueryGlobalHardwareModelsInternalServerError creates a HardwareModelQueryGlobalHardwareModelsInternalServerError with default headers values
func (*HardwareModelQueryGlobalHardwareModelsInternalServerError) Error ¶
func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) Error() string
func (*HardwareModelQueryGlobalHardwareModelsInternalServerError) GetPayload ¶
func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryGlobalHardwareModelsInternalServerError) IsClientError ¶
func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model query global hardware models internal server error response has a 4xx status code
func (*HardwareModelQueryGlobalHardwareModelsInternalServerError) IsCode ¶
func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model query global hardware models internal server error response a status code equal to that given
func (*HardwareModelQueryGlobalHardwareModelsInternalServerError) IsRedirect ¶
func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model query global hardware models internal server error response has a 3xx status code
func (*HardwareModelQueryGlobalHardwareModelsInternalServerError) IsServerError ¶
func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model query global hardware models internal server error response has a 5xx status code
func (*HardwareModelQueryGlobalHardwareModelsInternalServerError) IsSuccess ¶
func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model query global hardware models internal server error response has a 2xx status code
func (*HardwareModelQueryGlobalHardwareModelsInternalServerError) String ¶
func (o *HardwareModelQueryGlobalHardwareModelsInternalServerError) String() string
type HardwareModelQueryGlobalHardwareModelsOK ¶
HardwareModelQueryGlobalHardwareModelsOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelQueryGlobalHardwareModelsOK ¶
func NewHardwareModelQueryGlobalHardwareModelsOK() *HardwareModelQueryGlobalHardwareModelsOK
NewHardwareModelQueryGlobalHardwareModelsOK creates a HardwareModelQueryGlobalHardwareModelsOK with default headers values
func (*HardwareModelQueryGlobalHardwareModelsOK) Error ¶
func (o *HardwareModelQueryGlobalHardwareModelsOK) Error() string
func (*HardwareModelQueryGlobalHardwareModelsOK) GetPayload ¶
func (o *HardwareModelQueryGlobalHardwareModelsOK) GetPayload() *models.SysModels
func (*HardwareModelQueryGlobalHardwareModelsOK) IsClientError ¶
func (o *HardwareModelQueryGlobalHardwareModelsOK) IsClientError() bool
IsClientError returns true when this hardware model query global hardware models o k response has a 4xx status code
func (*HardwareModelQueryGlobalHardwareModelsOK) IsCode ¶
func (o *HardwareModelQueryGlobalHardwareModelsOK) IsCode(code int) bool
IsCode returns true when this hardware model query global hardware models o k response a status code equal to that given
func (*HardwareModelQueryGlobalHardwareModelsOK) IsRedirect ¶
func (o *HardwareModelQueryGlobalHardwareModelsOK) IsRedirect() bool
IsRedirect returns true when this hardware model query global hardware models o k response has a 3xx status code
func (*HardwareModelQueryGlobalHardwareModelsOK) IsServerError ¶
func (o *HardwareModelQueryGlobalHardwareModelsOK) IsServerError() bool
IsServerError returns true when this hardware model query global hardware models o k response has a 5xx status code
func (*HardwareModelQueryGlobalHardwareModelsOK) IsSuccess ¶
func (o *HardwareModelQueryGlobalHardwareModelsOK) IsSuccess() bool
IsSuccess returns true when this hardware model query global hardware models o k response has a 2xx status code
func (*HardwareModelQueryGlobalHardwareModelsOK) String ¶
func (o *HardwareModelQueryGlobalHardwareModelsOK) String() string
type HardwareModelQueryGlobalHardwareModelsParams ¶
type HardwareModelQueryGlobalHardwareModelsParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* FilterBrandID. System defined universally unique Id of the brand. */ FilterBrandID *string /* FilterBrandIds. System defined universally unique Ids of the brand. */ FilterBrandIds []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 */ Summary *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HardwareModelQueryGlobalHardwareModelsParams contains all the parameters to send to the API endpoint
for the hardware model query global hardware models operation. Typically these are written to a http.Request.
func NewHardwareModelQueryGlobalHardwareModelsParams ¶
func NewHardwareModelQueryGlobalHardwareModelsParams() *HardwareModelQueryGlobalHardwareModelsParams
NewHardwareModelQueryGlobalHardwareModelsParams creates a new HardwareModelQueryGlobalHardwareModelsParams 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 NewHardwareModelQueryGlobalHardwareModelsParamsWithContext ¶
func NewHardwareModelQueryGlobalHardwareModelsParamsWithContext(ctx context.Context) *HardwareModelQueryGlobalHardwareModelsParams
NewHardwareModelQueryGlobalHardwareModelsParamsWithContext creates a new HardwareModelQueryGlobalHardwareModelsParams object with the ability to set a context for a request.
func NewHardwareModelQueryGlobalHardwareModelsParamsWithHTTPClient ¶
func NewHardwareModelQueryGlobalHardwareModelsParamsWithHTTPClient(client *http.Client) *HardwareModelQueryGlobalHardwareModelsParams
NewHardwareModelQueryGlobalHardwareModelsParamsWithHTTPClient creates a new HardwareModelQueryGlobalHardwareModelsParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelQueryGlobalHardwareModelsParamsWithTimeout ¶
func NewHardwareModelQueryGlobalHardwareModelsParamsWithTimeout(timeout time.Duration) *HardwareModelQueryGlobalHardwareModelsParams
NewHardwareModelQueryGlobalHardwareModelsParamsWithTimeout creates a new HardwareModelQueryGlobalHardwareModelsParams object with the ability to set a timeout on a request.
func (*HardwareModelQueryGlobalHardwareModelsParams) SetContext ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) SetDefaults ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) SetDefaults()
SetDefaults hydrates default values in the hardware model query global hardware models params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelQueryGlobalHardwareModelsParams) SetFilterBrandID ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) SetFilterBrandID(filterBrandID *string)
SetFilterBrandID adds the filterBrandId to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) SetFilterBrandIds ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) SetFilterBrandIds(filterBrandIds []string)
SetFilterBrandIds adds the filterBrandIds to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) SetFilterNamePattern ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) SetFilterNamePattern(filterNamePattern *string)
SetFilterNamePattern adds the filterNamePattern to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) SetFilterOriginType ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) SetFilterOriginType(filterOriginType *string)
SetFilterOriginType adds the filterOriginType to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) SetHTTPClient ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) SetNextOrderBy ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) SetNextOrderBy(nextOrderBy []string)
SetNextOrderBy adds the nextOrderBy to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) SetNextPageNum ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) SetNextPageNum(nextPageNum *int64)
SetNextPageNum adds the nextPageNum to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) SetNextPageSize ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) SetNextPageSize(nextPageSize *int64)
SetNextPageSize adds the nextPageSize to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) SetNextPageToken ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) SetNextTotalPages ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) SetNextTotalPages(nextTotalPages *int64)
SetNextTotalPages adds the nextTotalPages to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) SetSummary ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) SetSummary(summary *bool)
SetSummary adds the summary to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) SetTimeout ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) SetXRequestID ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) WithContext ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WithContext(ctx context.Context) *HardwareModelQueryGlobalHardwareModelsParams
WithContext adds the context to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) WithDefaults ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WithDefaults() *HardwareModelQueryGlobalHardwareModelsParams
WithDefaults hydrates default values in the hardware model query global hardware models params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelQueryGlobalHardwareModelsParams) WithFilterBrandID ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WithFilterBrandID(filterBrandID *string) *HardwareModelQueryGlobalHardwareModelsParams
WithFilterBrandID adds the filterBrandID to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) WithFilterBrandIds ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WithFilterBrandIds(filterBrandIds []string) *HardwareModelQueryGlobalHardwareModelsParams
WithFilterBrandIds adds the filterBrandIds to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) WithFilterNamePattern ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WithFilterNamePattern(filterNamePattern *string) *HardwareModelQueryGlobalHardwareModelsParams
WithFilterNamePattern adds the filterNamePattern to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) WithFilterOriginType ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WithFilterOriginType(filterOriginType *string) *HardwareModelQueryGlobalHardwareModelsParams
WithFilterOriginType adds the filterOriginType to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) WithHTTPClient ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WithHTTPClient(client *http.Client) *HardwareModelQueryGlobalHardwareModelsParams
WithHTTPClient adds the HTTPClient to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) WithNextOrderBy ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WithNextOrderBy(nextOrderBy []string) *HardwareModelQueryGlobalHardwareModelsParams
WithNextOrderBy adds the nextOrderBy to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) WithNextPageNum ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WithNextPageNum(nextPageNum *int64) *HardwareModelQueryGlobalHardwareModelsParams
WithNextPageNum adds the nextPageNum to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) WithNextPageSize ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WithNextPageSize(nextPageSize *int64) *HardwareModelQueryGlobalHardwareModelsParams
WithNextPageSize adds the nextPageSize to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) WithNextPageToken ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WithNextPageToken(nextPageToken *string) *HardwareModelQueryGlobalHardwareModelsParams
WithNextPageToken adds the nextPageToken to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) WithNextTotalPages ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WithNextTotalPages(nextTotalPages *int64) *HardwareModelQueryGlobalHardwareModelsParams
WithNextTotalPages adds the nextTotalPages to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) WithSummary ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WithSummary(summary *bool) *HardwareModelQueryGlobalHardwareModelsParams
WithSummary adds the summary to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) WithTimeout ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WithTimeout(timeout time.Duration) *HardwareModelQueryGlobalHardwareModelsParams
WithTimeout adds the timeout to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) WithXRequestID ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WithXRequestID(xRequestID *string) *HardwareModelQueryGlobalHardwareModelsParams
WithXRequestID adds the xRequestID to the hardware model query global hardware models params
func (*HardwareModelQueryGlobalHardwareModelsParams) WriteToRequest ¶
func (o *HardwareModelQueryGlobalHardwareModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelQueryGlobalHardwareModelsReader ¶
type HardwareModelQueryGlobalHardwareModelsReader struct {
// contains filtered or unexported fields
}
HardwareModelQueryGlobalHardwareModelsReader is a Reader for the HardwareModelQueryGlobalHardwareModels structure.
func (*HardwareModelQueryGlobalHardwareModelsReader) ReadResponse ¶
func (o *HardwareModelQueryGlobalHardwareModelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelQueryGlobalHardwareModelsUnauthorized ¶
type HardwareModelQueryGlobalHardwareModelsUnauthorized struct {
}HardwareModelQueryGlobalHardwareModelsUnauthorized 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 NewHardwareModelQueryGlobalHardwareModelsUnauthorized ¶
func NewHardwareModelQueryGlobalHardwareModelsUnauthorized() *HardwareModelQueryGlobalHardwareModelsUnauthorized
NewHardwareModelQueryGlobalHardwareModelsUnauthorized creates a HardwareModelQueryGlobalHardwareModelsUnauthorized with default headers values
func (*HardwareModelQueryGlobalHardwareModelsUnauthorized) Error ¶
func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) Error() string
func (*HardwareModelQueryGlobalHardwareModelsUnauthorized) GetPayload ¶
func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryGlobalHardwareModelsUnauthorized) IsClientError ¶
func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model query global hardware models unauthorized response has a 4xx status code
func (*HardwareModelQueryGlobalHardwareModelsUnauthorized) IsCode ¶
func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model query global hardware models unauthorized response a status code equal to that given
func (*HardwareModelQueryGlobalHardwareModelsUnauthorized) IsRedirect ¶
func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model query global hardware models unauthorized response has a 3xx status code
func (*HardwareModelQueryGlobalHardwareModelsUnauthorized) IsServerError ¶
func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model query global hardware models unauthorized response has a 5xx status code
func (*HardwareModelQueryGlobalHardwareModelsUnauthorized) IsSuccess ¶
func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model query global hardware models unauthorized response has a 2xx status code
func (*HardwareModelQueryGlobalHardwareModelsUnauthorized) String ¶
func (o *HardwareModelQueryGlobalHardwareModelsUnauthorized) String() string
type HardwareModelQueryHardwareBrandsBadRequest ¶
type HardwareModelQueryHardwareBrandsBadRequest struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryHardwareBrandsBadRequest 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 NewHardwareModelQueryHardwareBrandsBadRequest ¶
func NewHardwareModelQueryHardwareBrandsBadRequest() *HardwareModelQueryHardwareBrandsBadRequest
NewHardwareModelQueryHardwareBrandsBadRequest creates a HardwareModelQueryHardwareBrandsBadRequest with default headers values
func (*HardwareModelQueryHardwareBrandsBadRequest) Error ¶
func (o *HardwareModelQueryHardwareBrandsBadRequest) Error() string
func (*HardwareModelQueryHardwareBrandsBadRequest) GetPayload ¶
func (o *HardwareModelQueryHardwareBrandsBadRequest) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryHardwareBrandsBadRequest) IsClientError ¶
func (o *HardwareModelQueryHardwareBrandsBadRequest) IsClientError() bool
IsClientError returns true when this hardware model query hardware brands bad request response has a 4xx status code
func (*HardwareModelQueryHardwareBrandsBadRequest) IsCode ¶
func (o *HardwareModelQueryHardwareBrandsBadRequest) IsCode(code int) bool
IsCode returns true when this hardware model query hardware brands bad request response a status code equal to that given
func (*HardwareModelQueryHardwareBrandsBadRequest) IsRedirect ¶
func (o *HardwareModelQueryHardwareBrandsBadRequest) IsRedirect() bool
IsRedirect returns true when this hardware model query hardware brands bad request response has a 3xx status code
func (*HardwareModelQueryHardwareBrandsBadRequest) IsServerError ¶
func (o *HardwareModelQueryHardwareBrandsBadRequest) IsServerError() bool
IsServerError returns true when this hardware model query hardware brands bad request response has a 5xx status code
func (*HardwareModelQueryHardwareBrandsBadRequest) IsSuccess ¶
func (o *HardwareModelQueryHardwareBrandsBadRequest) IsSuccess() bool
IsSuccess returns true when this hardware model query hardware brands bad request response has a 2xx status code
func (*HardwareModelQueryHardwareBrandsBadRequest) String ¶
func (o *HardwareModelQueryHardwareBrandsBadRequest) String() string
type HardwareModelQueryHardwareBrandsDefault ¶
type HardwareModelQueryHardwareBrandsDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelQueryHardwareBrandsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelQueryHardwareBrandsDefault ¶
func NewHardwareModelQueryHardwareBrandsDefault(code int) *HardwareModelQueryHardwareBrandsDefault
NewHardwareModelQueryHardwareBrandsDefault creates a HardwareModelQueryHardwareBrandsDefault with default headers values
func (*HardwareModelQueryHardwareBrandsDefault) Code ¶
func (o *HardwareModelQueryHardwareBrandsDefault) Code() int
Code gets the status code for the hardware model query hardware brands default response
func (*HardwareModelQueryHardwareBrandsDefault) Error ¶
func (o *HardwareModelQueryHardwareBrandsDefault) Error() string
func (*HardwareModelQueryHardwareBrandsDefault) GetPayload ¶
func (o *HardwareModelQueryHardwareBrandsDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelQueryHardwareBrandsDefault) IsClientError ¶
func (o *HardwareModelQueryHardwareBrandsDefault) IsClientError() bool
IsClientError returns true when this hardware model query hardware brands default response has a 4xx status code
func (*HardwareModelQueryHardwareBrandsDefault) IsCode ¶
func (o *HardwareModelQueryHardwareBrandsDefault) IsCode(code int) bool
IsCode returns true when this hardware model query hardware brands default response a status code equal to that given
func (*HardwareModelQueryHardwareBrandsDefault) IsRedirect ¶
func (o *HardwareModelQueryHardwareBrandsDefault) IsRedirect() bool
IsRedirect returns true when this hardware model query hardware brands default response has a 3xx status code
func (*HardwareModelQueryHardwareBrandsDefault) IsServerError ¶
func (o *HardwareModelQueryHardwareBrandsDefault) IsServerError() bool
IsServerError returns true when this hardware model query hardware brands default response has a 5xx status code
func (*HardwareModelQueryHardwareBrandsDefault) IsSuccess ¶
func (o *HardwareModelQueryHardwareBrandsDefault) IsSuccess() bool
IsSuccess returns true when this hardware model query hardware brands default response has a 2xx status code
func (*HardwareModelQueryHardwareBrandsDefault) String ¶
func (o *HardwareModelQueryHardwareBrandsDefault) String() string
type HardwareModelQueryHardwareBrandsForbidden ¶
type HardwareModelQueryHardwareBrandsForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryHardwareBrandsForbidden 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 NewHardwareModelQueryHardwareBrandsForbidden ¶
func NewHardwareModelQueryHardwareBrandsForbidden() *HardwareModelQueryHardwareBrandsForbidden
NewHardwareModelQueryHardwareBrandsForbidden creates a HardwareModelQueryHardwareBrandsForbidden with default headers values
func (*HardwareModelQueryHardwareBrandsForbidden) Error ¶
func (o *HardwareModelQueryHardwareBrandsForbidden) Error() string
func (*HardwareModelQueryHardwareBrandsForbidden) GetPayload ¶
func (o *HardwareModelQueryHardwareBrandsForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryHardwareBrandsForbidden) IsClientError ¶
func (o *HardwareModelQueryHardwareBrandsForbidden) IsClientError() bool
IsClientError returns true when this hardware model query hardware brands forbidden response has a 4xx status code
func (*HardwareModelQueryHardwareBrandsForbidden) IsCode ¶
func (o *HardwareModelQueryHardwareBrandsForbidden) IsCode(code int) bool
IsCode returns true when this hardware model query hardware brands forbidden response a status code equal to that given
func (*HardwareModelQueryHardwareBrandsForbidden) IsRedirect ¶
func (o *HardwareModelQueryHardwareBrandsForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model query hardware brands forbidden response has a 3xx status code
func (*HardwareModelQueryHardwareBrandsForbidden) IsServerError ¶
func (o *HardwareModelQueryHardwareBrandsForbidden) IsServerError() bool
IsServerError returns true when this hardware model query hardware brands forbidden response has a 5xx status code
func (*HardwareModelQueryHardwareBrandsForbidden) IsSuccess ¶
func (o *HardwareModelQueryHardwareBrandsForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model query hardware brands forbidden response has a 2xx status code
func (*HardwareModelQueryHardwareBrandsForbidden) String ¶
func (o *HardwareModelQueryHardwareBrandsForbidden) String() string
type HardwareModelQueryHardwareBrandsGatewayTimeout ¶
type HardwareModelQueryHardwareBrandsGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryHardwareBrandsGatewayTimeout 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 NewHardwareModelQueryHardwareBrandsGatewayTimeout ¶
func NewHardwareModelQueryHardwareBrandsGatewayTimeout() *HardwareModelQueryHardwareBrandsGatewayTimeout
NewHardwareModelQueryHardwareBrandsGatewayTimeout creates a HardwareModelQueryHardwareBrandsGatewayTimeout with default headers values
func (*HardwareModelQueryHardwareBrandsGatewayTimeout) Error ¶
func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) Error() string
func (*HardwareModelQueryHardwareBrandsGatewayTimeout) GetPayload ¶
func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryHardwareBrandsGatewayTimeout) IsClientError ¶
func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model query hardware brands gateway timeout response has a 4xx status code
func (*HardwareModelQueryHardwareBrandsGatewayTimeout) IsCode ¶
func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model query hardware brands gateway timeout response a status code equal to that given
func (*HardwareModelQueryHardwareBrandsGatewayTimeout) IsRedirect ¶
func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model query hardware brands gateway timeout response has a 3xx status code
func (*HardwareModelQueryHardwareBrandsGatewayTimeout) IsServerError ¶
func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model query hardware brands gateway timeout response has a 5xx status code
func (*HardwareModelQueryHardwareBrandsGatewayTimeout) IsSuccess ¶
func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model query hardware brands gateway timeout response has a 2xx status code
func (*HardwareModelQueryHardwareBrandsGatewayTimeout) String ¶
func (o *HardwareModelQueryHardwareBrandsGatewayTimeout) String() string
type HardwareModelQueryHardwareBrandsInternalServerError ¶
type HardwareModelQueryHardwareBrandsInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryHardwareBrandsInternalServerError 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 NewHardwareModelQueryHardwareBrandsInternalServerError ¶
func NewHardwareModelQueryHardwareBrandsInternalServerError() *HardwareModelQueryHardwareBrandsInternalServerError
NewHardwareModelQueryHardwareBrandsInternalServerError creates a HardwareModelQueryHardwareBrandsInternalServerError with default headers values
func (*HardwareModelQueryHardwareBrandsInternalServerError) Error ¶
func (o *HardwareModelQueryHardwareBrandsInternalServerError) Error() string
func (*HardwareModelQueryHardwareBrandsInternalServerError) GetPayload ¶
func (o *HardwareModelQueryHardwareBrandsInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryHardwareBrandsInternalServerError) IsClientError ¶
func (o *HardwareModelQueryHardwareBrandsInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model query hardware brands internal server error response has a 4xx status code
func (*HardwareModelQueryHardwareBrandsInternalServerError) IsCode ¶
func (o *HardwareModelQueryHardwareBrandsInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model query hardware brands internal server error response a status code equal to that given
func (*HardwareModelQueryHardwareBrandsInternalServerError) IsRedirect ¶
func (o *HardwareModelQueryHardwareBrandsInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model query hardware brands internal server error response has a 3xx status code
func (*HardwareModelQueryHardwareBrandsInternalServerError) IsServerError ¶
func (o *HardwareModelQueryHardwareBrandsInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model query hardware brands internal server error response has a 5xx status code
func (*HardwareModelQueryHardwareBrandsInternalServerError) IsSuccess ¶
func (o *HardwareModelQueryHardwareBrandsInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model query hardware brands internal server error response has a 2xx status code
func (*HardwareModelQueryHardwareBrandsInternalServerError) String ¶
func (o *HardwareModelQueryHardwareBrandsInternalServerError) String() string
type HardwareModelQueryHardwareBrandsOK ¶
HardwareModelQueryHardwareBrandsOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelQueryHardwareBrandsOK ¶
func NewHardwareModelQueryHardwareBrandsOK() *HardwareModelQueryHardwareBrandsOK
NewHardwareModelQueryHardwareBrandsOK creates a HardwareModelQueryHardwareBrandsOK with default headers values
func (*HardwareModelQueryHardwareBrandsOK) Error ¶
func (o *HardwareModelQueryHardwareBrandsOK) Error() string
func (*HardwareModelQueryHardwareBrandsOK) GetPayload ¶
func (o *HardwareModelQueryHardwareBrandsOK) GetPayload() *models.SysBrands
func (*HardwareModelQueryHardwareBrandsOK) IsClientError ¶
func (o *HardwareModelQueryHardwareBrandsOK) IsClientError() bool
IsClientError returns true when this hardware model query hardware brands o k response has a 4xx status code
func (*HardwareModelQueryHardwareBrandsOK) IsCode ¶
func (o *HardwareModelQueryHardwareBrandsOK) IsCode(code int) bool
IsCode returns true when this hardware model query hardware brands o k response a status code equal to that given
func (*HardwareModelQueryHardwareBrandsOK) IsRedirect ¶
func (o *HardwareModelQueryHardwareBrandsOK) IsRedirect() bool
IsRedirect returns true when this hardware model query hardware brands o k response has a 3xx status code
func (*HardwareModelQueryHardwareBrandsOK) IsServerError ¶
func (o *HardwareModelQueryHardwareBrandsOK) IsServerError() bool
IsServerError returns true when this hardware model query hardware brands o k response has a 5xx status code
func (*HardwareModelQueryHardwareBrandsOK) IsSuccess ¶
func (o *HardwareModelQueryHardwareBrandsOK) IsSuccess() bool
IsSuccess returns true when this hardware model query hardware brands o k response has a 2xx status code
func (*HardwareModelQueryHardwareBrandsOK) String ¶
func (o *HardwareModelQueryHardwareBrandsOK) String() string
type HardwareModelQueryHardwareBrandsParams ¶
type HardwareModelQueryHardwareBrandsParams 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 */ Summary *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HardwareModelQueryHardwareBrandsParams contains all the parameters to send to the API endpoint
for the hardware model query hardware brands operation. Typically these are written to a http.Request.
func NewHardwareModelQueryHardwareBrandsParams ¶
func NewHardwareModelQueryHardwareBrandsParams() *HardwareModelQueryHardwareBrandsParams
NewHardwareModelQueryHardwareBrandsParams creates a new HardwareModelQueryHardwareBrandsParams 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 NewHardwareModelQueryHardwareBrandsParamsWithContext ¶
func NewHardwareModelQueryHardwareBrandsParamsWithContext(ctx context.Context) *HardwareModelQueryHardwareBrandsParams
NewHardwareModelQueryHardwareBrandsParamsWithContext creates a new HardwareModelQueryHardwareBrandsParams object with the ability to set a context for a request.
func NewHardwareModelQueryHardwareBrandsParamsWithHTTPClient ¶
func NewHardwareModelQueryHardwareBrandsParamsWithHTTPClient(client *http.Client) *HardwareModelQueryHardwareBrandsParams
NewHardwareModelQueryHardwareBrandsParamsWithHTTPClient creates a new HardwareModelQueryHardwareBrandsParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelQueryHardwareBrandsParamsWithTimeout ¶
func NewHardwareModelQueryHardwareBrandsParamsWithTimeout(timeout time.Duration) *HardwareModelQueryHardwareBrandsParams
NewHardwareModelQueryHardwareBrandsParamsWithTimeout creates a new HardwareModelQueryHardwareBrandsParams object with the ability to set a timeout on a request.
func (*HardwareModelQueryHardwareBrandsParams) SetContext ¶
func (o *HardwareModelQueryHardwareBrandsParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) SetDefaults ¶
func (o *HardwareModelQueryHardwareBrandsParams) SetDefaults()
SetDefaults hydrates default values in the hardware model query hardware brands params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelQueryHardwareBrandsParams) SetEnterpriseID ¶
func (o *HardwareModelQueryHardwareBrandsParams) SetEnterpriseID(enterpriseID *string)
SetEnterpriseID adds the enterpriseId to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) SetFilterNamePattern ¶
func (o *HardwareModelQueryHardwareBrandsParams) SetFilterNamePattern(filterNamePattern *string)
SetFilterNamePattern adds the filterNamePattern to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) SetFilterOriginType ¶
func (o *HardwareModelQueryHardwareBrandsParams) SetFilterOriginType(filterOriginType *string)
SetFilterOriginType adds the filterOriginType to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) SetHTTPClient ¶
func (o *HardwareModelQueryHardwareBrandsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) SetNextOrderBy ¶
func (o *HardwareModelQueryHardwareBrandsParams) SetNextOrderBy(nextOrderBy []string)
SetNextOrderBy adds the nextOrderBy to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) SetNextPageNum ¶
func (o *HardwareModelQueryHardwareBrandsParams) SetNextPageNum(nextPageNum *int64)
SetNextPageNum adds the nextPageNum to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) SetNextPageSize ¶
func (o *HardwareModelQueryHardwareBrandsParams) SetNextPageSize(nextPageSize *int64)
SetNextPageSize adds the nextPageSize to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) SetNextPageToken ¶
func (o *HardwareModelQueryHardwareBrandsParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) SetNextTotalPages ¶
func (o *HardwareModelQueryHardwareBrandsParams) SetNextTotalPages(nextTotalPages *int64)
SetNextTotalPages adds the nextTotalPages to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) SetSummary ¶
func (o *HardwareModelQueryHardwareBrandsParams) SetSummary(summary *bool)
SetSummary adds the summary to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) SetTimeout ¶
func (o *HardwareModelQueryHardwareBrandsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) SetXRequestID ¶
func (o *HardwareModelQueryHardwareBrandsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) WithContext ¶
func (o *HardwareModelQueryHardwareBrandsParams) WithContext(ctx context.Context) *HardwareModelQueryHardwareBrandsParams
WithContext adds the context to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) WithDefaults ¶
func (o *HardwareModelQueryHardwareBrandsParams) WithDefaults() *HardwareModelQueryHardwareBrandsParams
WithDefaults hydrates default values in the hardware model query hardware brands params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelQueryHardwareBrandsParams) WithEnterpriseID ¶
func (o *HardwareModelQueryHardwareBrandsParams) WithEnterpriseID(enterpriseID *string) *HardwareModelQueryHardwareBrandsParams
WithEnterpriseID adds the enterpriseID to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) WithFilterNamePattern ¶
func (o *HardwareModelQueryHardwareBrandsParams) WithFilterNamePattern(filterNamePattern *string) *HardwareModelQueryHardwareBrandsParams
WithFilterNamePattern adds the filterNamePattern to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) WithFilterOriginType ¶
func (o *HardwareModelQueryHardwareBrandsParams) WithFilterOriginType(filterOriginType *string) *HardwareModelQueryHardwareBrandsParams
WithFilterOriginType adds the filterOriginType to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) WithHTTPClient ¶
func (o *HardwareModelQueryHardwareBrandsParams) WithHTTPClient(client *http.Client) *HardwareModelQueryHardwareBrandsParams
WithHTTPClient adds the HTTPClient to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) WithNextOrderBy ¶
func (o *HardwareModelQueryHardwareBrandsParams) WithNextOrderBy(nextOrderBy []string) *HardwareModelQueryHardwareBrandsParams
WithNextOrderBy adds the nextOrderBy to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) WithNextPageNum ¶
func (o *HardwareModelQueryHardwareBrandsParams) WithNextPageNum(nextPageNum *int64) *HardwareModelQueryHardwareBrandsParams
WithNextPageNum adds the nextPageNum to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) WithNextPageSize ¶
func (o *HardwareModelQueryHardwareBrandsParams) WithNextPageSize(nextPageSize *int64) *HardwareModelQueryHardwareBrandsParams
WithNextPageSize adds the nextPageSize to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) WithNextPageToken ¶
func (o *HardwareModelQueryHardwareBrandsParams) WithNextPageToken(nextPageToken *string) *HardwareModelQueryHardwareBrandsParams
WithNextPageToken adds the nextPageToken to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) WithNextTotalPages ¶
func (o *HardwareModelQueryHardwareBrandsParams) WithNextTotalPages(nextTotalPages *int64) *HardwareModelQueryHardwareBrandsParams
WithNextTotalPages adds the nextTotalPages to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) WithSummary ¶
func (o *HardwareModelQueryHardwareBrandsParams) WithSummary(summary *bool) *HardwareModelQueryHardwareBrandsParams
WithSummary adds the summary to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) WithTimeout ¶
func (o *HardwareModelQueryHardwareBrandsParams) WithTimeout(timeout time.Duration) *HardwareModelQueryHardwareBrandsParams
WithTimeout adds the timeout to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) WithXRequestID ¶
func (o *HardwareModelQueryHardwareBrandsParams) WithXRequestID(xRequestID *string) *HardwareModelQueryHardwareBrandsParams
WithXRequestID adds the xRequestID to the hardware model query hardware brands params
func (*HardwareModelQueryHardwareBrandsParams) WriteToRequest ¶
func (o *HardwareModelQueryHardwareBrandsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelQueryHardwareBrandsReader ¶
type HardwareModelQueryHardwareBrandsReader struct {
// contains filtered or unexported fields
}
HardwareModelQueryHardwareBrandsReader is a Reader for the HardwareModelQueryHardwareBrands structure.
func (*HardwareModelQueryHardwareBrandsReader) ReadResponse ¶
func (o *HardwareModelQueryHardwareBrandsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelQueryHardwareBrandsUnauthorized ¶
type HardwareModelQueryHardwareBrandsUnauthorized struct {
}HardwareModelQueryHardwareBrandsUnauthorized 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 NewHardwareModelQueryHardwareBrandsUnauthorized ¶
func NewHardwareModelQueryHardwareBrandsUnauthorized() *HardwareModelQueryHardwareBrandsUnauthorized
NewHardwareModelQueryHardwareBrandsUnauthorized creates a HardwareModelQueryHardwareBrandsUnauthorized with default headers values
func (*HardwareModelQueryHardwareBrandsUnauthorized) Error ¶
func (o *HardwareModelQueryHardwareBrandsUnauthorized) Error() string
func (*HardwareModelQueryHardwareBrandsUnauthorized) GetPayload ¶
func (o *HardwareModelQueryHardwareBrandsUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryHardwareBrandsUnauthorized) IsClientError ¶
func (o *HardwareModelQueryHardwareBrandsUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model query hardware brands unauthorized response has a 4xx status code
func (*HardwareModelQueryHardwareBrandsUnauthorized) IsCode ¶
func (o *HardwareModelQueryHardwareBrandsUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model query hardware brands unauthorized response a status code equal to that given
func (*HardwareModelQueryHardwareBrandsUnauthorized) IsRedirect ¶
func (o *HardwareModelQueryHardwareBrandsUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model query hardware brands unauthorized response has a 3xx status code
func (*HardwareModelQueryHardwareBrandsUnauthorized) IsServerError ¶
func (o *HardwareModelQueryHardwareBrandsUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model query hardware brands unauthorized response has a 5xx status code
func (*HardwareModelQueryHardwareBrandsUnauthorized) IsSuccess ¶
func (o *HardwareModelQueryHardwareBrandsUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model query hardware brands unauthorized response has a 2xx status code
func (*HardwareModelQueryHardwareBrandsUnauthorized) String ¶
func (o *HardwareModelQueryHardwareBrandsUnauthorized) String() string
type HardwareModelQueryHardwareModelsBadRequest ¶
type HardwareModelQueryHardwareModelsBadRequest struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryHardwareModelsBadRequest 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 NewHardwareModelQueryHardwareModelsBadRequest ¶
func NewHardwareModelQueryHardwareModelsBadRequest() *HardwareModelQueryHardwareModelsBadRequest
NewHardwareModelQueryHardwareModelsBadRequest creates a HardwareModelQueryHardwareModelsBadRequest with default headers values
func (*HardwareModelQueryHardwareModelsBadRequest) Error ¶
func (o *HardwareModelQueryHardwareModelsBadRequest) Error() string
func (*HardwareModelQueryHardwareModelsBadRequest) GetPayload ¶
func (o *HardwareModelQueryHardwareModelsBadRequest) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryHardwareModelsBadRequest) IsClientError ¶
func (o *HardwareModelQueryHardwareModelsBadRequest) IsClientError() bool
IsClientError returns true when this hardware model query hardware models bad request response has a 4xx status code
func (*HardwareModelQueryHardwareModelsBadRequest) IsCode ¶
func (o *HardwareModelQueryHardwareModelsBadRequest) IsCode(code int) bool
IsCode returns true when this hardware model query hardware models bad request response a status code equal to that given
func (*HardwareModelQueryHardwareModelsBadRequest) IsRedirect ¶
func (o *HardwareModelQueryHardwareModelsBadRequest) IsRedirect() bool
IsRedirect returns true when this hardware model query hardware models bad request response has a 3xx status code
func (*HardwareModelQueryHardwareModelsBadRequest) IsServerError ¶
func (o *HardwareModelQueryHardwareModelsBadRequest) IsServerError() bool
IsServerError returns true when this hardware model query hardware models bad request response has a 5xx status code
func (*HardwareModelQueryHardwareModelsBadRequest) IsSuccess ¶
func (o *HardwareModelQueryHardwareModelsBadRequest) IsSuccess() bool
IsSuccess returns true when this hardware model query hardware models bad request response has a 2xx status code
func (*HardwareModelQueryHardwareModelsBadRequest) String ¶
func (o *HardwareModelQueryHardwareModelsBadRequest) String() string
type HardwareModelQueryHardwareModelsDefault ¶
type HardwareModelQueryHardwareModelsDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelQueryHardwareModelsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelQueryHardwareModelsDefault ¶
func NewHardwareModelQueryHardwareModelsDefault(code int) *HardwareModelQueryHardwareModelsDefault
NewHardwareModelQueryHardwareModelsDefault creates a HardwareModelQueryHardwareModelsDefault with default headers values
func (*HardwareModelQueryHardwareModelsDefault) Code ¶
func (o *HardwareModelQueryHardwareModelsDefault) Code() int
Code gets the status code for the hardware model query hardware models default response
func (*HardwareModelQueryHardwareModelsDefault) Error ¶
func (o *HardwareModelQueryHardwareModelsDefault) Error() string
func (*HardwareModelQueryHardwareModelsDefault) GetPayload ¶
func (o *HardwareModelQueryHardwareModelsDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelQueryHardwareModelsDefault) IsClientError ¶
func (o *HardwareModelQueryHardwareModelsDefault) IsClientError() bool
IsClientError returns true when this hardware model query hardware models default response has a 4xx status code
func (*HardwareModelQueryHardwareModelsDefault) IsCode ¶
func (o *HardwareModelQueryHardwareModelsDefault) IsCode(code int) bool
IsCode returns true when this hardware model query hardware models default response a status code equal to that given
func (*HardwareModelQueryHardwareModelsDefault) IsRedirect ¶
func (o *HardwareModelQueryHardwareModelsDefault) IsRedirect() bool
IsRedirect returns true when this hardware model query hardware models default response has a 3xx status code
func (*HardwareModelQueryHardwareModelsDefault) IsServerError ¶
func (o *HardwareModelQueryHardwareModelsDefault) IsServerError() bool
IsServerError returns true when this hardware model query hardware models default response has a 5xx status code
func (*HardwareModelQueryHardwareModelsDefault) IsSuccess ¶
func (o *HardwareModelQueryHardwareModelsDefault) IsSuccess() bool
IsSuccess returns true when this hardware model query hardware models default response has a 2xx status code
func (*HardwareModelQueryHardwareModelsDefault) String ¶
func (o *HardwareModelQueryHardwareModelsDefault) String() string
type HardwareModelQueryHardwareModelsForbidden ¶
type HardwareModelQueryHardwareModelsForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryHardwareModelsForbidden 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 NewHardwareModelQueryHardwareModelsForbidden ¶
func NewHardwareModelQueryHardwareModelsForbidden() *HardwareModelQueryHardwareModelsForbidden
NewHardwareModelQueryHardwareModelsForbidden creates a HardwareModelQueryHardwareModelsForbidden with default headers values
func (*HardwareModelQueryHardwareModelsForbidden) Error ¶
func (o *HardwareModelQueryHardwareModelsForbidden) Error() string
func (*HardwareModelQueryHardwareModelsForbidden) GetPayload ¶
func (o *HardwareModelQueryHardwareModelsForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryHardwareModelsForbidden) IsClientError ¶
func (o *HardwareModelQueryHardwareModelsForbidden) IsClientError() bool
IsClientError returns true when this hardware model query hardware models forbidden response has a 4xx status code
func (*HardwareModelQueryHardwareModelsForbidden) IsCode ¶
func (o *HardwareModelQueryHardwareModelsForbidden) IsCode(code int) bool
IsCode returns true when this hardware model query hardware models forbidden response a status code equal to that given
func (*HardwareModelQueryHardwareModelsForbidden) IsRedirect ¶
func (o *HardwareModelQueryHardwareModelsForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model query hardware models forbidden response has a 3xx status code
func (*HardwareModelQueryHardwareModelsForbidden) IsServerError ¶
func (o *HardwareModelQueryHardwareModelsForbidden) IsServerError() bool
IsServerError returns true when this hardware model query hardware models forbidden response has a 5xx status code
func (*HardwareModelQueryHardwareModelsForbidden) IsSuccess ¶
func (o *HardwareModelQueryHardwareModelsForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model query hardware models forbidden response has a 2xx status code
func (*HardwareModelQueryHardwareModelsForbidden) String ¶
func (o *HardwareModelQueryHardwareModelsForbidden) String() string
type HardwareModelQueryHardwareModelsGatewayTimeout ¶
type HardwareModelQueryHardwareModelsGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryHardwareModelsGatewayTimeout 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 NewHardwareModelQueryHardwareModelsGatewayTimeout ¶
func NewHardwareModelQueryHardwareModelsGatewayTimeout() *HardwareModelQueryHardwareModelsGatewayTimeout
NewHardwareModelQueryHardwareModelsGatewayTimeout creates a HardwareModelQueryHardwareModelsGatewayTimeout with default headers values
func (*HardwareModelQueryHardwareModelsGatewayTimeout) Error ¶
func (o *HardwareModelQueryHardwareModelsGatewayTimeout) Error() string
func (*HardwareModelQueryHardwareModelsGatewayTimeout) GetPayload ¶
func (o *HardwareModelQueryHardwareModelsGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryHardwareModelsGatewayTimeout) IsClientError ¶
func (o *HardwareModelQueryHardwareModelsGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model query hardware models gateway timeout response has a 4xx status code
func (*HardwareModelQueryHardwareModelsGatewayTimeout) IsCode ¶
func (o *HardwareModelQueryHardwareModelsGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model query hardware models gateway timeout response a status code equal to that given
func (*HardwareModelQueryHardwareModelsGatewayTimeout) IsRedirect ¶
func (o *HardwareModelQueryHardwareModelsGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model query hardware models gateway timeout response has a 3xx status code
func (*HardwareModelQueryHardwareModelsGatewayTimeout) IsServerError ¶
func (o *HardwareModelQueryHardwareModelsGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model query hardware models gateway timeout response has a 5xx status code
func (*HardwareModelQueryHardwareModelsGatewayTimeout) IsSuccess ¶
func (o *HardwareModelQueryHardwareModelsGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model query hardware models gateway timeout response has a 2xx status code
func (*HardwareModelQueryHardwareModelsGatewayTimeout) String ¶
func (o *HardwareModelQueryHardwareModelsGatewayTimeout) String() string
type HardwareModelQueryHardwareModelsInternalServerError ¶
type HardwareModelQueryHardwareModelsInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelQueryHardwareModelsInternalServerError 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 NewHardwareModelQueryHardwareModelsInternalServerError ¶
func NewHardwareModelQueryHardwareModelsInternalServerError() *HardwareModelQueryHardwareModelsInternalServerError
NewHardwareModelQueryHardwareModelsInternalServerError creates a HardwareModelQueryHardwareModelsInternalServerError with default headers values
func (*HardwareModelQueryHardwareModelsInternalServerError) Error ¶
func (o *HardwareModelQueryHardwareModelsInternalServerError) Error() string
func (*HardwareModelQueryHardwareModelsInternalServerError) GetPayload ¶
func (o *HardwareModelQueryHardwareModelsInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryHardwareModelsInternalServerError) IsClientError ¶
func (o *HardwareModelQueryHardwareModelsInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model query hardware models internal server error response has a 4xx status code
func (*HardwareModelQueryHardwareModelsInternalServerError) IsCode ¶
func (o *HardwareModelQueryHardwareModelsInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model query hardware models internal server error response a status code equal to that given
func (*HardwareModelQueryHardwareModelsInternalServerError) IsRedirect ¶
func (o *HardwareModelQueryHardwareModelsInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model query hardware models internal server error response has a 3xx status code
func (*HardwareModelQueryHardwareModelsInternalServerError) IsServerError ¶
func (o *HardwareModelQueryHardwareModelsInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model query hardware models internal server error response has a 5xx status code
func (*HardwareModelQueryHardwareModelsInternalServerError) IsSuccess ¶
func (o *HardwareModelQueryHardwareModelsInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model query hardware models internal server error response has a 2xx status code
func (*HardwareModelQueryHardwareModelsInternalServerError) String ¶
func (o *HardwareModelQueryHardwareModelsInternalServerError) String() string
type HardwareModelQueryHardwareModelsOK ¶
HardwareModelQueryHardwareModelsOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelQueryHardwareModelsOK ¶
func NewHardwareModelQueryHardwareModelsOK() *HardwareModelQueryHardwareModelsOK
NewHardwareModelQueryHardwareModelsOK creates a HardwareModelQueryHardwareModelsOK with default headers values
func (*HardwareModelQueryHardwareModelsOK) Error ¶
func (o *HardwareModelQueryHardwareModelsOK) Error() string
func (*HardwareModelQueryHardwareModelsOK) GetPayload ¶
func (o *HardwareModelQueryHardwareModelsOK) GetPayload() *models.SysModels
func (*HardwareModelQueryHardwareModelsOK) IsClientError ¶
func (o *HardwareModelQueryHardwareModelsOK) IsClientError() bool
IsClientError returns true when this hardware model query hardware models o k response has a 4xx status code
func (*HardwareModelQueryHardwareModelsOK) IsCode ¶
func (o *HardwareModelQueryHardwareModelsOK) IsCode(code int) bool
IsCode returns true when this hardware model query hardware models o k response a status code equal to that given
func (*HardwareModelQueryHardwareModelsOK) IsRedirect ¶
func (o *HardwareModelQueryHardwareModelsOK) IsRedirect() bool
IsRedirect returns true when this hardware model query hardware models o k response has a 3xx status code
func (*HardwareModelQueryHardwareModelsOK) IsServerError ¶
func (o *HardwareModelQueryHardwareModelsOK) IsServerError() bool
IsServerError returns true when this hardware model query hardware models o k response has a 5xx status code
func (*HardwareModelQueryHardwareModelsOK) IsSuccess ¶
func (o *HardwareModelQueryHardwareModelsOK) IsSuccess() bool
IsSuccess returns true when this hardware model query hardware models o k response has a 2xx status code
func (*HardwareModelQueryHardwareModelsOK) String ¶
func (o *HardwareModelQueryHardwareModelsOK) String() string
type HardwareModelQueryHardwareModelsParams ¶
type HardwareModelQueryHardwareModelsParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* FilterBrandID. System defined universally unique Id of the brand. */ FilterBrandID *string /* FilterBrandIds. System defined universally unique Ids of the brand. */ FilterBrandIds []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 */ Summary *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HardwareModelQueryHardwareModelsParams contains all the parameters to send to the API endpoint
for the hardware model query hardware models operation. Typically these are written to a http.Request.
func NewHardwareModelQueryHardwareModelsParams ¶
func NewHardwareModelQueryHardwareModelsParams() *HardwareModelQueryHardwareModelsParams
NewHardwareModelQueryHardwareModelsParams creates a new HardwareModelQueryHardwareModelsParams 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 NewHardwareModelQueryHardwareModelsParamsWithContext ¶
func NewHardwareModelQueryHardwareModelsParamsWithContext(ctx context.Context) *HardwareModelQueryHardwareModelsParams
NewHardwareModelQueryHardwareModelsParamsWithContext creates a new HardwareModelQueryHardwareModelsParams object with the ability to set a context for a request.
func NewHardwareModelQueryHardwareModelsParamsWithHTTPClient ¶
func NewHardwareModelQueryHardwareModelsParamsWithHTTPClient(client *http.Client) *HardwareModelQueryHardwareModelsParams
NewHardwareModelQueryHardwareModelsParamsWithHTTPClient creates a new HardwareModelQueryHardwareModelsParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelQueryHardwareModelsParamsWithTimeout ¶
func NewHardwareModelQueryHardwareModelsParamsWithTimeout(timeout time.Duration) *HardwareModelQueryHardwareModelsParams
NewHardwareModelQueryHardwareModelsParamsWithTimeout creates a new HardwareModelQueryHardwareModelsParams object with the ability to set a timeout on a request.
func (*HardwareModelQueryHardwareModelsParams) SetContext ¶
func (o *HardwareModelQueryHardwareModelsParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) SetDefaults ¶
func (o *HardwareModelQueryHardwareModelsParams) SetDefaults()
SetDefaults hydrates default values in the hardware model query hardware models params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelQueryHardwareModelsParams) SetFilterBrandID ¶
func (o *HardwareModelQueryHardwareModelsParams) SetFilterBrandID(filterBrandID *string)
SetFilterBrandID adds the filterBrandId to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) SetFilterBrandIds ¶
func (o *HardwareModelQueryHardwareModelsParams) SetFilterBrandIds(filterBrandIds []string)
SetFilterBrandIds adds the filterBrandIds to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) SetFilterNamePattern ¶
func (o *HardwareModelQueryHardwareModelsParams) SetFilterNamePattern(filterNamePattern *string)
SetFilterNamePattern adds the filterNamePattern to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) SetFilterOriginType ¶
func (o *HardwareModelQueryHardwareModelsParams) SetFilterOriginType(filterOriginType *string)
SetFilterOriginType adds the filterOriginType to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) SetHTTPClient ¶
func (o *HardwareModelQueryHardwareModelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) SetNextOrderBy ¶
func (o *HardwareModelQueryHardwareModelsParams) SetNextOrderBy(nextOrderBy []string)
SetNextOrderBy adds the nextOrderBy to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) SetNextPageNum ¶
func (o *HardwareModelQueryHardwareModelsParams) SetNextPageNum(nextPageNum *int64)
SetNextPageNum adds the nextPageNum to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) SetNextPageSize ¶
func (o *HardwareModelQueryHardwareModelsParams) SetNextPageSize(nextPageSize *int64)
SetNextPageSize adds the nextPageSize to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) SetNextPageToken ¶
func (o *HardwareModelQueryHardwareModelsParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) SetNextTotalPages ¶
func (o *HardwareModelQueryHardwareModelsParams) SetNextTotalPages(nextTotalPages *int64)
SetNextTotalPages adds the nextTotalPages to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) SetSummary ¶
func (o *HardwareModelQueryHardwareModelsParams) SetSummary(summary *bool)
SetSummary adds the summary to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) SetTimeout ¶
func (o *HardwareModelQueryHardwareModelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) SetXRequestID ¶
func (o *HardwareModelQueryHardwareModelsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) WithContext ¶
func (o *HardwareModelQueryHardwareModelsParams) WithContext(ctx context.Context) *HardwareModelQueryHardwareModelsParams
WithContext adds the context to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) WithDefaults ¶
func (o *HardwareModelQueryHardwareModelsParams) WithDefaults() *HardwareModelQueryHardwareModelsParams
WithDefaults hydrates default values in the hardware model query hardware models params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelQueryHardwareModelsParams) WithFilterBrandID ¶
func (o *HardwareModelQueryHardwareModelsParams) WithFilterBrandID(filterBrandID *string) *HardwareModelQueryHardwareModelsParams
WithFilterBrandID adds the filterBrandID to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) WithFilterBrandIds ¶
func (o *HardwareModelQueryHardwareModelsParams) WithFilterBrandIds(filterBrandIds []string) *HardwareModelQueryHardwareModelsParams
WithFilterBrandIds adds the filterBrandIds to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) WithFilterNamePattern ¶
func (o *HardwareModelQueryHardwareModelsParams) WithFilterNamePattern(filterNamePattern *string) *HardwareModelQueryHardwareModelsParams
WithFilterNamePattern adds the filterNamePattern to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) WithFilterOriginType ¶
func (o *HardwareModelQueryHardwareModelsParams) WithFilterOriginType(filterOriginType *string) *HardwareModelQueryHardwareModelsParams
WithFilterOriginType adds the filterOriginType to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) WithHTTPClient ¶
func (o *HardwareModelQueryHardwareModelsParams) WithHTTPClient(client *http.Client) *HardwareModelQueryHardwareModelsParams
WithHTTPClient adds the HTTPClient to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) WithNextOrderBy ¶
func (o *HardwareModelQueryHardwareModelsParams) WithNextOrderBy(nextOrderBy []string) *HardwareModelQueryHardwareModelsParams
WithNextOrderBy adds the nextOrderBy to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) WithNextPageNum ¶
func (o *HardwareModelQueryHardwareModelsParams) WithNextPageNum(nextPageNum *int64) *HardwareModelQueryHardwareModelsParams
WithNextPageNum adds the nextPageNum to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) WithNextPageSize ¶
func (o *HardwareModelQueryHardwareModelsParams) WithNextPageSize(nextPageSize *int64) *HardwareModelQueryHardwareModelsParams
WithNextPageSize adds the nextPageSize to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) WithNextPageToken ¶
func (o *HardwareModelQueryHardwareModelsParams) WithNextPageToken(nextPageToken *string) *HardwareModelQueryHardwareModelsParams
WithNextPageToken adds the nextPageToken to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) WithNextTotalPages ¶
func (o *HardwareModelQueryHardwareModelsParams) WithNextTotalPages(nextTotalPages *int64) *HardwareModelQueryHardwareModelsParams
WithNextTotalPages adds the nextTotalPages to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) WithSummary ¶
func (o *HardwareModelQueryHardwareModelsParams) WithSummary(summary *bool) *HardwareModelQueryHardwareModelsParams
WithSummary adds the summary to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) WithTimeout ¶
func (o *HardwareModelQueryHardwareModelsParams) WithTimeout(timeout time.Duration) *HardwareModelQueryHardwareModelsParams
WithTimeout adds the timeout to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) WithXRequestID ¶
func (o *HardwareModelQueryHardwareModelsParams) WithXRequestID(xRequestID *string) *HardwareModelQueryHardwareModelsParams
WithXRequestID adds the xRequestID to the hardware model query hardware models params
func (*HardwareModelQueryHardwareModelsParams) WriteToRequest ¶
func (o *HardwareModelQueryHardwareModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelQueryHardwareModelsReader ¶
type HardwareModelQueryHardwareModelsReader struct {
// contains filtered or unexported fields
}
HardwareModelQueryHardwareModelsReader is a Reader for the HardwareModelQueryHardwareModels structure.
func (*HardwareModelQueryHardwareModelsReader) ReadResponse ¶
func (o *HardwareModelQueryHardwareModelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelQueryHardwareModelsUnauthorized ¶
type HardwareModelQueryHardwareModelsUnauthorized struct {
}HardwareModelQueryHardwareModelsUnauthorized 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 NewHardwareModelQueryHardwareModelsUnauthorized ¶
func NewHardwareModelQueryHardwareModelsUnauthorized() *HardwareModelQueryHardwareModelsUnauthorized
NewHardwareModelQueryHardwareModelsUnauthorized creates a HardwareModelQueryHardwareModelsUnauthorized with default headers values
func (*HardwareModelQueryHardwareModelsUnauthorized) Error ¶
func (o *HardwareModelQueryHardwareModelsUnauthorized) Error() string
func (*HardwareModelQueryHardwareModelsUnauthorized) GetPayload ¶
func (o *HardwareModelQueryHardwareModelsUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelQueryHardwareModelsUnauthorized) IsClientError ¶
func (o *HardwareModelQueryHardwareModelsUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model query hardware models unauthorized response has a 4xx status code
func (*HardwareModelQueryHardwareModelsUnauthorized) IsCode ¶
func (o *HardwareModelQueryHardwareModelsUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model query hardware models unauthorized response a status code equal to that given
func (*HardwareModelQueryHardwareModelsUnauthorized) IsRedirect ¶
func (o *HardwareModelQueryHardwareModelsUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model query hardware models unauthorized response has a 3xx status code
func (*HardwareModelQueryHardwareModelsUnauthorized) IsServerError ¶
func (o *HardwareModelQueryHardwareModelsUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model query hardware models unauthorized response has a 5xx status code
func (*HardwareModelQueryHardwareModelsUnauthorized) IsSuccess ¶
func (o *HardwareModelQueryHardwareModelsUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model query hardware models unauthorized response has a 2xx status code
func (*HardwareModelQueryHardwareModelsUnauthorized) String ¶
func (o *HardwareModelQueryHardwareModelsUnauthorized) String() string
type HardwareModelUpdateHardwareBrandBody ¶
type HardwareModelUpdateHardwareBrandBody struct { // Map of <string, string> Attr map[string]string `json:"attr,omitempty"` // Detailed description of the image. // Max Length: 256 Description string `json:"description,omitempty"` // Map of <string, string> which holds the key:url for the logo artifact of the the brand Logo map[string]string `json:"logo,omitempty"` // user defined sys brand name // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // origin of object // Required: true OriginType *models.Origin `json:"originType"` // Object Revision of the sys brand Revision *models.ObjectRevision `json:"revision,omitempty"` // Sys Model Status State *models.SysModelState `json:"state,omitempty"` // Deprecated: base64 encoded string of svg file Svg string `json:"svg,omitempty"` // System Manufacturer name SystemMfgName string `json:"systemMfgName,omitempty"` // user defined title for sys brand // Required: true // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Title *string `json:"title"` }
HardwareModelUpdateHardwareBrandBody SysBrand payload details // // SysModel consists of various brand attributes like id, name, title, svg, state, systemMfgName // Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"zed-brand","title":"sample brand"} swagger:model HardwareModelUpdateHardwareBrandBody
func (*HardwareModelUpdateHardwareBrandBody) ContextValidate ¶
func (o *HardwareModelUpdateHardwareBrandBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hardware model update hardware brand body based on the context it is used
func (*HardwareModelUpdateHardwareBrandBody) MarshalBinary ¶
func (o *HardwareModelUpdateHardwareBrandBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HardwareModelUpdateHardwareBrandBody) UnmarshalBinary ¶
func (o *HardwareModelUpdateHardwareBrandBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HardwareModelUpdateHardwareBrandConflict ¶
type HardwareModelUpdateHardwareBrandConflict struct {
Payload *models.ZsrvResponse
}
HardwareModelUpdateHardwareBrandConflict 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 NewHardwareModelUpdateHardwareBrandConflict ¶
func NewHardwareModelUpdateHardwareBrandConflict() *HardwareModelUpdateHardwareBrandConflict
NewHardwareModelUpdateHardwareBrandConflict creates a HardwareModelUpdateHardwareBrandConflict with default headers values
func (*HardwareModelUpdateHardwareBrandConflict) Error ¶
func (o *HardwareModelUpdateHardwareBrandConflict) Error() string
func (*HardwareModelUpdateHardwareBrandConflict) GetPayload ¶
func (o *HardwareModelUpdateHardwareBrandConflict) GetPayload() *models.ZsrvResponse
func (*HardwareModelUpdateHardwareBrandConflict) IsClientError ¶
func (o *HardwareModelUpdateHardwareBrandConflict) IsClientError() bool
IsClientError returns true when this hardware model update hardware brand conflict response has a 4xx status code
func (*HardwareModelUpdateHardwareBrandConflict) IsCode ¶
func (o *HardwareModelUpdateHardwareBrandConflict) IsCode(code int) bool
IsCode returns true when this hardware model update hardware brand conflict response a status code equal to that given
func (*HardwareModelUpdateHardwareBrandConflict) IsRedirect ¶
func (o *HardwareModelUpdateHardwareBrandConflict) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware brand conflict response has a 3xx status code
func (*HardwareModelUpdateHardwareBrandConflict) IsServerError ¶
func (o *HardwareModelUpdateHardwareBrandConflict) IsServerError() bool
IsServerError returns true when this hardware model update hardware brand conflict response has a 5xx status code
func (*HardwareModelUpdateHardwareBrandConflict) IsSuccess ¶
func (o *HardwareModelUpdateHardwareBrandConflict) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware brand conflict response has a 2xx status code
func (*HardwareModelUpdateHardwareBrandConflict) String ¶
func (o *HardwareModelUpdateHardwareBrandConflict) String() string
type HardwareModelUpdateHardwareBrandDefault ¶
type HardwareModelUpdateHardwareBrandDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelUpdateHardwareBrandDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelUpdateHardwareBrandDefault ¶
func NewHardwareModelUpdateHardwareBrandDefault(code int) *HardwareModelUpdateHardwareBrandDefault
NewHardwareModelUpdateHardwareBrandDefault creates a HardwareModelUpdateHardwareBrandDefault with default headers values
func (*HardwareModelUpdateHardwareBrandDefault) Code ¶
func (o *HardwareModelUpdateHardwareBrandDefault) Code() int
Code gets the status code for the hardware model update hardware brand default response
func (*HardwareModelUpdateHardwareBrandDefault) Error ¶
func (o *HardwareModelUpdateHardwareBrandDefault) Error() string
func (*HardwareModelUpdateHardwareBrandDefault) GetPayload ¶
func (o *HardwareModelUpdateHardwareBrandDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelUpdateHardwareBrandDefault) IsClientError ¶
func (o *HardwareModelUpdateHardwareBrandDefault) IsClientError() bool
IsClientError returns true when this hardware model update hardware brand default response has a 4xx status code
func (*HardwareModelUpdateHardwareBrandDefault) IsCode ¶
func (o *HardwareModelUpdateHardwareBrandDefault) IsCode(code int) bool
IsCode returns true when this hardware model update hardware brand default response a status code equal to that given
func (*HardwareModelUpdateHardwareBrandDefault) IsRedirect ¶
func (o *HardwareModelUpdateHardwareBrandDefault) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware brand default response has a 3xx status code
func (*HardwareModelUpdateHardwareBrandDefault) IsServerError ¶
func (o *HardwareModelUpdateHardwareBrandDefault) IsServerError() bool
IsServerError returns true when this hardware model update hardware brand default response has a 5xx status code
func (*HardwareModelUpdateHardwareBrandDefault) IsSuccess ¶
func (o *HardwareModelUpdateHardwareBrandDefault) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware brand default response has a 2xx status code
func (*HardwareModelUpdateHardwareBrandDefault) String ¶
func (o *HardwareModelUpdateHardwareBrandDefault) String() string
type HardwareModelUpdateHardwareBrandForbidden ¶
type HardwareModelUpdateHardwareBrandForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelUpdateHardwareBrandForbidden 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 NewHardwareModelUpdateHardwareBrandForbidden ¶
func NewHardwareModelUpdateHardwareBrandForbidden() *HardwareModelUpdateHardwareBrandForbidden
NewHardwareModelUpdateHardwareBrandForbidden creates a HardwareModelUpdateHardwareBrandForbidden with default headers values
func (*HardwareModelUpdateHardwareBrandForbidden) Error ¶
func (o *HardwareModelUpdateHardwareBrandForbidden) Error() string
func (*HardwareModelUpdateHardwareBrandForbidden) GetPayload ¶
func (o *HardwareModelUpdateHardwareBrandForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelUpdateHardwareBrandForbidden) IsClientError ¶
func (o *HardwareModelUpdateHardwareBrandForbidden) IsClientError() bool
IsClientError returns true when this hardware model update hardware brand forbidden response has a 4xx status code
func (*HardwareModelUpdateHardwareBrandForbidden) IsCode ¶
func (o *HardwareModelUpdateHardwareBrandForbidden) IsCode(code int) bool
IsCode returns true when this hardware model update hardware brand forbidden response a status code equal to that given
func (*HardwareModelUpdateHardwareBrandForbidden) IsRedirect ¶
func (o *HardwareModelUpdateHardwareBrandForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware brand forbidden response has a 3xx status code
func (*HardwareModelUpdateHardwareBrandForbidden) IsServerError ¶
func (o *HardwareModelUpdateHardwareBrandForbidden) IsServerError() bool
IsServerError returns true when this hardware model update hardware brand forbidden response has a 5xx status code
func (*HardwareModelUpdateHardwareBrandForbidden) IsSuccess ¶
func (o *HardwareModelUpdateHardwareBrandForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware brand forbidden response has a 2xx status code
func (*HardwareModelUpdateHardwareBrandForbidden) String ¶
func (o *HardwareModelUpdateHardwareBrandForbidden) String() string
type HardwareModelUpdateHardwareBrandGatewayTimeout ¶
type HardwareModelUpdateHardwareBrandGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelUpdateHardwareBrandGatewayTimeout 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 NewHardwareModelUpdateHardwareBrandGatewayTimeout ¶
func NewHardwareModelUpdateHardwareBrandGatewayTimeout() *HardwareModelUpdateHardwareBrandGatewayTimeout
NewHardwareModelUpdateHardwareBrandGatewayTimeout creates a HardwareModelUpdateHardwareBrandGatewayTimeout with default headers values
func (*HardwareModelUpdateHardwareBrandGatewayTimeout) Error ¶
func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) Error() string
func (*HardwareModelUpdateHardwareBrandGatewayTimeout) GetPayload ¶
func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelUpdateHardwareBrandGatewayTimeout) IsClientError ¶
func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model update hardware brand gateway timeout response has a 4xx status code
func (*HardwareModelUpdateHardwareBrandGatewayTimeout) IsCode ¶
func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model update hardware brand gateway timeout response a status code equal to that given
func (*HardwareModelUpdateHardwareBrandGatewayTimeout) IsRedirect ¶
func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware brand gateway timeout response has a 3xx status code
func (*HardwareModelUpdateHardwareBrandGatewayTimeout) IsServerError ¶
func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model update hardware brand gateway timeout response has a 5xx status code
func (*HardwareModelUpdateHardwareBrandGatewayTimeout) IsSuccess ¶
func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware brand gateway timeout response has a 2xx status code
func (*HardwareModelUpdateHardwareBrandGatewayTimeout) String ¶
func (o *HardwareModelUpdateHardwareBrandGatewayTimeout) String() string
type HardwareModelUpdateHardwareBrandInternalServerError ¶
type HardwareModelUpdateHardwareBrandInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelUpdateHardwareBrandInternalServerError 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 NewHardwareModelUpdateHardwareBrandInternalServerError ¶
func NewHardwareModelUpdateHardwareBrandInternalServerError() *HardwareModelUpdateHardwareBrandInternalServerError
NewHardwareModelUpdateHardwareBrandInternalServerError creates a HardwareModelUpdateHardwareBrandInternalServerError with default headers values
func (*HardwareModelUpdateHardwareBrandInternalServerError) Error ¶
func (o *HardwareModelUpdateHardwareBrandInternalServerError) Error() string
func (*HardwareModelUpdateHardwareBrandInternalServerError) GetPayload ¶
func (o *HardwareModelUpdateHardwareBrandInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelUpdateHardwareBrandInternalServerError) IsClientError ¶
func (o *HardwareModelUpdateHardwareBrandInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model update hardware brand internal server error response has a 4xx status code
func (*HardwareModelUpdateHardwareBrandInternalServerError) IsCode ¶
func (o *HardwareModelUpdateHardwareBrandInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model update hardware brand internal server error response a status code equal to that given
func (*HardwareModelUpdateHardwareBrandInternalServerError) IsRedirect ¶
func (o *HardwareModelUpdateHardwareBrandInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware brand internal server error response has a 3xx status code
func (*HardwareModelUpdateHardwareBrandInternalServerError) IsServerError ¶
func (o *HardwareModelUpdateHardwareBrandInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model update hardware brand internal server error response has a 5xx status code
func (*HardwareModelUpdateHardwareBrandInternalServerError) IsSuccess ¶
func (o *HardwareModelUpdateHardwareBrandInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware brand internal server error response has a 2xx status code
func (*HardwareModelUpdateHardwareBrandInternalServerError) String ¶
func (o *HardwareModelUpdateHardwareBrandInternalServerError) String() string
type HardwareModelUpdateHardwareBrandNotFound ¶
type HardwareModelUpdateHardwareBrandNotFound struct {
Payload *models.ZsrvResponse
}
HardwareModelUpdateHardwareBrandNotFound 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 NewHardwareModelUpdateHardwareBrandNotFound ¶
func NewHardwareModelUpdateHardwareBrandNotFound() *HardwareModelUpdateHardwareBrandNotFound
NewHardwareModelUpdateHardwareBrandNotFound creates a HardwareModelUpdateHardwareBrandNotFound with default headers values
func (*HardwareModelUpdateHardwareBrandNotFound) Error ¶
func (o *HardwareModelUpdateHardwareBrandNotFound) Error() string
func (*HardwareModelUpdateHardwareBrandNotFound) GetPayload ¶
func (o *HardwareModelUpdateHardwareBrandNotFound) GetPayload() *models.ZsrvResponse
func (*HardwareModelUpdateHardwareBrandNotFound) IsClientError ¶
func (o *HardwareModelUpdateHardwareBrandNotFound) IsClientError() bool
IsClientError returns true when this hardware model update hardware brand not found response has a 4xx status code
func (*HardwareModelUpdateHardwareBrandNotFound) IsCode ¶
func (o *HardwareModelUpdateHardwareBrandNotFound) IsCode(code int) bool
IsCode returns true when this hardware model update hardware brand not found response a status code equal to that given
func (*HardwareModelUpdateHardwareBrandNotFound) IsRedirect ¶
func (o *HardwareModelUpdateHardwareBrandNotFound) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware brand not found response has a 3xx status code
func (*HardwareModelUpdateHardwareBrandNotFound) IsServerError ¶
func (o *HardwareModelUpdateHardwareBrandNotFound) IsServerError() bool
IsServerError returns true when this hardware model update hardware brand not found response has a 5xx status code
func (*HardwareModelUpdateHardwareBrandNotFound) IsSuccess ¶
func (o *HardwareModelUpdateHardwareBrandNotFound) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware brand not found response has a 2xx status code
func (*HardwareModelUpdateHardwareBrandNotFound) String ¶
func (o *HardwareModelUpdateHardwareBrandNotFound) String() string
type HardwareModelUpdateHardwareBrandOK ¶
type HardwareModelUpdateHardwareBrandOK struct {
Payload *models.ZsrvResponse
}
HardwareModelUpdateHardwareBrandOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelUpdateHardwareBrandOK ¶
func NewHardwareModelUpdateHardwareBrandOK() *HardwareModelUpdateHardwareBrandOK
NewHardwareModelUpdateHardwareBrandOK creates a HardwareModelUpdateHardwareBrandOK with default headers values
func (*HardwareModelUpdateHardwareBrandOK) Error ¶
func (o *HardwareModelUpdateHardwareBrandOK) Error() string
func (*HardwareModelUpdateHardwareBrandOK) GetPayload ¶
func (o *HardwareModelUpdateHardwareBrandOK) GetPayload() *models.ZsrvResponse
func (*HardwareModelUpdateHardwareBrandOK) IsClientError ¶
func (o *HardwareModelUpdateHardwareBrandOK) IsClientError() bool
IsClientError returns true when this hardware model update hardware brand o k response has a 4xx status code
func (*HardwareModelUpdateHardwareBrandOK) IsCode ¶
func (o *HardwareModelUpdateHardwareBrandOK) IsCode(code int) bool
IsCode returns true when this hardware model update hardware brand o k response a status code equal to that given
func (*HardwareModelUpdateHardwareBrandOK) IsRedirect ¶
func (o *HardwareModelUpdateHardwareBrandOK) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware brand o k response has a 3xx status code
func (*HardwareModelUpdateHardwareBrandOK) IsServerError ¶
func (o *HardwareModelUpdateHardwareBrandOK) IsServerError() bool
IsServerError returns true when this hardware model update hardware brand o k response has a 5xx status code
func (*HardwareModelUpdateHardwareBrandOK) IsSuccess ¶
func (o *HardwareModelUpdateHardwareBrandOK) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware brand o k response has a 2xx status code
func (*HardwareModelUpdateHardwareBrandOK) String ¶
func (o *HardwareModelUpdateHardwareBrandOK) String() string
type HardwareModelUpdateHardwareBrandParams ¶
type HardwareModelUpdateHardwareBrandParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string // Body. Body HardwareModelUpdateHardwareBrandBody /* ID. System defined universally unique Id of the brand. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HardwareModelUpdateHardwareBrandParams contains all the parameters to send to the API endpoint
for the hardware model update hardware brand operation. Typically these are written to a http.Request.
func NewHardwareModelUpdateHardwareBrandParams ¶
func NewHardwareModelUpdateHardwareBrandParams() *HardwareModelUpdateHardwareBrandParams
NewHardwareModelUpdateHardwareBrandParams creates a new HardwareModelUpdateHardwareBrandParams 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 NewHardwareModelUpdateHardwareBrandParamsWithContext ¶
func NewHardwareModelUpdateHardwareBrandParamsWithContext(ctx context.Context) *HardwareModelUpdateHardwareBrandParams
NewHardwareModelUpdateHardwareBrandParamsWithContext creates a new HardwareModelUpdateHardwareBrandParams object with the ability to set a context for a request.
func NewHardwareModelUpdateHardwareBrandParamsWithHTTPClient ¶
func NewHardwareModelUpdateHardwareBrandParamsWithHTTPClient(client *http.Client) *HardwareModelUpdateHardwareBrandParams
NewHardwareModelUpdateHardwareBrandParamsWithHTTPClient creates a new HardwareModelUpdateHardwareBrandParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelUpdateHardwareBrandParamsWithTimeout ¶
func NewHardwareModelUpdateHardwareBrandParamsWithTimeout(timeout time.Duration) *HardwareModelUpdateHardwareBrandParams
NewHardwareModelUpdateHardwareBrandParamsWithTimeout creates a new HardwareModelUpdateHardwareBrandParams object with the ability to set a timeout on a request.
func (*HardwareModelUpdateHardwareBrandParams) SetBody ¶
func (o *HardwareModelUpdateHardwareBrandParams) SetBody(body HardwareModelUpdateHardwareBrandBody)
SetBody adds the body to the hardware model update hardware brand params
func (*HardwareModelUpdateHardwareBrandParams) SetContext ¶
func (o *HardwareModelUpdateHardwareBrandParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model update hardware brand params
func (*HardwareModelUpdateHardwareBrandParams) SetDefaults ¶
func (o *HardwareModelUpdateHardwareBrandParams) SetDefaults()
SetDefaults hydrates default values in the hardware model update hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelUpdateHardwareBrandParams) SetHTTPClient ¶
func (o *HardwareModelUpdateHardwareBrandParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model update hardware brand params
func (*HardwareModelUpdateHardwareBrandParams) SetID ¶
func (o *HardwareModelUpdateHardwareBrandParams) SetID(id string)
SetID adds the id to the hardware model update hardware brand params
func (*HardwareModelUpdateHardwareBrandParams) SetTimeout ¶
func (o *HardwareModelUpdateHardwareBrandParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model update hardware brand params
func (*HardwareModelUpdateHardwareBrandParams) SetXRequestID ¶
func (o *HardwareModelUpdateHardwareBrandParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model update hardware brand params
func (*HardwareModelUpdateHardwareBrandParams) WithBody ¶
func (o *HardwareModelUpdateHardwareBrandParams) WithBody(body HardwareModelUpdateHardwareBrandBody) *HardwareModelUpdateHardwareBrandParams
WithBody adds the body to the hardware model update hardware brand params
func (*HardwareModelUpdateHardwareBrandParams) WithContext ¶
func (o *HardwareModelUpdateHardwareBrandParams) WithContext(ctx context.Context) *HardwareModelUpdateHardwareBrandParams
WithContext adds the context to the hardware model update hardware brand params
func (*HardwareModelUpdateHardwareBrandParams) WithDefaults ¶
func (o *HardwareModelUpdateHardwareBrandParams) WithDefaults() *HardwareModelUpdateHardwareBrandParams
WithDefaults hydrates default values in the hardware model update hardware brand params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelUpdateHardwareBrandParams) WithHTTPClient ¶
func (o *HardwareModelUpdateHardwareBrandParams) WithHTTPClient(client *http.Client) *HardwareModelUpdateHardwareBrandParams
WithHTTPClient adds the HTTPClient to the hardware model update hardware brand params
func (*HardwareModelUpdateHardwareBrandParams) WithID ¶
func (o *HardwareModelUpdateHardwareBrandParams) WithID(id string) *HardwareModelUpdateHardwareBrandParams
WithID adds the id to the hardware model update hardware brand params
func (*HardwareModelUpdateHardwareBrandParams) WithTimeout ¶
func (o *HardwareModelUpdateHardwareBrandParams) WithTimeout(timeout time.Duration) *HardwareModelUpdateHardwareBrandParams
WithTimeout adds the timeout to the hardware model update hardware brand params
func (*HardwareModelUpdateHardwareBrandParams) WithXRequestID ¶
func (o *HardwareModelUpdateHardwareBrandParams) WithXRequestID(xRequestID *string) *HardwareModelUpdateHardwareBrandParams
WithXRequestID adds the xRequestID to the hardware model update hardware brand params
func (*HardwareModelUpdateHardwareBrandParams) WriteToRequest ¶
func (o *HardwareModelUpdateHardwareBrandParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelUpdateHardwareBrandReader ¶
type HardwareModelUpdateHardwareBrandReader struct {
// contains filtered or unexported fields
}
HardwareModelUpdateHardwareBrandReader is a Reader for the HardwareModelUpdateHardwareBrand structure.
func (*HardwareModelUpdateHardwareBrandReader) ReadResponse ¶
func (o *HardwareModelUpdateHardwareBrandReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelUpdateHardwareBrandUnauthorized ¶
type HardwareModelUpdateHardwareBrandUnauthorized struct {
}HardwareModelUpdateHardwareBrandUnauthorized 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 NewHardwareModelUpdateHardwareBrandUnauthorized ¶
func NewHardwareModelUpdateHardwareBrandUnauthorized() *HardwareModelUpdateHardwareBrandUnauthorized
NewHardwareModelUpdateHardwareBrandUnauthorized creates a HardwareModelUpdateHardwareBrandUnauthorized with default headers values
func (*HardwareModelUpdateHardwareBrandUnauthorized) Error ¶
func (o *HardwareModelUpdateHardwareBrandUnauthorized) Error() string
func (*HardwareModelUpdateHardwareBrandUnauthorized) GetPayload ¶
func (o *HardwareModelUpdateHardwareBrandUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelUpdateHardwareBrandUnauthorized) IsClientError ¶
func (o *HardwareModelUpdateHardwareBrandUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model update hardware brand unauthorized response has a 4xx status code
func (*HardwareModelUpdateHardwareBrandUnauthorized) IsCode ¶
func (o *HardwareModelUpdateHardwareBrandUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model update hardware brand unauthorized response a status code equal to that given
func (*HardwareModelUpdateHardwareBrandUnauthorized) IsRedirect ¶
func (o *HardwareModelUpdateHardwareBrandUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware brand unauthorized response has a 3xx status code
func (*HardwareModelUpdateHardwareBrandUnauthorized) IsServerError ¶
func (o *HardwareModelUpdateHardwareBrandUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model update hardware brand unauthorized response has a 5xx status code
func (*HardwareModelUpdateHardwareBrandUnauthorized) IsSuccess ¶
func (o *HardwareModelUpdateHardwareBrandUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware brand unauthorized response has a 2xx status code
func (*HardwareModelUpdateHardwareBrandUnauthorized) String ¶
func (o *HardwareModelUpdateHardwareBrandUnauthorized) String() string
type HardwareModelUpdateHardwareModelBody ¶
type HardwareModelUpdateHardwareModelBody struct { // PCR templates keyed by EVE version PCRTemplates []*models.PCRTemplate `json:"PCRTemplates"` // Map of <string, string> which defines attr // Required: true Attr map[string]string `json:"attr"` // System defined universally unique Id of the brand. // Required: true // Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12 BrandID *string `json:"brandId"` // Detailed description of the model. // Max Length: 256 Description string `json:"description,omitempty"` // List of IoMembers IoMemberList []*models.IoMember `json:"ioMemberList"` // Flag to represent whether sysModel is imported IsImported bool `json:"isImported,omitempty"` // Map of <string, string> which holds the key:url for the logo artifact of the model Logo map[string]string `json:"logo,omitempty"` // user defined model name // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // origin of object // Required: true OriginType *models.Origin `json:"originType"` // origin and parent related details ParentDetail *models.ObjectParentDetail `json:"parentDetail,omitempty"` // Product status ProductStatus string `json:"productStatus,omitempty"` // Product URL ProductURL string `json:"productURL,omitempty"` // Object Revision of the model // Read Only: true Revision *models.ObjectRevision `json:"revision,omitempty"` // SysModel State which denotes the status of the model // Required: true State *models.SysModelState `json:"state"` // User defined title of the model. Title can be changed at any time. // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+ Title *string `json:"title"` // Defines the Architecture type of the model // Required: true Type *models.ModelArchType `json:"type"` }
HardwareModelUpdateHardwareModelBody SysModel payload details // // SysModel consists of various model attributes like id, name, title, brandId etc // Example: {"id":"d1125b0f-633d-459c-99c6-f47e7467cebc","name":"zed-model","title":"sample model"} swagger:model HardwareModelUpdateHardwareModelBody
func (*HardwareModelUpdateHardwareModelBody) ContextValidate ¶
func (o *HardwareModelUpdateHardwareModelBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hardware model update hardware model body based on the context it is used
func (*HardwareModelUpdateHardwareModelBody) MarshalBinary ¶
func (o *HardwareModelUpdateHardwareModelBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HardwareModelUpdateHardwareModelBody) UnmarshalBinary ¶
func (o *HardwareModelUpdateHardwareModelBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HardwareModelUpdateHardwareModelConflict ¶
type HardwareModelUpdateHardwareModelConflict struct {
Payload *models.ZsrvResponse
}
HardwareModelUpdateHardwareModelConflict 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 NewHardwareModelUpdateHardwareModelConflict ¶
func NewHardwareModelUpdateHardwareModelConflict() *HardwareModelUpdateHardwareModelConflict
NewHardwareModelUpdateHardwareModelConflict creates a HardwareModelUpdateHardwareModelConflict with default headers values
func (*HardwareModelUpdateHardwareModelConflict) Error ¶
func (o *HardwareModelUpdateHardwareModelConflict) Error() string
func (*HardwareModelUpdateHardwareModelConflict) GetPayload ¶
func (o *HardwareModelUpdateHardwareModelConflict) GetPayload() *models.ZsrvResponse
func (*HardwareModelUpdateHardwareModelConflict) IsClientError ¶
func (o *HardwareModelUpdateHardwareModelConflict) IsClientError() bool
IsClientError returns true when this hardware model update hardware model conflict response has a 4xx status code
func (*HardwareModelUpdateHardwareModelConflict) IsCode ¶
func (o *HardwareModelUpdateHardwareModelConflict) IsCode(code int) bool
IsCode returns true when this hardware model update hardware model conflict response a status code equal to that given
func (*HardwareModelUpdateHardwareModelConflict) IsRedirect ¶
func (o *HardwareModelUpdateHardwareModelConflict) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware model conflict response has a 3xx status code
func (*HardwareModelUpdateHardwareModelConflict) IsServerError ¶
func (o *HardwareModelUpdateHardwareModelConflict) IsServerError() bool
IsServerError returns true when this hardware model update hardware model conflict response has a 5xx status code
func (*HardwareModelUpdateHardwareModelConflict) IsSuccess ¶
func (o *HardwareModelUpdateHardwareModelConflict) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware model conflict response has a 2xx status code
func (*HardwareModelUpdateHardwareModelConflict) String ¶
func (o *HardwareModelUpdateHardwareModelConflict) String() string
type HardwareModelUpdateHardwareModelDefault ¶
type HardwareModelUpdateHardwareModelDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
HardwareModelUpdateHardwareModelDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewHardwareModelUpdateHardwareModelDefault ¶
func NewHardwareModelUpdateHardwareModelDefault(code int) *HardwareModelUpdateHardwareModelDefault
NewHardwareModelUpdateHardwareModelDefault creates a HardwareModelUpdateHardwareModelDefault with default headers values
func (*HardwareModelUpdateHardwareModelDefault) Code ¶
func (o *HardwareModelUpdateHardwareModelDefault) Code() int
Code gets the status code for the hardware model update hardware model default response
func (*HardwareModelUpdateHardwareModelDefault) Error ¶
func (o *HardwareModelUpdateHardwareModelDefault) Error() string
func (*HardwareModelUpdateHardwareModelDefault) GetPayload ¶
func (o *HardwareModelUpdateHardwareModelDefault) GetPayload() *models.GooglerpcStatus
func (*HardwareModelUpdateHardwareModelDefault) IsClientError ¶
func (o *HardwareModelUpdateHardwareModelDefault) IsClientError() bool
IsClientError returns true when this hardware model update hardware model default response has a 4xx status code
func (*HardwareModelUpdateHardwareModelDefault) IsCode ¶
func (o *HardwareModelUpdateHardwareModelDefault) IsCode(code int) bool
IsCode returns true when this hardware model update hardware model default response a status code equal to that given
func (*HardwareModelUpdateHardwareModelDefault) IsRedirect ¶
func (o *HardwareModelUpdateHardwareModelDefault) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware model default response has a 3xx status code
func (*HardwareModelUpdateHardwareModelDefault) IsServerError ¶
func (o *HardwareModelUpdateHardwareModelDefault) IsServerError() bool
IsServerError returns true when this hardware model update hardware model default response has a 5xx status code
func (*HardwareModelUpdateHardwareModelDefault) IsSuccess ¶
func (o *HardwareModelUpdateHardwareModelDefault) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware model default response has a 2xx status code
func (*HardwareModelUpdateHardwareModelDefault) String ¶
func (o *HardwareModelUpdateHardwareModelDefault) String() string
type HardwareModelUpdateHardwareModelForbidden ¶
type HardwareModelUpdateHardwareModelForbidden struct {
Payload *models.ZsrvResponse
}
HardwareModelUpdateHardwareModelForbidden 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 NewHardwareModelUpdateHardwareModelForbidden ¶
func NewHardwareModelUpdateHardwareModelForbidden() *HardwareModelUpdateHardwareModelForbidden
NewHardwareModelUpdateHardwareModelForbidden creates a HardwareModelUpdateHardwareModelForbidden with default headers values
func (*HardwareModelUpdateHardwareModelForbidden) Error ¶
func (o *HardwareModelUpdateHardwareModelForbidden) Error() string
func (*HardwareModelUpdateHardwareModelForbidden) GetPayload ¶
func (o *HardwareModelUpdateHardwareModelForbidden) GetPayload() *models.ZsrvResponse
func (*HardwareModelUpdateHardwareModelForbidden) IsClientError ¶
func (o *HardwareModelUpdateHardwareModelForbidden) IsClientError() bool
IsClientError returns true when this hardware model update hardware model forbidden response has a 4xx status code
func (*HardwareModelUpdateHardwareModelForbidden) IsCode ¶
func (o *HardwareModelUpdateHardwareModelForbidden) IsCode(code int) bool
IsCode returns true when this hardware model update hardware model forbidden response a status code equal to that given
func (*HardwareModelUpdateHardwareModelForbidden) IsRedirect ¶
func (o *HardwareModelUpdateHardwareModelForbidden) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware model forbidden response has a 3xx status code
func (*HardwareModelUpdateHardwareModelForbidden) IsServerError ¶
func (o *HardwareModelUpdateHardwareModelForbidden) IsServerError() bool
IsServerError returns true when this hardware model update hardware model forbidden response has a 5xx status code
func (*HardwareModelUpdateHardwareModelForbidden) IsSuccess ¶
func (o *HardwareModelUpdateHardwareModelForbidden) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware model forbidden response has a 2xx status code
func (*HardwareModelUpdateHardwareModelForbidden) String ¶
func (o *HardwareModelUpdateHardwareModelForbidden) String() string
type HardwareModelUpdateHardwareModelGatewayTimeout ¶
type HardwareModelUpdateHardwareModelGatewayTimeout struct {
Payload *models.ZsrvResponse
}
HardwareModelUpdateHardwareModelGatewayTimeout 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 NewHardwareModelUpdateHardwareModelGatewayTimeout ¶
func NewHardwareModelUpdateHardwareModelGatewayTimeout() *HardwareModelUpdateHardwareModelGatewayTimeout
NewHardwareModelUpdateHardwareModelGatewayTimeout creates a HardwareModelUpdateHardwareModelGatewayTimeout with default headers values
func (*HardwareModelUpdateHardwareModelGatewayTimeout) Error ¶
func (o *HardwareModelUpdateHardwareModelGatewayTimeout) Error() string
func (*HardwareModelUpdateHardwareModelGatewayTimeout) GetPayload ¶
func (o *HardwareModelUpdateHardwareModelGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*HardwareModelUpdateHardwareModelGatewayTimeout) IsClientError ¶
func (o *HardwareModelUpdateHardwareModelGatewayTimeout) IsClientError() bool
IsClientError returns true when this hardware model update hardware model gateway timeout response has a 4xx status code
func (*HardwareModelUpdateHardwareModelGatewayTimeout) IsCode ¶
func (o *HardwareModelUpdateHardwareModelGatewayTimeout) IsCode(code int) bool
IsCode returns true when this hardware model update hardware model gateway timeout response a status code equal to that given
func (*HardwareModelUpdateHardwareModelGatewayTimeout) IsRedirect ¶
func (o *HardwareModelUpdateHardwareModelGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware model gateway timeout response has a 3xx status code
func (*HardwareModelUpdateHardwareModelGatewayTimeout) IsServerError ¶
func (o *HardwareModelUpdateHardwareModelGatewayTimeout) IsServerError() bool
IsServerError returns true when this hardware model update hardware model gateway timeout response has a 5xx status code
func (*HardwareModelUpdateHardwareModelGatewayTimeout) IsSuccess ¶
func (o *HardwareModelUpdateHardwareModelGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware model gateway timeout response has a 2xx status code
func (*HardwareModelUpdateHardwareModelGatewayTimeout) String ¶
func (o *HardwareModelUpdateHardwareModelGatewayTimeout) String() string
type HardwareModelUpdateHardwareModelInternalServerError ¶
type HardwareModelUpdateHardwareModelInternalServerError struct {
Payload *models.ZsrvResponse
}
HardwareModelUpdateHardwareModelInternalServerError 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 NewHardwareModelUpdateHardwareModelInternalServerError ¶
func NewHardwareModelUpdateHardwareModelInternalServerError() *HardwareModelUpdateHardwareModelInternalServerError
NewHardwareModelUpdateHardwareModelInternalServerError creates a HardwareModelUpdateHardwareModelInternalServerError with default headers values
func (*HardwareModelUpdateHardwareModelInternalServerError) Error ¶
func (o *HardwareModelUpdateHardwareModelInternalServerError) Error() string
func (*HardwareModelUpdateHardwareModelInternalServerError) GetPayload ¶
func (o *HardwareModelUpdateHardwareModelInternalServerError) GetPayload() *models.ZsrvResponse
func (*HardwareModelUpdateHardwareModelInternalServerError) IsClientError ¶
func (o *HardwareModelUpdateHardwareModelInternalServerError) IsClientError() bool
IsClientError returns true when this hardware model update hardware model internal server error response has a 4xx status code
func (*HardwareModelUpdateHardwareModelInternalServerError) IsCode ¶
func (o *HardwareModelUpdateHardwareModelInternalServerError) IsCode(code int) bool
IsCode returns true when this hardware model update hardware model internal server error response a status code equal to that given
func (*HardwareModelUpdateHardwareModelInternalServerError) IsRedirect ¶
func (o *HardwareModelUpdateHardwareModelInternalServerError) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware model internal server error response has a 3xx status code
func (*HardwareModelUpdateHardwareModelInternalServerError) IsServerError ¶
func (o *HardwareModelUpdateHardwareModelInternalServerError) IsServerError() bool
IsServerError returns true when this hardware model update hardware model internal server error response has a 5xx status code
func (*HardwareModelUpdateHardwareModelInternalServerError) IsSuccess ¶
func (o *HardwareModelUpdateHardwareModelInternalServerError) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware model internal server error response has a 2xx status code
func (*HardwareModelUpdateHardwareModelInternalServerError) String ¶
func (o *HardwareModelUpdateHardwareModelInternalServerError) String() string
type HardwareModelUpdateHardwareModelNotFound ¶
type HardwareModelUpdateHardwareModelNotFound struct {
Payload *models.ZsrvResponse
}
HardwareModelUpdateHardwareModelNotFound 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 NewHardwareModelUpdateHardwareModelNotFound ¶
func NewHardwareModelUpdateHardwareModelNotFound() *HardwareModelUpdateHardwareModelNotFound
NewHardwareModelUpdateHardwareModelNotFound creates a HardwareModelUpdateHardwareModelNotFound with default headers values
func (*HardwareModelUpdateHardwareModelNotFound) Error ¶
func (o *HardwareModelUpdateHardwareModelNotFound) Error() string
func (*HardwareModelUpdateHardwareModelNotFound) GetPayload ¶
func (o *HardwareModelUpdateHardwareModelNotFound) GetPayload() *models.ZsrvResponse
func (*HardwareModelUpdateHardwareModelNotFound) IsClientError ¶
func (o *HardwareModelUpdateHardwareModelNotFound) IsClientError() bool
IsClientError returns true when this hardware model update hardware model not found response has a 4xx status code
func (*HardwareModelUpdateHardwareModelNotFound) IsCode ¶
func (o *HardwareModelUpdateHardwareModelNotFound) IsCode(code int) bool
IsCode returns true when this hardware model update hardware model not found response a status code equal to that given
func (*HardwareModelUpdateHardwareModelNotFound) IsRedirect ¶
func (o *HardwareModelUpdateHardwareModelNotFound) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware model not found response has a 3xx status code
func (*HardwareModelUpdateHardwareModelNotFound) IsServerError ¶
func (o *HardwareModelUpdateHardwareModelNotFound) IsServerError() bool
IsServerError returns true when this hardware model update hardware model not found response has a 5xx status code
func (*HardwareModelUpdateHardwareModelNotFound) IsSuccess ¶
func (o *HardwareModelUpdateHardwareModelNotFound) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware model not found response has a 2xx status code
func (*HardwareModelUpdateHardwareModelNotFound) String ¶
func (o *HardwareModelUpdateHardwareModelNotFound) String() string
type HardwareModelUpdateHardwareModelOK ¶
type HardwareModelUpdateHardwareModelOK struct {
Payload *models.ZsrvResponse
}
HardwareModelUpdateHardwareModelOK describes a response with status code 200, with default header values.
A successful response.
func NewHardwareModelUpdateHardwareModelOK ¶
func NewHardwareModelUpdateHardwareModelOK() *HardwareModelUpdateHardwareModelOK
NewHardwareModelUpdateHardwareModelOK creates a HardwareModelUpdateHardwareModelOK with default headers values
func (*HardwareModelUpdateHardwareModelOK) Error ¶
func (o *HardwareModelUpdateHardwareModelOK) Error() string
func (*HardwareModelUpdateHardwareModelOK) GetPayload ¶
func (o *HardwareModelUpdateHardwareModelOK) GetPayload() *models.ZsrvResponse
func (*HardwareModelUpdateHardwareModelOK) IsClientError ¶
func (o *HardwareModelUpdateHardwareModelOK) IsClientError() bool
IsClientError returns true when this hardware model update hardware model o k response has a 4xx status code
func (*HardwareModelUpdateHardwareModelOK) IsCode ¶
func (o *HardwareModelUpdateHardwareModelOK) IsCode(code int) bool
IsCode returns true when this hardware model update hardware model o k response a status code equal to that given
func (*HardwareModelUpdateHardwareModelOK) IsRedirect ¶
func (o *HardwareModelUpdateHardwareModelOK) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware model o k response has a 3xx status code
func (*HardwareModelUpdateHardwareModelOK) IsServerError ¶
func (o *HardwareModelUpdateHardwareModelOK) IsServerError() bool
IsServerError returns true when this hardware model update hardware model o k response has a 5xx status code
func (*HardwareModelUpdateHardwareModelOK) IsSuccess ¶
func (o *HardwareModelUpdateHardwareModelOK) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware model o k response has a 2xx status code
func (*HardwareModelUpdateHardwareModelOK) String ¶
func (o *HardwareModelUpdateHardwareModelOK) String() string
type HardwareModelUpdateHardwareModelParams ¶
type HardwareModelUpdateHardwareModelParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string // Body. Body HardwareModelUpdateHardwareModelBody /* ID. System defined universally unique Id of the model. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HardwareModelUpdateHardwareModelParams contains all the parameters to send to the API endpoint
for the hardware model update hardware model operation. Typically these are written to a http.Request.
func NewHardwareModelUpdateHardwareModelParams ¶
func NewHardwareModelUpdateHardwareModelParams() *HardwareModelUpdateHardwareModelParams
NewHardwareModelUpdateHardwareModelParams creates a new HardwareModelUpdateHardwareModelParams 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 NewHardwareModelUpdateHardwareModelParamsWithContext ¶
func NewHardwareModelUpdateHardwareModelParamsWithContext(ctx context.Context) *HardwareModelUpdateHardwareModelParams
NewHardwareModelUpdateHardwareModelParamsWithContext creates a new HardwareModelUpdateHardwareModelParams object with the ability to set a context for a request.
func NewHardwareModelUpdateHardwareModelParamsWithHTTPClient ¶
func NewHardwareModelUpdateHardwareModelParamsWithHTTPClient(client *http.Client) *HardwareModelUpdateHardwareModelParams
NewHardwareModelUpdateHardwareModelParamsWithHTTPClient creates a new HardwareModelUpdateHardwareModelParams object with the ability to set a custom HTTPClient for a request.
func NewHardwareModelUpdateHardwareModelParamsWithTimeout ¶
func NewHardwareModelUpdateHardwareModelParamsWithTimeout(timeout time.Duration) *HardwareModelUpdateHardwareModelParams
NewHardwareModelUpdateHardwareModelParamsWithTimeout creates a new HardwareModelUpdateHardwareModelParams object with the ability to set a timeout on a request.
func (*HardwareModelUpdateHardwareModelParams) SetBody ¶
func (o *HardwareModelUpdateHardwareModelParams) SetBody(body HardwareModelUpdateHardwareModelBody)
SetBody adds the body to the hardware model update hardware model params
func (*HardwareModelUpdateHardwareModelParams) SetContext ¶
func (o *HardwareModelUpdateHardwareModelParams) SetContext(ctx context.Context)
SetContext adds the context to the hardware model update hardware model params
func (*HardwareModelUpdateHardwareModelParams) SetDefaults ¶
func (o *HardwareModelUpdateHardwareModelParams) SetDefaults()
SetDefaults hydrates default values in the hardware model update hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelUpdateHardwareModelParams) SetHTTPClient ¶
func (o *HardwareModelUpdateHardwareModelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the hardware model update hardware model params
func (*HardwareModelUpdateHardwareModelParams) SetID ¶
func (o *HardwareModelUpdateHardwareModelParams) SetID(id string)
SetID adds the id to the hardware model update hardware model params
func (*HardwareModelUpdateHardwareModelParams) SetTimeout ¶
func (o *HardwareModelUpdateHardwareModelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the hardware model update hardware model params
func (*HardwareModelUpdateHardwareModelParams) SetXRequestID ¶
func (o *HardwareModelUpdateHardwareModelParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the hardware model update hardware model params
func (*HardwareModelUpdateHardwareModelParams) WithBody ¶
func (o *HardwareModelUpdateHardwareModelParams) WithBody(body HardwareModelUpdateHardwareModelBody) *HardwareModelUpdateHardwareModelParams
WithBody adds the body to the hardware model update hardware model params
func (*HardwareModelUpdateHardwareModelParams) WithContext ¶
func (o *HardwareModelUpdateHardwareModelParams) WithContext(ctx context.Context) *HardwareModelUpdateHardwareModelParams
WithContext adds the context to the hardware model update hardware model params
func (*HardwareModelUpdateHardwareModelParams) WithDefaults ¶
func (o *HardwareModelUpdateHardwareModelParams) WithDefaults() *HardwareModelUpdateHardwareModelParams
WithDefaults hydrates default values in the hardware model update hardware model params (not the query body).
All values with no default are reset to their zero value.
func (*HardwareModelUpdateHardwareModelParams) WithHTTPClient ¶
func (o *HardwareModelUpdateHardwareModelParams) WithHTTPClient(client *http.Client) *HardwareModelUpdateHardwareModelParams
WithHTTPClient adds the HTTPClient to the hardware model update hardware model params
func (*HardwareModelUpdateHardwareModelParams) WithID ¶
func (o *HardwareModelUpdateHardwareModelParams) WithID(id string) *HardwareModelUpdateHardwareModelParams
WithID adds the id to the hardware model update hardware model params
func (*HardwareModelUpdateHardwareModelParams) WithTimeout ¶
func (o *HardwareModelUpdateHardwareModelParams) WithTimeout(timeout time.Duration) *HardwareModelUpdateHardwareModelParams
WithTimeout adds the timeout to the hardware model update hardware model params
func (*HardwareModelUpdateHardwareModelParams) WithXRequestID ¶
func (o *HardwareModelUpdateHardwareModelParams) WithXRequestID(xRequestID *string) *HardwareModelUpdateHardwareModelParams
WithXRequestID adds the xRequestID to the hardware model update hardware model params
func (*HardwareModelUpdateHardwareModelParams) WriteToRequest ¶
func (o *HardwareModelUpdateHardwareModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HardwareModelUpdateHardwareModelReader ¶
type HardwareModelUpdateHardwareModelReader struct {
// contains filtered or unexported fields
}
HardwareModelUpdateHardwareModelReader is a Reader for the HardwareModelUpdateHardwareModel structure.
func (*HardwareModelUpdateHardwareModelReader) ReadResponse ¶
func (o *HardwareModelUpdateHardwareModelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HardwareModelUpdateHardwareModelUnauthorized ¶
type HardwareModelUpdateHardwareModelUnauthorized struct {
}HardwareModelUpdateHardwareModelUnauthorized 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 NewHardwareModelUpdateHardwareModelUnauthorized ¶
func NewHardwareModelUpdateHardwareModelUnauthorized() *HardwareModelUpdateHardwareModelUnauthorized
NewHardwareModelUpdateHardwareModelUnauthorized creates a HardwareModelUpdateHardwareModelUnauthorized with default headers values
func (*HardwareModelUpdateHardwareModelUnauthorized) Error ¶
func (o *HardwareModelUpdateHardwareModelUnauthorized) Error() string
func (*HardwareModelUpdateHardwareModelUnauthorized) GetPayload ¶
func (o *HardwareModelUpdateHardwareModelUnauthorized) GetPayload() *models.ZsrvResponse
func (*HardwareModelUpdateHardwareModelUnauthorized) IsClientError ¶
func (o *HardwareModelUpdateHardwareModelUnauthorized) IsClientError() bool
IsClientError returns true when this hardware model update hardware model unauthorized response has a 4xx status code
func (*HardwareModelUpdateHardwareModelUnauthorized) IsCode ¶
func (o *HardwareModelUpdateHardwareModelUnauthorized) IsCode(code int) bool
IsCode returns true when this hardware model update hardware model unauthorized response a status code equal to that given
func (*HardwareModelUpdateHardwareModelUnauthorized) IsRedirect ¶
func (o *HardwareModelUpdateHardwareModelUnauthorized) IsRedirect() bool
IsRedirect returns true when this hardware model update hardware model unauthorized response has a 3xx status code
func (*HardwareModelUpdateHardwareModelUnauthorized) IsServerError ¶
func (o *HardwareModelUpdateHardwareModelUnauthorized) IsServerError() bool
IsServerError returns true when this hardware model update hardware model unauthorized response has a 5xx status code
func (*HardwareModelUpdateHardwareModelUnauthorized) IsSuccess ¶
func (o *HardwareModelUpdateHardwareModelUnauthorized) IsSuccess() bool
IsSuccess returns true when this hardware model update hardware model unauthorized response has a 2xx status code
func (*HardwareModelUpdateHardwareModelUnauthorized) String ¶
func (o *HardwareModelUpdateHardwareModelUnauthorized) String() string
Source Files ¶
- client.go
- create_hardware_brand_parameters.go
- create_hardware_brand_responses.go
- create_parameters.go
- create_responses.go
- delete_hardware_brand_parameters.go
- delete_hardware_brand_responses.go
- delete_parameters.go
- delete_responses.go
- get_by_name_parameters.go
- get_by_name_responses.go
- get_device_status_config_parameters.go
- get_device_status_config_responses.go
- get_device_status_location_parameters.go
- get_device_status_location_responses.go
- get_device_tags_parameters.go
- get_device_tags_responses.go
- get_global_by_name_parameters.go
- get_global_by_name_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_parameters.go
- get_global_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_parameters.go
- get_responses.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_parameters.go
- update_responses.go