custom_inventory_scripts

package
v0.0.0-...-878b285 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for custom inventory scripts API

func (*Client) CustomInventoryScriptsInventoryScriptsCopyCreate

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

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

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

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

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

MarshalBinary interface implementation

func (*CustomInventoryScriptsInventoryScriptsCopyCreateBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CustomInventoryScriptsInventoryScriptsCopyCreateBody) Validate

Validate validates this custom inventory scripts inventory scripts copy create body

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

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

SetContext adds the context to the custom inventory scripts inventory scripts copy create params

func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetData

SetData adds the data to the custom inventory scripts inventory scripts copy create params

func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts copy create params

func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetID

SetID adds the id to the custom inventory scripts inventory scripts copy create params

func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) SetTimeout

SetTimeout adds the timeout to the custom inventory scripts inventory scripts copy create params

func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithContext

WithContext adds the context to the custom inventory scripts inventory scripts copy create params

func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithData

WithData adds the data to the custom inventory scripts inventory scripts copy create params

func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts copy create params

func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithID

WithID adds the id to the custom inventory scripts inventory scripts copy create params

func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) WithTimeout

WithTimeout adds the timeout to the custom inventory scripts inventory scripts copy create params

func (*CustomInventoryScriptsInventoryScriptsCopyCreateParams) WriteToRequest

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

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

SetContext adds the context to the custom inventory scripts inventory scripts copy list params

