Documentation ¶
Index ¶
- type Client
- func (a *Client) CustomInventoryScriptsInventoryScriptsCopyCreate(params *CustomInventoryScriptsInventoryScriptsCopyCreateParams) (*CustomInventoryScriptsInventoryScriptsCopyCreateCreated, error)
- func (a *Client) CustomInventoryScriptsInventoryScriptsCopyList(params *CustomInventoryScriptsInventoryScriptsCopyListParams) (*CustomInventoryScriptsInventoryScriptsCopyListOK, error)
- func (a *Client) CustomInventoryScriptsInventoryScriptsCreate(params *CustomInventoryScriptsInventoryScriptsCreateParams) (*CustomInventoryScriptsInventoryScriptsCreateCreated, error)
- func (a *Client) CustomInventoryScriptsInventoryScriptsDelete(params *CustomInventoryScriptsInventoryScriptsDeleteParams) (*CustomInventoryScriptsInventoryScriptsDeleteNoContent, error)
- func (a *Client) CustomInventoryScriptsInventoryScriptsList(params *CustomInventoryScriptsInventoryScriptsListParams) (*CustomInventoryScriptsInventoryScriptsListOK, error)
- func (a *Client) CustomInventoryScriptsInventoryScriptsObjectRolesList(params *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) (*CustomInventoryScriptsInventoryScriptsObjectRolesListOK, error)
- func (a *Client) CustomInventoryScriptsInventoryScriptsPartialUpdate(params *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) (*CustomInventoryScriptsInventoryScriptsPartialUpdateOK, error)
- func (a *Client) CustomInventoryScriptsInventoryScriptsRead(params *CustomInventoryScriptsInventoryScriptsReadParams) (*CustomInventoryScriptsInventoryScriptsReadOK, error)
- func (a *Client) CustomInventoryScriptsInventoryScriptsUpdate(params *CustomInventoryScriptsInventoryScriptsUpdateParams) (*CustomInventoryScriptsInventoryScriptsUpdateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CustomInventoryScriptsInventoryScriptsCopyCreateBody
- type CustomInventoryScriptsInventoryScriptsCopyCreateCreated
- type CustomInventoryScriptsInventoryScriptsCopyCreateParams
- func NewCustomInventoryScriptsInventoryScriptsCopyCreateParams() *CustomInventoryScriptsInventoryScriptsCopyCreateParams
- func NewCustomInventoryScriptsInventoryScriptsCopyCreateParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
- func NewCustomInventoryScriptsInventoryScriptsCopyCreateParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
- func NewCustomInventoryScriptsInventoryScriptsCopyCreateParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
- func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetContext(ctx context.Context)
- func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetData(data CustomInventoryScriptsInventoryScriptsCopyCreateBody)
- func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetHTTPClient(client *http.Client)
- func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetID(id string)
- func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetTimeout(timeout time.Duration)
- func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
- func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithData(data CustomInventoryScriptsInventoryScriptsCopyCreateBody) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
- func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
- func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithID(id string) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
- func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
- func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomInventoryScriptsInventoryScriptsCopyCreateReader
- type CustomInventoryScriptsInventoryScriptsCopyListOK
- type CustomInventoryScriptsInventoryScriptsCopyListParams
- func NewCustomInventoryScriptsInventoryScriptsCopyListParams() *CustomInventoryScriptsInventoryScriptsCopyListParams
- func NewCustomInventoryScriptsInventoryScriptsCopyListParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsCopyListParams
- func NewCustomInventoryScriptsInventoryScriptsCopyListParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsCopyListParams
- func NewCustomInventoryScriptsInventoryScriptsCopyListParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsCopyListParams
- func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) SetContext(ctx context.Context)
- func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) SetHTTPClient(client *http.Client)
- func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) SetID(id string)
- func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) SetPage(page *int64)
- func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) SetPageSize(pageSize *int64)
- func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) SetSearch(search *string)
- func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) SetTimeout(timeout time.Duration)
- func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsCopyListParams
- func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsCopyListParams
- func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WithID(id string) *CustomInventoryScriptsInventoryScriptsCopyListParams
- func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WithPage(page *int64) *CustomInventoryScriptsInventoryScriptsCopyListParams
- func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WithPageSize(pageSize *int64) *CustomInventoryScriptsInventoryScriptsCopyListParams
- func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WithSearch(search *string) *CustomInventoryScriptsInventoryScriptsCopyListParams
- func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsCopyListParams
- func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomInventoryScriptsInventoryScriptsCopyListReader
- type CustomInventoryScriptsInventoryScriptsCreateBody
- type CustomInventoryScriptsInventoryScriptsCreateCreated
- type CustomInventoryScriptsInventoryScriptsCreateParams
- func NewCustomInventoryScriptsInventoryScriptsCreateParams() *CustomInventoryScriptsInventoryScriptsCreateParams
- func NewCustomInventoryScriptsInventoryScriptsCreateParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsCreateParams
- func NewCustomInventoryScriptsInventoryScriptsCreateParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsCreateParams
- func NewCustomInventoryScriptsInventoryScriptsCreateParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsCreateParams
- func (o *CustomInventoryScriptsInventoryScriptsCreateParams) SetContext(ctx context.Context)
- func (o *CustomInventoryScriptsInventoryScriptsCreateParams) SetData(data CustomInventoryScriptsInventoryScriptsCreateBody)
- func (o *CustomInventoryScriptsInventoryScriptsCreateParams) SetHTTPClient(client *http.Client)
- func (o *CustomInventoryScriptsInventoryScriptsCreateParams) SetTimeout(timeout time.Duration)
- func (o *CustomInventoryScriptsInventoryScriptsCreateParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsCreateParams
- func (o *CustomInventoryScriptsInventoryScriptsCreateParams) WithData(data CustomInventoryScriptsInventoryScriptsCreateBody) *CustomInventoryScriptsInventoryScriptsCreateParams
- func (o *CustomInventoryScriptsInventoryScriptsCreateParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsCreateParams
- func (o *CustomInventoryScriptsInventoryScriptsCreateParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsCreateParams
- func (o *CustomInventoryScriptsInventoryScriptsCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomInventoryScriptsInventoryScriptsCreateReader
- type CustomInventoryScriptsInventoryScriptsDeleteNoContent
- type CustomInventoryScriptsInventoryScriptsDeleteParams
- func NewCustomInventoryScriptsInventoryScriptsDeleteParams() *CustomInventoryScriptsInventoryScriptsDeleteParams
- func NewCustomInventoryScriptsInventoryScriptsDeleteParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsDeleteParams
- func NewCustomInventoryScriptsInventoryScriptsDeleteParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsDeleteParams
- func NewCustomInventoryScriptsInventoryScriptsDeleteParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsDeleteParams
- func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) SetContext(ctx context.Context)
- func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) SetID(id string)
- func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) SetSearch(search *string)
- func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsDeleteParams
- func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsDeleteParams
- func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) WithID(id string) *CustomInventoryScriptsInventoryScriptsDeleteParams
- func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) WithSearch(search *string) *CustomInventoryScriptsInventoryScriptsDeleteParams
- func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsDeleteParams
- func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomInventoryScriptsInventoryScriptsDeleteReader
- type CustomInventoryScriptsInventoryScriptsListForbidden
- type CustomInventoryScriptsInventoryScriptsListOK
- type CustomInventoryScriptsInventoryScriptsListParams
- func NewCustomInventoryScriptsInventoryScriptsListParams() *CustomInventoryScriptsInventoryScriptsListParams
- func NewCustomInventoryScriptsInventoryScriptsListParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsListParams
- func NewCustomInventoryScriptsInventoryScriptsListParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsListParams
- func NewCustomInventoryScriptsInventoryScriptsListParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsListParams
- func (o *CustomInventoryScriptsInventoryScriptsListParams) SetContext(ctx context.Context)
- func (o *CustomInventoryScriptsInventoryScriptsListParams) SetHTTPClient(client *http.Client)
- func (o *CustomInventoryScriptsInventoryScriptsListParams) SetPage(page *int64)
- func (o *CustomInventoryScriptsInventoryScriptsListParams) SetPageSize(pageSize *int64)
- func (o *CustomInventoryScriptsInventoryScriptsListParams) SetSearch(search *string)
- func (o *CustomInventoryScriptsInventoryScriptsListParams) SetTimeout(timeout time.Duration)
- func (o *CustomInventoryScriptsInventoryScriptsListParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsListParams
- func (o *CustomInventoryScriptsInventoryScriptsListParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsListParams
- func (o *CustomInventoryScriptsInventoryScriptsListParams) WithPage(page *int64) *CustomInventoryScriptsInventoryScriptsListParams
- func (o *CustomInventoryScriptsInventoryScriptsListParams) WithPageSize(pageSize *int64) *CustomInventoryScriptsInventoryScriptsListParams
- func (o *CustomInventoryScriptsInventoryScriptsListParams) WithSearch(search *string) *CustomInventoryScriptsInventoryScriptsListParams
- func (o *CustomInventoryScriptsInventoryScriptsListParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsListParams
- func (o *CustomInventoryScriptsInventoryScriptsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomInventoryScriptsInventoryScriptsListReader
- type CustomInventoryScriptsInventoryScriptsObjectRolesListOK
- type CustomInventoryScriptsInventoryScriptsObjectRolesListParams
- func NewCustomInventoryScriptsInventoryScriptsObjectRolesListParams() *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
- func NewCustomInventoryScriptsInventoryScriptsObjectRolesListParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
- func NewCustomInventoryScriptsInventoryScriptsObjectRolesListParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
- func NewCustomInventoryScriptsInventoryScriptsObjectRolesListParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
- func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetContext(ctx context.Context)
- func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetHTTPClient(client *http.Client)
- func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetID(id string)
- func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetPage(page *int64)
- func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetPageSize(pageSize *int64)
- func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetSearch(search *string)
- func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetTimeout(timeout time.Duration)
- func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
- func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
- func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithID(id string) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
- func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithPage(page *int64) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
- func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithPageSize(pageSize *int64) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
- func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithSearch(search *string) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
- func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
- func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomInventoryScriptsInventoryScriptsObjectRolesListReader
- type CustomInventoryScriptsInventoryScriptsPartialUpdateBody
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateBody) MarshalBinary() ([]byte, error)
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateBody) UnmarshalBinary(b []byte) error
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateBody) Validate(formats strfmt.Registry) error
- type CustomInventoryScriptsInventoryScriptsPartialUpdateOK
- type CustomInventoryScriptsInventoryScriptsPartialUpdateParams
- func NewCustomInventoryScriptsInventoryScriptsPartialUpdateParams() *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
- func NewCustomInventoryScriptsInventoryScriptsPartialUpdateParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
- func NewCustomInventoryScriptsInventoryScriptsPartialUpdateParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
- func NewCustomInventoryScriptsInventoryScriptsPartialUpdateParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetContext(ctx context.Context)
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetData(data CustomInventoryScriptsInventoryScriptsPartialUpdateBody)
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetHTTPClient(client *http.Client)
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetID(id string)
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetSearch(search *string)
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetTimeout(timeout time.Duration)
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithData(data CustomInventoryScriptsInventoryScriptsPartialUpdateBody) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithID(id string) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithSearch(search *string) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
- func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomInventoryScriptsInventoryScriptsPartialUpdateReader
- type CustomInventoryScriptsInventoryScriptsReadOK
- type CustomInventoryScriptsInventoryScriptsReadParams
- func NewCustomInventoryScriptsInventoryScriptsReadParams() *CustomInventoryScriptsInventoryScriptsReadParams
- func NewCustomInventoryScriptsInventoryScriptsReadParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsReadParams
- func NewCustomInventoryScriptsInventoryScriptsReadParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsReadParams
- func NewCustomInventoryScriptsInventoryScriptsReadParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsReadParams
- func (o *CustomInventoryScriptsInventoryScriptsReadParams) SetContext(ctx context.Context)
- func (o *CustomInventoryScriptsInventoryScriptsReadParams) SetHTTPClient(client *http.Client)
- func (o *CustomInventoryScriptsInventoryScriptsReadParams) SetID(id string)
- func (o *CustomInventoryScriptsInventoryScriptsReadParams) SetSearch(search *string)
- func (o *CustomInventoryScriptsInventoryScriptsReadParams) SetTimeout(timeout time.Duration)
- func (o *CustomInventoryScriptsInventoryScriptsReadParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsReadParams
- func (o *CustomInventoryScriptsInventoryScriptsReadParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsReadParams
- func (o *CustomInventoryScriptsInventoryScriptsReadParams) WithID(id string) *CustomInventoryScriptsInventoryScriptsReadParams
- func (o *CustomInventoryScriptsInventoryScriptsReadParams) WithSearch(search *string) *CustomInventoryScriptsInventoryScriptsReadParams
- func (o *CustomInventoryScriptsInventoryScriptsReadParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsReadParams
- func (o *CustomInventoryScriptsInventoryScriptsReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomInventoryScriptsInventoryScriptsReadReader
- type CustomInventoryScriptsInventoryScriptsUpdateBody
- type CustomInventoryScriptsInventoryScriptsUpdateOK
- type CustomInventoryScriptsInventoryScriptsUpdateParams
- func NewCustomInventoryScriptsInventoryScriptsUpdateParams() *CustomInventoryScriptsInventoryScriptsUpdateParams
- func NewCustomInventoryScriptsInventoryScriptsUpdateParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsUpdateParams
- func NewCustomInventoryScriptsInventoryScriptsUpdateParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsUpdateParams
- func NewCustomInventoryScriptsInventoryScriptsUpdateParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsUpdateParams
- func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) SetContext(ctx context.Context)
- func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) SetData(data CustomInventoryScriptsInventoryScriptsUpdateBody)
- func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) SetHTTPClient(client *http.Client)
- func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) SetID(id string)
- func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) SetSearch(search *string)
- func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) SetTimeout(timeout time.Duration)
- func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsUpdateParams
- func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) WithData(data CustomInventoryScriptsInventoryScriptsUpdateBody) *CustomInventoryScriptsInventoryScriptsUpdateParams
- func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsUpdateParams
- func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) WithID(id string) *CustomInventoryScriptsInventoryScriptsUpdateParams
- func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) WithSearch(search *string) *CustomInventoryScriptsInventoryScriptsUpdateParams
- func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsUpdateParams
- func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomInventoryScriptsInventoryScriptsUpdateReader
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 custom inventory scripts API
func (*Client) CustomInventoryScriptsInventoryScriptsCopyCreate ¶
func (a *Client) CustomInventoryScriptsInventoryScriptsCopyCreate(params *CustomInventoryScriptsInventoryScriptsCopyCreateParams) (*CustomInventoryScriptsInventoryScriptsCopyCreateCreated, error)
CustomInventoryScriptsInventoryScriptsCopyCreate custom inventory scripts inventory scripts copy create API
func (*Client) CustomInventoryScriptsInventoryScriptsCopyList ¶
func (a *Client) CustomInventoryScriptsInventoryScriptsCopyList(params *CustomInventoryScriptsInventoryScriptsCopyListParams) (*CustomInventoryScriptsInventoryScriptsCopyListOK, error)
CustomInventoryScriptsInventoryScriptsCopyList custom inventory scripts inventory scripts copy list API
func (*Client) CustomInventoryScriptsInventoryScriptsCreate ¶
func (a *Client) CustomInventoryScriptsInventoryScriptsCreate(params *CustomInventoryScriptsInventoryScriptsCreateParams) (*CustomInventoryScriptsInventoryScriptsCreateCreated, error)
CustomInventoryScriptsInventoryScriptsCreate creates a custom inventory script
Make a POST request to this resource with the following custom inventory script fields to create a new custom inventory script:
* `name`: Name of this custom inventory script. (string, required) * `description`: Optional description of this custom inventory script. (string, default=`""`) * `script`: (string, required) * `organization`: Organization owning this inventory script (id, required)
func (*Client) CustomInventoryScriptsInventoryScriptsDelete ¶
func (a *Client) CustomInventoryScriptsInventoryScriptsDelete(params *CustomInventoryScriptsInventoryScriptsDeleteParams) (*CustomInventoryScriptsInventoryScriptsDeleteNoContent, error)
CustomInventoryScriptsInventoryScriptsDelete deletes a custom inventory script
Make a DELETE request to this resource to delete this custom inventory script.
func (*Client) CustomInventoryScriptsInventoryScriptsList ¶
func (a *Client) CustomInventoryScriptsInventoryScriptsList(params *CustomInventoryScriptsInventoryScriptsListParams) (*CustomInventoryScriptsInventoryScriptsListOK, error)
CustomInventoryScriptsInventoryScriptsList lists custom inventory scripts
Make a GET request to this resource to retrieve the list of custom inventory scripts.
The resulting data structure contains:
{ "count": 99, "next": null, "previous": null, "results": [ ... ] }
The `count` field indicates the total number of custom inventory scripts found for the given query. The `next` and `previous` fields provides links to additional results if there are more than will fit on a single page. The `results` list contains zero or more custom inventory script records.
## Results
Each custom inventory script data structure includes the following fields:
* `id`: Database ID for this custom inventory script. (integer) * `type`: Data type for this custom inventory script. (choice) * `url`: URL for this custom inventory script. (string) * `related`: Data structure with URLs of related resources. (object) * `summary_fields`: Data structure with name/description for related resources. The output for some objects may be limited for performance reasons. (object) * `created`: Timestamp when this custom inventory script was created. (datetime) * `modified`: Timestamp when this custom inventory script was last modified. (datetime) * `name`: Name of this custom inventory script. (string) * `description`: Optional description of this custom inventory script. (string) * `script`: (string) * `organization`: Organization owning this inventory script (id)
## Sorting
To specify that custom inventory scripts are returned in a particular order, use the `order_by` query string parameter on the GET request.
?order_by=name
Prefix the field name with a dash `-` to sort in reverse:
?order_by=-name
Multiple sorting fields may be specified by separating the field names with a comma `,`:
?order_by=name,some_other_field
## Pagination
Use the `page_size` query string parameter to change the number of results returned for each request. Use the `page` query string parameter to retrieve a particular page of results.
?page_size=100&page=2
The `previous` and `next` links returned with the results will set these query string parameters automatically.
## Searching
Use the `search` query string parameter to perform a case-insensitive search within all designated text fields of a model.
?search=findme
(_Added in Ansible Tower 3.1.0_) Search across related fields:
?related__search=findme
func (*Client) CustomInventoryScriptsInventoryScriptsObjectRolesList ¶
func (a *Client) CustomInventoryScriptsInventoryScriptsObjectRolesList(params *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) (*CustomInventoryScriptsInventoryScriptsObjectRolesListOK, error)
CustomInventoryScriptsInventoryScriptsObjectRolesList lists roles for a custom inventory script
Make a GET request to this resource to retrieve a list of roles associated with the selected custom inventory script.
The resulting data structure contains:
{ "count": 99, "next": null, "previous": null, "results": [ ... ] }
The `count` field indicates the total number of roles found for the given query. The `next` and `previous` fields provides links to additional results if there are more than will fit on a single page. The `results` list contains zero or more role records.
## Results
Each role data structure includes the following fields:
* `id`: Database ID for this role. (integer) * `type`: Data type for this role. (choice) * `url`: URL for this role. (string) * `related`: Data structure with URLs of related resources. (object) * `summary_fields`: Data structure with name/description for related resources. The output for some objects may be limited for performance reasons. (object) * `name`: Name of this role. (field) * `description`: Optional description of this role. (field)
## Sorting
To specify that roles are returned in a particular order, use the `order_by` query string parameter on the GET request.
?order_by=name
Prefix the field name with a dash `-` to sort in reverse:
?order_by=-name
Multiple sorting fields may be specified by separating the field names with a comma `,`:
?order_by=name,some_other_field
## Pagination
Use the `page_size` query string parameter to change the number of results returned for each request. Use the `page` query string parameter to retrieve a particular page of results.
?page_size=100&page=2
The `previous` and `next` links returned with the results will set these query string parameters automatically.
## Searching
Use the `search` query string parameter to perform a case-insensitive search within all designated text fields of a model.
?search=findme
(_Added in Ansible Tower 3.1.0_) Search across related fields:
?related__search=findme
func (*Client) CustomInventoryScriptsInventoryScriptsPartialUpdate ¶
func (a *Client) CustomInventoryScriptsInventoryScriptsPartialUpdate(params *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) (*CustomInventoryScriptsInventoryScriptsPartialUpdateOK, error)
CustomInventoryScriptsInventoryScriptsPartialUpdate updates a custom inventory script
Make a PUT or PATCH request to this resource to update this custom inventory script. The following fields may be modified:
* `name`: Name of this custom inventory script. (string, required) * `description`: Optional description of this custom inventory script. (string, default=`""`) * `script`: (string, required) * `organization`: Organization owning this inventory script (id, required)
For a PATCH request, include only the fields that are being modified.
func (*Client) CustomInventoryScriptsInventoryScriptsRead ¶
func (a *Client) CustomInventoryScriptsInventoryScriptsRead(params *CustomInventoryScriptsInventoryScriptsReadParams) (*CustomInventoryScriptsInventoryScriptsReadOK, error)
CustomInventoryScriptsInventoryScriptsRead retrieves a custom inventory script
Make GET request to this resource to retrieve a single custom inventory script record containing the following fields:
* `id`: Database ID for this custom inventory script. (integer) * `type`: Data type for this custom inventory script. (choice) * `url`: URL for this custom inventory script. (string) * `related`: Data structure with URLs of related resources. (object) * `summary_fields`: Data structure with name/description for related resources. The output for some objects may be limited for performance reasons. (object) * `created`: Timestamp when this custom inventory script was created. (datetime) * `modified`: Timestamp when this custom inventory script was last modified. (datetime) * `name`: Name of this custom inventory script. (string) * `description`: Optional description of this custom inventory script. (string) * `script`: (string) * `organization`: Organization owning this inventory script (id)
func (*Client) CustomInventoryScriptsInventoryScriptsUpdate ¶
func (a *Client) CustomInventoryScriptsInventoryScriptsUpdate(params *CustomInventoryScriptsInventoryScriptsUpdateParams) (*CustomInventoryScriptsInventoryScriptsUpdateOK, error)
CustomInventoryScriptsInventoryScriptsUpdate updates a custom inventory script
Make a PUT or PATCH request to this resource to update this custom inventory script. The following fields may be modified:
* `name`: Name of this custom inventory script. (string, required) * `description`: Optional description of this custom inventory script. (string, default=`""`) * `script`: (string, required) * `organization`: Organization owning this inventory script (id, required)
For a PUT request, include **all** fields in the request.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CustomInventoryScriptsInventoryScriptsCopyCreate(params *CustomInventoryScriptsInventoryScriptsCopyCreateParams) (*CustomInventoryScriptsInventoryScriptsCopyCreateCreated, error) CustomInventoryScriptsInventoryScriptsCopyList(params *CustomInventoryScriptsInventoryScriptsCopyListParams) (*CustomInventoryScriptsInventoryScriptsCopyListOK, error) CustomInventoryScriptsInventoryScriptsCreate(params *CustomInventoryScriptsInventoryScriptsCreateParams) (*CustomInventoryScriptsInventoryScriptsCreateCreated, error) CustomInventoryScriptsInventoryScriptsDelete(params *CustomInventoryScriptsInventoryScriptsDeleteParams) (*CustomInventoryScriptsInventoryScriptsDeleteNoContent, error) CustomInventoryScriptsInventoryScriptsList(params *CustomInventoryScriptsInventoryScriptsListParams) (*CustomInventoryScriptsInventoryScriptsListOK, error) CustomInventoryScriptsInventoryScriptsObjectRolesList(params *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) (*CustomInventoryScriptsInventoryScriptsObjectRolesListOK, error) CustomInventoryScriptsInventoryScriptsPartialUpdate(params *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) (*CustomInventoryScriptsInventoryScriptsPartialUpdateOK, error) CustomInventoryScriptsInventoryScriptsRead(params *CustomInventoryScriptsInventoryScriptsReadParams) (*CustomInventoryScriptsInventoryScriptsReadOK, error) CustomInventoryScriptsInventoryScriptsUpdate(params *CustomInventoryScriptsInventoryScriptsUpdateParams) (*CustomInventoryScriptsInventoryScriptsUpdateOK, 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 custom inventory scripts API client.
type CustomInventoryScriptsInventoryScriptsCopyCreateBody ¶
type CustomInventoryScriptsInventoryScriptsCopyCreateBody struct { // name // Required: true Name *string `json:"name"` }
CustomInventoryScriptsInventoryScriptsCopyCreateBody custom inventory scripts inventory scripts copy create body swagger:model CustomInventoryScriptsInventoryScriptsCopyCreateBody
func (*CustomInventoryScriptsInventoryScriptsCopyCreateBody) MarshalBinary ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyCreateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomInventoryScriptsInventoryScriptsCopyCreateBody) UnmarshalBinary ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyCreateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomInventoryScriptsInventoryScriptsCopyCreateCreated ¶
type CustomInventoryScriptsInventoryScriptsCopyCreateCreated struct { }
CustomInventoryScriptsInventoryScriptsCopyCreateCreated handles this case with default header values.
CustomInventoryScriptsInventoryScriptsCopyCreateCreated custom inventory scripts inventory scripts copy create created
func NewCustomInventoryScriptsInventoryScriptsCopyCreateCreated ¶
func NewCustomInventoryScriptsInventoryScriptsCopyCreateCreated() *CustomInventoryScriptsInventoryScriptsCopyCreateCreated
NewCustomInventoryScriptsInventoryScriptsCopyCreateCreated creates a CustomInventoryScriptsInventoryScriptsCopyCreateCreated with default headers values
func (*CustomInventoryScriptsInventoryScriptsCopyCreateCreated) Error ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyCreateCreated) Error() string
type CustomInventoryScriptsInventoryScriptsCopyCreateParams ¶
type CustomInventoryScriptsInventoryScriptsCopyCreateParams struct { /*Data*/ Data CustomInventoryScriptsInventoryScriptsCopyCreateBody /*ID*/ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomInventoryScriptsInventoryScriptsCopyCreateParams contains all the parameters to send to the API endpoint for the custom inventory scripts inventory scripts copy create operation typically these are written to a http.Request
func NewCustomInventoryScriptsInventoryScriptsCopyCreateParams ¶
func NewCustomInventoryScriptsInventoryScriptsCopyCreateParams() *CustomInventoryScriptsInventoryScriptsCopyCreateParams
NewCustomInventoryScriptsInventoryScriptsCopyCreateParams creates a new CustomInventoryScriptsInventoryScriptsCopyCreateParams object with the default values initialized.
func NewCustomInventoryScriptsInventoryScriptsCopyCreateParamsWithContext ¶
func NewCustomInventoryScriptsInventoryScriptsCopyCreateParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
NewCustomInventoryScriptsInventoryScriptsCopyCreateParamsWithContext creates a new CustomInventoryScriptsInventoryScriptsCopyCreateParams object with the default values initialized, and the ability to set a context for a request
func NewCustomInventoryScriptsInventoryScriptsCopyCreateParamsWithHTTPClient ¶
func NewCustomInventoryScriptsInventoryScriptsCopyCreateParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
NewCustomInventoryScriptsInventoryScriptsCopyCreateParamsWithHTTPClient creates a new CustomInventoryScriptsInventoryScriptsCopyCreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomInventoryScriptsInventoryScriptsCopyCreateParamsWithTimeout ¶
func NewCustomInventoryScriptsInventoryScriptsCopyCreateParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
NewCustomInventoryScriptsInventoryScriptsCopyCreateParamsWithTimeout creates a new CustomInventoryScriptsInventoryScriptsCopyCreateParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetContext ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the custom inventory scripts inventory scripts copy create params
func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetData ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetData(data CustomInventoryScriptsInventoryScriptsCopyCreateBody)
SetData adds the data to the custom inventory scripts inventory scripts copy create params
func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts copy create params
func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetID ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetID(id string)
SetID adds the id to the custom inventory scripts inventory scripts copy create params
func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the custom inventory scripts inventory scripts copy create params
func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithContext ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
WithContext adds the context to the custom inventory scripts inventory scripts copy create params
func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithData ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithData(data CustomInventoryScriptsInventoryScriptsCopyCreateBody) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
WithData adds the data to the custom inventory scripts inventory scripts copy create params
func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts copy create params
func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithID ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithID(id string) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
WithID adds the id to the custom inventory scripts inventory scripts copy create params
func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsCopyCreateParams
WithTimeout adds the timeout to the custom inventory scripts inventory scripts copy create params
func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) WriteToRequest ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomInventoryScriptsInventoryScriptsCopyCreateReader ¶
type CustomInventoryScriptsInventoryScriptsCopyCreateReader struct {
// contains filtered or unexported fields
}
CustomInventoryScriptsInventoryScriptsCopyCreateReader is a Reader for the CustomInventoryScriptsInventoryScriptsCopyCreate structure.
func (*CustomInventoryScriptsInventoryScriptsCopyCreateReader) ReadResponse ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomInventoryScriptsInventoryScriptsCopyListOK ¶
type CustomInventoryScriptsInventoryScriptsCopyListOK struct { }
CustomInventoryScriptsInventoryScriptsCopyListOK handles this case with default header values.
OK
func NewCustomInventoryScriptsInventoryScriptsCopyListOK ¶
func NewCustomInventoryScriptsInventoryScriptsCopyListOK() *CustomInventoryScriptsInventoryScriptsCopyListOK
NewCustomInventoryScriptsInventoryScriptsCopyListOK creates a CustomInventoryScriptsInventoryScriptsCopyListOK with default headers values
func (*CustomInventoryScriptsInventoryScriptsCopyListOK) Error ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListOK) Error() string
type CustomInventoryScriptsInventoryScriptsCopyListParams ¶
type CustomInventoryScriptsInventoryScriptsCopyListParams struct { /*ID*/ ID string /*Page A page number within the paginated result set. */ Page *int64 /*PageSize Number of results to return per page. */ PageSize *int64 /*Search A search term. */ Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomInventoryScriptsInventoryScriptsCopyListParams contains all the parameters to send to the API endpoint for the custom inventory scripts inventory scripts copy list operation typically these are written to a http.Request
func NewCustomInventoryScriptsInventoryScriptsCopyListParams ¶
func NewCustomInventoryScriptsInventoryScriptsCopyListParams() *CustomInventoryScriptsInventoryScriptsCopyListParams
NewCustomInventoryScriptsInventoryScriptsCopyListParams creates a new CustomInventoryScriptsInventoryScriptsCopyListParams object with the default values initialized.
func NewCustomInventoryScriptsInventoryScriptsCopyListParamsWithContext ¶
func NewCustomInventoryScriptsInventoryScriptsCopyListParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsCopyListParams
NewCustomInventoryScriptsInventoryScriptsCopyListParamsWithContext creates a new CustomInventoryScriptsInventoryScriptsCopyListParams object with the default values initialized, and the ability to set a context for a request
func NewCustomInventoryScriptsInventoryScriptsCopyListParamsWithHTTPClient ¶
func NewCustomInventoryScriptsInventoryScriptsCopyListParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsCopyListParams
NewCustomInventoryScriptsInventoryScriptsCopyListParamsWithHTTPClient creates a new CustomInventoryScriptsInventoryScriptsCopyListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomInventoryScriptsInventoryScriptsCopyListParamsWithTimeout ¶
func NewCustomInventoryScriptsInventoryScriptsCopyListParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsCopyListParams
NewCustomInventoryScriptsInventoryScriptsCopyListParamsWithTimeout creates a new CustomInventoryScriptsInventoryScriptsCopyListParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomInventoryScriptsInventoryScriptsCopyListParams) SetContext ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) SetContext(ctx context.Context)
SetContext adds the context to the custom inventory scripts inventory scripts copy list params
func (*CustomInventoryScriptsInventoryScriptsCopyListParams) SetHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts copy list params
func (*CustomInventoryScriptsInventoryScriptsCopyListParams) SetID ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) SetID(id string)
SetID adds the id to the custom inventory scripts inventory scripts copy list params
func (*CustomInventoryScriptsInventoryScriptsCopyListParams) SetPage ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) SetPage(page *int64)
SetPage adds the page to the custom inventory scripts inventory scripts copy list params
func (*CustomInventoryScriptsInventoryScriptsCopyListParams) SetPageSize ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the custom inventory scripts inventory scripts copy list params
func (*CustomInventoryScriptsInventoryScriptsCopyListParams) SetSearch ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) SetSearch(search *string)
SetSearch adds the search to the custom inventory scripts inventory scripts copy list params
func (*CustomInventoryScriptsInventoryScriptsCopyListParams) SetTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the custom inventory scripts inventory scripts copy list params
func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WithContext ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsCopyListParams
WithContext adds the context to the custom inventory scripts inventory scripts copy list params
func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WithHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsCopyListParams
WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts copy list params
func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WithID ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WithID(id string) *CustomInventoryScriptsInventoryScriptsCopyListParams
WithID adds the id to the custom inventory scripts inventory scripts copy list params
func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WithPage ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WithPage(page *int64) *CustomInventoryScriptsInventoryScriptsCopyListParams
WithPage adds the page to the custom inventory scripts inventory scripts copy list params
func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WithPageSize ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WithPageSize(pageSize *int64) *CustomInventoryScriptsInventoryScriptsCopyListParams
WithPageSize adds the pageSize to the custom inventory scripts inventory scripts copy list params
func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WithSearch ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WithSearch(search *string) *CustomInventoryScriptsInventoryScriptsCopyListParams
WithSearch adds the search to the custom inventory scripts inventory scripts copy list params
func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WithTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsCopyListParams
WithTimeout adds the timeout to the custom inventory scripts inventory scripts copy list params
func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WriteToRequest ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomInventoryScriptsInventoryScriptsCopyListReader ¶
type CustomInventoryScriptsInventoryScriptsCopyListReader struct {
// contains filtered or unexported fields
}
CustomInventoryScriptsInventoryScriptsCopyListReader is a Reader for the CustomInventoryScriptsInventoryScriptsCopyList structure.
func (*CustomInventoryScriptsInventoryScriptsCopyListReader) ReadResponse ¶
func (o *CustomInventoryScriptsInventoryScriptsCopyListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomInventoryScriptsInventoryScriptsCreateBody ¶
type CustomInventoryScriptsInventoryScriptsCreateBody struct { // description Description string `json:"description,omitempty"` // name // Required: true Name *string `json:"name"` // Organization owning this inventory script // Required: true Organization *int64 `json:"organization"` // script // Required: true Script *string `json:"script"` }
CustomInventoryScriptsInventoryScriptsCreateBody custom inventory scripts inventory scripts create body swagger:model CustomInventoryScriptsInventoryScriptsCreateBody
func (*CustomInventoryScriptsInventoryScriptsCreateBody) MarshalBinary ¶
func (o *CustomInventoryScriptsInventoryScriptsCreateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomInventoryScriptsInventoryScriptsCreateBody) UnmarshalBinary ¶
func (o *CustomInventoryScriptsInventoryScriptsCreateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomInventoryScriptsInventoryScriptsCreateCreated ¶
type CustomInventoryScriptsInventoryScriptsCreateCreated struct { }
CustomInventoryScriptsInventoryScriptsCreateCreated handles this case with default header values.
CustomInventoryScriptsInventoryScriptsCreateCreated custom inventory scripts inventory scripts create created
func NewCustomInventoryScriptsInventoryScriptsCreateCreated ¶
func NewCustomInventoryScriptsInventoryScriptsCreateCreated() *CustomInventoryScriptsInventoryScriptsCreateCreated
NewCustomInventoryScriptsInventoryScriptsCreateCreated creates a CustomInventoryScriptsInventoryScriptsCreateCreated with default headers values
func (*CustomInventoryScriptsInventoryScriptsCreateCreated) Error ¶
func (o *CustomInventoryScriptsInventoryScriptsCreateCreated) Error() string
type CustomInventoryScriptsInventoryScriptsCreateParams ¶
type CustomInventoryScriptsInventoryScriptsCreateParams struct { /*Data*/ Data CustomInventoryScriptsInventoryScriptsCreateBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomInventoryScriptsInventoryScriptsCreateParams contains all the parameters to send to the API endpoint for the custom inventory scripts inventory scripts create operation typically these are written to a http.Request
func NewCustomInventoryScriptsInventoryScriptsCreateParams ¶
func NewCustomInventoryScriptsInventoryScriptsCreateParams() *CustomInventoryScriptsInventoryScriptsCreateParams
NewCustomInventoryScriptsInventoryScriptsCreateParams creates a new CustomInventoryScriptsInventoryScriptsCreateParams object with the default values initialized.
func NewCustomInventoryScriptsInventoryScriptsCreateParamsWithContext ¶
func NewCustomInventoryScriptsInventoryScriptsCreateParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsCreateParams
NewCustomInventoryScriptsInventoryScriptsCreateParamsWithContext creates a new CustomInventoryScriptsInventoryScriptsCreateParams object with the default values initialized, and the ability to set a context for a request
func NewCustomInventoryScriptsInventoryScriptsCreateParamsWithHTTPClient ¶
func NewCustomInventoryScriptsInventoryScriptsCreateParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsCreateParams
NewCustomInventoryScriptsInventoryScriptsCreateParamsWithHTTPClient creates a new CustomInventoryScriptsInventoryScriptsCreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomInventoryScriptsInventoryScriptsCreateParamsWithTimeout ¶
func NewCustomInventoryScriptsInventoryScriptsCreateParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsCreateParams
NewCustomInventoryScriptsInventoryScriptsCreateParamsWithTimeout creates a new CustomInventoryScriptsInventoryScriptsCreateParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomInventoryScriptsInventoryScriptsCreateParams) SetContext ¶
func (o *CustomInventoryScriptsInventoryScriptsCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the custom inventory scripts inventory scripts create params
func (*CustomInventoryScriptsInventoryScriptsCreateParams) SetData ¶
func (o *CustomInventoryScriptsInventoryScriptsCreateParams) SetData(data CustomInventoryScriptsInventoryScriptsCreateBody)
SetData adds the data to the custom inventory scripts inventory scripts create params
func (*CustomInventoryScriptsInventoryScriptsCreateParams) SetHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts create params
func (*CustomInventoryScriptsInventoryScriptsCreateParams) SetTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the custom inventory scripts inventory scripts create params
func (*CustomInventoryScriptsInventoryScriptsCreateParams) WithContext ¶
func (o *CustomInventoryScriptsInventoryScriptsCreateParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsCreateParams
WithContext adds the context to the custom inventory scripts inventory scripts create params
func (*CustomInventoryScriptsInventoryScriptsCreateParams) WithData ¶
func (o *CustomInventoryScriptsInventoryScriptsCreateParams) WithData(data CustomInventoryScriptsInventoryScriptsCreateBody) *CustomInventoryScriptsInventoryScriptsCreateParams
WithData adds the data to the custom inventory scripts inventory scripts create params
func (*CustomInventoryScriptsInventoryScriptsCreateParams) WithHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsCreateParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsCreateParams
WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts create params
func (*CustomInventoryScriptsInventoryScriptsCreateParams) WithTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsCreateParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsCreateParams
WithTimeout adds the timeout to the custom inventory scripts inventory scripts create params
func (*CustomInventoryScriptsInventoryScriptsCreateParams) WriteToRequest ¶
func (o *CustomInventoryScriptsInventoryScriptsCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomInventoryScriptsInventoryScriptsCreateReader ¶
type CustomInventoryScriptsInventoryScriptsCreateReader struct {
// contains filtered or unexported fields
}
CustomInventoryScriptsInventoryScriptsCreateReader is a Reader for the CustomInventoryScriptsInventoryScriptsCreate structure.
func (*CustomInventoryScriptsInventoryScriptsCreateReader) ReadResponse ¶
func (o *CustomInventoryScriptsInventoryScriptsCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomInventoryScriptsInventoryScriptsDeleteNoContent ¶
type CustomInventoryScriptsInventoryScriptsDeleteNoContent struct { }
CustomInventoryScriptsInventoryScriptsDeleteNoContent handles this case with default header values.
CustomInventoryScriptsInventoryScriptsDeleteNoContent custom inventory scripts inventory scripts delete no content
func NewCustomInventoryScriptsInventoryScriptsDeleteNoContent ¶
func NewCustomInventoryScriptsInventoryScriptsDeleteNoContent() *CustomInventoryScriptsInventoryScriptsDeleteNoContent
NewCustomInventoryScriptsInventoryScriptsDeleteNoContent creates a CustomInventoryScriptsInventoryScriptsDeleteNoContent with default headers values
func (*CustomInventoryScriptsInventoryScriptsDeleteNoContent) Error ¶
func (o *CustomInventoryScriptsInventoryScriptsDeleteNoContent) Error() string
type CustomInventoryScriptsInventoryScriptsDeleteParams ¶
type CustomInventoryScriptsInventoryScriptsDeleteParams struct { /*ID*/ ID string /*Search A search term. */ Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomInventoryScriptsInventoryScriptsDeleteParams contains all the parameters to send to the API endpoint for the custom inventory scripts inventory scripts delete operation typically these are written to a http.Request
func NewCustomInventoryScriptsInventoryScriptsDeleteParams ¶
func NewCustomInventoryScriptsInventoryScriptsDeleteParams() *CustomInventoryScriptsInventoryScriptsDeleteParams
NewCustomInventoryScriptsInventoryScriptsDeleteParams creates a new CustomInventoryScriptsInventoryScriptsDeleteParams object with the default values initialized.
func NewCustomInventoryScriptsInventoryScriptsDeleteParamsWithContext ¶
func NewCustomInventoryScriptsInventoryScriptsDeleteParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsDeleteParams
NewCustomInventoryScriptsInventoryScriptsDeleteParamsWithContext creates a new CustomInventoryScriptsInventoryScriptsDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewCustomInventoryScriptsInventoryScriptsDeleteParamsWithHTTPClient ¶
func NewCustomInventoryScriptsInventoryScriptsDeleteParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsDeleteParams
NewCustomInventoryScriptsInventoryScriptsDeleteParamsWithHTTPClient creates a new CustomInventoryScriptsInventoryScriptsDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomInventoryScriptsInventoryScriptsDeleteParamsWithTimeout ¶
func NewCustomInventoryScriptsInventoryScriptsDeleteParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsDeleteParams
NewCustomInventoryScriptsInventoryScriptsDeleteParamsWithTimeout creates a new CustomInventoryScriptsInventoryScriptsDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomInventoryScriptsInventoryScriptsDeleteParams) SetContext ¶
func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the custom inventory scripts inventory scripts delete params
func (*CustomInventoryScriptsInventoryScriptsDeleteParams) SetHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts delete params
func (*CustomInventoryScriptsInventoryScriptsDeleteParams) SetID ¶
func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) SetID(id string)
SetID adds the id to the custom inventory scripts inventory scripts delete params
func (*CustomInventoryScriptsInventoryScriptsDeleteParams) SetSearch ¶
func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) SetSearch(search *string)
SetSearch adds the search to the custom inventory scripts inventory scripts delete params
func (*CustomInventoryScriptsInventoryScriptsDeleteParams) SetTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the custom inventory scripts inventory scripts delete params
func (*CustomInventoryScriptsInventoryScriptsDeleteParams) WithContext ¶
func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsDeleteParams
WithContext adds the context to the custom inventory scripts inventory scripts delete params
func (*CustomInventoryScriptsInventoryScriptsDeleteParams) WithHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsDeleteParams
WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts delete params
func (*CustomInventoryScriptsInventoryScriptsDeleteParams) WithID ¶
func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) WithID(id string) *CustomInventoryScriptsInventoryScriptsDeleteParams
WithID adds the id to the custom inventory scripts inventory scripts delete params
func (*CustomInventoryScriptsInventoryScriptsDeleteParams) WithSearch ¶
func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) WithSearch(search *string) *CustomInventoryScriptsInventoryScriptsDeleteParams
WithSearch adds the search to the custom inventory scripts inventory scripts delete params
func (*CustomInventoryScriptsInventoryScriptsDeleteParams) WithTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsDeleteParams
WithTimeout adds the timeout to the custom inventory scripts inventory scripts delete params
func (*CustomInventoryScriptsInventoryScriptsDeleteParams) WriteToRequest ¶
func (o *CustomInventoryScriptsInventoryScriptsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomInventoryScriptsInventoryScriptsDeleteReader ¶
type CustomInventoryScriptsInventoryScriptsDeleteReader struct {
// contains filtered or unexported fields
}
CustomInventoryScriptsInventoryScriptsDeleteReader is a Reader for the CustomInventoryScriptsInventoryScriptsDelete structure.
func (*CustomInventoryScriptsInventoryScriptsDeleteReader) ReadResponse ¶
func (o *CustomInventoryScriptsInventoryScriptsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomInventoryScriptsInventoryScriptsListForbidden ¶
type CustomInventoryScriptsInventoryScriptsListForbidden struct { }
CustomInventoryScriptsInventoryScriptsListForbidden handles this case with default header values.
No Permission Response
func NewCustomInventoryScriptsInventoryScriptsListForbidden ¶
func NewCustomInventoryScriptsInventoryScriptsListForbidden() *CustomInventoryScriptsInventoryScriptsListForbidden
NewCustomInventoryScriptsInventoryScriptsListForbidden creates a CustomInventoryScriptsInventoryScriptsListForbidden with default headers values
func (*CustomInventoryScriptsInventoryScriptsListForbidden) Error ¶
func (o *CustomInventoryScriptsInventoryScriptsListForbidden) Error() string
type CustomInventoryScriptsInventoryScriptsListOK ¶
type CustomInventoryScriptsInventoryScriptsListOK struct { }
CustomInventoryScriptsInventoryScriptsListOK handles this case with default header values.
OK
func NewCustomInventoryScriptsInventoryScriptsListOK ¶
func NewCustomInventoryScriptsInventoryScriptsListOK() *CustomInventoryScriptsInventoryScriptsListOK
NewCustomInventoryScriptsInventoryScriptsListOK creates a CustomInventoryScriptsInventoryScriptsListOK with default headers values
func (*CustomInventoryScriptsInventoryScriptsListOK) Error ¶
func (o *CustomInventoryScriptsInventoryScriptsListOK) Error() string
type CustomInventoryScriptsInventoryScriptsListParams ¶
type CustomInventoryScriptsInventoryScriptsListParams struct { /*Page A page number within the paginated result set. */ Page *int64 /*PageSize Number of results to return per page. */ PageSize *int64 /*Search A search term. */ Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomInventoryScriptsInventoryScriptsListParams contains all the parameters to send to the API endpoint for the custom inventory scripts inventory scripts list operation typically these are written to a http.Request
func NewCustomInventoryScriptsInventoryScriptsListParams ¶
func NewCustomInventoryScriptsInventoryScriptsListParams() *CustomInventoryScriptsInventoryScriptsListParams
NewCustomInventoryScriptsInventoryScriptsListParams creates a new CustomInventoryScriptsInventoryScriptsListParams object with the default values initialized.
func NewCustomInventoryScriptsInventoryScriptsListParamsWithContext ¶
func NewCustomInventoryScriptsInventoryScriptsListParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsListParams
NewCustomInventoryScriptsInventoryScriptsListParamsWithContext creates a new CustomInventoryScriptsInventoryScriptsListParams object with the default values initialized, and the ability to set a context for a request
func NewCustomInventoryScriptsInventoryScriptsListParamsWithHTTPClient ¶
func NewCustomInventoryScriptsInventoryScriptsListParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsListParams
NewCustomInventoryScriptsInventoryScriptsListParamsWithHTTPClient creates a new CustomInventoryScriptsInventoryScriptsListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomInventoryScriptsInventoryScriptsListParamsWithTimeout ¶
func NewCustomInventoryScriptsInventoryScriptsListParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsListParams
NewCustomInventoryScriptsInventoryScriptsListParamsWithTimeout creates a new CustomInventoryScriptsInventoryScriptsListParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomInventoryScriptsInventoryScriptsListParams) SetContext ¶
func (o *CustomInventoryScriptsInventoryScriptsListParams) SetContext(ctx context.Context)
SetContext adds the context to the custom inventory scripts inventory scripts list params
func (*CustomInventoryScriptsInventoryScriptsListParams) SetHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts list params
func (*CustomInventoryScriptsInventoryScriptsListParams) SetPage ¶
func (o *CustomInventoryScriptsInventoryScriptsListParams) SetPage(page *int64)
SetPage adds the page to the custom inventory scripts inventory scripts list params
func (*CustomInventoryScriptsInventoryScriptsListParams) SetPageSize ¶
func (o *CustomInventoryScriptsInventoryScriptsListParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the custom inventory scripts inventory scripts list params
func (*CustomInventoryScriptsInventoryScriptsListParams) SetSearch ¶
func (o *CustomInventoryScriptsInventoryScriptsListParams) SetSearch(search *string)
SetSearch adds the search to the custom inventory scripts inventory scripts list params
func (*CustomInventoryScriptsInventoryScriptsListParams) SetTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the custom inventory scripts inventory scripts list params
func (*CustomInventoryScriptsInventoryScriptsListParams) WithContext ¶
func (o *CustomInventoryScriptsInventoryScriptsListParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsListParams
WithContext adds the context to the custom inventory scripts inventory scripts list params
func (*CustomInventoryScriptsInventoryScriptsListParams) WithHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsListParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsListParams
WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts list params
func (*CustomInventoryScriptsInventoryScriptsListParams) WithPage ¶
func (o *CustomInventoryScriptsInventoryScriptsListParams) WithPage(page *int64) *CustomInventoryScriptsInventoryScriptsListParams
WithPage adds the page to the custom inventory scripts inventory scripts list params
func (*CustomInventoryScriptsInventoryScriptsListParams) WithPageSize ¶
func (o *CustomInventoryScriptsInventoryScriptsListParams) WithPageSize(pageSize *int64) *CustomInventoryScriptsInventoryScriptsListParams
WithPageSize adds the pageSize to the custom inventory scripts inventory scripts list params
func (*CustomInventoryScriptsInventoryScriptsListParams) WithSearch ¶
func (o *CustomInventoryScriptsInventoryScriptsListParams) WithSearch(search *string) *CustomInventoryScriptsInventoryScriptsListParams
WithSearch adds the search to the custom inventory scripts inventory scripts list params
func (*CustomInventoryScriptsInventoryScriptsListParams) WithTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsListParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsListParams
WithTimeout adds the timeout to the custom inventory scripts inventory scripts list params
func (*CustomInventoryScriptsInventoryScriptsListParams) WriteToRequest ¶
func (o *CustomInventoryScriptsInventoryScriptsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomInventoryScriptsInventoryScriptsListReader ¶
type CustomInventoryScriptsInventoryScriptsListReader struct {
// contains filtered or unexported fields
}
CustomInventoryScriptsInventoryScriptsListReader is a Reader for the CustomInventoryScriptsInventoryScriptsList structure.
func (*CustomInventoryScriptsInventoryScriptsListReader) ReadResponse ¶
func (o *CustomInventoryScriptsInventoryScriptsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomInventoryScriptsInventoryScriptsObjectRolesListOK ¶
type CustomInventoryScriptsInventoryScriptsObjectRolesListOK struct { }
CustomInventoryScriptsInventoryScriptsObjectRolesListOK handles this case with default header values.
OK
func NewCustomInventoryScriptsInventoryScriptsObjectRolesListOK ¶
func NewCustomInventoryScriptsInventoryScriptsObjectRolesListOK() *CustomInventoryScriptsInventoryScriptsObjectRolesListOK
NewCustomInventoryScriptsInventoryScriptsObjectRolesListOK creates a CustomInventoryScriptsInventoryScriptsObjectRolesListOK with default headers values
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListOK) Error ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListOK) Error() string
type CustomInventoryScriptsInventoryScriptsObjectRolesListParams ¶
type CustomInventoryScriptsInventoryScriptsObjectRolesListParams struct { /*ID*/ ID string /*Page A page number within the paginated result set. */ Page *int64 /*PageSize Number of results to return per page. */ PageSize *int64 /*Search A search term. */ Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomInventoryScriptsInventoryScriptsObjectRolesListParams contains all the parameters to send to the API endpoint for the custom inventory scripts inventory scripts object roles list operation typically these are written to a http.Request
func NewCustomInventoryScriptsInventoryScriptsObjectRolesListParams ¶
func NewCustomInventoryScriptsInventoryScriptsObjectRolesListParams() *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
NewCustomInventoryScriptsInventoryScriptsObjectRolesListParams creates a new CustomInventoryScriptsInventoryScriptsObjectRolesListParams object with the default values initialized.
func NewCustomInventoryScriptsInventoryScriptsObjectRolesListParamsWithContext ¶
func NewCustomInventoryScriptsInventoryScriptsObjectRolesListParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
NewCustomInventoryScriptsInventoryScriptsObjectRolesListParamsWithContext creates a new CustomInventoryScriptsInventoryScriptsObjectRolesListParams object with the default values initialized, and the ability to set a context for a request
func NewCustomInventoryScriptsInventoryScriptsObjectRolesListParamsWithHTTPClient ¶
func NewCustomInventoryScriptsInventoryScriptsObjectRolesListParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
NewCustomInventoryScriptsInventoryScriptsObjectRolesListParamsWithHTTPClient creates a new CustomInventoryScriptsInventoryScriptsObjectRolesListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomInventoryScriptsInventoryScriptsObjectRolesListParamsWithTimeout ¶
func NewCustomInventoryScriptsInventoryScriptsObjectRolesListParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
NewCustomInventoryScriptsInventoryScriptsObjectRolesListParamsWithTimeout creates a new CustomInventoryScriptsInventoryScriptsObjectRolesListParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetContext ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetContext(ctx context.Context)
SetContext adds the context to the custom inventory scripts inventory scripts object roles list params
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts object roles list params
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetID ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetID(id string)
SetID adds the id to the custom inventory scripts inventory scripts object roles list params
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetPage ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetPage(page *int64)
SetPage adds the page to the custom inventory scripts inventory scripts object roles list params
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetPageSize ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the custom inventory scripts inventory scripts object roles list params
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetSearch ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetSearch(search *string)
SetSearch adds the search to the custom inventory scripts inventory scripts object roles list params
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the custom inventory scripts inventory scripts object roles list params
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithContext ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
WithContext adds the context to the custom inventory scripts inventory scripts object roles list params
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts object roles list params
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithID ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithID(id string) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
WithID adds the id to the custom inventory scripts inventory scripts object roles list params
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithPage ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithPage(page *int64) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
WithPage adds the page to the custom inventory scripts inventory scripts object roles list params
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithPageSize ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithPageSize(pageSize *int64) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
WithPageSize adds the pageSize to the custom inventory scripts inventory scripts object roles list params
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithSearch ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithSearch(search *string) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
WithSearch adds the search to the custom inventory scripts inventory scripts object roles list params
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsObjectRolesListParams
WithTimeout adds the timeout to the custom inventory scripts inventory scripts object roles list params
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WriteToRequest ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomInventoryScriptsInventoryScriptsObjectRolesListReader ¶
type CustomInventoryScriptsInventoryScriptsObjectRolesListReader struct {
// contains filtered or unexported fields
}
CustomInventoryScriptsInventoryScriptsObjectRolesListReader is a Reader for the CustomInventoryScriptsInventoryScriptsObjectRolesList structure.
func (*CustomInventoryScriptsInventoryScriptsObjectRolesListReader) ReadResponse ¶
func (o *CustomInventoryScriptsInventoryScriptsObjectRolesListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomInventoryScriptsInventoryScriptsPartialUpdateBody ¶
type CustomInventoryScriptsInventoryScriptsPartialUpdateBody struct { // description Description string `json:"description,omitempty"` // name Name string `json:"name,omitempty"` // Organization owning this inventory script Organization int64 `json:"organization,omitempty"` // script Script string `json:"script,omitempty"` }
CustomInventoryScriptsInventoryScriptsPartialUpdateBody custom inventory scripts inventory scripts partial update body swagger:model CustomInventoryScriptsInventoryScriptsPartialUpdateBody
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateBody) MarshalBinary ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateBody) UnmarshalBinary ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomInventoryScriptsInventoryScriptsPartialUpdateOK ¶
type CustomInventoryScriptsInventoryScriptsPartialUpdateOK struct { }
CustomInventoryScriptsInventoryScriptsPartialUpdateOK handles this case with default header values.
OK
func NewCustomInventoryScriptsInventoryScriptsPartialUpdateOK ¶
func NewCustomInventoryScriptsInventoryScriptsPartialUpdateOK() *CustomInventoryScriptsInventoryScriptsPartialUpdateOK
NewCustomInventoryScriptsInventoryScriptsPartialUpdateOK creates a CustomInventoryScriptsInventoryScriptsPartialUpdateOK with default headers values
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateOK) Error ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateOK) Error() string
type CustomInventoryScriptsInventoryScriptsPartialUpdateParams ¶
type CustomInventoryScriptsInventoryScriptsPartialUpdateParams struct { /*Data*/ Data CustomInventoryScriptsInventoryScriptsPartialUpdateBody /*ID*/ ID string /*Search A search term. */ Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomInventoryScriptsInventoryScriptsPartialUpdateParams contains all the parameters to send to the API endpoint for the custom inventory scripts inventory scripts partial update operation typically these are written to a http.Request
func NewCustomInventoryScriptsInventoryScriptsPartialUpdateParams ¶
func NewCustomInventoryScriptsInventoryScriptsPartialUpdateParams() *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
NewCustomInventoryScriptsInventoryScriptsPartialUpdateParams creates a new CustomInventoryScriptsInventoryScriptsPartialUpdateParams object with the default values initialized.
func NewCustomInventoryScriptsInventoryScriptsPartialUpdateParamsWithContext ¶
func NewCustomInventoryScriptsInventoryScriptsPartialUpdateParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
NewCustomInventoryScriptsInventoryScriptsPartialUpdateParamsWithContext creates a new CustomInventoryScriptsInventoryScriptsPartialUpdateParams object with the default values initialized, and the ability to set a context for a request
func NewCustomInventoryScriptsInventoryScriptsPartialUpdateParamsWithHTTPClient ¶
func NewCustomInventoryScriptsInventoryScriptsPartialUpdateParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
NewCustomInventoryScriptsInventoryScriptsPartialUpdateParamsWithHTTPClient creates a new CustomInventoryScriptsInventoryScriptsPartialUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomInventoryScriptsInventoryScriptsPartialUpdateParamsWithTimeout ¶
func NewCustomInventoryScriptsInventoryScriptsPartialUpdateParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
NewCustomInventoryScriptsInventoryScriptsPartialUpdateParamsWithTimeout creates a new CustomInventoryScriptsInventoryScriptsPartialUpdateParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetContext ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the custom inventory scripts inventory scripts partial update params
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetData ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetData(data CustomInventoryScriptsInventoryScriptsPartialUpdateBody)
SetData adds the data to the custom inventory scripts inventory scripts partial update params
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts partial update params
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetID ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetID(id string)
SetID adds the id to the custom inventory scripts inventory scripts partial update params
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetSearch ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetSearch(search *string)
SetSearch adds the search to the custom inventory scripts inventory scripts partial update params
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the custom inventory scripts inventory scripts partial update params
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithContext ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
WithContext adds the context to the custom inventory scripts inventory scripts partial update params
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithData ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithData(data CustomInventoryScriptsInventoryScriptsPartialUpdateBody) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
WithData adds the data to the custom inventory scripts inventory scripts partial update params
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts partial update params
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithID ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithID(id string) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
WithID adds the id to the custom inventory scripts inventory scripts partial update params
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithSearch ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithSearch(search *string) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
WithSearch adds the search to the custom inventory scripts inventory scripts partial update params
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsPartialUpdateParams
WithTimeout adds the timeout to the custom inventory scripts inventory scripts partial update params
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WriteToRequest ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomInventoryScriptsInventoryScriptsPartialUpdateReader ¶
type CustomInventoryScriptsInventoryScriptsPartialUpdateReader struct {
// contains filtered or unexported fields
}
CustomInventoryScriptsInventoryScriptsPartialUpdateReader is a Reader for the CustomInventoryScriptsInventoryScriptsPartialUpdate structure.
func (*CustomInventoryScriptsInventoryScriptsPartialUpdateReader) ReadResponse ¶
func (o *CustomInventoryScriptsInventoryScriptsPartialUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomInventoryScriptsInventoryScriptsReadOK ¶
type CustomInventoryScriptsInventoryScriptsReadOK struct { }
CustomInventoryScriptsInventoryScriptsReadOK handles this case with default header values.
OK
func NewCustomInventoryScriptsInventoryScriptsReadOK ¶
func NewCustomInventoryScriptsInventoryScriptsReadOK() *CustomInventoryScriptsInventoryScriptsReadOK
NewCustomInventoryScriptsInventoryScriptsReadOK creates a CustomInventoryScriptsInventoryScriptsReadOK with default headers values
func (*CustomInventoryScriptsInventoryScriptsReadOK) Error ¶
func (o *CustomInventoryScriptsInventoryScriptsReadOK) Error() string
type CustomInventoryScriptsInventoryScriptsReadParams ¶
type CustomInventoryScriptsInventoryScriptsReadParams struct { /*ID*/ ID string /*Search A search term. */ Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomInventoryScriptsInventoryScriptsReadParams contains all the parameters to send to the API endpoint for the custom inventory scripts inventory scripts read operation typically these are written to a http.Request
func NewCustomInventoryScriptsInventoryScriptsReadParams ¶
func NewCustomInventoryScriptsInventoryScriptsReadParams() *CustomInventoryScriptsInventoryScriptsReadParams
NewCustomInventoryScriptsInventoryScriptsReadParams creates a new CustomInventoryScriptsInventoryScriptsReadParams object with the default values initialized.
func NewCustomInventoryScriptsInventoryScriptsReadParamsWithContext ¶
func NewCustomInventoryScriptsInventoryScriptsReadParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsReadParams
NewCustomInventoryScriptsInventoryScriptsReadParamsWithContext creates a new CustomInventoryScriptsInventoryScriptsReadParams object with the default values initialized, and the ability to set a context for a request
func NewCustomInventoryScriptsInventoryScriptsReadParamsWithHTTPClient ¶
func NewCustomInventoryScriptsInventoryScriptsReadParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsReadParams
NewCustomInventoryScriptsInventoryScriptsReadParamsWithHTTPClient creates a new CustomInventoryScriptsInventoryScriptsReadParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomInventoryScriptsInventoryScriptsReadParamsWithTimeout ¶
func NewCustomInventoryScriptsInventoryScriptsReadParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsReadParams
NewCustomInventoryScriptsInventoryScriptsReadParamsWithTimeout creates a new CustomInventoryScriptsInventoryScriptsReadParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomInventoryScriptsInventoryScriptsReadParams) SetContext ¶
func (o *CustomInventoryScriptsInventoryScriptsReadParams) SetContext(ctx context.Context)
SetContext adds the context to the custom inventory scripts inventory scripts read params
func (*CustomInventoryScriptsInventoryScriptsReadParams) SetHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsReadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts read params
func (*CustomInventoryScriptsInventoryScriptsReadParams) SetID ¶
func (o *CustomInventoryScriptsInventoryScriptsReadParams) SetID(id string)
SetID adds the id to the custom inventory scripts inventory scripts read params
func (*CustomInventoryScriptsInventoryScriptsReadParams) SetSearch ¶
func (o *CustomInventoryScriptsInventoryScriptsReadParams) SetSearch(search *string)
SetSearch adds the search to the custom inventory scripts inventory scripts read params
func (*CustomInventoryScriptsInventoryScriptsReadParams) SetTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsReadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the custom inventory scripts inventory scripts read params
func (*CustomInventoryScriptsInventoryScriptsReadParams) WithContext ¶
func (o *CustomInventoryScriptsInventoryScriptsReadParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsReadParams
WithContext adds the context to the custom inventory scripts inventory scripts read params
func (*CustomInventoryScriptsInventoryScriptsReadParams) WithHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsReadParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsReadParams
WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts read params
func (*CustomInventoryScriptsInventoryScriptsReadParams) WithID ¶
func (o *CustomInventoryScriptsInventoryScriptsReadParams) WithID(id string) *CustomInventoryScriptsInventoryScriptsReadParams
WithID adds the id to the custom inventory scripts inventory scripts read params
func (*CustomInventoryScriptsInventoryScriptsReadParams) WithSearch ¶
func (o *CustomInventoryScriptsInventoryScriptsReadParams) WithSearch(search *string) *CustomInventoryScriptsInventoryScriptsReadParams
WithSearch adds the search to the custom inventory scripts inventory scripts read params
func (*CustomInventoryScriptsInventoryScriptsReadParams) WithTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsReadParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsReadParams
WithTimeout adds the timeout to the custom inventory scripts inventory scripts read params
func (*CustomInventoryScriptsInventoryScriptsReadParams) WriteToRequest ¶
func (o *CustomInventoryScriptsInventoryScriptsReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomInventoryScriptsInventoryScriptsReadReader ¶
type CustomInventoryScriptsInventoryScriptsReadReader struct {
// contains filtered or unexported fields
}
CustomInventoryScriptsInventoryScriptsReadReader is a Reader for the CustomInventoryScriptsInventoryScriptsRead structure.
func (*CustomInventoryScriptsInventoryScriptsReadReader) ReadResponse ¶
func (o *CustomInventoryScriptsInventoryScriptsReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomInventoryScriptsInventoryScriptsUpdateBody ¶
type CustomInventoryScriptsInventoryScriptsUpdateBody struct { // description Description string `json:"description,omitempty"` // name // Required: true Name *string `json:"name"` // Organization owning this inventory script // Required: true Organization *int64 `json:"organization"` // script // Required: true Script *string `json:"script"` }
CustomInventoryScriptsInventoryScriptsUpdateBody custom inventory scripts inventory scripts update body swagger:model CustomInventoryScriptsInventoryScriptsUpdateBody
func (*CustomInventoryScriptsInventoryScriptsUpdateBody) MarshalBinary ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomInventoryScriptsInventoryScriptsUpdateBody) UnmarshalBinary ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomInventoryScriptsInventoryScriptsUpdateOK ¶
type CustomInventoryScriptsInventoryScriptsUpdateOK struct { }
CustomInventoryScriptsInventoryScriptsUpdateOK handles this case with default header values.
OK
func NewCustomInventoryScriptsInventoryScriptsUpdateOK ¶
func NewCustomInventoryScriptsInventoryScriptsUpdateOK() *CustomInventoryScriptsInventoryScriptsUpdateOK
NewCustomInventoryScriptsInventoryScriptsUpdateOK creates a CustomInventoryScriptsInventoryScriptsUpdateOK with default headers values
func (*CustomInventoryScriptsInventoryScriptsUpdateOK) Error ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateOK) Error() string
type CustomInventoryScriptsInventoryScriptsUpdateParams ¶
type CustomInventoryScriptsInventoryScriptsUpdateParams struct { /*Data*/ Data CustomInventoryScriptsInventoryScriptsUpdateBody /*ID*/ ID string /*Search A search term. */ Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomInventoryScriptsInventoryScriptsUpdateParams contains all the parameters to send to the API endpoint for the custom inventory scripts inventory scripts update operation typically these are written to a http.Request
func NewCustomInventoryScriptsInventoryScriptsUpdateParams ¶
func NewCustomInventoryScriptsInventoryScriptsUpdateParams() *CustomInventoryScriptsInventoryScriptsUpdateParams
NewCustomInventoryScriptsInventoryScriptsUpdateParams creates a new CustomInventoryScriptsInventoryScriptsUpdateParams object with the default values initialized.
func NewCustomInventoryScriptsInventoryScriptsUpdateParamsWithContext ¶
func NewCustomInventoryScriptsInventoryScriptsUpdateParamsWithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsUpdateParams
NewCustomInventoryScriptsInventoryScriptsUpdateParamsWithContext creates a new CustomInventoryScriptsInventoryScriptsUpdateParams object with the default values initialized, and the ability to set a context for a request
func NewCustomInventoryScriptsInventoryScriptsUpdateParamsWithHTTPClient ¶
func NewCustomInventoryScriptsInventoryScriptsUpdateParamsWithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsUpdateParams
NewCustomInventoryScriptsInventoryScriptsUpdateParamsWithHTTPClient creates a new CustomInventoryScriptsInventoryScriptsUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomInventoryScriptsInventoryScriptsUpdateParamsWithTimeout ¶
func NewCustomInventoryScriptsInventoryScriptsUpdateParamsWithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsUpdateParams
NewCustomInventoryScriptsInventoryScriptsUpdateParamsWithTimeout creates a new CustomInventoryScriptsInventoryScriptsUpdateParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomInventoryScriptsInventoryScriptsUpdateParams) SetContext ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the custom inventory scripts inventory scripts update params
func (*CustomInventoryScriptsInventoryScriptsUpdateParams) SetData ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) SetData(data CustomInventoryScriptsInventoryScriptsUpdateBody)
SetData adds the data to the custom inventory scripts inventory scripts update params
func (*CustomInventoryScriptsInventoryScriptsUpdateParams) SetHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts update params
func (*CustomInventoryScriptsInventoryScriptsUpdateParams) SetID ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) SetID(id string)
SetID adds the id to the custom inventory scripts inventory scripts update params
func (*CustomInventoryScriptsInventoryScriptsUpdateParams) SetSearch ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) SetSearch(search *string)
SetSearch adds the search to the custom inventory scripts inventory scripts update params
func (*CustomInventoryScriptsInventoryScriptsUpdateParams) SetTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the custom inventory scripts inventory scripts update params
func (*CustomInventoryScriptsInventoryScriptsUpdateParams) WithContext ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) WithContext(ctx context.Context) *CustomInventoryScriptsInventoryScriptsUpdateParams
WithContext adds the context to the custom inventory scripts inventory scripts update params
func (*CustomInventoryScriptsInventoryScriptsUpdateParams) WithData ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) WithData(data CustomInventoryScriptsInventoryScriptsUpdateBody) *CustomInventoryScriptsInventoryScriptsUpdateParams
WithData adds the data to the custom inventory scripts inventory scripts update params
func (*CustomInventoryScriptsInventoryScriptsUpdateParams) WithHTTPClient ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) WithHTTPClient(client *http.Client) *CustomInventoryScriptsInventoryScriptsUpdateParams
WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts update params
func (*CustomInventoryScriptsInventoryScriptsUpdateParams) WithID ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) WithID(id string) *CustomInventoryScriptsInventoryScriptsUpdateParams
WithID adds the id to the custom inventory scripts inventory scripts update params
func (*CustomInventoryScriptsInventoryScriptsUpdateParams) WithSearch ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) WithSearch(search *string) *CustomInventoryScriptsInventoryScriptsUpdateParams
WithSearch adds the search to the custom inventory scripts inventory scripts update params
func (*CustomInventoryScriptsInventoryScriptsUpdateParams) WithTimeout ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) WithTimeout(timeout time.Duration) *CustomInventoryScriptsInventoryScriptsUpdateParams
WithTimeout adds the timeout to the custom inventory scripts inventory scripts update params
func (*CustomInventoryScriptsInventoryScriptsUpdateParams) WriteToRequest ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomInventoryScriptsInventoryScriptsUpdateReader ¶
type CustomInventoryScriptsInventoryScriptsUpdateReader struct {
// contains filtered or unexported fields
}
CustomInventoryScriptsInventoryScriptsUpdateReader is a Reader for the CustomInventoryScriptsInventoryScriptsUpdate structure.
func (*CustomInventoryScriptsInventoryScriptsUpdateReader) ReadResponse ¶
func (o *CustomInventoryScriptsInventoryScriptsUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- custom_inventory_scripts_client.go
- custom_inventory_scripts_inventory_scripts_copy_create_parameters.go
- custom_inventory_scripts_inventory_scripts_copy_create_responses.go
- custom_inventory_scripts_inventory_scripts_copy_list_parameters.go
- custom_inventory_scripts_inventory_scripts_copy_list_responses.go
- custom_inventory_scripts_inventory_scripts_create_parameters.go
- custom_inventory_scripts_inventory_scripts_create_responses.go
- custom_inventory_scripts_inventory_scripts_delete_parameters.go
- custom_inventory_scripts_inventory_scripts_delete_responses.go
- custom_inventory_scripts_inventory_scripts_list_parameters.go
- custom_inventory_scripts_inventory_scripts_list_responses.go
- custom_inventory_scripts_inventory_scripts_object_roles_list_parameters.go
- custom_inventory_scripts_inventory_scripts_object_roles_list_responses.go
- custom_inventory_scripts_inventory_scripts_partial_update_parameters.go
- custom_inventory_scripts_inventory_scripts_partial_update_responses.go
- custom_inventory_scripts_inventory_scripts_read_parameters.go
- custom_inventory_scripts_inventory_scripts_read_responses.go
- custom_inventory_scripts_inventory_scripts_update_parameters.go
- custom_inventory_scripts_inventory_scripts_update_responses.go