Documentation
¶
Index ¶
- type Client
- func (a *Client) GetTemplateDevice(params *GetTemplateDeviceParams, opts ...ClientOption) (*GetTemplateDeviceOK, error)
- func (a *Client) GetTemplateDeviceName(params *GetTemplateDeviceNameParams, opts ...ClientOption) (*GetTemplateDeviceNameOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetTemplateDeviceInternalServerError
- func (o *GetTemplateDeviceInternalServerError) Error() string
- func (o *GetTemplateDeviceInternalServerError) IsClientError() bool
- func (o *GetTemplateDeviceInternalServerError) IsCode(code int) bool
- func (o *GetTemplateDeviceInternalServerError) IsRedirect() bool
- func (o *GetTemplateDeviceInternalServerError) IsServerError() bool
- func (o *GetTemplateDeviceInternalServerError) IsSuccess() bool
- func (o *GetTemplateDeviceInternalServerError) String() string
- type GetTemplateDeviceNameInternalServerError
- func (o *GetTemplateDeviceNameInternalServerError) Error() string
- func (o *GetTemplateDeviceNameInternalServerError) IsClientError() bool
- func (o *GetTemplateDeviceNameInternalServerError) IsCode(code int) bool
- func (o *GetTemplateDeviceNameInternalServerError) IsRedirect() bool
- func (o *GetTemplateDeviceNameInternalServerError) IsServerError() bool
- func (o *GetTemplateDeviceNameInternalServerError) IsSuccess() bool
- func (o *GetTemplateDeviceNameInternalServerError) String() string
- type GetTemplateDeviceNameNotFound
- func (o *GetTemplateDeviceNameNotFound) Error() string
- func (o *GetTemplateDeviceNameNotFound) IsClientError() bool
- func (o *GetTemplateDeviceNameNotFound) IsCode(code int) bool
- func (o *GetTemplateDeviceNameNotFound) IsRedirect() bool
- func (o *GetTemplateDeviceNameNotFound) IsServerError() bool
- func (o *GetTemplateDeviceNameNotFound) IsSuccess() bool
- func (o *GetTemplateDeviceNameNotFound) String() string
- type GetTemplateDeviceNameOK
- func (o *GetTemplateDeviceNameOK) Error() string
- func (o *GetTemplateDeviceNameOK) GetPayload() *models.DtosDeviceTemplateDto
- func (o *GetTemplateDeviceNameOK) IsClientError() bool
- func (o *GetTemplateDeviceNameOK) IsCode(code int) bool
- func (o *GetTemplateDeviceNameOK) IsRedirect() bool
- func (o *GetTemplateDeviceNameOK) IsServerError() bool
- func (o *GetTemplateDeviceNameOK) IsSuccess() bool
- func (o *GetTemplateDeviceNameOK) String() string
- type GetTemplateDeviceNameParams
- func NewGetTemplateDeviceNameParams() *GetTemplateDeviceNameParams
- func NewGetTemplateDeviceNameParamsWithContext(ctx context.Context) *GetTemplateDeviceNameParams
- func NewGetTemplateDeviceNameParamsWithHTTPClient(client *http.Client) *GetTemplateDeviceNameParams
- func NewGetTemplateDeviceNameParamsWithTimeout(timeout time.Duration) *GetTemplateDeviceNameParams
- func (o *GetTemplateDeviceNameParams) SetContext(ctx context.Context)
- func (o *GetTemplateDeviceNameParams) SetDefaults()
- func (o *GetTemplateDeviceNameParams) SetHTTPClient(client *http.Client)
- func (o *GetTemplateDeviceNameParams) SetName(name string)
- func (o *GetTemplateDeviceNameParams) SetTimeout(timeout time.Duration)
- func (o *GetTemplateDeviceNameParams) WithContext(ctx context.Context) *GetTemplateDeviceNameParams
- func (o *GetTemplateDeviceNameParams) WithDefaults() *GetTemplateDeviceNameParams
- func (o *GetTemplateDeviceNameParams) WithHTTPClient(client *http.Client) *GetTemplateDeviceNameParams
- func (o *GetTemplateDeviceNameParams) WithName(name string) *GetTemplateDeviceNameParams
- func (o *GetTemplateDeviceNameParams) WithTimeout(timeout time.Duration) *GetTemplateDeviceNameParams
- func (o *GetTemplateDeviceNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTemplateDeviceNameReader
- type GetTemplateDeviceOK
- func (o *GetTemplateDeviceOK) Error() string
- func (o *GetTemplateDeviceOK) GetPayload() *models.DtosPaginatedItemsDtoDtosDeviceTemplateDto
- func (o *GetTemplateDeviceOK) IsClientError() bool
- func (o *GetTemplateDeviceOK) IsCode(code int) bool
- func (o *GetTemplateDeviceOK) IsRedirect() bool
- func (o *GetTemplateDeviceOK) IsServerError() bool
- func (o *GetTemplateDeviceOK) IsSuccess() bool
- func (o *GetTemplateDeviceOK) String() string
- type GetTemplateDeviceParams
- func NewGetTemplateDeviceParams() *GetTemplateDeviceParams
- func NewGetTemplateDeviceParamsWithContext(ctx context.Context) *GetTemplateDeviceParams
- func NewGetTemplateDeviceParamsWithHTTPClient(client *http.Client) *GetTemplateDeviceParams
- func NewGetTemplateDeviceParamsWithTimeout(timeout time.Duration) *GetTemplateDeviceParams
- func (o *GetTemplateDeviceParams) SetContext(ctx context.Context)
- func (o *GetTemplateDeviceParams) SetDefaults()
- func (o *GetTemplateDeviceParams) SetHTTPClient(client *http.Client)
- func (o *GetTemplateDeviceParams) SetOrderBy(orderBy *string)
- func (o *GetTemplateDeviceParams) SetOrderDirection(orderDirection *string)
- func (o *GetTemplateDeviceParams) SetPage(page *int64)
- func (o *GetTemplateDeviceParams) SetPageSize(pageSize *int64)
- func (o *GetTemplateDeviceParams) SetSearch(search *string)
- func (o *GetTemplateDeviceParams) SetTimeout(timeout time.Duration)
- func (o *GetTemplateDeviceParams) WithContext(ctx context.Context) *GetTemplateDeviceParams
- func (o *GetTemplateDeviceParams) WithDefaults() *GetTemplateDeviceParams
- func (o *GetTemplateDeviceParams) WithHTTPClient(client *http.Client) *GetTemplateDeviceParams
- func (o *GetTemplateDeviceParams) WithOrderBy(orderBy *string) *GetTemplateDeviceParams
- func (o *GetTemplateDeviceParams) WithOrderDirection(orderDirection *string) *GetTemplateDeviceParams
- func (o *GetTemplateDeviceParams) WithPage(page *int64) *GetTemplateDeviceParams
- func (o *GetTemplateDeviceParams) WithPageSize(pageSize *int64) *GetTemplateDeviceParams
- func (o *GetTemplateDeviceParams) WithSearch(search *string) *GetTemplateDeviceParams
- func (o *GetTemplateDeviceParams) WithTimeout(timeout time.Duration) *GetTemplateDeviceParams
- func (o *GetTemplateDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTemplateDeviceReader
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 template API
func (*Client) GetTemplateDevice ¶
func (a *Client) GetTemplateDevice(params *GetTemplateDeviceParams, opts ...ClientOption) (*GetTemplateDeviceOK, error)
GetTemplateDevice gets paginated list of device templates
func (*Client) GetTemplateDeviceName ¶
func (a *Client) GetTemplateDeviceName(params *GetTemplateDeviceNameParams, opts ...ClientOption) (*GetTemplateDeviceNameOK, error)
GetTemplateDeviceName gets device template by its name
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 { GetTemplateDevice(params *GetTemplateDeviceParams, opts ...ClientOption) (*GetTemplateDeviceOK, error) GetTemplateDeviceName(params *GetTemplateDeviceNameParams, opts ...ClientOption) (*GetTemplateDeviceNameOK, 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 template API client.
type GetTemplateDeviceInternalServerError ¶
type GetTemplateDeviceInternalServerError struct { }
GetTemplateDeviceInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetTemplateDeviceInternalServerError ¶
func NewGetTemplateDeviceInternalServerError() *GetTemplateDeviceInternalServerError
NewGetTemplateDeviceInternalServerError creates a GetTemplateDeviceInternalServerError with default headers values
func (*GetTemplateDeviceInternalServerError) Error ¶
func (o *GetTemplateDeviceInternalServerError) Error() string
func (*GetTemplateDeviceInternalServerError) IsClientError ¶
func (o *GetTemplateDeviceInternalServerError) IsClientError() bool
IsClientError returns true when this get template device internal server error response has a 4xx status code
func (*GetTemplateDeviceInternalServerError) IsCode ¶
func (o *GetTemplateDeviceInternalServerError) IsCode(code int) bool
IsCode returns true when this get template device internal server error response a status code equal to that given
func (*GetTemplateDeviceInternalServerError) IsRedirect ¶
func (o *GetTemplateDeviceInternalServerError) IsRedirect() bool
IsRedirect returns true when this get template device internal server error response has a 3xx status code
func (*GetTemplateDeviceInternalServerError) IsServerError ¶
func (o *GetTemplateDeviceInternalServerError) IsServerError() bool
IsServerError returns true when this get template device internal server error response has a 5xx status code
func (*GetTemplateDeviceInternalServerError) IsSuccess ¶
func (o *GetTemplateDeviceInternalServerError) IsSuccess() bool
IsSuccess returns true when this get template device internal server error response has a 2xx status code
func (*GetTemplateDeviceInternalServerError) String ¶
func (o *GetTemplateDeviceInternalServerError) String() string
type GetTemplateDeviceNameInternalServerError ¶
type GetTemplateDeviceNameInternalServerError struct { }
GetTemplateDeviceNameInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetTemplateDeviceNameInternalServerError ¶
func NewGetTemplateDeviceNameInternalServerError() *GetTemplateDeviceNameInternalServerError
NewGetTemplateDeviceNameInternalServerError creates a GetTemplateDeviceNameInternalServerError with default headers values
func (*GetTemplateDeviceNameInternalServerError) Error ¶
func (o *GetTemplateDeviceNameInternalServerError) Error() string
func (*GetTemplateDeviceNameInternalServerError) IsClientError ¶
func (o *GetTemplateDeviceNameInternalServerError) IsClientError() bool
IsClientError returns true when this get template device name internal server error response has a 4xx status code
func (*GetTemplateDeviceNameInternalServerError) IsCode ¶
func (o *GetTemplateDeviceNameInternalServerError) IsCode(code int) bool
IsCode returns true when this get template device name internal server error response a status code equal to that given
func (*GetTemplateDeviceNameInternalServerError) IsRedirect ¶
func (o *GetTemplateDeviceNameInternalServerError) IsRedirect() bool
IsRedirect returns true when this get template device name internal server error response has a 3xx status code
func (*GetTemplateDeviceNameInternalServerError) IsServerError ¶
func (o *GetTemplateDeviceNameInternalServerError) IsServerError() bool
IsServerError returns true when this get template device name internal server error response has a 5xx status code
func (*GetTemplateDeviceNameInternalServerError) IsSuccess ¶
func (o *GetTemplateDeviceNameInternalServerError) IsSuccess() bool
IsSuccess returns true when this get template device name internal server error response has a 2xx status code
func (*GetTemplateDeviceNameInternalServerError) String ¶
func (o *GetTemplateDeviceNameInternalServerError) String() string
type GetTemplateDeviceNameNotFound ¶
type GetTemplateDeviceNameNotFound struct { }
GetTemplateDeviceNameNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetTemplateDeviceNameNotFound ¶
func NewGetTemplateDeviceNameNotFound() *GetTemplateDeviceNameNotFound
NewGetTemplateDeviceNameNotFound creates a GetTemplateDeviceNameNotFound with default headers values
func (*GetTemplateDeviceNameNotFound) Error ¶
func (o *GetTemplateDeviceNameNotFound) Error() string
func (*GetTemplateDeviceNameNotFound) IsClientError ¶
func (o *GetTemplateDeviceNameNotFound) IsClientError() bool
IsClientError returns true when this get template device name not found response has a 4xx status code
func (*GetTemplateDeviceNameNotFound) IsCode ¶
func (o *GetTemplateDeviceNameNotFound) IsCode(code int) bool
IsCode returns true when this get template device name not found response a status code equal to that given
func (*GetTemplateDeviceNameNotFound) IsRedirect ¶
func (o *GetTemplateDeviceNameNotFound) IsRedirect() bool
IsRedirect returns true when this get template device name not found response has a 3xx status code
func (*GetTemplateDeviceNameNotFound) IsServerError ¶
func (o *GetTemplateDeviceNameNotFound) IsServerError() bool
IsServerError returns true when this get template device name not found response has a 5xx status code
func (*GetTemplateDeviceNameNotFound) IsSuccess ¶
func (o *GetTemplateDeviceNameNotFound) IsSuccess() bool
IsSuccess returns true when this get template device name not found response has a 2xx status code
func (*GetTemplateDeviceNameNotFound) String ¶
func (o *GetTemplateDeviceNameNotFound) String() string
type GetTemplateDeviceNameOK ¶
type GetTemplateDeviceNameOK struct {
Payload *models.DtosDeviceTemplateDto
}
GetTemplateDeviceNameOK describes a response with status code 200, with default header values.
OK
func NewGetTemplateDeviceNameOK ¶
func NewGetTemplateDeviceNameOK() *GetTemplateDeviceNameOK
NewGetTemplateDeviceNameOK creates a GetTemplateDeviceNameOK with default headers values
func (*GetTemplateDeviceNameOK) Error ¶
func (o *GetTemplateDeviceNameOK) Error() string
func (*GetTemplateDeviceNameOK) GetPayload ¶
func (o *GetTemplateDeviceNameOK) GetPayload() *models.DtosDeviceTemplateDto
func (*GetTemplateDeviceNameOK) IsClientError ¶
func (o *GetTemplateDeviceNameOK) IsClientError() bool
IsClientError returns true when this get template device name o k response has a 4xx status code
func (*GetTemplateDeviceNameOK) IsCode ¶
func (o *GetTemplateDeviceNameOK) IsCode(code int) bool
IsCode returns true when this get template device name o k response a status code equal to that given
func (*GetTemplateDeviceNameOK) IsRedirect ¶
func (o *GetTemplateDeviceNameOK) IsRedirect() bool
IsRedirect returns true when this get template device name o k response has a 3xx status code
func (*GetTemplateDeviceNameOK) IsServerError ¶
func (o *GetTemplateDeviceNameOK) IsServerError() bool
IsServerError returns true when this get template device name o k response has a 5xx status code
func (*GetTemplateDeviceNameOK) IsSuccess ¶
func (o *GetTemplateDeviceNameOK) IsSuccess() bool
IsSuccess returns true when this get template device name o k response has a 2xx status code
func (*GetTemplateDeviceNameOK) String ¶
func (o *GetTemplateDeviceNameOK) String() string
type GetTemplateDeviceNameParams ¶
type GetTemplateDeviceNameParams struct { /* Name. device template name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTemplateDeviceNameParams contains all the parameters to send to the API endpoint
for the get template device name operation. Typically these are written to a http.Request.
func NewGetTemplateDeviceNameParams ¶
func NewGetTemplateDeviceNameParams() *GetTemplateDeviceNameParams
NewGetTemplateDeviceNameParams creates a new GetTemplateDeviceNameParams 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 NewGetTemplateDeviceNameParamsWithContext ¶
func NewGetTemplateDeviceNameParamsWithContext(ctx context.Context) *GetTemplateDeviceNameParams
NewGetTemplateDeviceNameParamsWithContext creates a new GetTemplateDeviceNameParams object with the ability to set a context for a request.
func NewGetTemplateDeviceNameParamsWithHTTPClient ¶
func NewGetTemplateDeviceNameParamsWithHTTPClient(client *http.Client) *GetTemplateDeviceNameParams
NewGetTemplateDeviceNameParamsWithHTTPClient creates a new GetTemplateDeviceNameParams object with the ability to set a custom HTTPClient for a request.
func NewGetTemplateDeviceNameParamsWithTimeout ¶
func NewGetTemplateDeviceNameParamsWithTimeout(timeout time.Duration) *GetTemplateDeviceNameParams
NewGetTemplateDeviceNameParamsWithTimeout creates a new GetTemplateDeviceNameParams object with the ability to set a timeout on a request.
func (*GetTemplateDeviceNameParams) SetContext ¶
func (o *GetTemplateDeviceNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get template device name params
func (*GetTemplateDeviceNameParams) SetDefaults ¶
func (o *GetTemplateDeviceNameParams) SetDefaults()
SetDefaults hydrates default values in the get template device name params (not the query body).
All values with no default are reset to their zero value.
func (*GetTemplateDeviceNameParams) SetHTTPClient ¶
func (o *GetTemplateDeviceNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get template device name params
func (*GetTemplateDeviceNameParams) SetName ¶
func (o *GetTemplateDeviceNameParams) SetName(name string)
SetName adds the name to the get template device name params
func (*GetTemplateDeviceNameParams) SetTimeout ¶
func (o *GetTemplateDeviceNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get template device name params
func (*GetTemplateDeviceNameParams) WithContext ¶
func (o *GetTemplateDeviceNameParams) WithContext(ctx context.Context) *GetTemplateDeviceNameParams
WithContext adds the context to the get template device name params
func (*GetTemplateDeviceNameParams) WithDefaults ¶
func (o *GetTemplateDeviceNameParams) WithDefaults() *GetTemplateDeviceNameParams
WithDefaults hydrates default values in the get template device name params (not the query body).
All values with no default are reset to their zero value.
func (*GetTemplateDeviceNameParams) WithHTTPClient ¶
func (o *GetTemplateDeviceNameParams) WithHTTPClient(client *http.Client) *GetTemplateDeviceNameParams
WithHTTPClient adds the HTTPClient to the get template device name params
func (*GetTemplateDeviceNameParams) WithName ¶
func (o *GetTemplateDeviceNameParams) WithName(name string) *GetTemplateDeviceNameParams
WithName adds the name to the get template device name params
func (*GetTemplateDeviceNameParams) WithTimeout ¶
func (o *GetTemplateDeviceNameParams) WithTimeout(timeout time.Duration) *GetTemplateDeviceNameParams
WithTimeout adds the timeout to the get template device name params
func (*GetTemplateDeviceNameParams) WriteToRequest ¶
func (o *GetTemplateDeviceNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTemplateDeviceNameReader ¶
type GetTemplateDeviceNameReader struct {
// contains filtered or unexported fields
}
GetTemplateDeviceNameReader is a Reader for the GetTemplateDeviceName structure.
func (*GetTemplateDeviceNameReader) ReadResponse ¶
func (o *GetTemplateDeviceNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTemplateDeviceOK ¶
type GetTemplateDeviceOK struct {
Payload *models.DtosPaginatedItemsDtoDtosDeviceTemplateDto
}
GetTemplateDeviceOK describes a response with status code 200, with default header values.
OK
func NewGetTemplateDeviceOK ¶
func NewGetTemplateDeviceOK() *GetTemplateDeviceOK
NewGetTemplateDeviceOK creates a GetTemplateDeviceOK with default headers values
func (*GetTemplateDeviceOK) Error ¶
func (o *GetTemplateDeviceOK) Error() string
func (*GetTemplateDeviceOK) GetPayload ¶
func (o *GetTemplateDeviceOK) GetPayload() *models.DtosPaginatedItemsDtoDtosDeviceTemplateDto
func (*GetTemplateDeviceOK) IsClientError ¶
func (o *GetTemplateDeviceOK) IsClientError() bool
IsClientError returns true when this get template device o k response has a 4xx status code
func (*GetTemplateDeviceOK) IsCode ¶
func (o *GetTemplateDeviceOK) IsCode(code int) bool
IsCode returns true when this get template device o k response a status code equal to that given
func (*GetTemplateDeviceOK) IsRedirect ¶
func (o *GetTemplateDeviceOK) IsRedirect() bool
IsRedirect returns true when this get template device o k response has a 3xx status code
func (*GetTemplateDeviceOK) IsServerError ¶
func (o *GetTemplateDeviceOK) IsServerError() bool
IsServerError returns true when this get template device o k response has a 5xx status code
func (*GetTemplateDeviceOK) IsSuccess ¶
func (o *GetTemplateDeviceOK) IsSuccess() bool
IsSuccess returns true when this get template device o k response has a 2xx status code
func (*GetTemplateDeviceOK) String ¶
func (o *GetTemplateDeviceOK) String() string
type GetTemplateDeviceParams ¶
type GetTemplateDeviceParams struct { /* OrderBy. Order by field */ OrderBy *string /* OrderDirection. 'asc' or 'desc' for ascending or descending order */ OrderDirection *string /* Page. page number */ Page *int64 /* PageSize. number of entities per page */ PageSize *int64 /* Search. searchable value in entity */ Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTemplateDeviceParams contains all the parameters to send to the API endpoint
for the get template device operation. Typically these are written to a http.Request.
func NewGetTemplateDeviceParams ¶
func NewGetTemplateDeviceParams() *GetTemplateDeviceParams
NewGetTemplateDeviceParams creates a new GetTemplateDeviceParams 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 NewGetTemplateDeviceParamsWithContext ¶
func NewGetTemplateDeviceParamsWithContext(ctx context.Context) *GetTemplateDeviceParams
NewGetTemplateDeviceParamsWithContext creates a new GetTemplateDeviceParams object with the ability to set a context for a request.
func NewGetTemplateDeviceParamsWithHTTPClient ¶
func NewGetTemplateDeviceParamsWithHTTPClient(client *http.Client) *GetTemplateDeviceParams
NewGetTemplateDeviceParamsWithHTTPClient creates a new GetTemplateDeviceParams object with the ability to set a custom HTTPClient for a request.
func NewGetTemplateDeviceParamsWithTimeout ¶
func NewGetTemplateDeviceParamsWithTimeout(timeout time.Duration) *GetTemplateDeviceParams
NewGetTemplateDeviceParamsWithTimeout creates a new GetTemplateDeviceParams object with the ability to set a timeout on a request.
func (*GetTemplateDeviceParams) SetContext ¶
func (o *GetTemplateDeviceParams) SetContext(ctx context.Context)
SetContext adds the context to the get template device params
func (*GetTemplateDeviceParams) SetDefaults ¶
func (o *GetTemplateDeviceParams) SetDefaults()
SetDefaults hydrates default values in the get template device params (not the query body).
All values with no default are reset to their zero value.
func (*GetTemplateDeviceParams) SetHTTPClient ¶
func (o *GetTemplateDeviceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get template device params
func (*GetTemplateDeviceParams) SetOrderBy ¶
func (o *GetTemplateDeviceParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the get template device params
func (*GetTemplateDeviceParams) SetOrderDirection ¶
func (o *GetTemplateDeviceParams) SetOrderDirection(orderDirection *string)
SetOrderDirection adds the orderDirection to the get template device params
func (*GetTemplateDeviceParams) SetPage ¶
func (o *GetTemplateDeviceParams) SetPage(page *int64)
SetPage adds the page to the get template device params
func (*GetTemplateDeviceParams) SetPageSize ¶
func (o *GetTemplateDeviceParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the get template device params
func (*GetTemplateDeviceParams) SetSearch ¶
func (o *GetTemplateDeviceParams) SetSearch(search *string)
SetSearch adds the search to the get template device params
func (*GetTemplateDeviceParams) SetTimeout ¶
func (o *GetTemplateDeviceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get template device params
func (*GetTemplateDeviceParams) WithContext ¶
func (o *GetTemplateDeviceParams) WithContext(ctx context.Context) *GetTemplateDeviceParams
WithContext adds the context to the get template device params
func (*GetTemplateDeviceParams) WithDefaults ¶
func (o *GetTemplateDeviceParams) WithDefaults() *GetTemplateDeviceParams
WithDefaults hydrates default values in the get template device params (not the query body).
All values with no default are reset to their zero value.
func (*GetTemplateDeviceParams) WithHTTPClient ¶
func (o *GetTemplateDeviceParams) WithHTTPClient(client *http.Client) *GetTemplateDeviceParams
WithHTTPClient adds the HTTPClient to the get template device params
func (*GetTemplateDeviceParams) WithOrderBy ¶
func (o *GetTemplateDeviceParams) WithOrderBy(orderBy *string) *GetTemplateDeviceParams
WithOrderBy adds the orderBy to the get template device params
func (*GetTemplateDeviceParams) WithOrderDirection ¶
func (o *GetTemplateDeviceParams) WithOrderDirection(orderDirection *string) *GetTemplateDeviceParams
WithOrderDirection adds the orderDirection to the get template device params
func (*GetTemplateDeviceParams) WithPage ¶
func (o *GetTemplateDeviceParams) WithPage(page *int64) *GetTemplateDeviceParams
WithPage adds the page to the get template device params
func (*GetTemplateDeviceParams) WithPageSize ¶
func (o *GetTemplateDeviceParams) WithPageSize(pageSize *int64) *GetTemplateDeviceParams
WithPageSize adds the pageSize to the get template device params
func (*GetTemplateDeviceParams) WithSearch ¶
func (o *GetTemplateDeviceParams) WithSearch(search *string) *GetTemplateDeviceParams
WithSearch adds the search to the get template device params
func (*GetTemplateDeviceParams) WithTimeout ¶
func (o *GetTemplateDeviceParams) WithTimeout(timeout time.Duration) *GetTemplateDeviceParams
WithTimeout adds the timeout to the get template device params
func (*GetTemplateDeviceParams) WriteToRequest ¶
func (o *GetTemplateDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTemplateDeviceReader ¶
type GetTemplateDeviceReader struct {
// contains filtered or unexported fields
}
GetTemplateDeviceReader is a Reader for the GetTemplateDevice structure.
func (*GetTemplateDeviceReader) ReadResponse ¶
func (o *GetTemplateDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.