hardware_model

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

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

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

HardwareModelQueryGlobalHardwareBrands queries global hardware brands

Query the global hardware brand records.

func (*Client) HardwareModelQueryGlobalHardwareModels

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 (*HardwareModelCreateHardwareBrandBadRequest) GetPayload

func (*HardwareModelCreateHardwareBrandBadRequest) IsClientError

IsClientError returns true when this hardware model create hardware brand bad request response has a 4xx status code

func (*HardwareModelCreateHardwareBrandBadRequest) IsCode

IsCode returns true when this hardware model create hardware brand bad request response a status code equal to that given

func (*HardwareModelCreateHardwareBrandBadRequest) IsRedirect

IsRedirect returns true when this hardware model create hardware brand bad request response has a 3xx status code

func (*HardwareModelCreateHardwareBrandBadRequest) IsServerError

IsServerError returns true when this hardware model create hardware brand bad request response has a 5xx status code

func (*HardwareModelCreateHardwareBrandBadRequest) IsSuccess

IsSuccess returns true when this hardware model create hardware brand bad request response has a 2xx status code

func (*HardwareModelCreateHardwareBrandBadRequest) 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 (*HardwareModelCreateHardwareBrandConflict) GetPayload

func (*HardwareModelCreateHardwareBrandConflict) IsClientError

IsClientError returns true when this hardware model create hardware brand conflict response has a 4xx status code

func (*HardwareModelCreateHardwareBrandConflict) IsCode

IsCode returns true when this hardware model create hardware brand conflict response a status code equal to that given

func (*HardwareModelCreateHardwareBrandConflict) IsRedirect

IsRedirect returns true when this hardware model create hardware brand conflict response has a 3xx status code

func (*HardwareModelCreateHardwareBrandConflict) IsServerError

IsServerError returns true when this hardware model create hardware brand conflict response has a 5xx status code

func (*HardwareModelCreateHardwareBrandConflict) IsSuccess

IsSuccess returns true when this hardware model create hardware brand conflict response has a 2xx status code

func (*HardwareModelCreateHardwareBrandConflict) 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

Code gets the status code for the hardware model create hardware brand default response

func (*HardwareModelCreateHardwareBrandDefault) Error

func (*HardwareModelCreateHardwareBrandDefault) GetPayload

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

IsCode returns true when this hardware model create hardware brand default response a status code equal to that given

func (*HardwareModelCreateHardwareBrandDefault) IsRedirect

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

IsSuccess returns true when this hardware model create hardware brand default response has a 2xx status code

func (*HardwareModelCreateHardwareBrandDefault) 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 (*HardwareModelCreateHardwareBrandForbidden) GetPayload

func (*HardwareModelCreateHardwareBrandForbidden) IsClientError

IsClientError returns true when this hardware model create hardware brand forbidden response has a 4xx status code

func (*HardwareModelCreateHardwareBrandForbidden) IsCode

IsCode returns true when this hardware model create hardware brand forbidden response a status code equal to that given

func (*HardwareModelCreateHardwareBrandForbidden) IsRedirect

IsRedirect returns true when this hardware model create hardware brand forbidden response has a 3xx status code

func (*HardwareModelCreateHardwareBrandForbidden) IsServerError

IsServerError returns true when this hardware model create hardware brand forbidden response has a 5xx status code

func (*HardwareModelCreateHardwareBrandForbidden) IsSuccess

IsSuccess returns true when this hardware model create hardware brand forbidden response has a 2xx status code

func (*HardwareModelCreateHardwareBrandForbidden) 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 (*HardwareModelCreateHardwareBrandGatewayTimeout) GetPayload

func (*HardwareModelCreateHardwareBrandGatewayTimeout) IsClientError

IsClientError returns true when this hardware model create hardware brand gateway timeout response has a 4xx status code

func (*HardwareModelCreateHardwareBrandGatewayTimeout) IsCode

IsCode returns true when this hardware model create hardware brand gateway timeout response a status code equal to that given

func (*HardwareModelCreateHardwareBrandGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model create hardware brand gateway timeout response has a 3xx status code

func (*HardwareModelCreateHardwareBrandGatewayTimeout) IsServerError

IsServerError returns true when this hardware model create hardware brand gateway timeout response has a 5xx status code

func (*HardwareModelCreateHardwareBrandGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model create hardware brand gateway timeout response has a 2xx status code

func (*HardwareModelCreateHardwareBrandGatewayTimeout) 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 (*HardwareModelCreateHardwareBrandInternalServerError) GetPayload

func (*HardwareModelCreateHardwareBrandInternalServerError) IsClientError

IsClientError returns true when this hardware model create hardware brand internal server error response has a 4xx status code

func (*HardwareModelCreateHardwareBrandInternalServerError) IsCode

IsCode returns true when this hardware model create hardware brand internal server error response a status code equal to that given

func (*HardwareModelCreateHardwareBrandInternalServerError) IsRedirect

IsRedirect returns true when this hardware model create hardware brand internal server error response has a 3xx status code

func (*HardwareModelCreateHardwareBrandInternalServerError) IsServerError

IsServerError returns true when this hardware model create hardware brand internal server error response has a 5xx status code

func (*HardwareModelCreateHardwareBrandInternalServerError) IsSuccess

IsSuccess returns true when this hardware model create hardware brand internal server error response has a 2xx status code

func (*HardwareModelCreateHardwareBrandInternalServerError) 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 (*HardwareModelCreateHardwareBrandOK) GetPayload

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

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

IsSuccess returns true when this hardware model create hardware brand o k response has a 2xx status code

func (*HardwareModelCreateHardwareBrandOK) 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

SetBody adds the body to the hardware model create hardware brand params

func (*HardwareModelCreateHardwareBrandParams) SetContext

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

WithBody adds the body to the hardware model create hardware brand params

func (*HardwareModelCreateHardwareBrandParams) WithContext

WithContext adds the context to the hardware model create hardware brand params

func (*HardwareModelCreateHardwareBrandParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the hardware model create hardware brand params

func (*HardwareModelCreateHardwareBrandParams) WithTimeout

WithTimeout adds the timeout to the hardware model create hardware brand params

func (*HardwareModelCreateHardwareBrandParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model create hardware brand params

func (*HardwareModelCreateHardwareBrandParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelCreateHardwareBrandUnauthorized) GetPayload

func (*HardwareModelCreateHardwareBrandUnauthorized) IsClientError

IsClientError returns true when this hardware model create hardware brand unauthorized response has a 4xx status code

func (*HardwareModelCreateHardwareBrandUnauthorized) IsCode

IsCode returns true when this hardware model create hardware brand unauthorized response a status code equal to that given

func (*HardwareModelCreateHardwareBrandUnauthorized) IsRedirect

IsRedirect returns true when this hardware model create hardware brand unauthorized response has a 3xx status code

func (*HardwareModelCreateHardwareBrandUnauthorized) IsServerError

IsServerError returns true when this hardware model create hardware brand unauthorized response has a 5xx status code

func (*HardwareModelCreateHardwareBrandUnauthorized) IsSuccess

IsSuccess returns true when this hardware model create hardware brand unauthorized response has a 2xx status code

func (*HardwareModelCreateHardwareBrandUnauthorized) 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 (*HardwareModelCreateHardwareModelBadRequest) GetPayload

func (*HardwareModelCreateHardwareModelBadRequest) IsClientError

IsClientError returns true when this hardware model create hardware model bad request response has a 4xx status code

func (*HardwareModelCreateHardwareModelBadRequest) IsCode

IsCode returns true when this hardware model create hardware model bad request response a status code equal to that given

func (*HardwareModelCreateHardwareModelBadRequest) IsRedirect

IsRedirect returns true when this hardware model create hardware model bad request response has a 3xx status code

func (*HardwareModelCreateHardwareModelBadRequest) IsServerError

IsServerError returns true when this hardware model create hardware model bad request response has a 5xx status code

func (*HardwareModelCreateHardwareModelBadRequest) IsSuccess

IsSuccess returns true when this hardware model create hardware model bad request response has a 2xx status code

func (*HardwareModelCreateHardwareModelBadRequest) 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 (*HardwareModelCreateHardwareModelConflict) GetPayload

func (*HardwareModelCreateHardwareModelConflict) IsClientError

IsClientError returns true when this hardware model create hardware model conflict response has a 4xx status code

func (*HardwareModelCreateHardwareModelConflict) IsCode

IsCode returns true when this hardware model create hardware model conflict response a status code equal to that given

func (*HardwareModelCreateHardwareModelConflict) IsRedirect

IsRedirect returns true when this hardware model create hardware model conflict response has a 3xx status code

func (*HardwareModelCreateHardwareModelConflict) IsServerError

IsServerError returns true when this hardware model create hardware model conflict response has a 5xx status code

func (*HardwareModelCreateHardwareModelConflict) IsSuccess

IsSuccess returns true when this hardware model create hardware model conflict response has a 2xx status code

func (*HardwareModelCreateHardwareModelConflict) 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

Code gets the status code for the hardware model create hardware model default response

func (*HardwareModelCreateHardwareModelDefault) Error

func (*HardwareModelCreateHardwareModelDefault) GetPayload

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

IsCode returns true when this hardware model create hardware model default response a status code equal to that given

func (*HardwareModelCreateHardwareModelDefault) IsRedirect

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

IsSuccess returns true when this hardware model create hardware model default response has a 2xx status code

func (*HardwareModelCreateHardwareModelDefault) 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 (*HardwareModelCreateHardwareModelForbidden) GetPayload

func (*HardwareModelCreateHardwareModelForbidden) IsClientError

IsClientError returns true when this hardware model create hardware model forbidden response has a 4xx status code

func (*HardwareModelCreateHardwareModelForbidden) IsCode

IsCode returns true when this hardware model create hardware model forbidden response a status code equal to that given

func (*HardwareModelCreateHardwareModelForbidden) IsRedirect

IsRedirect returns true when this hardware model create hardware model forbidden response has a 3xx status code

func (*HardwareModelCreateHardwareModelForbidden) IsServerError

IsServerError returns true when this hardware model create hardware model forbidden response has a 5xx status code

func (*HardwareModelCreateHardwareModelForbidden) IsSuccess

IsSuccess returns true when this hardware model create hardware model forbidden response has a 2xx status code

func (*HardwareModelCreateHardwareModelForbidden) 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 (*HardwareModelCreateHardwareModelGatewayTimeout) GetPayload

func (*HardwareModelCreateHardwareModelGatewayTimeout) IsClientError

IsClientError returns true when this hardware model create hardware model gateway timeout response has a 4xx status code

func (*HardwareModelCreateHardwareModelGatewayTimeout) IsCode

IsCode returns true when this hardware model create hardware model gateway timeout response a status code equal to that given

func (*HardwareModelCreateHardwareModelGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model create hardware model gateway timeout response has a 3xx status code

func (*HardwareModelCreateHardwareModelGatewayTimeout) IsServerError

IsServerError returns true when this hardware model create hardware model gateway timeout response has a 5xx status code

func (*HardwareModelCreateHardwareModelGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model create hardware model gateway timeout response has a 2xx status code

func (*HardwareModelCreateHardwareModelGatewayTimeout) 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 (*HardwareModelCreateHardwareModelInternalServerError) GetPayload

func (*HardwareModelCreateHardwareModelInternalServerError) IsClientError

IsClientError returns true when this hardware model create hardware model internal server error response has a 4xx status code

func (*HardwareModelCreateHardwareModelInternalServerError) IsCode

IsCode returns true when this hardware model create hardware model internal server error response a status code equal to that given

func (*HardwareModelCreateHardwareModelInternalServerError) IsRedirect

IsRedirect returns true when this hardware model create hardware model internal server error response has a 3xx status code

func (*HardwareModelCreateHardwareModelInternalServerError) IsServerError

IsServerError returns true when this hardware model create hardware model internal server error response has a 5xx status code

func (*HardwareModelCreateHardwareModelInternalServerError) IsSuccess

IsSuccess returns true when this hardware model create hardware model internal server error response has a 2xx status code

func (*HardwareModelCreateHardwareModelInternalServerError) 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 (*HardwareModelCreateHardwareModelOK) GetPayload

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

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

IsSuccess returns true when this hardware model create hardware model o k response has a 2xx status code

func (*HardwareModelCreateHardwareModelOK) 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

SetBody adds the body to the hardware model create hardware model params

func (*HardwareModelCreateHardwareModelParams) SetContext

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

WithBody adds the body to the hardware model create hardware model params

func (*HardwareModelCreateHardwareModelParams) WithContext

WithContext adds the context to the hardware model create hardware model params

func (*HardwareModelCreateHardwareModelParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the hardware model create hardware model params

func (*HardwareModelCreateHardwareModelParams) WithTimeout

WithTimeout adds the timeout to the hardware model create hardware model params

func (*HardwareModelCreateHardwareModelParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model create hardware model params

func (*HardwareModelCreateHardwareModelParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelCreateHardwareModelUnauthorized) GetPayload

func (*HardwareModelCreateHardwareModelUnauthorized) IsClientError

IsClientError returns true when this hardware model create hardware model unauthorized response has a 4xx status code

func (*HardwareModelCreateHardwareModelUnauthorized) IsCode

IsCode returns true when this hardware model create hardware model unauthorized response a status code equal to that given

func (*HardwareModelCreateHardwareModelUnauthorized) IsRedirect

IsRedirect returns true when this hardware model create hardware model unauthorized response has a 3xx status code

func (*HardwareModelCreateHardwareModelUnauthorized) IsServerError

IsServerError returns true when this hardware model create hardware model unauthorized response has a 5xx status code

func (*HardwareModelCreateHardwareModelUnauthorized) IsSuccess

IsSuccess returns true when this hardware model create hardware model unauthorized response has a 2xx status code

func (*HardwareModelCreateHardwareModelUnauthorized) 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

Code gets the status code for the hardware model delete hardware brand default response

func (*HardwareModelDeleteHardwareBrandDefault) Error

func (*HardwareModelDeleteHardwareBrandDefault) GetPayload

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

IsCode returns true when this hardware model delete hardware brand default response a status code equal to that given

func (*HardwareModelDeleteHardwareBrandDefault) IsRedirect

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

IsSuccess returns true when this hardware model delete hardware brand default response has a 2xx status code

func (*HardwareModelDeleteHardwareBrandDefault) 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 (*HardwareModelDeleteHardwareBrandForbidden) GetPayload

func (*HardwareModelDeleteHardwareBrandForbidden) IsClientError

IsClientError returns true when this hardware model delete hardware brand forbidden response has a 4xx status code

func (*HardwareModelDeleteHardwareBrandForbidden) IsCode

IsCode returns true when this hardware model delete hardware brand forbidden response a status code equal to that given

func (*HardwareModelDeleteHardwareBrandForbidden) IsRedirect

IsRedirect returns true when this hardware model delete hardware brand forbidden response has a 3xx status code

func (*HardwareModelDeleteHardwareBrandForbidden) IsServerError

IsServerError returns true when this hardware model delete hardware brand forbidden response has a 5xx status code

func (*HardwareModelDeleteHardwareBrandForbidden) IsSuccess

IsSuccess returns true when this hardware model delete hardware brand forbidden response has a 2xx status code

func (*HardwareModelDeleteHardwareBrandForbidden) 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 (*HardwareModelDeleteHardwareBrandGatewayTimeout) GetPayload

func (*HardwareModelDeleteHardwareBrandGatewayTimeout) IsClientError

IsClientError returns true when this hardware model delete hardware brand gateway timeout response has a 4xx status code

func (*HardwareModelDeleteHardwareBrandGatewayTimeout) IsCode

IsCode returns true when this hardware model delete hardware brand gateway timeout response a status code equal to that given

func (*HardwareModelDeleteHardwareBrandGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model delete hardware brand gateway timeout response has a 3xx status code

func (*HardwareModelDeleteHardwareBrandGatewayTimeout) IsServerError

IsServerError returns true when this hardware model delete hardware brand gateway timeout response has a 5xx status code

func (*HardwareModelDeleteHardwareBrandGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model delete hardware brand gateway timeout response has a 2xx status code

func (*HardwareModelDeleteHardwareBrandGatewayTimeout) 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 (*HardwareModelDeleteHardwareBrandInternalServerError) GetPayload

func (*HardwareModelDeleteHardwareBrandInternalServerError) IsClientError

IsClientError returns true when this hardware model delete hardware brand internal server error response has a 4xx status code

func (*HardwareModelDeleteHardwareBrandInternalServerError) IsCode

IsCode returns true when this hardware model delete hardware brand internal server error response a status code equal to that given

func (*HardwareModelDeleteHardwareBrandInternalServerError) IsRedirect

IsRedirect returns true when this hardware model delete hardware brand internal server error response has a 3xx status code

func (*HardwareModelDeleteHardwareBrandInternalServerError) IsServerError

IsServerError returns true when this hardware model delete hardware brand internal server error response has a 5xx status code

func (*HardwareModelDeleteHardwareBrandInternalServerError) IsSuccess

IsSuccess returns true when this hardware model delete hardware brand internal server error response has a 2xx status code

func (*HardwareModelDeleteHardwareBrandInternalServerError) 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 (*HardwareModelDeleteHardwareBrandNotFound) GetPayload

func (*HardwareModelDeleteHardwareBrandNotFound) IsClientError

IsClientError returns true when this hardware model delete hardware brand not found response has a 4xx status code

func (*HardwareModelDeleteHardwareBrandNotFound) IsCode

IsCode returns true when this hardware model delete hardware brand not found response a status code equal to that given

func (*HardwareModelDeleteHardwareBrandNotFound) IsRedirect

IsRedirect returns true when this hardware model delete hardware brand not found response has a 3xx status code

func (*HardwareModelDeleteHardwareBrandNotFound) IsServerError

IsServerError returns true when this hardware model delete hardware brand not found response has a 5xx status code

func (*HardwareModelDeleteHardwareBrandNotFound) IsSuccess

IsSuccess returns true when this hardware model delete hardware brand not found response has a 2xx status code

func (*HardwareModelDeleteHardwareBrandNotFound) 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 (*HardwareModelDeleteHardwareBrandOK) GetPayload

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

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

IsSuccess returns true when this hardware model delete hardware brand o k response has a 2xx status code

func (*HardwareModelDeleteHardwareBrandOK) 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

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

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

WithContext adds the context to the hardware model delete hardware brand params

func (*HardwareModelDeleteHardwareBrandParams) WithDefaults

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

WithEnterpriseID adds the enterpriseID to the hardware model delete hardware brand params

func (*HardwareModelDeleteHardwareBrandParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hardware model delete hardware brand params

func (*HardwareModelDeleteHardwareBrandParams) WithID

WithID adds the id to the hardware model delete hardware brand params

func (*HardwareModelDeleteHardwareBrandParams) WithTimeout

WithTimeout adds the timeout to the hardware model delete hardware brand params

func (*HardwareModelDeleteHardwareBrandParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model delete hardware brand params

func (*HardwareModelDeleteHardwareBrandParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelDeleteHardwareBrandUnauthorized) GetPayload

func (*HardwareModelDeleteHardwareBrandUnauthorized) IsClientError

IsClientError returns true when this hardware model delete hardware brand unauthorized response has a 4xx status code

func (*HardwareModelDeleteHardwareBrandUnauthorized) IsCode

IsCode returns true when this hardware model delete hardware brand unauthorized response a status code equal to that given

func (*HardwareModelDeleteHardwareBrandUnauthorized) IsRedirect

IsRedirect returns true when this hardware model delete hardware brand unauthorized response has a 3xx status code

func (*HardwareModelDeleteHardwareBrandUnauthorized) IsServerError

IsServerError returns true when this hardware model delete hardware brand unauthorized response has a 5xx status code

func (*HardwareModelDeleteHardwareBrandUnauthorized) IsSuccess

IsSuccess returns true when this hardware model delete hardware brand unauthorized response has a 2xx status code

func (*HardwareModelDeleteHardwareBrandUnauthorized) 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

Code gets the status code for the hardware model delete hardware model default response

func (*HardwareModelDeleteHardwareModelDefault) Error

func (*HardwareModelDeleteHardwareModelDefault) GetPayload

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

IsCode returns true when this hardware model delete hardware model default response a status code equal to that given

func (*HardwareModelDeleteHardwareModelDefault) IsRedirect

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

IsSuccess returns true when this hardware model delete hardware model default response has a 2xx status code

func (*HardwareModelDeleteHardwareModelDefault) 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 (*HardwareModelDeleteHardwareModelForbidden) GetPayload

func (*HardwareModelDeleteHardwareModelForbidden) IsClientError

IsClientError returns true when this hardware model delete hardware model forbidden response has a 4xx status code

func (*HardwareModelDeleteHardwareModelForbidden) IsCode

IsCode returns true when this hardware model delete hardware model forbidden response a status code equal to that given

func (*HardwareModelDeleteHardwareModelForbidden) IsRedirect

IsRedirect returns true when this hardware model delete hardware model forbidden response has a 3xx status code

func (*HardwareModelDeleteHardwareModelForbidden) IsServerError

IsServerError returns true when this hardware model delete hardware model forbidden response has a 5xx status code

func (*HardwareModelDeleteHardwareModelForbidden) IsSuccess

IsSuccess returns true when this hardware model delete hardware model forbidden response has a 2xx status code

func (*HardwareModelDeleteHardwareModelForbidden) 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 (*HardwareModelDeleteHardwareModelGatewayTimeout) GetPayload

func (*HardwareModelDeleteHardwareModelGatewayTimeout) IsClientError

IsClientError returns true when this hardware model delete hardware model gateway timeout response has a 4xx status code

func (*HardwareModelDeleteHardwareModelGatewayTimeout) IsCode

IsCode returns true when this hardware model delete hardware model gateway timeout response a status code equal to that given

func (*HardwareModelDeleteHardwareModelGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model delete hardware model gateway timeout response has a 3xx status code

func (*HardwareModelDeleteHardwareModelGatewayTimeout) IsServerError

IsServerError returns true when this hardware model delete hardware model gateway timeout response has a 5xx status code

func (*HardwareModelDeleteHardwareModelGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model delete hardware model gateway timeout response has a 2xx status code

func (*HardwareModelDeleteHardwareModelGatewayTimeout) 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 (*HardwareModelDeleteHardwareModelInternalServerError) GetPayload

func (*HardwareModelDeleteHardwareModelInternalServerError) IsClientError

IsClientError returns true when this hardware model delete hardware model internal server error response has a 4xx status code

func (*HardwareModelDeleteHardwareModelInternalServerError) IsCode

IsCode returns true when this hardware model delete hardware model internal server error response a status code equal to that given

func (*HardwareModelDeleteHardwareModelInternalServerError) IsRedirect

IsRedirect returns true when this hardware model delete hardware model internal server error response has a 3xx status code

func (*HardwareModelDeleteHardwareModelInternalServerError) IsServerError

IsServerError returns true when this hardware model delete hardware model internal server error response has a 5xx status code

func (*HardwareModelDeleteHardwareModelInternalServerError) IsSuccess

IsSuccess returns true when this hardware model delete hardware model internal server error response has a 2xx status code

func (*HardwareModelDeleteHardwareModelInternalServerError) 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 (*HardwareModelDeleteHardwareModelNotFound) GetPayload

func (*HardwareModelDeleteHardwareModelNotFound) IsClientError

IsClientError returns true when this hardware model delete hardware model not found response has a 4xx status code

func (*HardwareModelDeleteHardwareModelNotFound) IsCode

IsCode returns true when this hardware model delete hardware model not found response a status code equal to that given

func (*HardwareModelDeleteHardwareModelNotFound) IsRedirect

IsRedirect returns true when this hardware model delete hardware model not found response has a 3xx status code

func (*HardwareModelDeleteHardwareModelNotFound) IsServerError

IsServerError returns true when this hardware model delete hardware model not found response has a 5xx status code

func (*HardwareModelDeleteHardwareModelNotFound) IsSuccess

IsSuccess returns true when this hardware model delete hardware model not found response has a 2xx status code

func (*HardwareModelDeleteHardwareModelNotFound) 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 (*HardwareModelDeleteHardwareModelOK) GetPayload

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

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

IsSuccess returns true when this hardware model delete hardware model o k response has a 2xx status code

func (*HardwareModelDeleteHardwareModelOK) 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

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

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

WithContext adds the context to the hardware model delete hardware model params

func (*HardwareModelDeleteHardwareModelParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the hardware model delete hardware model params

func (*HardwareModelDeleteHardwareModelParams) WithID

WithID adds the id to the hardware model delete hardware model params

func (*HardwareModelDeleteHardwareModelParams) WithTimeout

WithTimeout adds the timeout to the hardware model delete hardware model params

func (*HardwareModelDeleteHardwareModelParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model delete hardware model params

func (*HardwareModelDeleteHardwareModelParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelDeleteHardwareModelUnauthorized) GetPayload

func (*HardwareModelDeleteHardwareModelUnauthorized) IsClientError

IsClientError returns true when this hardware model delete hardware model unauthorized response has a 4xx status code

func (*HardwareModelDeleteHardwareModelUnauthorized) IsCode

IsCode returns true when this hardware model delete hardware model unauthorized response a status code equal to that given

func (*HardwareModelDeleteHardwareModelUnauthorized) IsRedirect

IsRedirect returns true when this hardware model delete hardware model unauthorized response has a 3xx status code

func (*HardwareModelDeleteHardwareModelUnauthorized) IsServerError

IsServerError returns true when this hardware model delete hardware model unauthorized response has a 5xx status code

func (*HardwareModelDeleteHardwareModelUnauthorized) IsSuccess

IsSuccess returns true when this hardware model delete hardware model unauthorized response has a 2xx status code

func (*HardwareModelDeleteHardwareModelUnauthorized) 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 (*HardwareModelGetDeviceStatusConfigBadRequest) GetPayload

func (*HardwareModelGetDeviceStatusConfigBadRequest) IsClientError

IsClientError returns true when this hardware model get device status config bad request response has a 4xx status code

func (*HardwareModelGetDeviceStatusConfigBadRequest) IsCode

IsCode returns true when this hardware model get device status config bad request response a status code equal to that given

func (*HardwareModelGetDeviceStatusConfigBadRequest) IsRedirect

IsRedirect returns true when this hardware model get device status config bad request response has a 3xx status code

func (*HardwareModelGetDeviceStatusConfigBadRequest) IsServerError

IsServerError returns true when this hardware model get device status config bad request response has a 5xx status code

func (*HardwareModelGetDeviceStatusConfigBadRequest) IsSuccess

IsSuccess returns true when this hardware model get device status config bad request response has a 2xx status code

func (*HardwareModelGetDeviceStatusConfigBadRequest) 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

Code gets the status code for the hardware model get device status config default response

func (*HardwareModelGetDeviceStatusConfigDefault) Error

func (*HardwareModelGetDeviceStatusConfigDefault) GetPayload

func (*HardwareModelGetDeviceStatusConfigDefault) IsClientError

IsClientError returns true when this hardware model get device status config default response has a 4xx status code

func (*HardwareModelGetDeviceStatusConfigDefault) IsCode

IsCode returns true when this hardware model get device status config default response a status code equal to that given

func (*HardwareModelGetDeviceStatusConfigDefault) IsRedirect

IsRedirect returns true when this hardware model get device status config default response has a 3xx status code

func (*HardwareModelGetDeviceStatusConfigDefault) IsServerError

IsServerError returns true when this hardware model get device status config default response has a 5xx status code

func (*HardwareModelGetDeviceStatusConfigDefault) IsSuccess

IsSuccess returns true when this hardware model get device status config default response has a 2xx status code

func (*HardwareModelGetDeviceStatusConfigDefault) 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 (*HardwareModelGetDeviceStatusConfigForbidden) GetPayload

func (*HardwareModelGetDeviceStatusConfigForbidden) IsClientError

IsClientError returns true when this hardware model get device status config forbidden response has a 4xx status code

func (*HardwareModelGetDeviceStatusConfigForbidden) IsCode

IsCode returns true when this hardware model get device status config forbidden response a status code equal to that given

func (*HardwareModelGetDeviceStatusConfigForbidden) IsRedirect

IsRedirect returns true when this hardware model get device status config forbidden response has a 3xx status code

func (*HardwareModelGetDeviceStatusConfigForbidden) IsServerError

IsServerError returns true when this hardware model get device status config forbidden response has a 5xx status code

func (*HardwareModelGetDeviceStatusConfigForbidden) IsSuccess

IsSuccess returns true when this hardware model get device status config forbidden response has a 2xx status code

func (*HardwareModelGetDeviceStatusConfigForbidden) 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 (*HardwareModelGetDeviceStatusConfigGatewayTimeout) GetPayload

func (*HardwareModelGetDeviceStatusConfigGatewayTimeout) IsClientError

IsClientError returns true when this hardware model get device status config gateway timeout response has a 4xx status code

func (*HardwareModelGetDeviceStatusConfigGatewayTimeout) IsCode

IsCode returns true when this hardware model get device status config gateway timeout response a status code equal to that given

func (*HardwareModelGetDeviceStatusConfigGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model get device status config gateway timeout response has a 3xx status code

func (*HardwareModelGetDeviceStatusConfigGatewayTimeout) IsServerError

IsServerError returns true when this hardware model get device status config gateway timeout response has a 5xx status code

func (*HardwareModelGetDeviceStatusConfigGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model get device status config gateway timeout response has a 2xx status code

func (*HardwareModelGetDeviceStatusConfigGatewayTimeout) 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 (*HardwareModelGetDeviceStatusConfigInternalServerError) GetPayload

func (*HardwareModelGetDeviceStatusConfigInternalServerError) IsClientError

IsClientError returns true when this hardware model get device status config internal server error response has a 4xx status code

func (*HardwareModelGetDeviceStatusConfigInternalServerError) IsCode

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

IsRedirect returns true when this hardware model get device status config internal server error response has a 3xx status code

func (*HardwareModelGetDeviceStatusConfigInternalServerError) IsServerError

IsServerError returns true when this hardware model get device status config internal server error response has a 5xx status code

func (*HardwareModelGetDeviceStatusConfigInternalServerError) IsSuccess

IsSuccess returns true when this hardware model get device status config internal server error response has a 2xx status code

func (*HardwareModelGetDeviceStatusConfigInternalServerError) 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 (*HardwareModelGetDeviceStatusConfigOK) GetPayload

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

IsCode returns true when this hardware model get device status config o k response a status code equal to that given

func (*HardwareModelGetDeviceStatusConfigOK) IsRedirect

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

IsSuccess returns true when this hardware model get device status config o k response has a 2xx status code

func (*HardwareModelGetDeviceStatusConfigOK) 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

SetContext adds the context to the hardware model get device status config params

func (*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

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

WithContext adds the context to the hardware model get device status config params

func (*HardwareModelGetDeviceStatusConfigParams) WithDefaults

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

WithFields adds the fields to the hardware model get device status config params

func (*HardwareModelGetDeviceStatusConfigParams) WithFilterDeviceName

WithFilterDeviceName adds the filterDeviceName to the hardware model get device status config params

func (*HardwareModelGetDeviceStatusConfigParams) WithFilterLoad

WithFilterLoad adds the filterLoad to the hardware model get device status config params

func (*HardwareModelGetDeviceStatusConfigParams) WithFilterNamePattern

WithFilterNamePattern adds the filterNamePattern to the hardware model get device status config params

func (*HardwareModelGetDeviceStatusConfigParams) WithFilterProjectName

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

WithFilterRunState adds the filterRunState to the hardware model get device status config params

func (*HardwareModelGetDeviceStatusConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hardware model get device status config params

func (*HardwareModelGetDeviceStatusConfigParams) WithNextOrderBy

WithNextOrderBy adds the nextOrderBy to the hardware model get device status config params

func (*HardwareModelGetDeviceStatusConfigParams) WithNextPageNum

WithNextPageNum adds the nextPageNum to the hardware model get device status config params

func (*HardwareModelGetDeviceStatusConfigParams) WithNextPageSize

WithNextPageSize adds the nextPageSize to the hardware model get device status config params

func (*HardwareModelGetDeviceStatusConfigParams) WithNextPageToken

WithNextPageToken adds the nextPageToken to the hardware model get device status config params

func (*HardwareModelGetDeviceStatusConfigParams) WithNextTotalPages

WithNextTotalPages adds the nextTotalPages to the hardware model get device status config params

func (*HardwareModelGetDeviceStatusConfigParams) WithSummary

WithSummary adds the summary to the hardware model get device status config params

func (*HardwareModelGetDeviceStatusConfigParams) WithTimeout

WithTimeout adds the timeout to the hardware model get device status config params

func (*HardwareModelGetDeviceStatusConfigParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model get device status config params

func (*HardwareModelGetDeviceStatusConfigParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelGetDeviceStatusConfigUnauthorized) GetPayload

func (*HardwareModelGetDeviceStatusConfigUnauthorized) IsClientError

IsClientError returns true when this hardware model get device status config unauthorized response has a 4xx status code

func (*HardwareModelGetDeviceStatusConfigUnauthorized) IsCode

IsCode returns true when this hardware model get device status config unauthorized response a status code equal to that given

func (*HardwareModelGetDeviceStatusConfigUnauthorized) IsRedirect

IsRedirect returns true when this hardware model get device status config unauthorized response has a 3xx status code

func (*HardwareModelGetDeviceStatusConfigUnauthorized) IsServerError

IsServerError returns true when this hardware model get device status config unauthorized response has a 5xx status code

func (*HardwareModelGetDeviceStatusConfigUnauthorized) IsSuccess

IsSuccess returns true when this hardware model get device status config unauthorized response has a 2xx status code

func (*HardwareModelGetDeviceStatusConfigUnauthorized) 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 (*HardwareModelGetDeviceStatusLocationBadRequest) GetPayload

func (*HardwareModelGetDeviceStatusLocationBadRequest) IsClientError

IsClientError returns true when this hardware model get device status location bad request response has a 4xx status code

func (*HardwareModelGetDeviceStatusLocationBadRequest) IsCode

IsCode returns true when this hardware model get device status location bad request response a status code equal to that given

func (*HardwareModelGetDeviceStatusLocationBadRequest) IsRedirect

IsRedirect returns true when this hardware model get device status location bad request response has a 3xx status code

func (*HardwareModelGetDeviceStatusLocationBadRequest) IsServerError

IsServerError returns true when this hardware model get device status location bad request response has a 5xx status code

func (*HardwareModelGetDeviceStatusLocationBadRequest) IsSuccess

IsSuccess returns true when this hardware model get device status location bad request response has a 2xx status code

func (*HardwareModelGetDeviceStatusLocationBadRequest) 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

Code gets the status code for the hardware model get device status location default response

func (*HardwareModelGetDeviceStatusLocationDefault) Error

func (*HardwareModelGetDeviceStatusLocationDefault) GetPayload

func (*HardwareModelGetDeviceStatusLocationDefault) IsClientError

IsClientError returns true when this hardware model get device status location default response has a 4xx status code

func (*HardwareModelGetDeviceStatusLocationDefault) IsCode

IsCode returns true when this hardware model get device status location default response a status code equal to that given

func (*HardwareModelGetDeviceStatusLocationDefault) IsRedirect

IsRedirect returns true when this hardware model get device status location default response has a 3xx status code

func (*HardwareModelGetDeviceStatusLocationDefault) IsServerError

IsServerError returns true when this hardware model get device status location default response has a 5xx status code

func (*HardwareModelGetDeviceStatusLocationDefault) IsSuccess

IsSuccess returns true when this hardware model get device status location default response has a 2xx status code

func (*HardwareModelGetDeviceStatusLocationDefault) 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 (*HardwareModelGetDeviceStatusLocationForbidden) GetPayload

func (*HardwareModelGetDeviceStatusLocationForbidden) IsClientError

IsClientError returns true when this hardware model get device status location forbidden response has a 4xx status code

func (*HardwareModelGetDeviceStatusLocationForbidden) IsCode

IsCode returns true when this hardware model get device status location forbidden response a status code equal to that given

func (*HardwareModelGetDeviceStatusLocationForbidden) IsRedirect

IsRedirect returns true when this hardware model get device status location forbidden response has a 3xx status code

func (*HardwareModelGetDeviceStatusLocationForbidden) IsServerError

IsServerError returns true when this hardware model get device status location forbidden response has a 5xx status code

func (*HardwareModelGetDeviceStatusLocationForbidden) IsSuccess

IsSuccess returns true when this hardware model get device status location forbidden response has a 2xx status code

func (*HardwareModelGetDeviceStatusLocationForbidden) 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 (*HardwareModelGetDeviceStatusLocationGatewayTimeout) GetPayload

func (*HardwareModelGetDeviceStatusLocationGatewayTimeout) IsClientError

IsClientError returns true when this hardware model get device status location gateway timeout response has a 4xx status code

func (*HardwareModelGetDeviceStatusLocationGatewayTimeout) IsCode

IsCode returns true when this hardware model get device status location gateway timeout response a status code equal to that given

func (*HardwareModelGetDeviceStatusLocationGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model get device status location gateway timeout response has a 3xx status code

func (*HardwareModelGetDeviceStatusLocationGatewayTimeout) IsServerError

IsServerError returns true when this hardware model get device status location gateway timeout response has a 5xx status code

func (*HardwareModelGetDeviceStatusLocationGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model get device status location gateway timeout response has a 2xx status code

func (*HardwareModelGetDeviceStatusLocationGatewayTimeout) 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 (*HardwareModelGetDeviceStatusLocationInternalServerError) GetPayload

func (*HardwareModelGetDeviceStatusLocationInternalServerError) IsClientError

IsClientError returns true when this hardware model get device status location internal server error response has a 4xx status code

func (*HardwareModelGetDeviceStatusLocationInternalServerError) IsCode

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

IsRedirect returns true when this hardware model get device status location internal server error response has a 3xx status code

func (*HardwareModelGetDeviceStatusLocationInternalServerError) IsServerError

IsServerError returns true when this hardware model get device status location internal server error response has a 5xx status code

func (*HardwareModelGetDeviceStatusLocationInternalServerError) IsSuccess

IsSuccess returns true when this hardware model get device status location internal server error response has a 2xx status code

func (*HardwareModelGetDeviceStatusLocationInternalServerError) 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 (*HardwareModelGetDeviceStatusLocationOK) GetPayload

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

IsCode returns true when this hardware model get device status location o k response a status code equal to that given

func (*HardwareModelGetDeviceStatusLocationOK) IsRedirect

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

IsSuccess returns true when this hardware model get device status location o k response has a 2xx status code

func (*HardwareModelGetDeviceStatusLocationOK) 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

SetContext adds the context to the hardware model get device status location params

func (*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

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

WithContext adds the context to the hardware model get device status location params

func (*HardwareModelGetDeviceStatusLocationParams) WithDefaults

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

WithFields adds the fields to the hardware model get device status location params

func (*HardwareModelGetDeviceStatusLocationParams) WithFilterDeviceName

WithFilterDeviceName adds the filterDeviceName to the hardware model get device status location params

func (*HardwareModelGetDeviceStatusLocationParams) WithFilterLoad

WithFilterLoad adds the filterLoad to the hardware model get device status location params

func (*HardwareModelGetDeviceStatusLocationParams) WithFilterNamePattern

WithFilterNamePattern adds the filterNamePattern to the hardware model get device status location params

func (*HardwareModelGetDeviceStatusLocationParams) WithFilterProjectName

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

WithFilterRunState adds the filterRunState to the hardware model get device status location params

func (*HardwareModelGetDeviceStatusLocationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hardware model get device status location params

func (*HardwareModelGetDeviceStatusLocationParams) WithNextOrderBy

WithNextOrderBy adds the nextOrderBy to the hardware model get device status location params

func (*HardwareModelGetDeviceStatusLocationParams) WithNextPageNum

WithNextPageNum adds the nextPageNum to the hardware model get device status location params

func (*HardwareModelGetDeviceStatusLocationParams) WithNextPageSize

WithNextPageSize adds the nextPageSize to the hardware model get device status location params

func (*HardwareModelGetDeviceStatusLocationParams) WithNextPageToken

WithNextPageToken adds the nextPageToken to the hardware model get device status location params

func (*HardwareModelGetDeviceStatusLocationParams) WithNextTotalPages

WithNextTotalPages adds the nextTotalPages to the hardware model get device status location params

func (*HardwareModelGetDeviceStatusLocationParams) WithSummary

WithSummary adds the summary to the hardware model get device status location params

func (*HardwareModelGetDeviceStatusLocationParams) WithTimeout

WithTimeout adds the timeout to the hardware model get device status location params

func (*HardwareModelGetDeviceStatusLocationParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model get device status location params

func (*HardwareModelGetDeviceStatusLocationParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelGetDeviceStatusLocationUnauthorized) GetPayload

func (*HardwareModelGetDeviceStatusLocationUnauthorized) IsClientError

IsClientError returns true when this hardware model get device status location unauthorized response has a 4xx status code

func (*HardwareModelGetDeviceStatusLocationUnauthorized) IsCode

IsCode returns true when this hardware model get device status location unauthorized response a status code equal to that given

func (*HardwareModelGetDeviceStatusLocationUnauthorized) IsRedirect

IsRedirect returns true when this hardware model get device status location unauthorized response has a 3xx status code

func (*HardwareModelGetDeviceStatusLocationUnauthorized) IsServerError

IsServerError returns true when this hardware model get device status location unauthorized response has a 5xx status code

func (*HardwareModelGetDeviceStatusLocationUnauthorized) IsSuccess

IsSuccess returns true when this hardware model get device status location unauthorized response has a 2xx status code

func (*HardwareModelGetDeviceStatusLocationUnauthorized) 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 (*HardwareModelGetDeviceTagsBadRequest) GetPayload

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

IsCode returns true when this hardware model get device tags bad request response a status code equal to that given

func (*HardwareModelGetDeviceTagsBadRequest) IsRedirect

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

IsSuccess returns true when this hardware model get device tags bad request response has a 2xx status code

func (*HardwareModelGetDeviceTagsBadRequest) 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

Code gets the status code for the hardware model get device tags default response

func (*HardwareModelGetDeviceTagsDefault) Error

func (*HardwareModelGetDeviceTagsDefault) GetPayload

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

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 (*HardwareModelGetDeviceTagsForbidden) GetPayload

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

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

IsSuccess returns true when this hardware model get device tags forbidden response has a 2xx status code

func (*HardwareModelGetDeviceTagsForbidden) 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 (*HardwareModelGetDeviceTagsGatewayTimeout) GetPayload

func (*HardwareModelGetDeviceTagsGatewayTimeout) IsClientError

IsClientError returns true when this hardware model get device tags gateway timeout response has a 4xx status code

func (*HardwareModelGetDeviceTagsGatewayTimeout) IsCode

IsCode returns true when this hardware model get device tags gateway timeout response a status code equal to that given

func (*HardwareModelGetDeviceTagsGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model get device tags gateway timeout response has a 3xx status code

func (*HardwareModelGetDeviceTagsGatewayTimeout) IsServerError

IsServerError returns true when this hardware model get device tags gateway timeout response has a 5xx status code

func (*HardwareModelGetDeviceTagsGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model get device tags gateway timeout response has a 2xx status code

func (*HardwareModelGetDeviceTagsGatewayTimeout) 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 (*HardwareModelGetDeviceTagsInternalServerError) GetPayload

func (*HardwareModelGetDeviceTagsInternalServerError) IsClientError

IsClientError returns true when this hardware model get device tags internal server error response has a 4xx status code

func (*HardwareModelGetDeviceTagsInternalServerError) IsCode

IsCode returns true when this hardware model get device tags internal server error response a status code equal to that given

func (*HardwareModelGetDeviceTagsInternalServerError) IsRedirect

IsRedirect returns true when this hardware model get device tags internal server error response has a 3xx status code

func (*HardwareModelGetDeviceTagsInternalServerError) IsServerError

IsServerError returns true when this hardware model get device tags internal server error response has a 5xx status code

func (*HardwareModelGetDeviceTagsInternalServerError) IsSuccess

IsSuccess returns true when this hardware model get device tags internal server error response has a 2xx status code

func (*HardwareModelGetDeviceTagsInternalServerError) 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 (*HardwareModelGetDeviceTagsOK) GetPayload

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

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

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

WithContext adds the context to the hardware model get device tags params

func (*HardwareModelGetDeviceTagsParams) WithDefaults

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

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

WithHTTPClient adds the HTTPClient to the hardware model get device tags params

func (*HardwareModelGetDeviceTagsParams) WithNextOrderBy

WithNextOrderBy adds the nextOrderBy to the hardware model get device tags params

func (*HardwareModelGetDeviceTagsParams) WithNextPageNum

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

WithTimeout adds the timeout to the hardware model get device tags params

func (*HardwareModelGetDeviceTagsParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model get device tags params

func (*HardwareModelGetDeviceTagsParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelGetDeviceTagsUnauthorized) GetPayload

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

IsCode returns true when this hardware model get device tags unauthorized response a status code equal to that given

func (*HardwareModelGetDeviceTagsUnauthorized) IsRedirect

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

IsSuccess returns true when this hardware model get device tags unauthorized response has a 2xx status code

func (*HardwareModelGetDeviceTagsUnauthorized) 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

Code gets the status code for the hardware model get global hardware brand by name default response

func (*HardwareModelGetGlobalHardwareBrandByNameDefault) Error

func (*HardwareModelGetGlobalHardwareBrandByNameDefault) GetPayload

func (*HardwareModelGetGlobalHardwareBrandByNameDefault) IsClientError

IsClientError returns true when this hardware model get global hardware brand by name default response has a 4xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameDefault) IsCode

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

IsRedirect returns true when this hardware model get global hardware brand by name default response has a 3xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameDefault) IsServerError

IsServerError returns true when this hardware model get global hardware brand by name default response has a 5xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameDefault) IsSuccess

IsSuccess returns true when this hardware model get global hardware brand by name default response has a 2xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameDefault) 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 (*HardwareModelGetGlobalHardwareBrandByNameForbidden) GetPayload

func (*HardwareModelGetGlobalHardwareBrandByNameForbidden) IsClientError

IsClientError returns true when this hardware model get global hardware brand by name forbidden response has a 4xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameForbidden) IsCode

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

IsRedirect returns true when this hardware model get global hardware brand by name forbidden response has a 3xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameForbidden) IsServerError

IsServerError returns true when this hardware model get global hardware brand by name forbidden response has a 5xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameForbidden) IsSuccess

IsSuccess returns true when this hardware model get global hardware brand by name forbidden response has a 2xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameForbidden) 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 (*HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) GetPayload

func (*HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsClientError

IsClientError returns true when this hardware model get global hardware brand by name gateway timeout response has a 4xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsCode

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

IsRedirect returns true when this hardware model get global hardware brand by name gateway timeout response has a 3xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsServerError

IsServerError returns true when this hardware model get global hardware brand by name gateway timeout response has a 5xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model get global hardware brand by name gateway timeout response has a 2xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameGatewayTimeout) 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 (*HardwareModelGetGlobalHardwareBrandByNameInternalServerError) GetPayload

func (*HardwareModelGetGlobalHardwareBrandByNameInternalServerError) IsClientError

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

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

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

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

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

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 (*HardwareModelGetGlobalHardwareBrandByNameNotFound) GetPayload

func (*HardwareModelGetGlobalHardwareBrandByNameNotFound) IsClientError

IsClientError returns true when this hardware model get global hardware brand by name not found response has a 4xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameNotFound) IsCode

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

IsRedirect returns true when this hardware model get global hardware brand by name not found response has a 3xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameNotFound) IsServerError

IsServerError returns true when this hardware model get global hardware brand by name not found response has a 5xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameNotFound) IsSuccess

IsSuccess returns true when this hardware model get global hardware brand by name not found response has a 2xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameNotFound) String

type HardwareModelGetGlobalHardwareBrandByNameOK

type HardwareModelGetGlobalHardwareBrandByNameOK struct {
	Payload *models.SysBrand
}

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 (*HardwareModelGetGlobalHardwareBrandByNameOK) GetPayload

func (*HardwareModelGetGlobalHardwareBrandByNameOK) IsClientError

IsClientError returns true when this hardware model get global hardware brand by name o k response has a 4xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameOK) IsCode

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

IsRedirect returns true when this hardware model get global hardware brand by name o k response has a 3xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameOK) IsServerError

IsServerError returns true when this hardware model get global hardware brand by name o k response has a 5xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameOK) IsSuccess

IsSuccess returns true when this hardware model get global hardware brand by name o k response has a 2xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameOK) 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

SetContext adds the context to the hardware model get global hardware brand by name params

func (*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

SetHTTPClient adds the HTTPClient to the hardware model get global hardware brand by name params

func (*HardwareModelGetGlobalHardwareBrandByNameParams) SetName

SetName adds the name to the hardware model get global hardware brand by name params

func (*HardwareModelGetGlobalHardwareBrandByNameParams) SetTimeout

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

WithContext adds the context to the hardware model get global hardware brand by name params

func (*HardwareModelGetGlobalHardwareBrandByNameParams) WithDefaults

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

WithEnterpriseID adds the enterpriseID to the hardware model get global hardware brand by name params

func (*HardwareModelGetGlobalHardwareBrandByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hardware model get global hardware brand by name params

func (*HardwareModelGetGlobalHardwareBrandByNameParams) WithName

WithName adds the name to the hardware model get global hardware brand by name params

func (*HardwareModelGetGlobalHardwareBrandByNameParams) WithTimeout

WithTimeout adds the timeout to the hardware model get global hardware brand by name params

func (*HardwareModelGetGlobalHardwareBrandByNameParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model get global hardware brand by name params

func (*HardwareModelGetGlobalHardwareBrandByNameParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelGetGlobalHardwareBrandByNameUnauthorized) GetPayload

func (*HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsClientError

IsClientError returns true when this hardware model get global hardware brand by name unauthorized response has a 4xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsCode

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

IsRedirect returns true when this hardware model get global hardware brand by name unauthorized response has a 3xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsServerError

IsServerError returns true when this hardware model get global hardware brand by name unauthorized response has a 5xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameUnauthorized) IsSuccess

IsSuccess returns true when this hardware model get global hardware brand by name unauthorized response has a 2xx status code

func (*HardwareModelGetGlobalHardwareBrandByNameUnauthorized) 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

Code gets the status code for the hardware model get global hardware brand default response

func (*HardwareModelGetGlobalHardwareBrandDefault) Error

func (*HardwareModelGetGlobalHardwareBrandDefault) GetPayload

func (*HardwareModelGetGlobalHardwareBrandDefault) IsClientError

IsClientError returns true when this hardware model get global hardware brand default response has a 4xx status code

func (*HardwareModelGetGlobalHardwareBrandDefault) IsCode

IsCode returns true when this hardware model get global hardware brand default response a status code equal to that given

func (*HardwareModelGetGlobalHardwareBrandDefault) IsRedirect

IsRedirect returns true when this hardware model get global hardware brand default response has a 3xx status code

func (*HardwareModelGetGlobalHardwareBrandDefault) IsServerError

IsServerError returns true when this hardware model get global hardware brand default response has a 5xx status code

func (*HardwareModelGetGlobalHardwareBrandDefault) IsSuccess

IsSuccess returns true when this hardware model get global hardware brand default response has a 2xx status code

func (*HardwareModelGetGlobalHardwareBrandDefault) 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 (*HardwareModelGetGlobalHardwareBrandForbidden) GetPayload

func (*HardwareModelGetGlobalHardwareBrandForbidden) IsClientError

IsClientError returns true when this hardware model get global hardware brand forbidden response has a 4xx status code

func (*HardwareModelGetGlobalHardwareBrandForbidden) IsCode

IsCode returns true when this hardware model get global hardware brand forbidden response a status code equal to that given

func (*HardwareModelGetGlobalHardwareBrandForbidden) IsRedirect

IsRedirect returns true when this hardware model get global hardware brand forbidden response has a 3xx status code

func (*HardwareModelGetGlobalHardwareBrandForbidden) IsServerError

IsServerError returns true when this hardware model get global hardware brand forbidden response has a 5xx status code

func (*HardwareModelGetGlobalHardwareBrandForbidden) IsSuccess

IsSuccess returns true when this hardware model get global hardware brand forbidden response has a 2xx status code

func (*HardwareModelGetGlobalHardwareBrandForbidden) 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 (*HardwareModelGetGlobalHardwareBrandGatewayTimeout) GetPayload

func (*HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsClientError

IsClientError returns true when this hardware model get global hardware brand gateway timeout response has a 4xx status code

func (*HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsCode

IsCode returns true when this hardware model get global hardware brand gateway timeout response a status code equal to that given

func (*HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model get global hardware brand gateway timeout response has a 3xx status code

func (*HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsServerError

IsServerError returns true when this hardware model get global hardware brand gateway timeout response has a 5xx status code

func (*HardwareModelGetGlobalHardwareBrandGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model get global hardware brand gateway timeout response has a 2xx status code

func (*HardwareModelGetGlobalHardwareBrandGatewayTimeout) 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 (*HardwareModelGetGlobalHardwareBrandInternalServerError) GetPayload

func (*HardwareModelGetGlobalHardwareBrandInternalServerError) IsClientError

IsClientError returns true when this hardware model get global hardware brand internal server error response has a 4xx status code

func (*HardwareModelGetGlobalHardwareBrandInternalServerError) IsCode

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

IsRedirect returns true when this hardware model get global hardware brand internal server error response has a 3xx status code

func (*HardwareModelGetGlobalHardwareBrandInternalServerError) IsServerError

IsServerError returns true when this hardware model get global hardware brand internal server error response has a 5xx status code

func (*HardwareModelGetGlobalHardwareBrandInternalServerError) IsSuccess

IsSuccess returns true when this hardware model get global hardware brand internal server error response has a 2xx status code

func (*HardwareModelGetGlobalHardwareBrandInternalServerError) 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 (*HardwareModelGetGlobalHardwareBrandNotFound) GetPayload

func (*HardwareModelGetGlobalHardwareBrandNotFound) IsClientError

IsClientError returns true when this hardware model get global hardware brand not found response has a 4xx status code

func (*HardwareModelGetGlobalHardwareBrandNotFound) IsCode

IsCode returns true when this hardware model get global hardware brand not found response a status code equal to that given

func (*HardwareModelGetGlobalHardwareBrandNotFound) IsRedirect

IsRedirect returns true when this hardware model get global hardware brand not found response has a 3xx status code

func (*HardwareModelGetGlobalHardwareBrandNotFound) IsServerError

IsServerError returns true when this hardware model get global hardware brand not found response has a 5xx status code

func (*HardwareModelGetGlobalHardwareBrandNotFound) IsSuccess

IsSuccess returns true when this hardware model get global hardware brand not found response has a 2xx status code

func (*HardwareModelGetGlobalHardwareBrandNotFound) String

type HardwareModelGetGlobalHardwareBrandOK

type HardwareModelGetGlobalHardwareBrandOK struct {
	Payload *models.SysBrand
}

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 (*HardwareModelGetGlobalHardwareBrandOK) GetPayload

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

IsCode returns true when this hardware model get global hardware brand o k response a status code equal to that given

func (*HardwareModelGetGlobalHardwareBrandOK) IsRedirect

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

IsSuccess returns true when this hardware model get global hardware brand o k response has a 2xx status code

func (*HardwareModelGetGlobalHardwareBrandOK) 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

SetContext adds the context to the hardware model get global hardware brand params

func (*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

SetID adds the id to the hardware model get global hardware brand params

func (*HardwareModelGetGlobalHardwareBrandParams) SetTimeout

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

WithContext adds the context to the hardware model get global hardware brand params

func (*HardwareModelGetGlobalHardwareBrandParams) WithDefaults

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

WithEnterpriseID adds the enterpriseID to the hardware model get global hardware brand params

func (*HardwareModelGetGlobalHardwareBrandParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hardware model get global hardware brand params

func (*HardwareModelGetGlobalHardwareBrandParams) WithID

WithID adds the id to the hardware model get global hardware brand params

func (*HardwareModelGetGlobalHardwareBrandParams) WithTimeout

WithTimeout adds the timeout to the hardware model get global hardware brand params

func (*HardwareModelGetGlobalHardwareBrandParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model get global hardware brand params

func (*HardwareModelGetGlobalHardwareBrandParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelGetGlobalHardwareBrandUnauthorized) GetPayload

func (*HardwareModelGetGlobalHardwareBrandUnauthorized) IsClientError

IsClientError returns true when this hardware model get global hardware brand unauthorized response has a 4xx status code

func (*HardwareModelGetGlobalHardwareBrandUnauthorized) IsCode

IsCode returns true when this hardware model get global hardware brand unauthorized response a status code equal to that given

func (*HardwareModelGetGlobalHardwareBrandUnauthorized) IsRedirect

IsRedirect returns true when this hardware model get global hardware brand unauthorized response has a 3xx status code

func (*HardwareModelGetGlobalHardwareBrandUnauthorized) IsServerError

IsServerError returns true when this hardware model get global hardware brand unauthorized response has a 5xx status code

func (*HardwareModelGetGlobalHardwareBrandUnauthorized) IsSuccess

IsSuccess returns true when this hardware model get global hardware brand unauthorized response has a 2xx status code

func (*HardwareModelGetGlobalHardwareBrandUnauthorized) 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

Code gets the status code for the hardware model get global hardware model by name default response

func (*HardwareModelGetGlobalHardwareModelByNameDefault) Error

func (*HardwareModelGetGlobalHardwareModelByNameDefault) GetPayload

func (*HardwareModelGetGlobalHardwareModelByNameDefault) IsClientError

IsClientError returns true when this hardware model get global hardware model by name default response has a 4xx status code

func (*HardwareModelGetGlobalHardwareModelByNameDefault) IsCode

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

IsRedirect returns true when this hardware model get global hardware model by name default response has a 3xx status code

func (*HardwareModelGetGlobalHardwareModelByNameDefault) IsServerError

IsServerError returns true when this hardware model get global hardware model by name default response has a 5xx status code

func (*HardwareModelGetGlobalHardwareModelByNameDefault) IsSuccess

IsSuccess returns true when this hardware model get global hardware model by name default response has a 2xx status code

func (*HardwareModelGetGlobalHardwareModelByNameDefault) 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 (*HardwareModelGetGlobalHardwareModelByNameForbidden) GetPayload

func (*HardwareModelGetGlobalHardwareModelByNameForbidden) IsClientError

IsClientError returns true when this hardware model get global hardware model by name forbidden response has a 4xx status code

func (*HardwareModelGetGlobalHardwareModelByNameForbidden) IsCode

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

IsRedirect returns true when this hardware model get global hardware model by name forbidden response has a 3xx status code

func (*HardwareModelGetGlobalHardwareModelByNameForbidden) IsServerError

IsServerError returns true when this hardware model get global hardware model by name forbidden response has a 5xx status code

func (*HardwareModelGetGlobalHardwareModelByNameForbidden) IsSuccess

IsSuccess returns true when this hardware model get global hardware model by name forbidden response has a 2xx status code

func (*HardwareModelGetGlobalHardwareModelByNameForbidden) 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 (*HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) GetPayload

func (*HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsClientError

IsClientError returns true when this hardware model get global hardware model by name gateway timeout response has a 4xx status code

func (*HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsCode

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

IsRedirect returns true when this hardware model get global hardware model by name gateway timeout response has a 3xx status code

func (*HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsServerError

IsServerError returns true when this hardware model get global hardware model by name gateway timeout response has a 5xx status code

func (*HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model get global hardware model by name gateway timeout response has a 2xx status code

func (*HardwareModelGetGlobalHardwareModelByNameGatewayTimeout) 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 (*HardwareModelGetGlobalHardwareModelByNameInternalServerError) GetPayload

func (*HardwareModelGetGlobalHardwareModelByNameInternalServerError) IsClientError

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

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

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

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

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

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 (*HardwareModelGetGlobalHardwareModelByNameNotFound) GetPayload

func (*HardwareModelGetGlobalHardwareModelByNameNotFound) IsClientError

IsClientError returns true when this hardware model get global hardware model by name not found response has a 4xx status code

func (*HardwareModelGetGlobalHardwareModelByNameNotFound) IsCode

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

IsRedirect returns true when this hardware model get global hardware model by name not found response has a 3xx status code

func (*HardwareModelGetGlobalHardwareModelByNameNotFound) IsServerError

IsServerError returns true when this hardware model get global hardware model by name not found response has a 5xx status code

func (*HardwareModelGetGlobalHardwareModelByNameNotFound) IsSuccess

IsSuccess returns true when this hardware model get global hardware model by name not found response has a 2xx status code

func (*HardwareModelGetGlobalHardwareModelByNameNotFound) String

type HardwareModelGetGlobalHardwareModelByNameOK

type HardwareModelGetGlobalHardwareModelByNameOK struct {
	Payload *models.SysModel
}

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 (*HardwareModelGetGlobalHardwareModelByNameOK) GetPayload

func (*HardwareModelGetGlobalHardwareModelByNameOK) IsClientError

IsClientError returns true when this hardware model get global hardware model by name o k response has a 4xx status code

func (*HardwareModelGetGlobalHardwareModelByNameOK) IsCode

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

IsRedirect returns true when this hardware model get global hardware model by name o k response has a 3xx status code

func (*HardwareModelGetGlobalHardwareModelByNameOK) IsServerError

IsServerError returns true when this hardware model get global hardware model by name o k response has a 5xx status code

func (*HardwareModelGetGlobalHardwareModelByNameOK) IsSuccess

IsSuccess returns true when this hardware model get global hardware model by name o k response has a 2xx status code

func (*HardwareModelGetGlobalHardwareModelByNameOK) 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

SetContext adds the context to the hardware model get global hardware model by name params

func (*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

SetHTTPClient adds the HTTPClient to the hardware model get global hardware model by name params

func (*HardwareModelGetGlobalHardwareModelByNameParams) SetName

SetName adds the name to the hardware model get global hardware model by name params

func (*HardwareModelGetGlobalHardwareModelByNameParams) SetTimeout

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

WithContext adds the context to the hardware model get global hardware model by name params

func (*HardwareModelGetGlobalHardwareModelByNameParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the hardware model get global hardware model by name params

func (*HardwareModelGetGlobalHardwareModelByNameParams) WithName

WithName adds the name to the hardware model get global hardware model by name params

func (*HardwareModelGetGlobalHardwareModelByNameParams) WithTimeout

WithTimeout adds the timeout to the hardware model get global hardware model by name params

func (*HardwareModelGetGlobalHardwareModelByNameParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model get global hardware model by name params

func (*HardwareModelGetGlobalHardwareModelByNameParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelGetGlobalHardwareModelByNameUnauthorized) GetPayload

func (*HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsClientError

IsClientError returns true when this hardware model get global hardware model by name unauthorized response has a 4xx status code

func (*HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsCode

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

IsRedirect returns true when this hardware model get global hardware model by name unauthorized response has a 3xx status code

func (*HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsServerError

IsServerError returns true when this hardware model get global hardware model by name unauthorized response has a 5xx status code

func (*HardwareModelGetGlobalHardwareModelByNameUnauthorized) IsSuccess

IsSuccess returns true when this hardware model get global hardware model by name unauthorized response has a 2xx status code

func (*HardwareModelGetGlobalHardwareModelByNameUnauthorized) 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

Code gets the status code for the hardware model get global hardware model default response

func (*HardwareModelGetGlobalHardwareModelDefault) Error

func (*HardwareModelGetGlobalHardwareModelDefault) GetPayload

func (*HardwareModelGetGlobalHardwareModelDefault) IsClientError

IsClientError returns true when this hardware model get global hardware model default response has a 4xx status code

func (*HardwareModelGetGlobalHardwareModelDefault) IsCode

IsCode returns true when this hardware model get global hardware model default response a status code equal to that given

func (*HardwareModelGetGlobalHardwareModelDefault) IsRedirect

IsRedirect returns true when this hardware model get global hardware model default response has a 3xx status code

func (*HardwareModelGetGlobalHardwareModelDefault) IsServerError

IsServerError returns true when this hardware model get global hardware model default response has a 5xx status code

func (*HardwareModelGetGlobalHardwareModelDefault) IsSuccess

IsSuccess returns true when this hardware model get global hardware model default response has a 2xx status code

func (*HardwareModelGetGlobalHardwareModelDefault) 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 (*HardwareModelGetGlobalHardwareModelForbidden) GetPayload

func (*HardwareModelGetGlobalHardwareModelForbidden) IsClientError

IsClientError returns true when this hardware model get global hardware model forbidden response has a 4xx status code

func (*HardwareModelGetGlobalHardwareModelForbidden) IsCode

IsCode returns true when this hardware model get global hardware model forbidden response a status code equal to that given

func (*HardwareModelGetGlobalHardwareModelForbidden) IsRedirect

IsRedirect returns true when this hardware model get global hardware model forbidden response has a 3xx status code

func (*HardwareModelGetGlobalHardwareModelForbidden) IsServerError

IsServerError returns true when this hardware model get global hardware model forbidden response has a 5xx status code

func (*HardwareModelGetGlobalHardwareModelForbidden) IsSuccess

IsSuccess returns true when this hardware model get global hardware model forbidden response has a 2xx status code

func (*HardwareModelGetGlobalHardwareModelForbidden) 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 (*HardwareModelGetGlobalHardwareModelGatewayTimeout) GetPayload

func (*HardwareModelGetGlobalHardwareModelGatewayTimeout) IsClientError

IsClientError returns true when this hardware model get global hardware model gateway timeout response has a 4xx status code

func (*HardwareModelGetGlobalHardwareModelGatewayTimeout) IsCode

IsCode returns true when this hardware model get global hardware model gateway timeout response a status code equal to that given

func (*HardwareModelGetGlobalHardwareModelGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model get global hardware model gateway timeout response has a 3xx status code

func (*HardwareModelGetGlobalHardwareModelGatewayTimeout) IsServerError

IsServerError returns true when this hardware model get global hardware model gateway timeout response has a 5xx status code

func (*HardwareModelGetGlobalHardwareModelGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model get global hardware model gateway timeout response has a 2xx status code

func (*HardwareModelGetGlobalHardwareModelGatewayTimeout) 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 (*HardwareModelGetGlobalHardwareModelInternalServerError) GetPayload

func (*HardwareModelGetGlobalHardwareModelInternalServerError) IsClientError

IsClientError returns true when this hardware model get global hardware model internal server error response has a 4xx status code

func (*HardwareModelGetGlobalHardwareModelInternalServerError) IsCode

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

IsRedirect returns true when this hardware model get global hardware model internal server error response has a 3xx status code

func (*HardwareModelGetGlobalHardwareModelInternalServerError) IsServerError

IsServerError returns true when this hardware model get global hardware model internal server error response has a 5xx status code

func (*HardwareModelGetGlobalHardwareModelInternalServerError) IsSuccess

IsSuccess returns true when this hardware model get global hardware model internal server error response has a 2xx status code

func (*HardwareModelGetGlobalHardwareModelInternalServerError) 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 (*HardwareModelGetGlobalHardwareModelNotFound) GetPayload

func (*HardwareModelGetGlobalHardwareModelNotFound) IsClientError

IsClientError returns true when this hardware model get global hardware model not found response has a 4xx status code

func (*HardwareModelGetGlobalHardwareModelNotFound) IsCode

IsCode returns true when this hardware model get global hardware model not found response a status code equal to that given

func (*HardwareModelGetGlobalHardwareModelNotFound) IsRedirect

IsRedirect returns true when this hardware model get global hardware model not found response has a 3xx status code

func (*HardwareModelGetGlobalHardwareModelNotFound) IsServerError

IsServerError returns true when this hardware model get global hardware model not found response has a 5xx status code

func (*HardwareModelGetGlobalHardwareModelNotFound) IsSuccess

IsSuccess returns true when this hardware model get global hardware model not found response has a 2xx status code

func (*HardwareModelGetGlobalHardwareModelNotFound) String

type HardwareModelGetGlobalHardwareModelOK

type HardwareModelGetGlobalHardwareModelOK struct {
	Payload *models.SysModel
}

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 (*HardwareModelGetGlobalHardwareModelOK) GetPayload

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

IsCode returns true when this hardware model get global hardware model o k response a status code equal to that given

func (*HardwareModelGetGlobalHardwareModelOK) IsRedirect

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

IsSuccess returns true when this hardware model get global hardware model o k response has a 2xx status code

func (*HardwareModelGetGlobalHardwareModelOK) 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

SetContext adds the context to the hardware model get global hardware model params

func (*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

SetID adds the id to the hardware model get global hardware model params

func (*HardwareModelGetGlobalHardwareModelParams) SetTimeout

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

WithContext adds the context to the hardware model get global hardware model params

func (*HardwareModelGetGlobalHardwareModelParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the hardware model get global hardware model params

func (*HardwareModelGetGlobalHardwareModelParams) WithID

WithID adds the id to the hardware model get global hardware model params

func (*HardwareModelGetGlobalHardwareModelParams) WithTimeout

WithTimeout adds the timeout to the hardware model get global hardware model params

func (*HardwareModelGetGlobalHardwareModelParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model get global hardware model params

func (*HardwareModelGetGlobalHardwareModelParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelGetGlobalHardwareModelUnauthorized) GetPayload

func (*HardwareModelGetGlobalHardwareModelUnauthorized) IsClientError

IsClientError returns true when this hardware model get global hardware model unauthorized response has a 4xx status code

func (*HardwareModelGetGlobalHardwareModelUnauthorized) IsCode

IsCode returns true when this hardware model get global hardware model unauthorized response a status code equal to that given

func (*HardwareModelGetGlobalHardwareModelUnauthorized) IsRedirect

IsRedirect returns true when this hardware model get global hardware model unauthorized response has a 3xx status code

func (*HardwareModelGetGlobalHardwareModelUnauthorized) IsServerError

IsServerError returns true when this hardware model get global hardware model unauthorized response has a 5xx status code

func (*HardwareModelGetGlobalHardwareModelUnauthorized) IsSuccess

IsSuccess returns true when this hardware model get global hardware model unauthorized response has a 2xx status code

func (*HardwareModelGetGlobalHardwareModelUnauthorized) 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

Code gets the status code for the hardware model get hardware brand by name default response

func (*HardwareModelGetHardwareBrandByNameDefault) Error

func (*HardwareModelGetHardwareBrandByNameDefault) GetPayload

func (*HardwareModelGetHardwareBrandByNameDefault) IsClientError

IsClientError returns true when this hardware model get hardware brand by name default response has a 4xx status code

func (*HardwareModelGetHardwareBrandByNameDefault) IsCode

IsCode returns true when this hardware model get hardware brand by name default response a status code equal to that given

func (*HardwareModelGetHardwareBrandByNameDefault) IsRedirect

IsRedirect returns true when this hardware model get hardware brand by name default response has a 3xx status code

func (*HardwareModelGetHardwareBrandByNameDefault) IsServerError

IsServerError returns true when this hardware model get hardware brand by name default response has a 5xx status code

func (*HardwareModelGetHardwareBrandByNameDefault) IsSuccess

IsSuccess returns true when this hardware model get hardware brand by name default response has a 2xx status code

func (*HardwareModelGetHardwareBrandByNameDefault) 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 (*HardwareModelGetHardwareBrandByNameForbidden) GetPayload

func (*HardwareModelGetHardwareBrandByNameForbidden) IsClientError

IsClientError returns true when this hardware model get hardware brand by name forbidden response has a 4xx status code

func (*HardwareModelGetHardwareBrandByNameForbidden) IsCode

IsCode returns true when this hardware model get hardware brand by name forbidden response a status code equal to that given

func (*HardwareModelGetHardwareBrandByNameForbidden) IsRedirect

IsRedirect returns true when this hardware model get hardware brand by name forbidden response has a 3xx status code

func (*HardwareModelGetHardwareBrandByNameForbidden) IsServerError

IsServerError returns true when this hardware model get hardware brand by name forbidden response has a 5xx status code

func (*HardwareModelGetHardwareBrandByNameForbidden) IsSuccess

IsSuccess returns true when this hardware model get hardware brand by name forbidden response has a 2xx status code

func (*HardwareModelGetHardwareBrandByNameForbidden) 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 (*HardwareModelGetHardwareBrandByNameGatewayTimeout) GetPayload

func (*HardwareModelGetHardwareBrandByNameGatewayTimeout) IsClientError

IsClientError returns true when this hardware model get hardware brand by name gateway timeout response has a 4xx status code

func (*HardwareModelGetHardwareBrandByNameGatewayTimeout) IsCode

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

IsRedirect returns true when this hardware model get hardware brand by name gateway timeout response has a 3xx status code

func (*HardwareModelGetHardwareBrandByNameGatewayTimeout) IsServerError

IsServerError returns true when this hardware model get hardware brand by name gateway timeout response has a 5xx status code

func (*HardwareModelGetHardwareBrandByNameGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model get hardware brand by name gateway timeout response has a 2xx status code

func (*HardwareModelGetHardwareBrandByNameGatewayTimeout) 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 (*HardwareModelGetHardwareBrandByNameInternalServerError) GetPayload

func (*HardwareModelGetHardwareBrandByNameInternalServerError) IsClientError

IsClientError returns true when this hardware model get hardware brand by name internal server error response has a 4xx status code

func (*HardwareModelGetHardwareBrandByNameInternalServerError) IsCode

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

IsRedirect returns true when this hardware model get hardware brand by name internal server error response has a 3xx status code

func (*HardwareModelGetHardwareBrandByNameInternalServerError) IsServerError

IsServerError returns true when this hardware model get hardware brand by name internal server error response has a 5xx status code

func (*HardwareModelGetHardwareBrandByNameInternalServerError) IsSuccess

IsSuccess returns true when this hardware model get hardware brand by name internal server error response has a 2xx status code

func (*HardwareModelGetHardwareBrandByNameInternalServerError) 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 (*HardwareModelGetHardwareBrandByNameNotFound) GetPayload

func (*HardwareModelGetHardwareBrandByNameNotFound) IsClientError

IsClientError returns true when this hardware model get hardware brand by name not found response has a 4xx status code

func (*HardwareModelGetHardwareBrandByNameNotFound) IsCode

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

IsRedirect returns true when this hardware model get hardware brand by name not found response has a 3xx status code

func (*HardwareModelGetHardwareBrandByNameNotFound) IsServerError

IsServerError returns true when this hardware model get hardware brand by name not found response has a 5xx status code

func (*HardwareModelGetHardwareBrandByNameNotFound) IsSuccess

IsSuccess returns true when this hardware model get hardware brand by name not found response has a 2xx status code

func (*HardwareModelGetHardwareBrandByNameNotFound) String

type HardwareModelGetHardwareBrandByNameOK

type HardwareModelGetHardwareBrandByNameOK struct {
	Payload *models.SysBrand
}

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 (*HardwareModelGetHardwareBrandByNameOK) GetPayload

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

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

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

IsSuccess returns true when this hardware model get hardware brand by name o k response has a 2xx status code

func (*HardwareModelGetHardwareBrandByNameOK) 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

SetContext adds the context to the hardware model get hardware brand by name params

func (*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

SetName adds the name to the hardware model get hardware brand by name params

func (*HardwareModelGetHardwareBrandByNameParams) SetTimeout

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

WithContext adds the context to the hardware model get hardware brand by name params

func (*HardwareModelGetHardwareBrandByNameParams) WithDefaults

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

WithEnterpriseID adds the enterpriseID to the hardware model get hardware brand by name params

func (*HardwareModelGetHardwareBrandByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hardware model get hardware brand by name params

func (*HardwareModelGetHardwareBrandByNameParams) WithName

WithName adds the name to the hardware model get hardware brand by name params

func (*HardwareModelGetHardwareBrandByNameParams) WithTimeout

WithTimeout adds the timeout to the hardware model get hardware brand by name params

func (*HardwareModelGetHardwareBrandByNameParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model get hardware brand by name params

func (*HardwareModelGetHardwareBrandByNameParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelGetHardwareBrandByNameUnauthorized) GetPayload

func (*HardwareModelGetHardwareBrandByNameUnauthorized) IsClientError

IsClientError returns true when this hardware model get hardware brand by name unauthorized response has a 4xx status code

func (*HardwareModelGetHardwareBrandByNameUnauthorized) IsCode

IsCode returns true when this hardware model get hardware brand by name unauthorized response a status code equal to that given

func (*HardwareModelGetHardwareBrandByNameUnauthorized) IsRedirect

IsRedirect returns true when this hardware model get hardware brand by name unauthorized response has a 3xx status code

func (*HardwareModelGetHardwareBrandByNameUnauthorized) IsServerError

IsServerError returns true when this hardware model get hardware brand by name unauthorized response has a 5xx status code

func (*HardwareModelGetHardwareBrandByNameUnauthorized) IsSuccess

IsSuccess returns true when this hardware model get hardware brand by name unauthorized response has a 2xx status code

func (*HardwareModelGetHardwareBrandByNameUnauthorized) 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

Code gets the status code for the hardware model get hardware brand default response

func (*HardwareModelGetHardwareBrandDefault) Error

func (*HardwareModelGetHardwareBrandDefault) GetPayload

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

IsCode returns true when this hardware model get hardware brand default response a status code equal to that given

func (*HardwareModelGetHardwareBrandDefault) IsRedirect

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

IsSuccess returns true when this hardware model get hardware brand default response has a 2xx status code

func (*HardwareModelGetHardwareBrandDefault) 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 (*HardwareModelGetHardwareBrandForbidden) GetPayload

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

IsCode returns true when this hardware model get hardware brand forbidden response a status code equal to that given

func (*HardwareModelGetHardwareBrandForbidden) IsRedirect

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

IsSuccess returns true when this hardware model get hardware brand forbidden response has a 2xx status code

func (*HardwareModelGetHardwareBrandForbidden) 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 (*HardwareModelGetHardwareBrandGatewayTimeout) GetPayload

func (*HardwareModelGetHardwareBrandGatewayTimeout) IsClientError

IsClientError returns true when this hardware model get hardware brand gateway timeout response has a 4xx status code

func (*HardwareModelGetHardwareBrandGatewayTimeout) IsCode

IsCode returns true when this hardware model get hardware brand gateway timeout response a status code equal to that given

func (*HardwareModelGetHardwareBrandGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model get hardware brand gateway timeout response has a 3xx status code

func (*HardwareModelGetHardwareBrandGatewayTimeout) IsServerError

IsServerError returns true when this hardware model get hardware brand gateway timeout response has a 5xx status code

func (*HardwareModelGetHardwareBrandGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model get hardware brand gateway timeout response has a 2xx status code

func (*HardwareModelGetHardwareBrandGatewayTimeout) 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 (*HardwareModelGetHardwareBrandInternalServerError) GetPayload

func (*HardwareModelGetHardwareBrandInternalServerError) IsClientError

IsClientError returns true when this hardware model get hardware brand internal server error response has a 4xx status code

func (*HardwareModelGetHardwareBrandInternalServerError) IsCode

IsCode returns true when this hardware model get hardware brand internal server error response a status code equal to that given

func (*HardwareModelGetHardwareBrandInternalServerError) IsRedirect

IsRedirect returns true when this hardware model get hardware brand internal server error response has a 3xx status code

func (*HardwareModelGetHardwareBrandInternalServerError) IsServerError

IsServerError returns true when this hardware model get hardware brand internal server error response has a 5xx status code

func (*HardwareModelGetHardwareBrandInternalServerError) IsSuccess

IsSuccess returns true when this hardware model get hardware brand internal server error response has a 2xx status code

func (*HardwareModelGetHardwareBrandInternalServerError) 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 (*HardwareModelGetHardwareBrandNotFound) GetPayload

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

IsCode returns true when this hardware model get hardware brand not found response a status code equal to that given

func (*HardwareModelGetHardwareBrandNotFound) IsRedirect

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

IsSuccess returns true when this hardware model get hardware brand not found response has a 2xx status code

func (*HardwareModelGetHardwareBrandNotFound) String

type HardwareModelGetHardwareBrandOK

type HardwareModelGetHardwareBrandOK struct {
	Payload *models.SysBrand
}

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 (*HardwareModelGetHardwareBrandOK) GetPayload

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

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

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

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

WithContext adds the context to the hardware model get hardware brand params

func (*HardwareModelGetHardwareBrandParams) WithDefaults

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

WithEnterpriseID adds the enterpriseID to the hardware model get hardware brand params

func (*HardwareModelGetHardwareBrandParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hardware model get hardware brand params

func (*HardwareModelGetHardwareBrandParams) WithID

WithID adds the id to the hardware model get hardware brand params

func (*HardwareModelGetHardwareBrandParams) WithTimeout

WithTimeout adds the timeout to the hardware model get hardware brand params

func (*HardwareModelGetHardwareBrandParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model get hardware brand params

func (*HardwareModelGetHardwareBrandParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelGetHardwareBrandUnauthorized) GetPayload

func (*HardwareModelGetHardwareBrandUnauthorized) IsClientError

IsClientError returns true when this hardware model get hardware brand unauthorized response has a 4xx status code

func (*HardwareModelGetHardwareBrandUnauthorized) IsCode

IsCode returns true when this hardware model get hardware brand unauthorized response a status code equal to that given

func (*HardwareModelGetHardwareBrandUnauthorized) IsRedirect

IsRedirect returns true when this hardware model get hardware brand unauthorized response has a 3xx status code

func (*HardwareModelGetHardwareBrandUnauthorized) IsServerError

IsServerError returns true when this hardware model get hardware brand unauthorized response has a 5xx status code

func (*HardwareModelGetHardwareBrandUnauthorized) IsSuccess

IsSuccess returns true when this hardware model get hardware brand unauthorized response has a 2xx status code

func (*HardwareModelGetHardwareBrandUnauthorized) 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

Code gets the status code for the hardware model get hardware model by name default response

func (*HardwareModelGetHardwareModelByNameDefault) Error

func (*HardwareModelGetHardwareModelByNameDefault) GetPayload

func (*HardwareModelGetHardwareModelByNameDefault) IsClientError

IsClientError returns true when this hardware model get hardware model by name default response has a 4xx status code

func (*HardwareModelGetHardwareModelByNameDefault) IsCode

IsCode returns true when this hardware model get hardware model by name default response a status code equal to that given

func (*HardwareModelGetHardwareModelByNameDefault) IsRedirect

IsRedirect returns true when this hardware model get hardware model by name default response has a 3xx status code

func (*HardwareModelGetHardwareModelByNameDefault) IsServerError

IsServerError returns true when this hardware model get hardware model by name default response has a 5xx status code

func (*HardwareModelGetHardwareModelByNameDefault) IsSuccess

IsSuccess returns true when this hardware model get hardware model by name default response has a 2xx status code

func (*HardwareModelGetHardwareModelByNameDefault) 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 (*HardwareModelGetHardwareModelByNameForbidden) GetPayload

func (*HardwareModelGetHardwareModelByNameForbidden) IsClientError

IsClientError returns true when this hardware model get hardware model by name forbidden response has a 4xx status code

func (*HardwareModelGetHardwareModelByNameForbidden) IsCode

IsCode returns true when this hardware model get hardware model by name forbidden response a status code equal to that given

func (*HardwareModelGetHardwareModelByNameForbidden) IsRedirect

IsRedirect returns true when this hardware model get hardware model by name forbidden response has a 3xx status code

func (*HardwareModelGetHardwareModelByNameForbidden) IsServerError

IsServerError returns true when this hardware model get hardware model by name forbidden response has a 5xx status code

func (*HardwareModelGetHardwareModelByNameForbidden) IsSuccess

IsSuccess returns true when this hardware model get hardware model by name forbidden response has a 2xx status code

func (*HardwareModelGetHardwareModelByNameForbidden) 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 (*HardwareModelGetHardwareModelByNameGatewayTimeout) GetPayload

func (*HardwareModelGetHardwareModelByNameGatewayTimeout) IsClientError

IsClientError returns true when this hardware model get hardware model by name gateway timeout response has a 4xx status code

func (*HardwareModelGetHardwareModelByNameGatewayTimeout) IsCode

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

IsRedirect returns true when this hardware model get hardware model by name gateway timeout response has a 3xx status code

func (*HardwareModelGetHardwareModelByNameGatewayTimeout) IsServerError

IsServerError returns true when this hardware model get hardware model by name gateway timeout response has a 5xx status code

func (*HardwareModelGetHardwareModelByNameGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model get hardware model by name gateway timeout response has a 2xx status code

func (*HardwareModelGetHardwareModelByNameGatewayTimeout) 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 (*HardwareModelGetHardwareModelByNameInternalServerError) GetPayload

func (*HardwareModelGetHardwareModelByNameInternalServerError) IsClientError

IsClientError returns true when this hardware model get hardware model by name internal server error response has a 4xx status code

func (*HardwareModelGetHardwareModelByNameInternalServerError) IsCode

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

IsRedirect returns true when this hardware model get hardware model by name internal server error response has a 3xx status code

func (*HardwareModelGetHardwareModelByNameInternalServerError) IsServerError

IsServerError returns true when this hardware model get hardware model by name internal server error response has a 5xx status code

func (*HardwareModelGetHardwareModelByNameInternalServerError) IsSuccess

IsSuccess returns true when this hardware model get hardware model by name internal server error response has a 2xx status code

func (*HardwareModelGetHardwareModelByNameInternalServerError) 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 (*HardwareModelGetHardwareModelByNameNotFound) GetPayload

func (*HardwareModelGetHardwareModelByNameNotFound) IsClientError

IsClientError returns true when this hardware model get hardware model by name not found response has a 4xx status code

func (*HardwareModelGetHardwareModelByNameNotFound) IsCode

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

IsRedirect returns true when this hardware model get hardware model by name not found response has a 3xx status code

func (*HardwareModelGetHardwareModelByNameNotFound) IsServerError

IsServerError returns true when this hardware model get hardware model by name not found response has a 5xx status code

func (*HardwareModelGetHardwareModelByNameNotFound) IsSuccess

IsSuccess returns true when this hardware model get hardware model by name not found response has a 2xx status code

func (*HardwareModelGetHardwareModelByNameNotFound) String

type HardwareModelGetHardwareModelByNameOK

type HardwareModelGetHardwareModelByNameOK struct {
	Payload *models.SysModel
}

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 (*HardwareModelGetHardwareModelByNameOK) GetPayload

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

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

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

IsSuccess returns true when this hardware model get hardware model by name o k response has a 2xx status code

func (*HardwareModelGetHardwareModelByNameOK) 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

SetContext adds the context to the hardware model get hardware model by name params

func (*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

SetName adds the name to the hardware model get hardware model by name params

func (*HardwareModelGetHardwareModelByNameParams) SetTimeout

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

WithContext adds the context to the hardware model get hardware model by name params

func (*HardwareModelGetHardwareModelByNameParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the hardware model get hardware model by name params

func (*HardwareModelGetHardwareModelByNameParams) WithName

WithName adds the name to the hardware model get hardware model by name params

func (*HardwareModelGetHardwareModelByNameParams) WithTimeout

WithTimeout adds the timeout to the hardware model get hardware model by name params

func (*HardwareModelGetHardwareModelByNameParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model get hardware model by name params

func (*HardwareModelGetHardwareModelByNameParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelGetHardwareModelByNameUnauthorized) GetPayload

func (*HardwareModelGetHardwareModelByNameUnauthorized) IsClientError

IsClientError returns true when this hardware model get hardware model by name unauthorized response has a 4xx status code

func (*HardwareModelGetHardwareModelByNameUnauthorized) IsCode

IsCode returns true when this hardware model get hardware model by name unauthorized response a status code equal to that given

func (*HardwareModelGetHardwareModelByNameUnauthorized) IsRedirect

IsRedirect returns true when this hardware model get hardware model by name unauthorized response has a 3xx status code

func (*HardwareModelGetHardwareModelByNameUnauthorized) IsServerError

IsServerError returns true when this hardware model get hardware model by name unauthorized response has a 5xx status code

func (*HardwareModelGetHardwareModelByNameUnauthorized) IsSuccess

IsSuccess returns true when this hardware model get hardware model by name unauthorized response has a 2xx status code

func (*HardwareModelGetHardwareModelByNameUnauthorized) 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

Code gets the status code for the hardware model get hardware model default response

func (*HardwareModelGetHardwareModelDefault) Error

func (*HardwareModelGetHardwareModelDefault) GetPayload

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

IsCode returns true when this hardware model get hardware model default response a status code equal to that given

func (*HardwareModelGetHardwareModelDefault) IsRedirect

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

IsSuccess returns true when this hardware model get hardware model default response has a 2xx status code

func (*HardwareModelGetHardwareModelDefault) 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 (*HardwareModelGetHardwareModelForbidden) GetPayload

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

IsCode returns true when this hardware model get hardware model forbidden response a status code equal to that given

func (*HardwareModelGetHardwareModelForbidden) IsRedirect

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

IsSuccess returns true when this hardware model get hardware model forbidden response has a 2xx status code

func (*HardwareModelGetHardwareModelForbidden) 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 (*HardwareModelGetHardwareModelGatewayTimeout) GetPayload

func (*HardwareModelGetHardwareModelGatewayTimeout) IsClientError

IsClientError returns true when this hardware model get hardware model gateway timeout response has a 4xx status code

func (*HardwareModelGetHardwareModelGatewayTimeout) IsCode

IsCode returns true when this hardware model get hardware model gateway timeout response a status code equal to that given

func (*HardwareModelGetHardwareModelGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model get hardware model gateway timeout response has a 3xx status code

func (*HardwareModelGetHardwareModelGatewayTimeout) IsServerError

IsServerError returns true when this hardware model get hardware model gateway timeout response has a 5xx status code

func (*HardwareModelGetHardwareModelGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model get hardware model gateway timeout response has a 2xx status code

func (*HardwareModelGetHardwareModelGatewayTimeout) 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 (*HardwareModelGetHardwareModelInternalServerError) GetPayload

func (*HardwareModelGetHardwareModelInternalServerError) IsClientError

IsClientError returns true when this hardware model get hardware model internal server error response has a 4xx status code

func (*HardwareModelGetHardwareModelInternalServerError) IsCode

IsCode returns true when this hardware model get hardware model internal server error response a status code equal to that given

func (*HardwareModelGetHardwareModelInternalServerError) IsRedirect

IsRedirect returns true when this hardware model get hardware model internal server error response has a 3xx status code

func (*HardwareModelGetHardwareModelInternalServerError) IsServerError

IsServerError returns true when this hardware model get hardware model internal server error response has a 5xx status code

func (*HardwareModelGetHardwareModelInternalServerError) IsSuccess

IsSuccess returns true when this hardware model get hardware model internal server error response has a 2xx status code

func (*HardwareModelGetHardwareModelInternalServerError) 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 (*HardwareModelGetHardwareModelNotFound) GetPayload

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

IsCode returns true when this hardware model get hardware model not found response a status code equal to that given

func (*HardwareModelGetHardwareModelNotFound) IsRedirect

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

IsSuccess returns true when this hardware model get hardware model not found response has a 2xx status code

func (*HardwareModelGetHardwareModelNotFound) String

type HardwareModelGetHardwareModelOK

type HardwareModelGetHardwareModelOK struct {
	Payload *models.SysModel
}

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 (*HardwareModelGetHardwareModelOK) GetPayload

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

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

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

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

WithContext adds the context to the hardware model get hardware model params

func (*HardwareModelGetHardwareModelParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the hardware model get hardware model params

func (*HardwareModelGetHardwareModelParams) WithID

WithID adds the id to the hardware model get hardware model params

func (*HardwareModelGetHardwareModelParams) WithTimeout

WithTimeout adds the timeout to the hardware model get hardware model params

func (*HardwareModelGetHardwareModelParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model get hardware model params

func (*HardwareModelGetHardwareModelParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelGetHardwareModelUnauthorized) GetPayload

func (*HardwareModelGetHardwareModelUnauthorized) IsClientError

IsClientError returns true when this hardware model get hardware model unauthorized response has a 4xx status code

func (*HardwareModelGetHardwareModelUnauthorized) IsCode

IsCode returns true when this hardware model get hardware model unauthorized response a status code equal to that given

func (*HardwareModelGetHardwareModelUnauthorized) IsRedirect

IsRedirect returns true when this hardware model get hardware model unauthorized response has a 3xx status code

func (*HardwareModelGetHardwareModelUnauthorized) IsServerError

IsServerError returns true when this hardware model get hardware model unauthorized response has a 5xx status code

func (*HardwareModelGetHardwareModelUnauthorized) IsSuccess

IsSuccess returns true when this hardware model get hardware model unauthorized response has a 2xx status code

func (*HardwareModelGetHardwareModelUnauthorized) 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 (*HardwareModelQueryGlobalHardwareBrandsBadRequest) GetPayload

func (*HardwareModelQueryGlobalHardwareBrandsBadRequest) IsClientError

IsClientError returns true when this hardware model query global hardware brands bad request response has a 4xx status code

func (*HardwareModelQueryGlobalHardwareBrandsBadRequest) IsCode

IsCode returns true when this hardware model query global hardware brands bad request response a status code equal to that given

func (*HardwareModelQueryGlobalHardwareBrandsBadRequest) IsRedirect

IsRedirect returns true when this hardware model query global hardware brands bad request response has a 3xx status code

func (*HardwareModelQueryGlobalHardwareBrandsBadRequest) IsServerError

IsServerError returns true when this hardware model query global hardware brands bad request response has a 5xx status code

func (*HardwareModelQueryGlobalHardwareBrandsBadRequest) IsSuccess

IsSuccess returns true when this hardware model query global hardware brands bad request response has a 2xx status code

func (*HardwareModelQueryGlobalHardwareBrandsBadRequest) 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

Code gets the status code for the hardware model query global hardware brands default response

func (*HardwareModelQueryGlobalHardwareBrandsDefault) Error

func (*HardwareModelQueryGlobalHardwareBrandsDefault) GetPayload

func (*HardwareModelQueryGlobalHardwareBrandsDefault) IsClientError

IsClientError returns true when this hardware model query global hardware brands default response has a 4xx status code

func (*HardwareModelQueryGlobalHardwareBrandsDefault) IsCode

IsCode returns true when this hardware model query global hardware brands default response a status code equal to that given

func (*HardwareModelQueryGlobalHardwareBrandsDefault) IsRedirect

IsRedirect returns true when this hardware model query global hardware brands default response has a 3xx status code

func (*HardwareModelQueryGlobalHardwareBrandsDefault) IsServerError

IsServerError returns true when this hardware model query global hardware brands default response has a 5xx status code

func (*HardwareModelQueryGlobalHardwareBrandsDefault) IsSuccess

IsSuccess returns true when this hardware model query global hardware brands default response has a 2xx status code

func (*HardwareModelQueryGlobalHardwareBrandsDefault) 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 (*HardwareModelQueryGlobalHardwareBrandsForbidden) GetPayload

func (*HardwareModelQueryGlobalHardwareBrandsForbidden) IsClientError

IsClientError returns true when this hardware model query global hardware brands forbidden response has a 4xx status code

func (*HardwareModelQueryGlobalHardwareBrandsForbidden) IsCode

IsCode returns true when this hardware model query global hardware brands forbidden response a status code equal to that given

func (*HardwareModelQueryGlobalHardwareBrandsForbidden) IsRedirect

IsRedirect returns true when this hardware model query global hardware brands forbidden response has a 3xx status code

func (*HardwareModelQueryGlobalHardwareBrandsForbidden) IsServerError

IsServerError returns true when this hardware model query global hardware brands forbidden response has a 5xx status code

func (*HardwareModelQueryGlobalHardwareBrandsForbidden) IsSuccess

IsSuccess returns true when this hardware model query global hardware brands forbidden response has a 2xx status code

func (*HardwareModelQueryGlobalHardwareBrandsForbidden) 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 (*HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) GetPayload

func (*HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsClientError

IsClientError returns true when this hardware model query global hardware brands gateway timeout response has a 4xx status code

func (*HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsCode

IsCode returns true when this hardware model query global hardware brands gateway timeout response a status code equal to that given

func (*HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model query global hardware brands gateway timeout response has a 3xx status code

func (*HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsServerError

IsServerError returns true when this hardware model query global hardware brands gateway timeout response has a 5xx status code

func (*HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model query global hardware brands gateway timeout response has a 2xx status code

func (*HardwareModelQueryGlobalHardwareBrandsGatewayTimeout) 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 (*HardwareModelQueryGlobalHardwareBrandsInternalServerError) GetPayload

func (*HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsClientError

IsClientError returns true when this hardware model query global hardware brands internal server error response has a 4xx status code

func (*HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsCode

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

IsRedirect returns true when this hardware model query global hardware brands internal server error response has a 3xx status code

func (*HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsServerError

IsServerError returns true when this hardware model query global hardware brands internal server error response has a 5xx status code

func (*HardwareModelQueryGlobalHardwareBrandsInternalServerError) IsSuccess

IsSuccess returns true when this hardware model query global hardware brands internal server error response has a 2xx status code

func (*HardwareModelQueryGlobalHardwareBrandsInternalServerError) String

type HardwareModelQueryGlobalHardwareBrandsOK

type HardwareModelQueryGlobalHardwareBrandsOK struct {
	Payload *models.SysBrands
}

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 (*HardwareModelQueryGlobalHardwareBrandsOK) GetPayload

func (*HardwareModelQueryGlobalHardwareBrandsOK) IsClientError

IsClientError returns true when this hardware model query global hardware brands o k response has a 4xx status code

func (*HardwareModelQueryGlobalHardwareBrandsOK) IsCode

IsCode returns true when this hardware model query global hardware brands o k response a status code equal to that given

func (*HardwareModelQueryGlobalHardwareBrandsOK) IsRedirect

IsRedirect returns true when this hardware model query global hardware brands o k response has a 3xx status code

func (*HardwareModelQueryGlobalHardwareBrandsOK) IsServerError

IsServerError returns true when this hardware model query global hardware brands o k response has a 5xx status code

func (*HardwareModelQueryGlobalHardwareBrandsOK) IsSuccess

IsSuccess returns true when this hardware model query global hardware brands o k response has a 2xx status code

func (*HardwareModelQueryGlobalHardwareBrandsOK) 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

SetContext adds the context to the hardware model query global hardware brands params

func (*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

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

WithContext adds the context to the hardware model query global hardware brands params

func (*HardwareModelQueryGlobalHardwareBrandsParams) WithDefaults

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

WithEnterpriseID adds the enterpriseID to the hardware model query global hardware brands params

func (*HardwareModelQueryGlobalHardwareBrandsParams) WithFilterNamePattern

WithFilterNamePattern adds the filterNamePattern to the hardware model query global hardware brands params

func (*HardwareModelQueryGlobalHardwareBrandsParams) WithFilterOriginType

WithFilterOriginType adds the filterOriginType to the hardware model query global hardware brands params

func (*HardwareModelQueryGlobalHardwareBrandsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hardware model query global hardware brands params

func (*HardwareModelQueryGlobalHardwareBrandsParams) WithNextOrderBy

WithNextOrderBy adds the nextOrderBy to the hardware model query global hardware brands params

func (*HardwareModelQueryGlobalHardwareBrandsParams) WithNextPageNum

WithNextPageNum adds the nextPageNum to the hardware model query global hardware brands params

func (*HardwareModelQueryGlobalHardwareBrandsParams) WithNextPageSize

WithNextPageSize adds the nextPageSize to the hardware model query global hardware brands params

func (*HardwareModelQueryGlobalHardwareBrandsParams) WithNextPageToken

WithNextPageToken adds the nextPageToken to the hardware model query global hardware brands params

func (*HardwareModelQueryGlobalHardwareBrandsParams) WithNextTotalPages

WithNextTotalPages adds the nextTotalPages to the hardware model query global hardware brands params

func (*HardwareModelQueryGlobalHardwareBrandsParams) WithSummary

WithSummary adds the summary to the hardware model query global hardware brands params

func (*HardwareModelQueryGlobalHardwareBrandsParams) WithTimeout

WithTimeout adds the timeout to the hardware model query global hardware brands params

func (*HardwareModelQueryGlobalHardwareBrandsParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model query global hardware brands params

func (*HardwareModelQueryGlobalHardwareBrandsParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelQueryGlobalHardwareBrandsUnauthorized) GetPayload

func (*HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsClientError

IsClientError returns true when this hardware model query global hardware brands unauthorized response has a 4xx status code

func (*HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsCode

IsCode returns true when this hardware model query global hardware brands unauthorized response a status code equal to that given

func (*HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsRedirect

IsRedirect returns true when this hardware model query global hardware brands unauthorized response has a 3xx status code

func (*HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsServerError

IsServerError returns true when this hardware model query global hardware brands unauthorized response has a 5xx status code

func (*HardwareModelQueryGlobalHardwareBrandsUnauthorized) IsSuccess

IsSuccess returns true when this hardware model query global hardware brands unauthorized response has a 2xx status code

func (*HardwareModelQueryGlobalHardwareBrandsUnauthorized) 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 (*HardwareModelQueryGlobalHardwareModelsBadRequest) GetPayload

func (*HardwareModelQueryGlobalHardwareModelsBadRequest) IsClientError

IsClientError returns true when this hardware model query global hardware models bad request response has a 4xx status code

func (*HardwareModelQueryGlobalHardwareModelsBadRequest) IsCode

IsCode returns true when this hardware model query global hardware models bad request response a status code equal to that given

func (*HardwareModelQueryGlobalHardwareModelsBadRequest) IsRedirect

IsRedirect returns true when this hardware model query global hardware models bad request response has a 3xx status code

func (*HardwareModelQueryGlobalHardwareModelsBadRequest) IsServerError

IsServerError returns true when this hardware model query global hardware models bad request response has a 5xx status code

func (*HardwareModelQueryGlobalHardwareModelsBadRequest) IsSuccess

IsSuccess returns true when this hardware model query global hardware models bad request response has a 2xx status code

func (*HardwareModelQueryGlobalHardwareModelsBadRequest) 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

Code gets the status code for the hardware model query global hardware models default response

func (*HardwareModelQueryGlobalHardwareModelsDefault) Error

func (*HardwareModelQueryGlobalHardwareModelsDefault) GetPayload

func (*HardwareModelQueryGlobalHardwareModelsDefault) IsClientError

IsClientError returns true when this hardware model query global hardware models default response has a 4xx status code

func (*HardwareModelQueryGlobalHardwareModelsDefault) IsCode

IsCode returns true when this hardware model query global hardware models default response a status code equal to that given

func (*HardwareModelQueryGlobalHardwareModelsDefault) IsRedirect

IsRedirect returns true when this hardware model query global hardware models default response has a 3xx status code

func (*HardwareModelQueryGlobalHardwareModelsDefault) IsServerError

IsServerError returns true when this hardware model query global hardware models default response has a 5xx status code

func (*HardwareModelQueryGlobalHardwareModelsDefault) IsSuccess

IsSuccess returns true when this hardware model query global hardware models default response has a 2xx status code

func (*HardwareModelQueryGlobalHardwareModelsDefault) 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 (*HardwareModelQueryGlobalHardwareModelsForbidden) GetPayload

func (*HardwareModelQueryGlobalHardwareModelsForbidden) IsClientError

IsClientError returns true when this hardware model query global hardware models forbidden response has a 4xx status code

func (*HardwareModelQueryGlobalHardwareModelsForbidden) IsCode

IsCode returns true when this hardware model query global hardware models forbidden response a status code equal to that given

func (*HardwareModelQueryGlobalHardwareModelsForbidden) IsRedirect

IsRedirect returns true when this hardware model query global hardware models forbidden response has a 3xx status code

func (*HardwareModelQueryGlobalHardwareModelsForbidden) IsServerError

IsServerError returns true when this hardware model query global hardware models forbidden response has a 5xx status code

func (*HardwareModelQueryGlobalHardwareModelsForbidden) IsSuccess

IsSuccess returns true when this hardware model query global hardware models forbidden response has a 2xx status code

func (*HardwareModelQueryGlobalHardwareModelsForbidden) 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 (*HardwareModelQueryGlobalHardwareModelsGatewayTimeout) GetPayload

func (*HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsClientError

IsClientError returns true when this hardware model query global hardware models gateway timeout response has a 4xx status code

func (*HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsCode

IsCode returns true when this hardware model query global hardware models gateway timeout response a status code equal to that given

func (*HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model query global hardware models gateway timeout response has a 3xx status code

func (*HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsServerError

IsServerError returns true when this hardware model query global hardware models gateway timeout response has a 5xx status code

func (*HardwareModelQueryGlobalHardwareModelsGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model query global hardware models gateway timeout response has a 2xx status code

func (*HardwareModelQueryGlobalHardwareModelsGatewayTimeout) 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 (*HardwareModelQueryGlobalHardwareModelsInternalServerError) GetPayload

func (*HardwareModelQueryGlobalHardwareModelsInternalServerError) IsClientError

IsClientError returns true when this hardware model query global hardware models internal server error response has a 4xx status code

func (*HardwareModelQueryGlobalHardwareModelsInternalServerError) IsCode

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

IsRedirect returns true when this hardware model query global hardware models internal server error response has a 3xx status code

func (*HardwareModelQueryGlobalHardwareModelsInternalServerError) IsServerError

IsServerError returns true when this hardware model query global hardware models internal server error response has a 5xx status code

func (*HardwareModelQueryGlobalHardwareModelsInternalServerError) IsSuccess

IsSuccess returns true when this hardware model query global hardware models internal server error response has a 2xx status code

func (*HardwareModelQueryGlobalHardwareModelsInternalServerError) String

type HardwareModelQueryGlobalHardwareModelsOK

type HardwareModelQueryGlobalHardwareModelsOK struct {
	Payload *models.SysModels
}

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 (*HardwareModelQueryGlobalHardwareModelsOK) GetPayload

func (*HardwareModelQueryGlobalHardwareModelsOK) IsClientError

IsClientError returns true when this hardware model query global hardware models o k response has a 4xx status code

func (*HardwareModelQueryGlobalHardwareModelsOK) IsCode

IsCode returns true when this hardware model query global hardware models o k response a status code equal to that given

func (*HardwareModelQueryGlobalHardwareModelsOK) IsRedirect

IsRedirect returns true when this hardware model query global hardware models o k response has a 3xx status code

func (*HardwareModelQueryGlobalHardwareModelsOK) IsServerError

IsServerError returns true when this hardware model query global hardware models o k response has a 5xx status code

func (*HardwareModelQueryGlobalHardwareModelsOK) IsSuccess

IsSuccess returns true when this hardware model query global hardware models o k response has a 2xx status code

func (*HardwareModelQueryGlobalHardwareModelsOK) 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

SetContext adds the context to the hardware model query global hardware models params

func (*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

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

WithContext adds the context to the hardware model query global hardware models params

func (*HardwareModelQueryGlobalHardwareModelsParams) WithDefaults

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

WithFilterBrandID adds the filterBrandID to the hardware model query global hardware models params

func (*HardwareModelQueryGlobalHardwareModelsParams) WithFilterBrandIds

WithFilterBrandIds adds the filterBrandIds to the hardware model query global hardware models params

func (*HardwareModelQueryGlobalHardwareModelsParams) WithFilterNamePattern

WithFilterNamePattern adds the filterNamePattern to the hardware model query global hardware models params

func (*HardwareModelQueryGlobalHardwareModelsParams) WithFilterOriginType

WithFilterOriginType adds the filterOriginType to the hardware model query global hardware models params

func (*HardwareModelQueryGlobalHardwareModelsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hardware model query global hardware models params

func (*HardwareModelQueryGlobalHardwareModelsParams) WithNextOrderBy

WithNextOrderBy adds the nextOrderBy to the hardware model query global hardware models params

func (*HardwareModelQueryGlobalHardwareModelsParams) WithNextPageNum

WithNextPageNum adds the nextPageNum to the hardware model query global hardware models params

func (*HardwareModelQueryGlobalHardwareModelsParams) WithNextPageSize

WithNextPageSize adds the nextPageSize to the hardware model query global hardware models params

func (*HardwareModelQueryGlobalHardwareModelsParams) WithNextPageToken

WithNextPageToken adds the nextPageToken to the hardware model query global hardware models params

func (*HardwareModelQueryGlobalHardwareModelsParams) WithNextTotalPages

WithNextTotalPages adds the nextTotalPages to the hardware model query global hardware models params

func (*HardwareModelQueryGlobalHardwareModelsParams) WithSummary

WithSummary adds the summary to the hardware model query global hardware models params

func (*HardwareModelQueryGlobalHardwareModelsParams) WithTimeout

WithTimeout adds the timeout to the hardware model query global hardware models params

func (*HardwareModelQueryGlobalHardwareModelsParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model query global hardware models params

func (*HardwareModelQueryGlobalHardwareModelsParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelQueryGlobalHardwareModelsUnauthorized) GetPayload

func (*HardwareModelQueryGlobalHardwareModelsUnauthorized) IsClientError

IsClientError returns true when this hardware model query global hardware models unauthorized response has a 4xx status code

func (*HardwareModelQueryGlobalHardwareModelsUnauthorized) IsCode

IsCode returns true when this hardware model query global hardware models unauthorized response a status code equal to that given

func (*HardwareModelQueryGlobalHardwareModelsUnauthorized) IsRedirect

IsRedirect returns true when this hardware model query global hardware models unauthorized response has a 3xx status code

func (*HardwareModelQueryGlobalHardwareModelsUnauthorized) IsServerError

IsServerError returns true when this hardware model query global hardware models unauthorized response has a 5xx status code

func (*HardwareModelQueryGlobalHardwareModelsUnauthorized) IsSuccess

IsSuccess returns true when this hardware model query global hardware models unauthorized response has a 2xx status code

func (*HardwareModelQueryGlobalHardwareModelsUnauthorized) 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 (*HardwareModelQueryHardwareBrandsBadRequest) GetPayload

func (*HardwareModelQueryHardwareBrandsBadRequest) IsClientError

IsClientError returns true when this hardware model query hardware brands bad request response has a 4xx status code

func (*HardwareModelQueryHardwareBrandsBadRequest) IsCode

IsCode returns true when this hardware model query hardware brands bad request response a status code equal to that given

func (*HardwareModelQueryHardwareBrandsBadRequest) IsRedirect

IsRedirect returns true when this hardware model query hardware brands bad request response has a 3xx status code

func (*HardwareModelQueryHardwareBrandsBadRequest) IsServerError

IsServerError returns true when this hardware model query hardware brands bad request response has a 5xx status code

func (*HardwareModelQueryHardwareBrandsBadRequest) IsSuccess

IsSuccess returns true when this hardware model query hardware brands bad request response has a 2xx status code

func (*HardwareModelQueryHardwareBrandsBadRequest) 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

Code gets the status code for the hardware model query hardware brands default response

func (*HardwareModelQueryHardwareBrandsDefault) Error

func (*HardwareModelQueryHardwareBrandsDefault) GetPayload

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

IsCode returns true when this hardware model query hardware brands default response a status code equal to that given

func (*HardwareModelQueryHardwareBrandsDefault) IsRedirect

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

IsSuccess returns true when this hardware model query hardware brands default response has a 2xx status code

func (*HardwareModelQueryHardwareBrandsDefault) 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 (*HardwareModelQueryHardwareBrandsForbidden) GetPayload

func (*HardwareModelQueryHardwareBrandsForbidden) IsClientError

IsClientError returns true when this hardware model query hardware brands forbidden response has a 4xx status code

func (*HardwareModelQueryHardwareBrandsForbidden) IsCode

IsCode returns true when this hardware model query hardware brands forbidden response a status code equal to that given

func (*HardwareModelQueryHardwareBrandsForbidden) IsRedirect

IsRedirect returns true when this hardware model query hardware brands forbidden response has a 3xx status code

func (*HardwareModelQueryHardwareBrandsForbidden) IsServerError

IsServerError returns true when this hardware model query hardware brands forbidden response has a 5xx status code

func (*HardwareModelQueryHardwareBrandsForbidden) IsSuccess

IsSuccess returns true when this hardware model query hardware brands forbidden response has a 2xx status code

func (*HardwareModelQueryHardwareBrandsForbidden) 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 (*HardwareModelQueryHardwareBrandsGatewayTimeout) GetPayload

func (*HardwareModelQueryHardwareBrandsGatewayTimeout) IsClientError

IsClientError returns true when this hardware model query hardware brands gateway timeout response has a 4xx status code

func (*HardwareModelQueryHardwareBrandsGatewayTimeout) IsCode

IsCode returns true when this hardware model query hardware brands gateway timeout response a status code equal to that given

func (*HardwareModelQueryHardwareBrandsGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model query hardware brands gateway timeout response has a 3xx status code

func (*HardwareModelQueryHardwareBrandsGatewayTimeout) IsServerError

IsServerError returns true when this hardware model query hardware brands gateway timeout response has a 5xx status code

func (*HardwareModelQueryHardwareBrandsGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model query hardware brands gateway timeout response has a 2xx status code

func (*HardwareModelQueryHardwareBrandsGatewayTimeout) 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 (*HardwareModelQueryHardwareBrandsInternalServerError) GetPayload

func (*HardwareModelQueryHardwareBrandsInternalServerError) IsClientError

IsClientError returns true when this hardware model query hardware brands internal server error response has a 4xx status code

func (*HardwareModelQueryHardwareBrandsInternalServerError) IsCode

IsCode returns true when this hardware model query hardware brands internal server error response a status code equal to that given

func (*HardwareModelQueryHardwareBrandsInternalServerError) IsRedirect

IsRedirect returns true when this hardware model query hardware brands internal server error response has a 3xx status code

func (*HardwareModelQueryHardwareBrandsInternalServerError) IsServerError

IsServerError returns true when this hardware model query hardware brands internal server error response has a 5xx status code

func (*HardwareModelQueryHardwareBrandsInternalServerError) IsSuccess

IsSuccess returns true when this hardware model query hardware brands internal server error response has a 2xx status code

func (*HardwareModelQueryHardwareBrandsInternalServerError) String

type HardwareModelQueryHardwareBrandsOK

type HardwareModelQueryHardwareBrandsOK struct {
	Payload *models.SysBrands
}

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 (*HardwareModelQueryHardwareBrandsOK) GetPayload

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

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

IsSuccess returns true when this hardware model query hardware brands o k response has a 2xx status code

func (*HardwareModelQueryHardwareBrandsOK) 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

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

WithContext adds the context to the hardware model query hardware brands params

func (*HardwareModelQueryHardwareBrandsParams) WithDefaults

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

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

WithHTTPClient adds the HTTPClient to the hardware model query hardware brands params

func (*HardwareModelQueryHardwareBrandsParams) WithNextOrderBy

WithNextOrderBy adds the nextOrderBy to the hardware model query hardware brands params

func (*HardwareModelQueryHardwareBrandsParams) WithNextPageNum

WithNextPageNum adds the nextPageNum to the hardware model query hardware brands params

func (*HardwareModelQueryHardwareBrandsParams) WithNextPageSize

WithNextPageSize adds the nextPageSize to the hardware model query hardware brands params

func (*HardwareModelQueryHardwareBrandsParams) WithNextPageToken

WithNextPageToken adds the nextPageToken to the hardware model query hardware brands params

func (*HardwareModelQueryHardwareBrandsParams) WithNextTotalPages

WithNextTotalPages adds the nextTotalPages to the hardware model query hardware brands params

func (*HardwareModelQueryHardwareBrandsParams) WithSummary

WithSummary adds the summary to the hardware model query hardware brands params

func (*HardwareModelQueryHardwareBrandsParams) WithTimeout

WithTimeout adds the timeout to the hardware model query hardware brands params

func (*HardwareModelQueryHardwareBrandsParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model query hardware brands params

func (*HardwareModelQueryHardwareBrandsParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelQueryHardwareBrandsUnauthorized) GetPayload

func (*HardwareModelQueryHardwareBrandsUnauthorized) IsClientError

IsClientError returns true when this hardware model query hardware brands unauthorized response has a 4xx status code

func (*HardwareModelQueryHardwareBrandsUnauthorized) IsCode

IsCode returns true when this hardware model query hardware brands unauthorized response a status code equal to that given

func (*HardwareModelQueryHardwareBrandsUnauthorized) IsRedirect

IsRedirect returns true when this hardware model query hardware brands unauthorized response has a 3xx status code

func (*HardwareModelQueryHardwareBrandsUnauthorized) IsServerError

IsServerError returns true when this hardware model query hardware brands unauthorized response has a 5xx status code

func (*HardwareModelQueryHardwareBrandsUnauthorized) IsSuccess

IsSuccess returns true when this hardware model query hardware brands unauthorized response has a 2xx status code

func (*HardwareModelQueryHardwareBrandsUnauthorized) 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 (*HardwareModelQueryHardwareModelsBadRequest) GetPayload

func (*HardwareModelQueryHardwareModelsBadRequest) IsClientError

IsClientError returns true when this hardware model query hardware models bad request response has a 4xx status code

func (*HardwareModelQueryHardwareModelsBadRequest) IsCode

IsCode returns true when this hardware model query hardware models bad request response a status code equal to that given

func (*HardwareModelQueryHardwareModelsBadRequest) IsRedirect

IsRedirect returns true when this hardware model query hardware models bad request response has a 3xx status code

func (*HardwareModelQueryHardwareModelsBadRequest) IsServerError

IsServerError returns true when this hardware model query hardware models bad request response has a 5xx status code

func (*HardwareModelQueryHardwareModelsBadRequest) IsSuccess

IsSuccess returns true when this hardware model query hardware models bad request response has a 2xx status code

func (*HardwareModelQueryHardwareModelsBadRequest) 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

Code gets the status code for the hardware model query hardware models default response

func (*HardwareModelQueryHardwareModelsDefault) Error

func (*HardwareModelQueryHardwareModelsDefault) GetPayload

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

IsCode returns true when this hardware model query hardware models default response a status code equal to that given

func (*HardwareModelQueryHardwareModelsDefault) IsRedirect

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

IsSuccess returns true when this hardware model query hardware models default response has a 2xx status code

func (*HardwareModelQueryHardwareModelsDefault) 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 (*HardwareModelQueryHardwareModelsForbidden) GetPayload

func (*HardwareModelQueryHardwareModelsForbidden) IsClientError

IsClientError returns true when this hardware model query hardware models forbidden response has a 4xx status code

func (*HardwareModelQueryHardwareModelsForbidden) IsCode

IsCode returns true when this hardware model query hardware models forbidden response a status code equal to that given

func (*HardwareModelQueryHardwareModelsForbidden) IsRedirect

IsRedirect returns true when this hardware model query hardware models forbidden response has a 3xx status code

func (*HardwareModelQueryHardwareModelsForbidden) IsServerError

IsServerError returns true when this hardware model query hardware models forbidden response has a 5xx status code

func (*HardwareModelQueryHardwareModelsForbidden) IsSuccess

IsSuccess returns true when this hardware model query hardware models forbidden response has a 2xx status code

func (*HardwareModelQueryHardwareModelsForbidden) 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 (*HardwareModelQueryHardwareModelsGatewayTimeout) GetPayload

func (*HardwareModelQueryHardwareModelsGatewayTimeout) IsClientError

IsClientError returns true when this hardware model query hardware models gateway timeout response has a 4xx status code

func (*HardwareModelQueryHardwareModelsGatewayTimeout) IsCode

IsCode returns true when this hardware model query hardware models gateway timeout response a status code equal to that given

func (*HardwareModelQueryHardwareModelsGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model query hardware models gateway timeout response has a 3xx status code

func (*HardwareModelQueryHardwareModelsGatewayTimeout) IsServerError

IsServerError returns true when this hardware model query hardware models gateway timeout response has a 5xx status code

func (*HardwareModelQueryHardwareModelsGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model query hardware models gateway timeout response has a 2xx status code

func (*HardwareModelQueryHardwareModelsGatewayTimeout) 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 (*HardwareModelQueryHardwareModelsInternalServerError) GetPayload

func (*HardwareModelQueryHardwareModelsInternalServerError) IsClientError

IsClientError returns true when this hardware model query hardware models internal server error response has a 4xx status code

func (*HardwareModelQueryHardwareModelsInternalServerError) IsCode

IsCode returns true when this hardware model query hardware models internal server error response a status code equal to that given

func (*HardwareModelQueryHardwareModelsInternalServerError) IsRedirect

IsRedirect returns true when this hardware model query hardware models internal server error response has a 3xx status code

func (*HardwareModelQueryHardwareModelsInternalServerError) IsServerError

IsServerError returns true when this hardware model query hardware models internal server error response has a 5xx status code

func (*HardwareModelQueryHardwareModelsInternalServerError) IsSuccess

IsSuccess returns true when this hardware model query hardware models internal server error response has a 2xx status code

func (*HardwareModelQueryHardwareModelsInternalServerError) String

type HardwareModelQueryHardwareModelsOK

type HardwareModelQueryHardwareModelsOK struct {
	Payload *models.SysModels
}

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 (*HardwareModelQueryHardwareModelsOK) GetPayload

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

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

IsSuccess returns true when this hardware model query hardware models o k response has a 2xx status code

func (*HardwareModelQueryHardwareModelsOK) 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

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

WithContext adds the context to the hardware model query hardware models params

func (*HardwareModelQueryHardwareModelsParams) WithDefaults

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

WithFilterBrandID adds the filterBrandID to the hardware model query hardware models params

func (*HardwareModelQueryHardwareModelsParams) WithFilterBrandIds

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

WithHTTPClient adds the HTTPClient to the hardware model query hardware models params

func (*HardwareModelQueryHardwareModelsParams) WithNextOrderBy

WithNextOrderBy adds the nextOrderBy to the hardware model query hardware models params

func (*HardwareModelQueryHardwareModelsParams) WithNextPageNum

WithNextPageNum adds the nextPageNum to the hardware model query hardware models params

func (*HardwareModelQueryHardwareModelsParams) WithNextPageSize

WithNextPageSize adds the nextPageSize to the hardware model query hardware models params

func (*HardwareModelQueryHardwareModelsParams) WithNextPageToken

WithNextPageToken adds the nextPageToken to the hardware model query hardware models params

func (*HardwareModelQueryHardwareModelsParams) WithNextTotalPages

WithNextTotalPages adds the nextTotalPages to the hardware model query hardware models params

func (*HardwareModelQueryHardwareModelsParams) WithSummary

WithSummary adds the summary to the hardware model query hardware models params

func (*HardwareModelQueryHardwareModelsParams) WithTimeout

WithTimeout adds the timeout to the hardware model query hardware models params

func (*HardwareModelQueryHardwareModelsParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model query hardware models params

func (*HardwareModelQueryHardwareModelsParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelQueryHardwareModelsUnauthorized) GetPayload

func (*HardwareModelQueryHardwareModelsUnauthorized) IsClientError

IsClientError returns true when this hardware model query hardware models unauthorized response has a 4xx status code

func (*HardwareModelQueryHardwareModelsUnauthorized) IsCode

IsCode returns true when this hardware model query hardware models unauthorized response a status code equal to that given

func (*HardwareModelQueryHardwareModelsUnauthorized) IsRedirect

IsRedirect returns true when this hardware model query hardware models unauthorized response has a 3xx status code

func (*HardwareModelQueryHardwareModelsUnauthorized) IsServerError

IsServerError returns true when this hardware model query hardware models unauthorized response has a 5xx status code

func (*HardwareModelQueryHardwareModelsUnauthorized) IsSuccess

IsSuccess returns true when this hardware model query hardware models unauthorized response has a 2xx status code

func (*HardwareModelQueryHardwareModelsUnauthorized) 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"`

	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

func (*HardwareModelUpdateHardwareBrandBody) Validate

Validate validates this hardware model update hardware brand body

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 (*HardwareModelUpdateHardwareBrandConflict) GetPayload

func (*HardwareModelUpdateHardwareBrandConflict) IsClientError

IsClientError returns true when this hardware model update hardware brand conflict response has a 4xx status code

func (*HardwareModelUpdateHardwareBrandConflict) IsCode

IsCode returns true when this hardware model update hardware brand conflict response a status code equal to that given

func (*HardwareModelUpdateHardwareBrandConflict) IsRedirect

IsRedirect returns true when this hardware model update hardware brand conflict response has a 3xx status code

func (*HardwareModelUpdateHardwareBrandConflict) IsServerError

IsServerError returns true when this hardware model update hardware brand conflict response has a 5xx status code

func (*HardwareModelUpdateHardwareBrandConflict) IsSuccess

IsSuccess returns true when this hardware model update hardware brand conflict response has a 2xx status code

func (*HardwareModelUpdateHardwareBrandConflict) 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

Code gets the status code for the hardware model update hardware brand default response

func (*HardwareModelUpdateHardwareBrandDefault) Error

func (*HardwareModelUpdateHardwareBrandDefault) GetPayload

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

IsCode returns true when this hardware model update hardware brand default response a status code equal to that given

func (*HardwareModelUpdateHardwareBrandDefault) IsRedirect

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

IsSuccess returns true when this hardware model update hardware brand default response has a 2xx status code

func (*HardwareModelUpdateHardwareBrandDefault) 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 (*HardwareModelUpdateHardwareBrandForbidden) GetPayload

func (*HardwareModelUpdateHardwareBrandForbidden) IsClientError

IsClientError returns true when this hardware model update hardware brand forbidden response has a 4xx status code

func (*HardwareModelUpdateHardwareBrandForbidden) IsCode

IsCode returns true when this hardware model update hardware brand forbidden response a status code equal to that given

func (*HardwareModelUpdateHardwareBrandForbidden) IsRedirect

IsRedirect returns true when this hardware model update hardware brand forbidden response has a 3xx status code

func (*HardwareModelUpdateHardwareBrandForbidden) IsServerError

IsServerError returns true when this hardware model update hardware brand forbidden response has a 5xx status code

func (*HardwareModelUpdateHardwareBrandForbidden) IsSuccess

IsSuccess returns true when this hardware model update hardware brand forbidden response has a 2xx status code

func (*HardwareModelUpdateHardwareBrandForbidden) 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 (*HardwareModelUpdateHardwareBrandGatewayTimeout) GetPayload

func (*HardwareModelUpdateHardwareBrandGatewayTimeout) IsClientError

IsClientError returns true when this hardware model update hardware brand gateway timeout response has a 4xx status code

func (*HardwareModelUpdateHardwareBrandGatewayTimeout) IsCode

IsCode returns true when this hardware model update hardware brand gateway timeout response a status code equal to that given

func (*HardwareModelUpdateHardwareBrandGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model update hardware brand gateway timeout response has a 3xx status code

func (*HardwareModelUpdateHardwareBrandGatewayTimeout) IsServerError

IsServerError returns true when this hardware model update hardware brand gateway timeout response has a 5xx status code

func (*HardwareModelUpdateHardwareBrandGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model update hardware brand gateway timeout response has a 2xx status code

func (*HardwareModelUpdateHardwareBrandGatewayTimeout) 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 (*HardwareModelUpdateHardwareBrandInternalServerError) GetPayload

func (*HardwareModelUpdateHardwareBrandInternalServerError) IsClientError

IsClientError returns true when this hardware model update hardware brand internal server error response has a 4xx status code

func (*HardwareModelUpdateHardwareBrandInternalServerError) IsCode

IsCode returns true when this hardware model update hardware brand internal server error response a status code equal to that given

func (*HardwareModelUpdateHardwareBrandInternalServerError) IsRedirect

IsRedirect returns true when this hardware model update hardware brand internal server error response has a 3xx status code

func (*HardwareModelUpdateHardwareBrandInternalServerError) IsServerError

IsServerError returns true when this hardware model update hardware brand internal server error response has a 5xx status code

func (*HardwareModelUpdateHardwareBrandInternalServerError) IsSuccess

IsSuccess returns true when this hardware model update hardware brand internal server error response has a 2xx status code

func (*HardwareModelUpdateHardwareBrandInternalServerError) 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 (*HardwareModelUpdateHardwareBrandNotFound) GetPayload

func (*HardwareModelUpdateHardwareBrandNotFound) IsClientError

IsClientError returns true when this hardware model update hardware brand not found response has a 4xx status code

func (*HardwareModelUpdateHardwareBrandNotFound) IsCode

IsCode returns true when this hardware model update hardware brand not found response a status code equal to that given

func (*HardwareModelUpdateHardwareBrandNotFound) IsRedirect

IsRedirect returns true when this hardware model update hardware brand not found response has a 3xx status code

func (*HardwareModelUpdateHardwareBrandNotFound) IsServerError

IsServerError returns true when this hardware model update hardware brand not found response has a 5xx status code

func (*HardwareModelUpdateHardwareBrandNotFound) IsSuccess

IsSuccess returns true when this hardware model update hardware brand not found response has a 2xx status code

func (*HardwareModelUpdateHardwareBrandNotFound) 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 (*HardwareModelUpdateHardwareBrandOK) GetPayload

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

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

IsSuccess returns true when this hardware model update hardware brand o k response has a 2xx status code

func (*HardwareModelUpdateHardwareBrandOK) 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

SetBody adds the body to the hardware model update hardware brand params

func (*HardwareModelUpdateHardwareBrandParams) SetContext

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

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

WithBody adds the body to the hardware model update hardware brand params

func (*HardwareModelUpdateHardwareBrandParams) WithContext

WithContext adds the context to the hardware model update hardware brand params

func (*HardwareModelUpdateHardwareBrandParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the hardware model update hardware brand params

func (*HardwareModelUpdateHardwareBrandParams) WithID

WithID adds the id to the hardware model update hardware brand params

func (*HardwareModelUpdateHardwareBrandParams) WithTimeout

WithTimeout adds the timeout to the hardware model update hardware brand params

func (*HardwareModelUpdateHardwareBrandParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model update hardware brand params

func (*HardwareModelUpdateHardwareBrandParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelUpdateHardwareBrandUnauthorized) GetPayload

func (*HardwareModelUpdateHardwareBrandUnauthorized) IsClientError

IsClientError returns true when this hardware model update hardware brand unauthorized response has a 4xx status code

func (*HardwareModelUpdateHardwareBrandUnauthorized) IsCode

IsCode returns true when this hardware model update hardware brand unauthorized response a status code equal to that given

func (*HardwareModelUpdateHardwareBrandUnauthorized) IsRedirect

IsRedirect returns true when this hardware model update hardware brand unauthorized response has a 3xx status code

func (*HardwareModelUpdateHardwareBrandUnauthorized) IsServerError

IsServerError returns true when this hardware model update hardware brand unauthorized response has a 5xx status code

func (*HardwareModelUpdateHardwareBrandUnauthorized) IsSuccess

IsSuccess returns true when this hardware model update hardware brand unauthorized response has a 2xx status code

func (*HardwareModelUpdateHardwareBrandUnauthorized) 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"`

	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

func (*HardwareModelUpdateHardwareModelBody) Validate

Validate validates this hardware model update hardware model body

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 (*HardwareModelUpdateHardwareModelConflict) GetPayload

func (*HardwareModelUpdateHardwareModelConflict) IsClientError

IsClientError returns true when this hardware model update hardware model conflict response has a 4xx status code

func (*HardwareModelUpdateHardwareModelConflict) IsCode

IsCode returns true when this hardware model update hardware model conflict response a status code equal to that given

func (*HardwareModelUpdateHardwareModelConflict) IsRedirect

IsRedirect returns true when this hardware model update hardware model conflict response has a 3xx status code

func (*HardwareModelUpdateHardwareModelConflict) IsServerError

IsServerError returns true when this hardware model update hardware model conflict response has a 5xx status code

func (*HardwareModelUpdateHardwareModelConflict) IsSuccess

IsSuccess returns true when this hardware model update hardware model conflict response has a 2xx status code

func (*HardwareModelUpdateHardwareModelConflict) 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

Code gets the status code for the hardware model update hardware model default response

func (*HardwareModelUpdateHardwareModelDefault) Error

func (*HardwareModelUpdateHardwareModelDefault) GetPayload

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

IsCode returns true when this hardware model update hardware model default response a status code equal to that given

func (*HardwareModelUpdateHardwareModelDefault) IsRedirect

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

IsSuccess returns true when this hardware model update hardware model default response has a 2xx status code

func (*HardwareModelUpdateHardwareModelDefault) 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 (*HardwareModelUpdateHardwareModelForbidden) GetPayload

func (*HardwareModelUpdateHardwareModelForbidden) IsClientError

IsClientError returns true when this hardware model update hardware model forbidden response has a 4xx status code

func (*HardwareModelUpdateHardwareModelForbidden) IsCode

IsCode returns true when this hardware model update hardware model forbidden response a status code equal to that given

func (*HardwareModelUpdateHardwareModelForbidden) IsRedirect

IsRedirect returns true when this hardware model update hardware model forbidden response has a 3xx status code

func (*HardwareModelUpdateHardwareModelForbidden) IsServerError

IsServerError returns true when this hardware model update hardware model forbidden response has a 5xx status code

func (*HardwareModelUpdateHardwareModelForbidden) IsSuccess

IsSuccess returns true when this hardware model update hardware model forbidden response has a 2xx status code

func (*HardwareModelUpdateHardwareModelForbidden) 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 (*HardwareModelUpdateHardwareModelGatewayTimeout) GetPayload

func (*HardwareModelUpdateHardwareModelGatewayTimeout) IsClientError

IsClientError returns true when this hardware model update hardware model gateway timeout response has a 4xx status code

func (*HardwareModelUpdateHardwareModelGatewayTimeout) IsCode

IsCode returns true when this hardware model update hardware model gateway timeout response a status code equal to that given

func (*HardwareModelUpdateHardwareModelGatewayTimeout) IsRedirect

IsRedirect returns true when this hardware model update hardware model gateway timeout response has a 3xx status code

func (*HardwareModelUpdateHardwareModelGatewayTimeout) IsServerError

IsServerError returns true when this hardware model update hardware model gateway timeout response has a 5xx status code

func (*HardwareModelUpdateHardwareModelGatewayTimeout) IsSuccess

IsSuccess returns true when this hardware model update hardware model gateway timeout response has a 2xx status code

func (*HardwareModelUpdateHardwareModelGatewayTimeout) 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 (*HardwareModelUpdateHardwareModelInternalServerError) GetPayload

func (*HardwareModelUpdateHardwareModelInternalServerError) IsClientError

IsClientError returns true when this hardware model update hardware model internal server error response has a 4xx status code

func (*HardwareModelUpdateHardwareModelInternalServerError) IsCode

IsCode returns true when this hardware model update hardware model internal server error response a status code equal to that given

func (*HardwareModelUpdateHardwareModelInternalServerError) IsRedirect

IsRedirect returns true when this hardware model update hardware model internal server error response has a 3xx status code

func (*HardwareModelUpdateHardwareModelInternalServerError) IsServerError

IsServerError returns true when this hardware model update hardware model internal server error response has a 5xx status code

func (*HardwareModelUpdateHardwareModelInternalServerError) IsSuccess

IsSuccess returns true when this hardware model update hardware model internal server error response has a 2xx status code

func (*HardwareModelUpdateHardwareModelInternalServerError) 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 (*HardwareModelUpdateHardwareModelNotFound) GetPayload

func (*HardwareModelUpdateHardwareModelNotFound) IsClientError

IsClientError returns true when this hardware model update hardware model not found response has a 4xx status code

func (*HardwareModelUpdateHardwareModelNotFound) IsCode

IsCode returns true when this hardware model update hardware model not found response a status code equal to that given

func (*HardwareModelUpdateHardwareModelNotFound) IsRedirect

IsRedirect returns true when this hardware model update hardware model not found response has a 3xx status code

func (*HardwareModelUpdateHardwareModelNotFound) IsServerError

IsServerError returns true when this hardware model update hardware model not found response has a 5xx status code

func (*HardwareModelUpdateHardwareModelNotFound) IsSuccess

IsSuccess returns true when this hardware model update hardware model not found response has a 2xx status code

func (*HardwareModelUpdateHardwareModelNotFound) 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 (*HardwareModelUpdateHardwareModelOK) GetPayload

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

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

IsSuccess returns true when this hardware model update hardware model o k response has a 2xx status code

func (*HardwareModelUpdateHardwareModelOK) 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

SetBody adds the body to the hardware model update hardware model params

func (*HardwareModelUpdateHardwareModelParams) SetContext

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

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

WithBody adds the body to the hardware model update hardware model params

func (*HardwareModelUpdateHardwareModelParams) WithContext

WithContext adds the context to the hardware model update hardware model params

func (*HardwareModelUpdateHardwareModelParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the hardware model update hardware model params

func (*HardwareModelUpdateHardwareModelParams) WithID

WithID adds the id to the hardware model update hardware model params

func (*HardwareModelUpdateHardwareModelParams) WithTimeout

WithTimeout adds the timeout to the hardware model update hardware model params

func (*HardwareModelUpdateHardwareModelParams) WithXRequestID

WithXRequestID adds the xRequestID to the hardware model update hardware model params

func (*HardwareModelUpdateHardwareModelParams) WriteToRequest

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 {
	Payload *models.ZsrvResponse
}

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 (*HardwareModelUpdateHardwareModelUnauthorized) GetPayload

func (*HardwareModelUpdateHardwareModelUnauthorized) IsClientError

IsClientError returns true when this hardware model update hardware model unauthorized response has a 4xx status code

func (*HardwareModelUpdateHardwareModelUnauthorized) IsCode

IsCode returns true when this hardware model update hardware model unauthorized response a status code equal to that given

func (*HardwareModelUpdateHardwareModelUnauthorized) IsRedirect

IsRedirect returns true when this hardware model update hardware model unauthorized response has a 3xx status code

func (*HardwareModelUpdateHardwareModelUnauthorized) IsServerError

IsServerError returns true when this hardware model update hardware model unauthorized response has a 5xx status code

func (*HardwareModelUpdateHardwareModelUnauthorized) IsSuccess

IsSuccess returns true when this hardware model update hardware model unauthorized response has a 2xx status code

func (*HardwareModelUpdateHardwareModelUnauthorized) String

Jump to

Keyboard shortcuts

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