Documentation ¶
Index ¶
- type AssetsCreateBadRequest
- type AssetsCreateCreated
- type AssetsCreateParams
- func (o *AssetsCreateParams) SetContext(ctx context.Context)
- func (o *AssetsCreateParams) SetData(data *models.AssetCreate)
- func (o *AssetsCreateParams) SetDefaults()
- func (o *AssetsCreateParams) SetHTTPClient(client *http.Client)
- func (o *AssetsCreateParams) SetTimeout(timeout time.Duration)
- func (o *AssetsCreateParams) WithContext(ctx context.Context) *AssetsCreateParams
- func (o *AssetsCreateParams) WithData(data *models.AssetCreate) *AssetsCreateParams
- func (o *AssetsCreateParams) WithDefaults() *AssetsCreateParams
- func (o *AssetsCreateParams) WithHTTPClient(client *http.Client) *AssetsCreateParams
- func (o *AssetsCreateParams) WithTimeout(timeout time.Duration) *AssetsCreateParams
- func (o *AssetsCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AssetsCreateReader
- type AssetsCreateUnauthorized
- type AssetsDeleteOK
- type AssetsDeleteParams
- func (o *AssetsDeleteParams) SetContext(ctx context.Context)
- func (o *AssetsDeleteParams) SetDefaults()
- func (o *AssetsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *AssetsDeleteParams) SetID(id string)
- func (o *AssetsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *AssetsDeleteParams) WithContext(ctx context.Context) *AssetsDeleteParams
- func (o *AssetsDeleteParams) WithDefaults() *AssetsDeleteParams
- func (o *AssetsDeleteParams) WithHTTPClient(client *http.Client) *AssetsDeleteParams
- func (o *AssetsDeleteParams) WithID(id string) *AssetsDeleteParams
- func (o *AssetsDeleteParams) WithTimeout(timeout time.Duration) *AssetsDeleteParams
- func (o *AssetsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AssetsDeleteReader
- type AssetsDeleteUnauthorized
- type AssetsListOK
- type AssetsListParams
- func (o *AssetsListParams) SetContext(ctx context.Context)
- func (o *AssetsListParams) SetDefaults()
- func (o *AssetsListParams) SetHTTPClient(client *http.Client)
- func (o *AssetsListParams) SetTimeout(timeout time.Duration)
- func (o *AssetsListParams) WithContext(ctx context.Context) *AssetsListParams
- func (o *AssetsListParams) WithDefaults() *AssetsListParams
- func (o *AssetsListParams) WithHTTPClient(client *http.Client) *AssetsListParams
- func (o *AssetsListParams) WithTimeout(timeout time.Duration) *AssetsListParams
- func (o *AssetsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AssetsListReader
- type AssetsListUnauthorized
- type AssetsPartialUpdateBadRequest
- type AssetsPartialUpdateOK
- type AssetsPartialUpdateParams
- func NewAssetsPartialUpdateParams() *AssetsPartialUpdateParams
- func NewAssetsPartialUpdateParamsWithContext(ctx context.Context) *AssetsPartialUpdateParams
- func NewAssetsPartialUpdateParamsWithHTTPClient(client *http.Client) *AssetsPartialUpdateParams
- func NewAssetsPartialUpdateParamsWithTimeout(timeout time.Duration) *AssetsPartialUpdateParams
- func (o *AssetsPartialUpdateParams) SetContext(ctx context.Context)
- func (o *AssetsPartialUpdateParams) SetData(data *models.AssetUpdate)
- func (o *AssetsPartialUpdateParams) SetDefaults()
- func (o *AssetsPartialUpdateParams) SetHTTPClient(client *http.Client)
- func (o *AssetsPartialUpdateParams) SetID(id string)
- func (o *AssetsPartialUpdateParams) SetTimeout(timeout time.Duration)
- func (o *AssetsPartialUpdateParams) WithContext(ctx context.Context) *AssetsPartialUpdateParams
- func (o *AssetsPartialUpdateParams) WithData(data *models.AssetUpdate) *AssetsPartialUpdateParams
- func (o *AssetsPartialUpdateParams) WithDefaults() *AssetsPartialUpdateParams
- func (o *AssetsPartialUpdateParams) WithHTTPClient(client *http.Client) *AssetsPartialUpdateParams
- func (o *AssetsPartialUpdateParams) WithID(id string) *AssetsPartialUpdateParams
- func (o *AssetsPartialUpdateParams) WithTimeout(timeout time.Duration) *AssetsPartialUpdateParams
- func (o *AssetsPartialUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AssetsPartialUpdateReader
- type AssetsPartialUpdateUnauthorized
- type AssetsReadOK
- type AssetsReadParams
- func (o *AssetsReadParams) SetContext(ctx context.Context)
- func (o *AssetsReadParams) SetDefaults()
- func (o *AssetsReadParams) SetHTTPClient(client *http.Client)
- func (o *AssetsReadParams) SetID(id string)
- func (o *AssetsReadParams) SetTimeout(timeout time.Duration)
- func (o *AssetsReadParams) WithContext(ctx context.Context) *AssetsReadParams
- func (o *AssetsReadParams) WithDefaults() *AssetsReadParams
- func (o *AssetsReadParams) WithHTTPClient(client *http.Client) *AssetsReadParams
- func (o *AssetsReadParams) WithID(id string) *AssetsReadParams
- func (o *AssetsReadParams) WithTimeout(timeout time.Duration) *AssetsReadParams
- func (o *AssetsReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AssetsReadReader
- type AssetsReadUnauthorized
- type AssetsUpdateBadRequest
- type AssetsUpdateOK
- type AssetsUpdateParams
- func (o *AssetsUpdateParams) SetContext(ctx context.Context)
- func (o *AssetsUpdateParams) SetData(data *models.AssetUpdate)
- func (o *AssetsUpdateParams) SetDefaults()
- func (o *AssetsUpdateParams) SetHTTPClient(client *http.Client)
- func (o *AssetsUpdateParams) SetID(id string)
- func (o *AssetsUpdateParams) SetTimeout(timeout time.Duration)
- func (o *AssetsUpdateParams) WithContext(ctx context.Context) *AssetsUpdateParams
- func (o *AssetsUpdateParams) WithData(data *models.AssetUpdate) *AssetsUpdateParams
- func (o *AssetsUpdateParams) WithDefaults() *AssetsUpdateParams
- func (o *AssetsUpdateParams) WithHTTPClient(client *http.Client) *AssetsUpdateParams
- func (o *AssetsUpdateParams) WithID(id string) *AssetsUpdateParams
- func (o *AssetsUpdateParams) WithTimeout(timeout time.Duration) *AssetsUpdateParams
- func (o *AssetsUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AssetsUpdateReader
- type AssetsUpdateUnauthorized
- type Client
- func (a *Client) AssetsCreate(params *AssetsCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AssetsCreateCreated, error)
- func (a *Client) AssetsDelete(params *AssetsDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AssetsDeleteOK, error)
- func (a *Client) AssetsList(params *AssetsListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AssetsListOK, error)
- func (a *Client) AssetsPartialUpdate(params *AssetsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AssetsPartialUpdateOK, error)
- func (a *Client) AssetsRead(params *AssetsReadParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AssetsReadOK, error)
- func (a *Client) AssetsUpdate(params *AssetsUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AssetsUpdateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetsCreateBadRequest ¶
type AssetsCreateBadRequest struct { }
AssetsCreateBadRequest describes a response with status code 400, with default header values.
You sent a malformed or bad request.
func NewAssetsCreateBadRequest ¶
func NewAssetsCreateBadRequest() *AssetsCreateBadRequest
NewAssetsCreateBadRequest creates a AssetsCreateBadRequest with default headers values
func (*AssetsCreateBadRequest) Error ¶
func (o *AssetsCreateBadRequest) Error() string
type AssetsCreateCreated ¶
AssetsCreateCreated describes a response with status code 201, with default header values.
AssetsCreateCreated assets create created
func NewAssetsCreateCreated ¶
func NewAssetsCreateCreated() *AssetsCreateCreated
NewAssetsCreateCreated creates a AssetsCreateCreated with default headers values
func (*AssetsCreateCreated) Error ¶
func (o *AssetsCreateCreated) Error() string
func (*AssetsCreateCreated) GetPayload ¶
func (o *AssetsCreateCreated) GetPayload() *models.Asset
type AssetsCreateParams ¶
type AssetsCreateParams struct { // Data. Data *models.AssetCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AssetsCreateParams contains all the parameters to send to the API endpoint
for the assets create operation. Typically these are written to a http.Request.
func NewAssetsCreateParams ¶
func NewAssetsCreateParams() *AssetsCreateParams
NewAssetsCreateParams creates a new AssetsCreateParams 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 NewAssetsCreateParamsWithContext ¶
func NewAssetsCreateParamsWithContext(ctx context.Context) *AssetsCreateParams
NewAssetsCreateParamsWithContext creates a new AssetsCreateParams object with the ability to set a context for a request.
func NewAssetsCreateParamsWithHTTPClient ¶
func NewAssetsCreateParamsWithHTTPClient(client *http.Client) *AssetsCreateParams
NewAssetsCreateParamsWithHTTPClient creates a new AssetsCreateParams object with the ability to set a custom HTTPClient for a request.
func NewAssetsCreateParamsWithTimeout ¶
func NewAssetsCreateParamsWithTimeout(timeout time.Duration) *AssetsCreateParams
NewAssetsCreateParamsWithTimeout creates a new AssetsCreateParams object with the ability to set a timeout on a request.
func (*AssetsCreateParams) SetContext ¶
func (o *AssetsCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the assets create params
func (*AssetsCreateParams) SetData ¶
func (o *AssetsCreateParams) SetData(data *models.AssetCreate)
SetData adds the data to the assets create params
func (*AssetsCreateParams) SetDefaults ¶
func (o *AssetsCreateParams) SetDefaults()
SetDefaults hydrates default values in the assets create params (not the query body).
All values with no default are reset to their zero value.
func (*AssetsCreateParams) SetHTTPClient ¶
func (o *AssetsCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the assets create params
func (*AssetsCreateParams) SetTimeout ¶
func (o *AssetsCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the assets create params
func (*AssetsCreateParams) WithContext ¶
func (o *AssetsCreateParams) WithContext(ctx context.Context) *AssetsCreateParams
WithContext adds the context to the assets create params
func (*AssetsCreateParams) WithData ¶
func (o *AssetsCreateParams) WithData(data *models.AssetCreate) *AssetsCreateParams
WithData adds the data to the assets create params
func (*AssetsCreateParams) WithDefaults ¶
func (o *AssetsCreateParams) WithDefaults() *AssetsCreateParams
WithDefaults hydrates default values in the assets create params (not the query body).
All values with no default are reset to their zero value.
func (*AssetsCreateParams) WithHTTPClient ¶
func (o *AssetsCreateParams) WithHTTPClient(client *http.Client) *AssetsCreateParams
WithHTTPClient adds the HTTPClient to the assets create params
func (*AssetsCreateParams) WithTimeout ¶
func (o *AssetsCreateParams) WithTimeout(timeout time.Duration) *AssetsCreateParams
WithTimeout adds the timeout to the assets create params
func (*AssetsCreateParams) WriteToRequest ¶
func (o *AssetsCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AssetsCreateReader ¶
type AssetsCreateReader struct {
// contains filtered or unexported fields
}
AssetsCreateReader is a Reader for the AssetsCreate structure.
func (*AssetsCreateReader) ReadResponse ¶
func (o *AssetsCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AssetsCreateUnauthorized ¶
type AssetsCreateUnauthorized struct { }
AssetsCreateUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewAssetsCreateUnauthorized ¶
func NewAssetsCreateUnauthorized() *AssetsCreateUnauthorized
NewAssetsCreateUnauthorized creates a AssetsCreateUnauthorized with default headers values
func (*AssetsCreateUnauthorized) Error ¶
func (o *AssetsCreateUnauthorized) Error() string
type AssetsDeleteOK ¶
type AssetsDeleteOK struct { }
AssetsDeleteOK describes a response with status code 200, with default header values.
AssetsDeleteOK assets delete o k
func NewAssetsDeleteOK ¶
func NewAssetsDeleteOK() *AssetsDeleteOK
NewAssetsDeleteOK creates a AssetsDeleteOK with default headers values
func (*AssetsDeleteOK) Error ¶
func (o *AssetsDeleteOK) Error() string
type AssetsDeleteParams ¶
type AssetsDeleteParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AssetsDeleteParams contains all the parameters to send to the API endpoint
for the assets delete operation. Typically these are written to a http.Request.
func NewAssetsDeleteParams ¶
func NewAssetsDeleteParams() *AssetsDeleteParams
NewAssetsDeleteParams creates a new AssetsDeleteParams 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 NewAssetsDeleteParamsWithContext ¶
func NewAssetsDeleteParamsWithContext(ctx context.Context) *AssetsDeleteParams
NewAssetsDeleteParamsWithContext creates a new AssetsDeleteParams object with the ability to set a context for a request.
func NewAssetsDeleteParamsWithHTTPClient ¶
func NewAssetsDeleteParamsWithHTTPClient(client *http.Client) *AssetsDeleteParams
NewAssetsDeleteParamsWithHTTPClient creates a new AssetsDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewAssetsDeleteParamsWithTimeout ¶
func NewAssetsDeleteParamsWithTimeout(timeout time.Duration) *AssetsDeleteParams
NewAssetsDeleteParamsWithTimeout creates a new AssetsDeleteParams object with the ability to set a timeout on a request.
func (*AssetsDeleteParams) SetContext ¶
func (o *AssetsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the assets delete params
func (*AssetsDeleteParams) SetDefaults ¶
func (o *AssetsDeleteParams) SetDefaults()
SetDefaults hydrates default values in the assets delete params (not the query body).
All values with no default are reset to their zero value.
func (*AssetsDeleteParams) SetHTTPClient ¶
func (o *AssetsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the assets delete params
func (*AssetsDeleteParams) SetID ¶
func (o *AssetsDeleteParams) SetID(id string)
SetID adds the id to the assets delete params
func (*AssetsDeleteParams) SetTimeout ¶
func (o *AssetsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the assets delete params
func (*AssetsDeleteParams) WithContext ¶
func (o *AssetsDeleteParams) WithContext(ctx context.Context) *AssetsDeleteParams
WithContext adds the context to the assets delete params
func (*AssetsDeleteParams) WithDefaults ¶
func (o *AssetsDeleteParams) WithDefaults() *AssetsDeleteParams
WithDefaults hydrates default values in the assets delete params (not the query body).
All values with no default are reset to their zero value.
func (*AssetsDeleteParams) WithHTTPClient ¶
func (o *AssetsDeleteParams) WithHTTPClient(client *http.Client) *AssetsDeleteParams
WithHTTPClient adds the HTTPClient to the assets delete params
func (*AssetsDeleteParams) WithID ¶
func (o *AssetsDeleteParams) WithID(id string) *AssetsDeleteParams
WithID adds the id to the assets delete params
func (*AssetsDeleteParams) WithTimeout ¶
func (o *AssetsDeleteParams) WithTimeout(timeout time.Duration) *AssetsDeleteParams
WithTimeout adds the timeout to the assets delete params
func (*AssetsDeleteParams) WriteToRequest ¶
func (o *AssetsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AssetsDeleteReader ¶
type AssetsDeleteReader struct {
// contains filtered or unexported fields
}
AssetsDeleteReader is a Reader for the AssetsDelete structure.
func (*AssetsDeleteReader) ReadResponse ¶
func (o *AssetsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AssetsDeleteUnauthorized ¶
type AssetsDeleteUnauthorized struct { }
AssetsDeleteUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewAssetsDeleteUnauthorized ¶
func NewAssetsDeleteUnauthorized() *AssetsDeleteUnauthorized
NewAssetsDeleteUnauthorized creates a AssetsDeleteUnauthorized with default headers values
func (*AssetsDeleteUnauthorized) Error ¶
func (o *AssetsDeleteUnauthorized) Error() string
type AssetsListOK ¶
AssetsListOK describes a response with status code 200, with default header values.
AssetsListOK assets list o k
func NewAssetsListOK ¶
func NewAssetsListOK() *AssetsListOK
NewAssetsListOK creates a AssetsListOK with default headers values
func (*AssetsListOK) Error ¶
func (o *AssetsListOK) Error() string
func (*AssetsListOK) GetPayload ¶
func (o *AssetsListOK) GetPayload() []*models.Asset
type AssetsListParams ¶
type AssetsListParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AssetsListParams contains all the parameters to send to the API endpoint
for the assets list operation. Typically these are written to a http.Request.
func NewAssetsListParams ¶
func NewAssetsListParams() *AssetsListParams
NewAssetsListParams creates a new AssetsListParams 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 NewAssetsListParamsWithContext ¶
func NewAssetsListParamsWithContext(ctx context.Context) *AssetsListParams
NewAssetsListParamsWithContext creates a new AssetsListParams object with the ability to set a context for a request.
func NewAssetsListParamsWithHTTPClient ¶
func NewAssetsListParamsWithHTTPClient(client *http.Client) *AssetsListParams
NewAssetsListParamsWithHTTPClient creates a new AssetsListParams object with the ability to set a custom HTTPClient for a request.
func NewAssetsListParamsWithTimeout ¶
func NewAssetsListParamsWithTimeout(timeout time.Duration) *AssetsListParams
NewAssetsListParamsWithTimeout creates a new AssetsListParams object with the ability to set a timeout on a request.
func (*AssetsListParams) SetContext ¶
func (o *AssetsListParams) SetContext(ctx context.Context)
SetContext adds the context to the assets list params
func (*AssetsListParams) SetDefaults ¶
func (o *AssetsListParams) SetDefaults()
SetDefaults hydrates default values in the assets list params (not the query body).
All values with no default are reset to their zero value.
func (*AssetsListParams) SetHTTPClient ¶
func (o *AssetsListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the assets list params
func (*AssetsListParams) SetTimeout ¶
func (o *AssetsListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the assets list params
func (*AssetsListParams) WithContext ¶
func (o *AssetsListParams) WithContext(ctx context.Context) *AssetsListParams
WithContext adds the context to the assets list params
func (*AssetsListParams) WithDefaults ¶
func (o *AssetsListParams) WithDefaults() *AssetsListParams
WithDefaults hydrates default values in the assets list params (not the query body).
All values with no default are reset to their zero value.
func (*AssetsListParams) WithHTTPClient ¶
func (o *AssetsListParams) WithHTTPClient(client *http.Client) *AssetsListParams
WithHTTPClient adds the HTTPClient to the assets list params
func (*AssetsListParams) WithTimeout ¶
func (o *AssetsListParams) WithTimeout(timeout time.Duration) *AssetsListParams
WithTimeout adds the timeout to the assets list params
func (*AssetsListParams) WriteToRequest ¶
func (o *AssetsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AssetsListReader ¶
type AssetsListReader struct {
// contains filtered or unexported fields
}
AssetsListReader is a Reader for the AssetsList structure.
func (*AssetsListReader) ReadResponse ¶
func (o *AssetsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AssetsListUnauthorized ¶
type AssetsListUnauthorized struct { }
AssetsListUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewAssetsListUnauthorized ¶
func NewAssetsListUnauthorized() *AssetsListUnauthorized
NewAssetsListUnauthorized creates a AssetsListUnauthorized with default headers values
func (*AssetsListUnauthorized) Error ¶
func (o *AssetsListUnauthorized) Error() string
type AssetsPartialUpdateBadRequest ¶
type AssetsPartialUpdateBadRequest struct { }
AssetsPartialUpdateBadRequest describes a response with status code 400, with default header values.
You sent a malformed or bad request.
func NewAssetsPartialUpdateBadRequest ¶
func NewAssetsPartialUpdateBadRequest() *AssetsPartialUpdateBadRequest
NewAssetsPartialUpdateBadRequest creates a AssetsPartialUpdateBadRequest with default headers values
func (*AssetsPartialUpdateBadRequest) Error ¶
func (o *AssetsPartialUpdateBadRequest) Error() string
type AssetsPartialUpdateOK ¶
AssetsPartialUpdateOK describes a response with status code 200, with default header values.
AssetsPartialUpdateOK assets partial update o k
func NewAssetsPartialUpdateOK ¶
func NewAssetsPartialUpdateOK() *AssetsPartialUpdateOK
NewAssetsPartialUpdateOK creates a AssetsPartialUpdateOK with default headers values
func (*AssetsPartialUpdateOK) Error ¶
func (o *AssetsPartialUpdateOK) Error() string
func (*AssetsPartialUpdateOK) GetPayload ¶
func (o *AssetsPartialUpdateOK) GetPayload() *models.Asset
type AssetsPartialUpdateParams ¶
type AssetsPartialUpdateParams struct { // Data. Data *models.AssetUpdate // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AssetsPartialUpdateParams contains all the parameters to send to the API endpoint
for the assets partial update operation. Typically these are written to a http.Request.
func NewAssetsPartialUpdateParams ¶
func NewAssetsPartialUpdateParams() *AssetsPartialUpdateParams
NewAssetsPartialUpdateParams creates a new AssetsPartialUpdateParams 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 NewAssetsPartialUpdateParamsWithContext ¶
func NewAssetsPartialUpdateParamsWithContext(ctx context.Context) *AssetsPartialUpdateParams
NewAssetsPartialUpdateParamsWithContext creates a new AssetsPartialUpdateParams object with the ability to set a context for a request.
func NewAssetsPartialUpdateParamsWithHTTPClient ¶
func NewAssetsPartialUpdateParamsWithHTTPClient(client *http.Client) *AssetsPartialUpdateParams
NewAssetsPartialUpdateParamsWithHTTPClient creates a new AssetsPartialUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewAssetsPartialUpdateParamsWithTimeout ¶
func NewAssetsPartialUpdateParamsWithTimeout(timeout time.Duration) *AssetsPartialUpdateParams
NewAssetsPartialUpdateParamsWithTimeout creates a new AssetsPartialUpdateParams object with the ability to set a timeout on a request.
func (*AssetsPartialUpdateParams) SetContext ¶
func (o *AssetsPartialUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the assets partial update params
func (*AssetsPartialUpdateParams) SetData ¶
func (o *AssetsPartialUpdateParams) SetData(data *models.AssetUpdate)
SetData adds the data to the assets partial update params
func (*AssetsPartialUpdateParams) SetDefaults ¶
func (o *AssetsPartialUpdateParams) SetDefaults()
SetDefaults hydrates default values in the assets partial update params (not the query body).
All values with no default are reset to their zero value.
func (*AssetsPartialUpdateParams) SetHTTPClient ¶
func (o *AssetsPartialUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the assets partial update params
func (*AssetsPartialUpdateParams) SetID ¶
func (o *AssetsPartialUpdateParams) SetID(id string)
SetID adds the id to the assets partial update params
func (*AssetsPartialUpdateParams) SetTimeout ¶
func (o *AssetsPartialUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the assets partial update params
func (*AssetsPartialUpdateParams) WithContext ¶
func (o *AssetsPartialUpdateParams) WithContext(ctx context.Context) *AssetsPartialUpdateParams
WithContext adds the context to the assets partial update params
func (*AssetsPartialUpdateParams) WithData ¶
func (o *AssetsPartialUpdateParams) WithData(data *models.AssetUpdate) *AssetsPartialUpdateParams
WithData adds the data to the assets partial update params
func (*AssetsPartialUpdateParams) WithDefaults ¶
func (o *AssetsPartialUpdateParams) WithDefaults() *AssetsPartialUpdateParams
WithDefaults hydrates default values in the assets partial update params (not the query body).
All values with no default are reset to their zero value.
func (*AssetsPartialUpdateParams) WithHTTPClient ¶
func (o *AssetsPartialUpdateParams) WithHTTPClient(client *http.Client) *AssetsPartialUpdateParams
WithHTTPClient adds the HTTPClient to the assets partial update params
func (*AssetsPartialUpdateParams) WithID ¶
func (o *AssetsPartialUpdateParams) WithID(id string) *AssetsPartialUpdateParams
WithID adds the id to the assets partial update params
func (*AssetsPartialUpdateParams) WithTimeout ¶
func (o *AssetsPartialUpdateParams) WithTimeout(timeout time.Duration) *AssetsPartialUpdateParams
WithTimeout adds the timeout to the assets partial update params
func (*AssetsPartialUpdateParams) WriteToRequest ¶
func (o *AssetsPartialUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AssetsPartialUpdateReader ¶
type AssetsPartialUpdateReader struct {
// contains filtered or unexported fields
}
AssetsPartialUpdateReader is a Reader for the AssetsPartialUpdate structure.
func (*AssetsPartialUpdateReader) ReadResponse ¶
func (o *AssetsPartialUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AssetsPartialUpdateUnauthorized ¶
type AssetsPartialUpdateUnauthorized struct { }
AssetsPartialUpdateUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewAssetsPartialUpdateUnauthorized ¶
func NewAssetsPartialUpdateUnauthorized() *AssetsPartialUpdateUnauthorized
NewAssetsPartialUpdateUnauthorized creates a AssetsPartialUpdateUnauthorized with default headers values
func (*AssetsPartialUpdateUnauthorized) Error ¶
func (o *AssetsPartialUpdateUnauthorized) Error() string
type AssetsReadOK ¶
AssetsReadOK describes a response with status code 200, with default header values.
AssetsReadOK assets read o k
func NewAssetsReadOK ¶
func NewAssetsReadOK() *AssetsReadOK
NewAssetsReadOK creates a AssetsReadOK with default headers values
func (*AssetsReadOK) Error ¶
func (o *AssetsReadOK) Error() string
func (*AssetsReadOK) GetPayload ¶
func (o *AssetsReadOK) GetPayload() *models.Asset
type AssetsReadParams ¶
type AssetsReadParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AssetsReadParams contains all the parameters to send to the API endpoint
for the assets read operation. Typically these are written to a http.Request.
func NewAssetsReadParams ¶
func NewAssetsReadParams() *AssetsReadParams
NewAssetsReadParams creates a new AssetsReadParams 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 NewAssetsReadParamsWithContext ¶
func NewAssetsReadParamsWithContext(ctx context.Context) *AssetsReadParams
NewAssetsReadParamsWithContext creates a new AssetsReadParams object with the ability to set a context for a request.
func NewAssetsReadParamsWithHTTPClient ¶
func NewAssetsReadParamsWithHTTPClient(client *http.Client) *AssetsReadParams
NewAssetsReadParamsWithHTTPClient creates a new AssetsReadParams object with the ability to set a custom HTTPClient for a request.
func NewAssetsReadParamsWithTimeout ¶
func NewAssetsReadParamsWithTimeout(timeout time.Duration) *AssetsReadParams
NewAssetsReadParamsWithTimeout creates a new AssetsReadParams object with the ability to set a timeout on a request.
func (*AssetsReadParams) SetContext ¶
func (o *AssetsReadParams) SetContext(ctx context.Context)
SetContext adds the context to the assets read params
func (*AssetsReadParams) SetDefaults ¶
func (o *AssetsReadParams) SetDefaults()
SetDefaults hydrates default values in the assets read params (not the query body).
All values with no default are reset to their zero value.
func (*AssetsReadParams) SetHTTPClient ¶
func (o *AssetsReadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the assets read params
func (*AssetsReadParams) SetID ¶
func (o *AssetsReadParams) SetID(id string)
SetID adds the id to the assets read params
func (*AssetsReadParams) SetTimeout ¶
func (o *AssetsReadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the assets read params
func (*AssetsReadParams) WithContext ¶
func (o *AssetsReadParams) WithContext(ctx context.Context) *AssetsReadParams
WithContext adds the context to the assets read params
func (*AssetsReadParams) WithDefaults ¶
func (o *AssetsReadParams) WithDefaults() *AssetsReadParams
WithDefaults hydrates default values in the assets read params (not the query body).
All values with no default are reset to their zero value.
func (*AssetsReadParams) WithHTTPClient ¶
func (o *AssetsReadParams) WithHTTPClient(client *http.Client) *AssetsReadParams
WithHTTPClient adds the HTTPClient to the assets read params
func (*AssetsReadParams) WithID ¶
func (o *AssetsReadParams) WithID(id string) *AssetsReadParams
WithID adds the id to the assets read params
func (*AssetsReadParams) WithTimeout ¶
func (o *AssetsReadParams) WithTimeout(timeout time.Duration) *AssetsReadParams
WithTimeout adds the timeout to the assets read params
func (*AssetsReadParams) WriteToRequest ¶
func (o *AssetsReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AssetsReadReader ¶
type AssetsReadReader struct {
// contains filtered or unexported fields
}
AssetsReadReader is a Reader for the AssetsRead structure.
func (*AssetsReadReader) ReadResponse ¶
func (o *AssetsReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AssetsReadUnauthorized ¶
type AssetsReadUnauthorized struct { }
AssetsReadUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewAssetsReadUnauthorized ¶
func NewAssetsReadUnauthorized() *AssetsReadUnauthorized
NewAssetsReadUnauthorized creates a AssetsReadUnauthorized with default headers values
func (*AssetsReadUnauthorized) Error ¶
func (o *AssetsReadUnauthorized) Error() string
type AssetsUpdateBadRequest ¶
type AssetsUpdateBadRequest struct { }
AssetsUpdateBadRequest describes a response with status code 400, with default header values.
You sent a malformed or bad request.
func NewAssetsUpdateBadRequest ¶
func NewAssetsUpdateBadRequest() *AssetsUpdateBadRequest
NewAssetsUpdateBadRequest creates a AssetsUpdateBadRequest with default headers values
func (*AssetsUpdateBadRequest) Error ¶
func (o *AssetsUpdateBadRequest) Error() string
type AssetsUpdateOK ¶
AssetsUpdateOK describes a response with status code 200, with default header values.
AssetsUpdateOK assets update o k
func NewAssetsUpdateOK ¶
func NewAssetsUpdateOK() *AssetsUpdateOK
NewAssetsUpdateOK creates a AssetsUpdateOK with default headers values
func (*AssetsUpdateOK) Error ¶
func (o *AssetsUpdateOK) Error() string
func (*AssetsUpdateOK) GetPayload ¶
func (o *AssetsUpdateOK) GetPayload() *models.Asset
type AssetsUpdateParams ¶
type AssetsUpdateParams struct { // Data. Data *models.AssetUpdate // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AssetsUpdateParams contains all the parameters to send to the API endpoint
for the assets update operation. Typically these are written to a http.Request.
func NewAssetsUpdateParams ¶
func NewAssetsUpdateParams() *AssetsUpdateParams
NewAssetsUpdateParams creates a new AssetsUpdateParams 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 NewAssetsUpdateParamsWithContext ¶
func NewAssetsUpdateParamsWithContext(ctx context.Context) *AssetsUpdateParams
NewAssetsUpdateParamsWithContext creates a new AssetsUpdateParams object with the ability to set a context for a request.
func NewAssetsUpdateParamsWithHTTPClient ¶
func NewAssetsUpdateParamsWithHTTPClient(client *http.Client) *AssetsUpdateParams
NewAssetsUpdateParamsWithHTTPClient creates a new AssetsUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewAssetsUpdateParamsWithTimeout ¶
func NewAssetsUpdateParamsWithTimeout(timeout time.Duration) *AssetsUpdateParams
NewAssetsUpdateParamsWithTimeout creates a new AssetsUpdateParams object with the ability to set a timeout on a request.
func (*AssetsUpdateParams) SetContext ¶
func (o *AssetsUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the assets update params
func (*AssetsUpdateParams) SetData ¶
func (o *AssetsUpdateParams) SetData(data *models.AssetUpdate)
SetData adds the data to the assets update params
func (*AssetsUpdateParams) SetDefaults ¶
func (o *AssetsUpdateParams) SetDefaults()
SetDefaults hydrates default values in the assets update params (not the query body).
All values with no default are reset to their zero value.
func (*AssetsUpdateParams) SetHTTPClient ¶
func (o *AssetsUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the assets update params
func (*AssetsUpdateParams) SetID ¶
func (o *AssetsUpdateParams) SetID(id string)
SetID adds the id to the assets update params
func (*AssetsUpdateParams) SetTimeout ¶
func (o *AssetsUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the assets update params
func (*AssetsUpdateParams) WithContext ¶
func (o *AssetsUpdateParams) WithContext(ctx context.Context) *AssetsUpdateParams
WithContext adds the context to the assets update params
func (*AssetsUpdateParams) WithData ¶
func (o *AssetsUpdateParams) WithData(data *models.AssetUpdate) *AssetsUpdateParams
WithData adds the data to the assets update params
func (*AssetsUpdateParams) WithDefaults ¶
func (o *AssetsUpdateParams) WithDefaults() *AssetsUpdateParams
WithDefaults hydrates default values in the assets update params (not the query body).
All values with no default are reset to their zero value.
func (*AssetsUpdateParams) WithHTTPClient ¶
func (o *AssetsUpdateParams) WithHTTPClient(client *http.Client) *AssetsUpdateParams
WithHTTPClient adds the HTTPClient to the assets update params
func (*AssetsUpdateParams) WithID ¶
func (o *AssetsUpdateParams) WithID(id string) *AssetsUpdateParams
WithID adds the id to the assets update params
func (*AssetsUpdateParams) WithTimeout ¶
func (o *AssetsUpdateParams) WithTimeout(timeout time.Duration) *AssetsUpdateParams
WithTimeout adds the timeout to the assets update params
func (*AssetsUpdateParams) WriteToRequest ¶
func (o *AssetsUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AssetsUpdateReader ¶
type AssetsUpdateReader struct {
// contains filtered or unexported fields
}
AssetsUpdateReader is a Reader for the AssetsUpdate structure.
func (*AssetsUpdateReader) ReadResponse ¶
func (o *AssetsUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AssetsUpdateUnauthorized ¶
type AssetsUpdateUnauthorized struct { }
AssetsUpdateUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewAssetsUpdateUnauthorized ¶
func NewAssetsUpdateUnauthorized() *AssetsUpdateUnauthorized
NewAssetsUpdateUnauthorized creates a AssetsUpdateUnauthorized with default headers values
func (*AssetsUpdateUnauthorized) Error ¶
func (o *AssetsUpdateUnauthorized) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for assets API
func (*Client) AssetsCreate ¶
func (a *Client) AssetsCreate(params *AssetsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssetsCreateCreated, error)
AssetsCreate creates asset
Define a new asset by providing a URL to a web page, an image file or a video file. Assets are the content that can be scheduled on screens, such as images, video and web pages.
func (*Client) AssetsDelete ¶
func (a *Client) AssetsDelete(params *AssetsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssetsDeleteOK, error)
AssetsDelete deletes asset
Delete a specific asset. Assets are the content that can be scheduled on screens, such as images, video and web pages.
func (*Client) AssetsList ¶
func (a *Client) AssetsList(params *AssetsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssetsListOK, error)
AssetsList gets asset list
Get a list of assets. Assets are the content that can be scheduled on screens, such as images, video and web pages.
func (*Client) AssetsPartialUpdate ¶
func (a *Client) AssetsPartialUpdate(params *AssetsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssetsPartialUpdateOK, error)
AssetsPartialUpdate updates asset partially
Change specific fields of an asset. Assets are the content that can be scheduled on screens, such as images, video and web pages.
func (*Client) AssetsRead ¶
func (a *Client) AssetsRead(params *AssetsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssetsReadOK, error)
AssetsRead gets asset
Get the details of a specific asset. Assets are the content that can be scheduled on screens, such as images, video and web pages.
func (*Client) AssetsUpdate ¶
func (a *Client) AssetsUpdate(params *AssetsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssetsUpdateOK, error)
AssetsUpdate updates asset
Change an asset. Assets are the content that can be scheduled on screens, such as images, video and web pages.
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 { AssetsCreate(params *AssetsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssetsCreateCreated, error) AssetsDelete(params *AssetsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssetsDeleteOK, error) AssetsList(params *AssetsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssetsListOK, error) AssetsPartialUpdate(params *AssetsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssetsPartialUpdateOK, error) AssetsRead(params *AssetsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssetsReadOK, error) AssetsUpdate(params *AssetsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AssetsUpdateOK, 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 assets API client.
Source Files ¶
- assets_client.go
- assets_create_parameters.go
- assets_create_responses.go
- assets_delete_parameters.go
- assets_delete_responses.go
- assets_list_parameters.go
- assets_list_responses.go
- assets_partial_update_parameters.go
- assets_partial_update_responses.go
- assets_read_parameters.go
- assets_read_responses.go
- assets_update_parameters.go
- assets_update_responses.go