func (*CustomInventoryScriptsInventoryScriptsCopyListParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts copy list params

func (*CustomInventoryScriptsInventoryScriptsCopyListParams) SetID

SetID adds the id to the custom inventory scripts inventory scripts copy list params

func (*CustomInventoryScriptsInventoryScriptsCopyListParams) SetPage

SetPage adds the page to the custom inventory scripts inventory scripts copy list params

func (*CustomInventoryScriptsInventoryScriptsCopyListParams) SetPageSize

SetPageSize adds the pageSize to the custom inventory scripts inventory scripts copy list params

func (*CustomInventoryScriptsInventoryScriptsCopyListParams) SetSearch

SetSearch adds the search to the custom inventory scripts inventory scripts copy list params

func (*CustomInventoryScriptsInventoryScriptsCopyListParams) SetTimeout

SetTimeout adds the timeout to the custom inventory scripts inventory scripts copy list params

func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WithContext

WithContext adds the context to the custom inventory scripts inventory scripts copy list params

func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts copy list params

func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WithID

WithID adds the id to the custom inventory scripts inventory scripts copy list params

func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WithPage

WithPage adds the page to the custom inventory scripts inventory scripts copy list params

func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WithPageSize

WithPageSize adds the pageSize to the custom inventory scripts inventory scripts copy list params

func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WithSearch

WithSearch adds the search to the custom inventory scripts inventory scripts copy list params

func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WithTimeout

WithTimeout adds the timeout to the custom inventory scripts inventory scripts copy list params

func (*CustomInventoryScriptsInventoryScriptsCopyListParams) WriteToRequest

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

MarshalBinary interface implementation

func (*CustomInventoryScriptsInventoryScriptsCreateBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CustomInventoryScriptsInventoryScriptsCreateBody) Validate

Validate validates this custom inventory scripts inventory scripts create body

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

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

SetContext adds the context to the custom inventory scripts inventory scripts create params

func (*CustomInventoryScriptsInventoryScriptsCreateParams) SetData

SetData adds the data to the custom inventory scripts inventory scripts create params

func (*CustomInventoryScriptsInventoryScriptsCreateParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts create params

func (*CustomInventoryScriptsInventoryScriptsCreateParams) SetTimeout

SetTimeout adds the timeout to the custom inventory scripts inventory scripts create params

func (*CustomInventoryScriptsInventoryScriptsCreateParams) WithContext

WithContext adds the context to the custom inventory scripts inventory scripts create params

func (*CustomInventoryScriptsInventoryScriptsCreateParams) WithData

WithData adds the data to the custom inventory scripts inventory scripts create params

func (*CustomInventoryScriptsInventoryScriptsCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts create params

func (*CustomInventoryScriptsInventoryScriptsCreateParams) WithTimeout

WithTimeout adds the timeout to the custom inventory scripts inventory scripts create params

func (*CustomInventoryScriptsInventoryScriptsCreateParams) WriteToRequest

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

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

SetContext adds the context to the custom inventory scripts inventory scripts delete params

func (*CustomInventoryScriptsInventoryScriptsDeleteParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts delete params

func (*CustomInventoryScriptsInventoryScriptsDeleteParams) SetID

SetID adds the id to the custom inventory scripts inventory scripts delete params

func (*CustomInventoryScriptsInventoryScriptsDeleteParams) SetSearch

SetSearch adds the search to the custom inventory scripts inventory scripts delete params

func (*CustomInventoryScriptsInventoryScriptsDeleteParams) SetTimeout

SetTimeout adds the timeout to the custom inventory scripts inventory scripts delete params

func (*CustomInventoryScriptsInventoryScriptsDeleteParams) WithContext

WithContext adds the context to the custom inventory scripts inventory scripts delete params

func (*CustomInventoryScriptsInventoryScriptsDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts delete params

func (*CustomInventoryScriptsInventoryScriptsDeleteParams) WithID

WithID adds the id to the custom inventory scripts inventory scripts delete params

func (*CustomInventoryScriptsInventoryScriptsDeleteParams) WithSearch

WithSearch adds the search to the custom inventory scripts inventory scripts delete params

func (*CustomInventoryScriptsInventoryScriptsDeleteParams) WithTimeout

WithTimeout adds the timeout to the custom inventory scripts inventory scripts delete params

func (*CustomInventoryScriptsInventoryScriptsDeleteParams) WriteToRequest

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

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

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

SetContext adds the context to the custom inventory scripts inventory scripts list params

func (*CustomInventoryScriptsInventoryScriptsListParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts list params

func (*CustomInventoryScriptsInventoryScriptsListParams) SetPage

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

SetSearch adds the search to the custom inventory scripts inventory scripts list params

func (*CustomInventoryScriptsInventoryScriptsListParams) SetTimeout

SetTimeout adds the timeout to the custom inventory scripts inventory scripts list params

func (*CustomInventoryScriptsInventoryScriptsListParams) WithContext

WithContext adds the context to the custom inventory scripts inventory scripts list params

func (*CustomInventoryScriptsInventoryScriptsListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts list params

func (*CustomInventoryScriptsInventoryScriptsListParams) WithPage

WithPage adds the page to the custom inventory scripts inventory scripts list params

func (*CustomInventoryScriptsInventoryScriptsListParams) WithPageSize

WithPageSize adds the pageSize to the custom inventory scripts inventory scripts list params

func (*CustomInventoryScriptsInventoryScriptsListParams) WithSearch

WithSearch adds the search to the custom inventory scripts inventory scripts list params

func (*CustomInventoryScriptsInventoryScriptsListParams) WithTimeout

WithTimeout adds the timeout to the custom inventory scripts inventory scripts list params

func (*CustomInventoryScriptsInventoryScriptsListParams) WriteToRequest

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

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

SetContext adds the context to the custom inventory scripts inventory scripts object roles list params

func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts object roles list params

func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetID

SetID adds the id to the custom inventory scripts inventory scripts object roles list params

func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetPage

SetPage adds the page to the custom inventory scripts inventory scripts object roles list params

func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetPageSize

SetPageSize adds the pageSize to the custom inventory scripts inventory scripts object roles list params

func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetSearch

SetSearch adds the search to the custom inventory scripts inventory scripts object roles list params

func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) SetTimeout

SetTimeout adds the timeout to the custom inventory scripts inventory scripts object roles list params

func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithContext

WithContext adds the context to the custom inventory scripts inventory scripts object roles list params

func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts object roles list params

func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithID

WithID adds the id to the custom inventory scripts inventory scripts object roles list params

func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithPage

WithPage adds the page to the custom inventory scripts inventory scripts object roles list params

func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithPageSize

WithPageSize adds the pageSize to the custom inventory scripts inventory scripts object roles list params

func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithSearch

WithSearch adds the search to the custom inventory scripts inventory scripts object roles list params

func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WithTimeout

WithTimeout adds the timeout to the custom inventory scripts inventory scripts object roles list params

func (*CustomInventoryScriptsInventoryScriptsObjectRolesListParams) WriteToRequest

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

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

MarshalBinary interface implementation

func (*CustomInventoryScriptsInventoryScriptsPartialUpdateBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CustomInventoryScriptsInventoryScriptsPartialUpdateBody) Validate

Validate validates this custom inventory scripts inventory scripts partial update body

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

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

SetContext adds the context to the custom inventory scripts inventory scripts partial update params

func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetData

SetData adds the data to the custom inventory scripts inventory scripts partial update params

func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts partial update params

func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetID

SetID adds the id to the custom inventory scripts inventory scripts partial update params

func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetSearch

SetSearch adds the search to the custom inventory scripts inventory scripts partial update params

func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) SetTimeout

SetTimeout adds the timeout to the custom inventory scripts inventory scripts partial update params

func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithContext

WithContext adds the context to the custom inventory scripts inventory scripts partial update params

func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithData

WithData adds the data to the custom inventory scripts inventory scripts partial update params

func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts partial update params

func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithID

WithID adds the id to the custom inventory scripts inventory scripts partial update params

func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithSearch

WithSearch adds the search to the custom inventory scripts inventory scripts partial update params

func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WithTimeout

WithTimeout adds the timeout to the custom inventory scripts inventory scripts partial update params

func (*CustomInventoryScriptsInventoryScriptsPartialUpdateParams) WriteToRequest

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

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

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

SetContext adds the context to the custom inventory scripts inventory scripts read params

func (*CustomInventoryScriptsInventoryScriptsReadParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts read params

func (*CustomInventoryScriptsInventoryScriptsReadParams) SetID

SetID adds the id to the custom inventory scripts inventory scripts read params

func (*CustomInventoryScriptsInventoryScriptsReadParams) SetSearch

SetSearch adds the search to the custom inventory scripts inventory scripts read params

func (*CustomInventoryScriptsInventoryScriptsReadParams) SetTimeout

SetTimeout adds the timeout to the custom inventory scripts inventory scripts read params

func (*CustomInventoryScriptsInventoryScriptsReadParams) WithContext

WithContext adds the context to the custom inventory scripts inventory scripts read params

func (*CustomInventoryScriptsInventoryScriptsReadParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts read params

func (*CustomInventoryScriptsInventoryScriptsReadParams) WithID

WithID adds the id to the custom inventory scripts inventory scripts read params

func (*CustomInventoryScriptsInventoryScriptsReadParams) WithSearch

WithSearch adds the search to the custom inventory scripts inventory scripts read params

func (*CustomInventoryScriptsInventoryScriptsReadParams) WithTimeout

WithTimeout adds the timeout to the custom inventory scripts inventory scripts read params

func (*CustomInventoryScriptsInventoryScriptsReadParams) WriteToRequest

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

MarshalBinary interface implementation

func (*CustomInventoryScriptsInventoryScriptsUpdateBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CustomInventoryScriptsInventoryScriptsUpdateBody) Validate

Validate validates this custom inventory scripts inventory scripts update body

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

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

SetContext adds the context to the custom inventory scripts inventory scripts update params

func (*CustomInventoryScriptsInventoryScriptsUpdateParams) SetData

SetData adds the data to the custom inventory scripts inventory scripts update params

func (*CustomInventoryScriptsInventoryScriptsUpdateParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts update params

func (*CustomInventoryScriptsInventoryScriptsUpdateParams) SetID

SetID adds the id to the custom inventory scripts inventory scripts update params

func (*CustomInventoryScriptsInventoryScriptsUpdateParams) SetSearch

SetSearch adds the search to the custom inventory scripts inventory scripts update params

func (*CustomInventoryScriptsInventoryScriptsUpdateParams) SetTimeout

SetTimeout adds the timeout to the custom inventory scripts inventory scripts update params

func (*CustomInventoryScriptsInventoryScriptsUpdateParams) WithContext

WithContext adds the context to the custom inventory scripts inventory scripts update params

func (*CustomInventoryScriptsInventoryScriptsUpdateParams) WithData

WithData adds the data to the custom inventory scripts inventory scripts update params

func (*CustomInventoryScriptsInventoryScriptsUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the custom inventory scripts inventory scripts update params

func (*CustomInventoryScriptsInventoryScriptsUpdateParams) WithID

WithID adds the id to the custom inventory scripts inventory scripts update params

func (*CustomInventoryScriptsInventoryScriptsUpdateParams) WithSearch

WithSearch adds the search to the custom inventory scripts inventory scripts update params

func (*CustomInventoryScriptsInventoryScriptsUpdateParams) WithTimeout

WithTimeout adds the timeout to the custom inventory scripts inventory scripts update params

func (*CustomInventoryScriptsInventoryScriptsUpdateParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL