hosts

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 hosts API

func (*Client) HostsHostsActivityStreamList

func (a *Client) HostsHostsActivityStreamList(params *HostsHostsActivityStreamListParams) (*HostsHostsActivityStreamListOK, error)
HostsHostsActivityStreamList lists activity streams for a host

Make a GET request to this resource to retrieve a list of activity streams associated with the selected host.

The resulting data structure contains:

{
    "count": 99,
    "next": null,
    "previous": null,
    "results": [
        ...
    ]
}

The `count` field indicates the total number of activity streams 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 activity stream records.

## Results

Each activity stream data structure includes the following fields:

* `id`: Database ID for this activity stream. (integer) * `type`: Data type for this activity stream. (choice) * `url`: URL for this activity stream. (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) * `timestamp`: (datetime) * `operation`: The action taken with respect to the given object(s). (choice)

  • `create`: Entity Created
  • `update`: Entity Updated
  • `delete`: Entity Deleted
  • `associate`: Entity Associated with another Entity
  • `disassociate`: Entity was Disassociated with another Entity

* `changes`: A summary of the new and changed values when an object is created, updated, or deleted (json) * `object1`: For create, update, and delete events this is the object type that was affected. For associate and disassociate events this is the object type associated or disassociated with object2. (string) * `object2`: Unpopulated for create, update, and delete events. For associate and disassociate events this is the object type that object1 is being associated with. (string) * `object_association`: When present, shows the field name of the role or relationship that changed. (field) * `action_node`: The cluster node the activity took place on. (string) * `object_type`: When present, shows the model on which the role or relationship was defined. (field)

## Sorting

To specify that activity streams 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) HostsHostsAdHocCommandEventsList

func (a *Client) HostsHostsAdHocCommandEventsList(params *HostsHostsAdHocCommandEventsListParams) (*HostsHostsAdHocCommandEventsListOK, error)
HostsHostsAdHocCommandEventsList lists ad hoc command events for a host

Make a GET request to this resource to retrieve a list of ad hoc command events associated with the selected host.

The resulting data structure contains:

{
    "count": 99,
    "next": null,
    "previous": null,
    "results": [
        ...
    ]
}

The `count` field indicates the total number of ad hoc command events 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 ad hoc command event records.

## Results

Each ad hoc command event data structure includes the following fields:

* `id`: Database ID for this ad hoc command event. (integer) * `type`: Data type for this ad hoc command event. (choice) * `url`: URL for this ad hoc command event. (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 ad hoc command event was created. (datetime) * `modified`: Timestamp when this ad hoc command event was last modified. (datetime) * `ad_hoc_command`: (id) * `event`: (choice)

  • `runner_on_failed`: Host Failed
  • `runner_on_ok`: Host OK
  • `runner_on_unreachable`: Host Unreachable
  • `runner_on_skipped`: Host Skipped
  • `debug`: Debug
  • `verbose`: Verbose
  • `deprecated`: Deprecated
  • `warning`: Warning
  • `system_warning`: System Warning
  • `error`: Error

* `counter`: (integer) * `event_display`: (string) * `event_data`: (json) * `failed`: (boolean) * `changed`: (boolean) * `uuid`: (string) * `host`: (id) * `host_name`: (string) * `stdout`: (string) * `start_line`: (integer) * `end_line`: (integer) * `verbosity`: (integer)

## Sorting

To specify that ad hoc command events 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) HostsHostsAdHocCommandsCreate

func (a *Client) HostsHostsAdHocCommandsCreate(params *HostsHostsAdHocCommandsCreateParams) (*HostsHostsAdHocCommandsCreateCreated, error)
HostsHostsAdHocCommandsCreate creates an ad hoc command for a host

Make a POST request to this resource with the following ad hoc command fields to create a new ad hoc command associated with this host.

* `job_type`: (choice)

  • `run`: Run (default)
  • `check`: Check

* `inventory`: (id, default=“) * `limit`: (string, default=`""`) * `credential`: (id, default=“) * `module_name`: (choice)

  • `command` (default)
  • `shell`
  • `yum`
  • `apt`
  • `apt_key`
  • `apt_repository`
  • `apt_rpm`
  • `service`
  • `group`
  • `user`
  • `mount`
  • `ping`
  • `selinux`
  • `setup`
  • `win_ping`
  • `win_service`
  • `win_updates`
  • `win_group`
  • `win_user`

* `module_args`: (string, default=`""`) * `forks`: (integer, default=`0`) * `verbosity`: (choice)

  • `0`: 0 (Normal) (default)
  • `1`: 1 (Verbose)
  • `2`: 2 (More Verbose)
  • `3`: 3 (Debug)
  • `4`: 4 (Connection Debug)
  • `5`: 5 (WinRM Debug)

* `extra_vars`: (string, default=`""`) * `become_enabled`: (boolean, default=`False`) * `diff_mode`: (boolean, default=`False`)

func (*Client) HostsHostsAdHocCommandsList

func (a *Client) HostsHostsAdHocCommandsList(params *HostsHostsAdHocCommandsListParams) (*HostsHostsAdHocCommandsListOK, error)
HostsHostsAdHocCommandsList lists ad hoc commands for a host

Make a GET request to this resource to retrieve a list of ad hoc commands associated with the selected host.

The resulting data structure contains:

{
    "count": 99,
    "next": null,
    "previous": null,
    "results": [
        ...
    ]
}

The `count` field indicates the total number of ad hoc commands 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 ad hoc command records.

## Results

Each ad hoc command data structure includes the following fields:

* `id`: Database ID for this ad hoc command. (integer) * `type`: Data type for this ad hoc command. (choice) * `url`: URL for this ad hoc command. (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 ad hoc command was created. (datetime) * `modified`: Timestamp when this ad hoc command was last modified. (datetime) * `name`: Name of this ad hoc command. (string) * `launch_type`: (choice)

  • `manual`: Manual
  • `relaunch`: Relaunch
  • `callback`: Callback
  • `scheduled`: Scheduled
  • `dependency`: Dependency
  • `workflow`: Workflow
  • `webhook`: Webhook
  • `sync`: Sync
  • `scm`: SCM Update

* `status`: (choice)

  • `new`: New
  • `pending`: Pending
  • `waiting`: Waiting
  • `running`: Running
  • `successful`: Successful
  • `failed`: Failed
  • `error`: Error
  • `canceled`: Canceled

* `failed`: (boolean) * `started`: The date and time the job was queued for starting. (datetime) * `finished`: The date and time the job finished execution. (datetime) * `canceled_on`: The date and time when the cancel request was sent. (datetime) * `elapsed`: Elapsed time in seconds that the job ran. (decimal) * `job_explanation`: A status field to indicate the state of the job if it wasn't able to run and capture stdout (string) * `execution_node`: The node the job executed on. (string) * `controller_node`: The instance that managed the isolated execution environment. (string) * `job_type`: (choice)

  • `run`: Run
  • `check`: Check

* `inventory`: (id) * `limit`: (string) * `credential`: (id) * `module_name`: (choice)

  • `command`
  • `shell`
  • `yum`
  • `apt`
  • `apt_key`
  • `apt_repository`
  • `apt_rpm`
  • `service`
  • `group`
  • `user`
  • `mount`
  • `ping`
  • `selinux`
  • `setup`
  • `win_ping`
  • `win_service`
  • `win_updates`
  • `win_group`
  • `win_user`

* `module_args`: (string) * `forks`: (integer) * `verbosity`: (choice)

  • `0`: 0 (Normal)
  • `1`: 1 (Verbose)
  • `2`: 2 (More Verbose)
  • `3`: 3 (Debug)
  • `4`: 4 (Connection Debug)
  • `5`: 5 (WinRM Debug)

* `extra_vars`: (string) * `become_enabled`: (boolean) * `diff_mode`: (boolean)

## Sorting

To specify that ad hoc commands 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) HostsHostsAllGroupsList

func (a *Client) HostsHostsAllGroupsList(params *HostsHostsAllGroupsListParams) (*HostsHostsAllGroupsListOK, error)
HostsHostsAllGroupsList lists all groups for a host

Make a GET request to this resource to retrieve a list of all groups of which the selected host is directly or indirectly a member.

The resulting data structure contains:

{
    "count": 99,
    "next": null,
    "previous": null,
    "results": [
        ...
    ]
}

The `count` field indicates the total number of groups 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 group records.

## Results

Each group data structure includes the following fields:

* `id`: Database ID for this group. (integer) * `type`: Data type for this group. (choice) * `url`: URL for this group. (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 group was created. (datetime) * `modified`: Timestamp when this group was last modified. (datetime) * `name`: Name of this group. (string) * `description`: Optional description of this group. (string) * `inventory`: (id) * `variables`: Group variables in JSON or YAML format. (json)

## Sorting

To specify that groups 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) HostsHostsAnsibleFactsRead

func (a *Client) HostsHostsAnsibleFactsRead(params *HostsHostsAnsibleFactsReadParams) (*HostsHostsAnsibleFactsReadOK, error)
HostsHostsAnsibleFactsRead retrieves a host

Make GET request to this resource to retrieve a single host record containing the following fields:

* `id`: Database ID for this host. (integer) * `type`: Data type for this host. (choice) * `url`: URL for this host. (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 host was created. (datetime) * `modified`: Timestamp when this host was last modified. (datetime) * `name`: Name of this host. (string) * `description`: Optional description of this host. (string)

func (*Client) HostsHostsCreate

func (a *Client) HostsHostsCreate(params *HostsHostsCreateParams) (*HostsHostsCreateCreated, error)
HostsHostsCreate hosts filter is available on this endpoint the filter supports relational queries and or boolean logic as well as expression grouping via

  ?host_filter=name=my_host
  ?host_filter=name="my host" or name=my_host
  ?host_filter=groups__name="my group"
  ?host_filter=name=my_host and groups__name="my group"
  ?host_filter=name=my_host and groups__name="my group"
  ?host_filter=(name=my_host and groups__name="my group") or (name=my_host2 and groups__name=my_group2)

`host_filter` can also be used to query JSON data in the related `ansible_facts`. `__` may be used to traverse JSON dictionaries. `[]` may be used to traverse JSON arrays.

?host_filter=ansible_facts__ansible_processor_vcpus=8
?host_filter=ansible_facts__ansible_processor_vcpus=8 and name="my_host" and ansible_facts__ansible_lo__ipv6[]__scope=host

func (*Client) HostsHostsDelete

func (a *Client) HostsHostsDelete(params *HostsHostsDeleteParams) (*HostsHostsDeleteNoContent, error)
HostsHostsDelete deletes a host

Make a DELETE request to this resource to delete this host.

func (*Client) HostsHostsGroupsCreate

func (a *Client) HostsHostsGroupsCreate(params *HostsHostsGroupsCreateParams) (*HostsHostsGroupsCreateCreated, error)
HostsHostsGroupsCreate creates a group for a host

Make a POST request to this resource with the following group fields to create a new group associated with this host.

* `name`: Name of this group. (string, required) * `description`: Optional description of this group. (string, default=`""`) * `inventory`: (id, required) * `variables`: Group variables in JSON or YAML format. (json, default=“)

Add Groups for a Host:

Make a POST request to this resource with only an `id` field to associate an existing group with this host.

Remove Groups from this Host:

Make a POST request to this resource with `id` and `disassociate` fields to remove the group from this host

without deleting the group.

func (*Client) HostsHostsGroupsList

func (a *Client) HostsHostsGroupsList(params *HostsHostsGroupsListParams) (*HostsHostsGroupsListOK, error)
HostsHostsGroupsList lists groups for a host

Make a GET request to this resource to retrieve a list of groups associated with the selected host.

The resulting data structure contains:

{
    "count": 99,
    "next": null,
    "previous": null,
    "results": [
        ...
    ]
}

The `count` field indicates the total number of groups 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 group records.

## Results

Each group data structure includes the following fields:

* `id`: Database ID for this group. (integer) * `type`: Data type for this group. (choice) * `url`: URL for this group. (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 group was created. (datetime) * `modified`: Timestamp when this group was last modified. (datetime) * `name`: Name of this group. (string) * `description`: Optional description of this group. (string) * `inventory`: (id) * `variables`: Group variables in JSON or YAML format. (json)

## Sorting

To specify that groups 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) HostsHostsInsightsList

func (a *Client) HostsHostsInsightsList(params *HostsHostsInsightsListParams) (*HostsHostsInsightsListOK, error)

HostsHostsInsightsList lists red hat insights for a host

func (*Client) HostsHostsInventorySourcesList

func (a *Client) HostsHostsInventorySourcesList(params *HostsHostsInventorySourcesListParams) (*HostsHostsInventorySourcesListOK, error)
HostsHostsInventorySourcesList lists inventory sources for a host

Make a GET request to this resource to retrieve a list of inventory sources associated with the selected host.

The resulting data structure contains:

{
    "count": 99,
    "next": null,
    "previous": null,
    "results": [
        ...
    ]
}

The `count` field indicates the total number of inventory sources 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 inventory source records.

## Results

Each inventory source data structure includes the following fields:

* `id`: Database ID for this inventory source. (integer) * `type`: Data type for this inventory source. (choice) * `url`: URL for this inventory source. (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 inventory source was created. (datetime) * `modified`: Timestamp when this inventory source was last modified. (datetime) * `name`: Name of this inventory source. (string) * `description`: Optional description of this inventory source. (string) * `source`: (choice)

  • `file`: File, Directory or Script
  • `scm`: Sourced from a Project
  • `ec2`: Amazon EC2
  • `gce`: Google Compute Engine
  • `azure_rm`: Microsoft Azure Resource Manager
  • `vmware`: VMware vCenter
  • `satellite6`: Red Hat Satellite 6
  • `cloudforms`: Red Hat CloudForms
  • `openstack`: OpenStack
  • `rhv`: Red Hat Virtualization
  • `tower`: Ansible Tower
  • `custom`: Custom Script

* `source_path`: (string) * `source_script`: (id) * `source_vars`: Inventory source variables in YAML or JSON format. (string) * `credential`: Cloud credential to use for inventory updates. (integer) * `source_regions`: (string) * `instance_filters`: Comma-separated list of filter expressions (EC2 only). Hosts are imported when ANY of the filters match. (string) * `group_by`: Limit groups automatically created from inventory source (EC2 only). (string) * `overwrite`: Overwrite local groups and hosts from remote inventory source. (boolean) * `overwrite_vars`: Overwrite local variables from remote inventory source. (boolean) * `custom_virtualenv`: Local absolute file path containing a custom Python virtualenv to use (string) * `timeout`: The amount of time (in seconds) to run before the task is canceled. (integer) * `verbosity`: (choice)

  • `0`: 0 (WARNING)
  • `1`: 1 (INFO)
  • `2`: 2 (DEBUG)

* `last_job_run`: (datetime) * `last_job_failed`: (boolean) * `next_job_run`: (datetime) * `status`: (choice)

  • `new`: New
  • `pending`: Pending
  • `waiting`: Waiting
  • `running`: Running
  • `successful`: Successful
  • `failed`: Failed
  • `error`: Error
  • `canceled`: Canceled
  • `never updated`: Never Updated
  • `none`: No External Source

* `inventory`: (id) * `update_on_launch`: (boolean) * `update_cache_timeout`: (integer) * `source_project`: Project containing inventory file used as source. (id) * `update_on_project_update`: (boolean) * `last_update_failed`: (boolean) * `last_updated`: (datetime)

## Sorting

To specify that inventory sources 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) HostsHostsJobEventsList

func (a *Client) HostsHostsJobEventsList(params *HostsHostsJobEventsListParams) (*HostsHostsJobEventsListOK, error)
HostsHostsJobEventsList lists job events for a host

Make a GET request to this resource to retrieve a list of job events associated with the selected host.

The resulting data structure contains:

{
    "count": 99,
    "next": null,
    "previous": null,
    "results": [
        ...
    ]
}

The `count` field indicates the total number of job events 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 job event records.

## Results

Each job event data structure includes the following fields:

* `id`: Database ID for this job event. (integer) * `type`: Data type for this job event. (choice) * `url`: URL for this job event. (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 job event was created. (datetime) * `modified`: Timestamp when this job event was last modified. (datetime) * `job`: (id) * `event`: (choice)

  • `runner_on_failed`: Host Failed
  • `runner_on_start`: Host Started
  • `runner_on_ok`: Host OK
  • `runner_on_error`: Host Failure
  • `runner_on_skipped`: Host Skipped
  • `runner_on_unreachable`: Host Unreachable
  • `runner_on_no_hosts`: No Hosts Remaining
  • `runner_on_async_poll`: Host Polling
  • `runner_on_async_ok`: Host Async OK
  • `runner_on_async_failed`: Host Async Failure
  • `runner_item_on_ok`: Item OK
  • `runner_item_on_failed`: Item Failed
  • `runner_item_on_skipped`: Item Skipped
  • `runner_retry`: Host Retry
  • `runner_on_file_diff`: File Difference
  • `playbook_on_start`: Playbook Started
  • `playbook_on_notify`: Running Handlers
  • `playbook_on_include`: Including File
  • `playbook_on_no_hosts_matched`: No Hosts Matched
  • `playbook_on_no_hosts_remaining`: No Hosts Remaining
  • `playbook_on_task_start`: Task Started
  • `playbook_on_vars_prompt`: Variables Prompted
  • `playbook_on_setup`: Gathering Facts
  • `playbook_on_import_for_host`: internal: on Import for Host
  • `playbook_on_not_import_for_host`: internal: on Not Import for Host
  • `playbook_on_play_start`: Play Started
  • `playbook_on_stats`: Playbook Complete
  • `debug`: Debug
  • `verbose`: Verbose
  • `deprecated`: Deprecated
  • `warning`: Warning
  • `system_warning`: System Warning
  • `error`: Error

* `counter`: (integer) * `event_display`: (string) * `event_data`: (json) * `event_level`: (integer) * `failed`: (boolean) * `changed`: (boolean) * `uuid`: (string) * `parent_uuid`: (string) * `host`: (id) * `host_name`: (string) * `playbook`: (string) * `play`: (string) * `task`: (string) * `role`: (string) * `stdout`: (string) * `start_line`: (integer) * `end_line`: (integer) * `verbosity`: (integer)

## Sorting

To specify that job events 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) HostsHostsJobHostSummariesList

func (a *Client) HostsHostsJobHostSummariesList(params *HostsHostsJobHostSummariesListParams) (*HostsHostsJobHostSummariesListOK, error)
HostsHostsJobHostSummariesList lists job host summaries for a host

Make a GET request to this resource to retrieve a list of job host summaries associated with the selected host.

The resulting data structure contains:

{
    "count": 99,
    "next": null,
    "previous": null,
    "results": [
        ...
    ]
}

The `count` field indicates the total number of job host summaries 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 job host summary records.

## Results

Each job host summary data structure includes the following fields:

* `id`: Database ID for this job host summary. (integer) * `type`: Data type for this job host summary. (choice) * `url`: URL for this job host summary. (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 job host summary was created. (datetime) * `modified`: Timestamp when this job host summary was last modified. (datetime) * `job`: (id) * `host`: (id) * `host_name`: (string) * `changed`: (integer) * `dark`: (integer) * `failures`: (integer) * `ok`: (integer) * `processed`: (integer) * `skipped`: (integer) * `failed`: (boolean) * `ignored`: (integer) * `rescued`: (integer)

## Sorting

To specify that job host summaries 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) HostsHostsList

func (a *Client) HostsHostsList(params *HostsHostsListParams) (*HostsHostsListOK, error)
HostsHostsList lists hosts

Make a GET request to this resource to retrieve the list of hosts.

The resulting data structure contains:

{
    "count": 99,
    "next": null,
    "previous": null,
    "results": [
        ...
    ]
}

The `count` field indicates the total number of hosts 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 host records.

## Results

Each host data structure includes the following fields:

* `id`: Database ID for this host. (integer) * `type`: Data type for this host. (choice) * `url`: URL for this host. (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 host was created. (datetime) * `modified`: Timestamp when this host was last modified. (datetime) * `name`: Name of this host. (string) * `description`: Optional description of this host. (string) * `inventory`: (id) * `enabled`: Is this host online and available for running jobs? (boolean) * `instance_id`: The value used by the remote inventory source to uniquely identify the host (string) * `variables`: Host variables in JSON or YAML format. (json) * `has_active_failures`: (field) * `has_inventory_sources`: (field) * `last_job`: (id) * `last_job_host_summary`: (id) * `insights_system_id`: Red Hat Insights host unique identifier. (string) * `ansible_facts_modified`: The date and time ansible_facts was last modified. (datetime)

## Sorting

To specify that hosts 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) HostsHostsPartialUpdate

func (a *Client) HostsHostsPartialUpdate(params *HostsHostsPartialUpdateParams) (*HostsHostsPartialUpdateOK, error)
HostsHostsPartialUpdate updates a host

Make a PUT or PATCH request to this resource to update this host. The following fields may be modified:

* `name`: Name of this host. (string, required) * `description`: Optional description of this host. (string, default=`""`) * `inventory`: (id, required) * `enabled`: Is this host online and available for running jobs? (boolean, default=`True`) * `instance_id`: The value used by the remote inventory source to uniquely identify the host (string, default=`""`) * `variables`: Host variables in JSON or YAML format. (json, default=“)

For a PATCH request, include only the fields that are being modified.

func (*Client) HostsHostsRead

func (a *Client) HostsHostsRead(params *HostsHostsReadParams) (*HostsHostsReadOK, error)
HostsHostsRead retrieves a host

Make GET request to this resource to retrieve a single host record containing the following fields:

* `id`: Database ID for this host. (integer) * `type`: Data type for this host. (choice) * `url`: URL for this host. (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 host was created. (datetime) * `modified`: Timestamp when this host was last modified. (datetime) * `name`: Name of this host. (string) * `description`: Optional description of this host. (string) * `inventory`: (id) * `enabled`: Is this host online and available for running jobs? (boolean) * `instance_id`: The value used by the remote inventory source to uniquely identify the host (string) * `variables`: Host variables in JSON or YAML format. (json) * `has_active_failures`: (field) * `has_inventory_sources`: (field) * `last_job`: (id) * `last_job_host_summary`: (id) * `insights_system_id`: Red Hat Insights host unique identifier. (string) * `ansible_facts_modified`: The date and time ansible_facts was last modified. (datetime)

func (*Client) HostsHostsSmartInventoriesList

func (a *Client) HostsHostsSmartInventoriesList(params *HostsHostsSmartInventoriesListParams) (*HostsHostsSmartInventoriesListOK, error)
HostsHostsSmartInventoriesList lists inventories for a host

Make a GET request to this resource to retrieve a list of inventories associated with the selected host.

The resulting data structure contains:

{
    "count": 99,
    "next": null,
    "previous": null,
    "results": [
        ...
    ]
}

The `count` field indicates the total number of inventories 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 inventory records.

## Results

Each inventory data structure includes the following fields:

* `id`: Database ID for this inventory. (integer) * `type`: Data type for this inventory. (choice) * `url`: URL for this inventory. (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 inventory was created. (datetime) * `modified`: Timestamp when this inventory was last modified. (datetime) * `name`: Name of this inventory. (string) * `description`: Optional description of this inventory. (string) * `organization`: Organization containing this inventory. (id) * `kind`: Kind of inventory being represented. (choice)

  • `""`: Hosts have a direct link to this inventory.
  • `smart`: Hosts for inventory generated using the host_filter property.

* `host_filter`: Filter that will be applied to the hosts of this inventory. (string) * `variables`: Inventory variables in JSON or YAML format. (json) * `has_active_failures`: This field is deprecated and will be removed in a future release. Flag indicating whether any hosts in this inventory have failed. (boolean) * `total_hosts`: This field is deprecated and will be removed in a future release. Total number of hosts in this inventory. (integer) * `hosts_with_active_failures`: This field is deprecated and will be removed in a future release. Number of hosts in this inventory with active failures. (integer) * `total_groups`: This field is deprecated and will be removed in a future release. Total number of groups in this inventory. (integer) * `has_inventory_sources`: This field is deprecated and will be removed in a future release. Flag indicating whether this inventory has any external inventory sources. (boolean) * `total_inventory_sources`: Total number of external inventory sources configured within this inventory. (integer) * `inventory_sources_with_failures`: Number of external inventory sources in this inventory with failures. (integer) * `insights_credential`: Credentials to be used by hosts belonging to this inventory when accessing Red Hat Insights API. (id) * `pending_deletion`: Flag indicating the inventory is being deleted. (boolean)

## Sorting

To specify that inventories 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) HostsHostsUpdate

func (a *Client) HostsHostsUpdate(params *HostsHostsUpdateParams) (*HostsHostsUpdateOK, error)
HostsHostsUpdate updates a host

Make a PUT or PATCH request to this resource to update this host. The following fields may be modified:

* `name`: Name of this host. (string, required) * `description`: Optional description of this host. (string, default=`""`) * `inventory`: (id, required) * `enabled`: Is this host online and available for running jobs? (boolean, default=`True`) * `instance_id`: The value used by the remote inventory source to uniquely identify the host (string, default=`""`) * `variables`: Host variables in JSON or YAML format. (json, default=“)

For a PUT request, include **all** fields in the request.

func (*Client) HostsHostsVariableDataPartialUpdate

func (a *Client) HostsHostsVariableDataPartialUpdate(params *HostsHostsVariableDataPartialUpdateParams) (*HostsHostsVariableDataPartialUpdateOK, error)
HostsHostsVariableDataPartialUpdate updates host variable data

Make a PUT or PATCH request to this resource to update variables defined for a host.

func (*Client) HostsHostsVariableDataRead

func (a *Client) HostsHostsVariableDataRead(params *HostsHostsVariableDataReadParams) (*HostsHostsVariableDataReadOK, error)
HostsHostsVariableDataRead retrieves host variable data

Make a GET request to this resource to retrieve all variables defined for a host.

func (*Client) HostsHostsVariableDataUpdate

func (a *Client) HostsHostsVariableDataUpdate(params *HostsHostsVariableDataUpdateParams) (*HostsHostsVariableDataUpdateOK, error)
HostsHostsVariableDataUpdate updates host variable data

Make a PUT or PATCH request to this resource to update variables defined for a host.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	HostsHostsActivityStreamList(params *HostsHostsActivityStreamListParams) (*HostsHostsActivityStreamListOK, error)

	HostsHostsAdHocCommandEventsList(params *HostsHostsAdHocCommandEventsListParams) (*HostsHostsAdHocCommandEventsListOK, error)

	HostsHostsAdHocCommandsCreate(params *HostsHostsAdHocCommandsCreateParams) (*HostsHostsAdHocCommandsCreateCreated, error)

	HostsHostsAdHocCommandsList(params *HostsHostsAdHocCommandsListParams) (*HostsHostsAdHocCommandsListOK, error)

	HostsHostsAllGroupsList(params *HostsHostsAllGroupsListParams) (*HostsHostsAllGroupsListOK, error)

	HostsHostsAnsibleFactsRead(params *HostsHostsAnsibleFactsReadParams) (*HostsHostsAnsibleFactsReadOK, error)

	HostsHostsCreate(params *HostsHostsCreateParams) (*HostsHostsCreateCreated, error)

	HostsHostsDelete(params *HostsHostsDeleteParams) (*HostsHostsDeleteNoContent, error)

	HostsHostsGroupsCreate(params *HostsHostsGroupsCreateParams) (*HostsHostsGroupsCreateCreated, error)

	HostsHostsGroupsList(params *HostsHostsGroupsListParams) (*HostsHostsGroupsListOK, error)

	HostsHostsInsightsList(params *HostsHostsInsightsListParams) (*HostsHostsInsightsListOK, error)

	HostsHostsInventorySourcesList(params *HostsHostsInventorySourcesListParams) (*HostsHostsInventorySourcesListOK, error)

	HostsHostsJobEventsList(params *HostsHostsJobEventsListParams) (*HostsHostsJobEventsListOK, error)

	HostsHostsJobHostSummariesList(params *HostsHostsJobHostSummariesListParams) (*HostsHostsJobHostSummariesListOK, error)

	HostsHostsList(params *HostsHostsListParams) (*HostsHostsListOK, error)

	HostsHostsPartialUpdate(params *HostsHostsPartialUpdateParams) (*HostsHostsPartialUpdateOK, error)

	HostsHostsRead(params *HostsHostsReadParams) (*HostsHostsReadOK, error)

	HostsHostsSmartInventoriesList(params *HostsHostsSmartInventoriesListParams) (*HostsHostsSmartInventoriesListOK, error)

	HostsHostsUpdate(params *HostsHostsUpdateParams) (*HostsHostsUpdateOK, error)

	HostsHostsVariableDataPartialUpdate(params *HostsHostsVariableDataPartialUpdateParams) (*HostsHostsVariableDataPartialUpdateOK, error)

	HostsHostsVariableDataRead(params *HostsHostsVariableDataReadParams) (*HostsHostsVariableDataReadOK, error)

	HostsHostsVariableDataUpdate(params *HostsHostsVariableDataUpdateParams) (*HostsHostsVariableDataUpdateOK, 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 hosts API client.

type HostsHostsActivityStreamListOK

type HostsHostsActivityStreamListOK struct {
}

HostsHostsActivityStreamListOK handles this case with default header values.

OK

func NewHostsHostsActivityStreamListOK

func NewHostsHostsActivityStreamListOK() *HostsHostsActivityStreamListOK

NewHostsHostsActivityStreamListOK creates a HostsHostsActivityStreamListOK with default headers values

func (*HostsHostsActivityStreamListOK) Error

type HostsHostsActivityStreamListParams

type HostsHostsActivityStreamListParams 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
}

HostsHostsActivityStreamListParams contains all the parameters to send to the API endpoint for the hosts hosts activity stream list operation typically these are written to a http.Request

func NewHostsHostsActivityStreamListParams

func NewHostsHostsActivityStreamListParams() *HostsHostsActivityStreamListParams

NewHostsHostsActivityStreamListParams creates a new HostsHostsActivityStreamListParams object with the default values initialized.

func NewHostsHostsActivityStreamListParamsWithContext

func NewHostsHostsActivityStreamListParamsWithContext(ctx context.Context) *HostsHostsActivityStreamListParams

NewHostsHostsActivityStreamListParamsWithContext creates a new HostsHostsActivityStreamListParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsActivityStreamListParamsWithHTTPClient

func NewHostsHostsActivityStreamListParamsWithHTTPClient(client *http.Client) *HostsHostsActivityStreamListParams

NewHostsHostsActivityStreamListParamsWithHTTPClient creates a new HostsHostsActivityStreamListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsActivityStreamListParamsWithTimeout

func NewHostsHostsActivityStreamListParamsWithTimeout(timeout time.Duration) *HostsHostsActivityStreamListParams

NewHostsHostsActivityStreamListParamsWithTimeout creates a new HostsHostsActivityStreamListParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsActivityStreamListParams) SetContext

SetContext adds the context to the hosts hosts activity stream list params

func (*HostsHostsActivityStreamListParams) SetHTTPClient

func (o *HostsHostsActivityStreamListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts activity stream list params

func (*HostsHostsActivityStreamListParams) SetID

SetID adds the id to the hosts hosts activity stream list params

func (*HostsHostsActivityStreamListParams) SetPage

func (o *HostsHostsActivityStreamListParams) SetPage(page *int64)

SetPage adds the page to the hosts hosts activity stream list params

func (*HostsHostsActivityStreamListParams) SetPageSize

func (o *HostsHostsActivityStreamListParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the hosts hosts activity stream list params

func (*HostsHostsActivityStreamListParams) SetSearch

func (o *HostsHostsActivityStreamListParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts activity stream list params

func (*HostsHostsActivityStreamListParams) SetTimeout

func (o *HostsHostsActivityStreamListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts activity stream list params

func (*HostsHostsActivityStreamListParams) WithContext

WithContext adds the context to the hosts hosts activity stream list params

func (*HostsHostsActivityStreamListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts activity stream list params

func (*HostsHostsActivityStreamListParams) WithID

WithID adds the id to the hosts hosts activity stream list params

func (*HostsHostsActivityStreamListParams) WithPage

WithPage adds the page to the hosts hosts activity stream list params

func (*HostsHostsActivityStreamListParams) WithPageSize

WithPageSize adds the pageSize to the hosts hosts activity stream list params

func (*HostsHostsActivityStreamListParams) WithSearch

WithSearch adds the search to the hosts hosts activity stream list params

func (*HostsHostsActivityStreamListParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts activity stream list params

func (*HostsHostsActivityStreamListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsActivityStreamListReader

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

HostsHostsActivityStreamListReader is a Reader for the HostsHostsActivityStreamList structure.

func (*HostsHostsActivityStreamListReader) ReadResponse

func (o *HostsHostsActivityStreamListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsAdHocCommandEventsListOK

type HostsHostsAdHocCommandEventsListOK struct {
}

HostsHostsAdHocCommandEventsListOK handles this case with default header values.

OK

func NewHostsHostsAdHocCommandEventsListOK

func NewHostsHostsAdHocCommandEventsListOK() *HostsHostsAdHocCommandEventsListOK

NewHostsHostsAdHocCommandEventsListOK creates a HostsHostsAdHocCommandEventsListOK with default headers values

func (*HostsHostsAdHocCommandEventsListOK) Error

type HostsHostsAdHocCommandEventsListParams

type HostsHostsAdHocCommandEventsListParams 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
}

HostsHostsAdHocCommandEventsListParams contains all the parameters to send to the API endpoint for the hosts hosts ad hoc command events list operation typically these are written to a http.Request

func NewHostsHostsAdHocCommandEventsListParams

func NewHostsHostsAdHocCommandEventsListParams() *HostsHostsAdHocCommandEventsListParams

NewHostsHostsAdHocCommandEventsListParams creates a new HostsHostsAdHocCommandEventsListParams object with the default values initialized.

func NewHostsHostsAdHocCommandEventsListParamsWithContext

func NewHostsHostsAdHocCommandEventsListParamsWithContext(ctx context.Context) *HostsHostsAdHocCommandEventsListParams

NewHostsHostsAdHocCommandEventsListParamsWithContext creates a new HostsHostsAdHocCommandEventsListParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsAdHocCommandEventsListParamsWithHTTPClient

func NewHostsHostsAdHocCommandEventsListParamsWithHTTPClient(client *http.Client) *HostsHostsAdHocCommandEventsListParams

NewHostsHostsAdHocCommandEventsListParamsWithHTTPClient creates a new HostsHostsAdHocCommandEventsListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsAdHocCommandEventsListParamsWithTimeout

func NewHostsHostsAdHocCommandEventsListParamsWithTimeout(timeout time.Duration) *HostsHostsAdHocCommandEventsListParams

NewHostsHostsAdHocCommandEventsListParamsWithTimeout creates a new HostsHostsAdHocCommandEventsListParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsAdHocCommandEventsListParams) SetContext

SetContext adds the context to the hosts hosts ad hoc command events list params

func (*HostsHostsAdHocCommandEventsListParams) SetHTTPClient

func (o *HostsHostsAdHocCommandEventsListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts ad hoc command events list params

func (*HostsHostsAdHocCommandEventsListParams) SetID

SetID adds the id to the hosts hosts ad hoc command events list params

func (*HostsHostsAdHocCommandEventsListParams) SetPage

SetPage adds the page to the hosts hosts ad hoc command events list params

func (*HostsHostsAdHocCommandEventsListParams) SetPageSize

func (o *HostsHostsAdHocCommandEventsListParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the hosts hosts ad hoc command events list params

func (*HostsHostsAdHocCommandEventsListParams) SetSearch

func (o *HostsHostsAdHocCommandEventsListParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts ad hoc command events list params

func (*HostsHostsAdHocCommandEventsListParams) SetTimeout

func (o *HostsHostsAdHocCommandEventsListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts ad hoc command events list params

func (*HostsHostsAdHocCommandEventsListParams) WithContext

WithContext adds the context to the hosts hosts ad hoc command events list params

func (*HostsHostsAdHocCommandEventsListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts ad hoc command events list params

func (*HostsHostsAdHocCommandEventsListParams) WithID

WithID adds the id to the hosts hosts ad hoc command events list params

func (*HostsHostsAdHocCommandEventsListParams) WithPage

WithPage adds the page to the hosts hosts ad hoc command events list params

func (*HostsHostsAdHocCommandEventsListParams) WithPageSize

WithPageSize adds the pageSize to the hosts hosts ad hoc command events list params

func (*HostsHostsAdHocCommandEventsListParams) WithSearch

WithSearch adds the search to the hosts hosts ad hoc command events list params

func (*HostsHostsAdHocCommandEventsListParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts ad hoc command events list params

func (*HostsHostsAdHocCommandEventsListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsAdHocCommandEventsListReader

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

HostsHostsAdHocCommandEventsListReader is a Reader for the HostsHostsAdHocCommandEventsList structure.

func (*HostsHostsAdHocCommandEventsListReader) ReadResponse

func (o *HostsHostsAdHocCommandEventsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsAdHocCommandsCreateBody

type HostsHostsAdHocCommandsCreateBody struct {

	// become enabled
	BecomeEnabled string `json:"become_enabled,omitempty"`

	// credential
	Credential int64 `json:"credential,omitempty"`

	// diff mode
	DiffMode string `json:"diff_mode,omitempty"`

	// extra vars
	ExtraVars string `json:"extra_vars,omitempty"`

	// forks
	Forks int64 `json:"forks,omitempty"`

	// inventory
	Inventory int64 `json:"inventory,omitempty"`

	// job type
	JobType string `json:"job_type,omitempty"`

	// limit
	Limit string `json:"limit,omitempty"`

	// module args
	ModuleArgs string `json:"module_args,omitempty"`

	// module name
	ModuleName string `json:"module_name,omitempty"`

	// verbosity
	Verbosity string `json:"verbosity,omitempty"`
}

HostsHostsAdHocCommandsCreateBody hosts hosts ad hoc commands create body swagger:model HostsHostsAdHocCommandsCreateBody

func (*HostsHostsAdHocCommandsCreateBody) MarshalBinary

func (o *HostsHostsAdHocCommandsCreateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HostsHostsAdHocCommandsCreateBody) UnmarshalBinary

func (o *HostsHostsAdHocCommandsCreateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HostsHostsAdHocCommandsCreateBody) Validate

Validate validates this hosts hosts ad hoc commands create body

type HostsHostsAdHocCommandsCreateCreated

type HostsHostsAdHocCommandsCreateCreated struct {
}

HostsHostsAdHocCommandsCreateCreated handles this case with default header values.

HostsHostsAdHocCommandsCreateCreated hosts hosts ad hoc commands create created

func NewHostsHostsAdHocCommandsCreateCreated

func NewHostsHostsAdHocCommandsCreateCreated() *HostsHostsAdHocCommandsCreateCreated

NewHostsHostsAdHocCommandsCreateCreated creates a HostsHostsAdHocCommandsCreateCreated with default headers values

func (*HostsHostsAdHocCommandsCreateCreated) Error

type HostsHostsAdHocCommandsCreateParams

type HostsHostsAdHocCommandsCreateParams struct {

	/*Data*/
	Data HostsHostsAdHocCommandsCreateBody
	/*ID*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HostsHostsAdHocCommandsCreateParams contains all the parameters to send to the API endpoint for the hosts hosts ad hoc commands create operation typically these are written to a http.Request

func NewHostsHostsAdHocCommandsCreateParams

func NewHostsHostsAdHocCommandsCreateParams() *HostsHostsAdHocCommandsCreateParams

NewHostsHostsAdHocCommandsCreateParams creates a new HostsHostsAdHocCommandsCreateParams object with the default values initialized.

func NewHostsHostsAdHocCommandsCreateParamsWithContext

func NewHostsHostsAdHocCommandsCreateParamsWithContext(ctx context.Context) *HostsHostsAdHocCommandsCreateParams

NewHostsHostsAdHocCommandsCreateParamsWithContext creates a new HostsHostsAdHocCommandsCreateParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsAdHocCommandsCreateParamsWithHTTPClient

func NewHostsHostsAdHocCommandsCreateParamsWithHTTPClient(client *http.Client) *HostsHostsAdHocCommandsCreateParams

NewHostsHostsAdHocCommandsCreateParamsWithHTTPClient creates a new HostsHostsAdHocCommandsCreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsAdHocCommandsCreateParamsWithTimeout

func NewHostsHostsAdHocCommandsCreateParamsWithTimeout(timeout time.Duration) *HostsHostsAdHocCommandsCreateParams

NewHostsHostsAdHocCommandsCreateParamsWithTimeout creates a new HostsHostsAdHocCommandsCreateParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsAdHocCommandsCreateParams) SetContext

SetContext adds the context to the hosts hosts ad hoc commands create params

func (*HostsHostsAdHocCommandsCreateParams) SetData

SetData adds the data to the hosts hosts ad hoc commands create params

func (*HostsHostsAdHocCommandsCreateParams) SetHTTPClient

func (o *HostsHostsAdHocCommandsCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts ad hoc commands create params

func (*HostsHostsAdHocCommandsCreateParams) SetID

SetID adds the id to the hosts hosts ad hoc commands create params

func (*HostsHostsAdHocCommandsCreateParams) SetTimeout

func (o *HostsHostsAdHocCommandsCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts ad hoc commands create params

func (*HostsHostsAdHocCommandsCreateParams) WithContext

WithContext adds the context to the hosts hosts ad hoc commands create params

func (*HostsHostsAdHocCommandsCreateParams) WithData

WithData adds the data to the hosts hosts ad hoc commands create params

func (*HostsHostsAdHocCommandsCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts ad hoc commands create params

func (*HostsHostsAdHocCommandsCreateParams) WithID

WithID adds the id to the hosts hosts ad hoc commands create params

func (*HostsHostsAdHocCommandsCreateParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts ad hoc commands create params

func (*HostsHostsAdHocCommandsCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsAdHocCommandsCreateReader

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

HostsHostsAdHocCommandsCreateReader is a Reader for the HostsHostsAdHocCommandsCreate structure.

func (*HostsHostsAdHocCommandsCreateReader) ReadResponse

func (o *HostsHostsAdHocCommandsCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsAdHocCommandsListOK

type HostsHostsAdHocCommandsListOK struct {
}

HostsHostsAdHocCommandsListOK handles this case with default header values.

OK

func NewHostsHostsAdHocCommandsListOK

func NewHostsHostsAdHocCommandsListOK() *HostsHostsAdHocCommandsListOK

NewHostsHostsAdHocCommandsListOK creates a HostsHostsAdHocCommandsListOK with default headers values

func (*HostsHostsAdHocCommandsListOK) Error

type HostsHostsAdHocCommandsListParams

type HostsHostsAdHocCommandsListParams 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
}

HostsHostsAdHocCommandsListParams contains all the parameters to send to the API endpoint for the hosts hosts ad hoc commands list operation typically these are written to a http.Request

func NewHostsHostsAdHocCommandsListParams

func NewHostsHostsAdHocCommandsListParams() *HostsHostsAdHocCommandsListParams

NewHostsHostsAdHocCommandsListParams creates a new HostsHostsAdHocCommandsListParams object with the default values initialized.

func NewHostsHostsAdHocCommandsListParamsWithContext

func NewHostsHostsAdHocCommandsListParamsWithContext(ctx context.Context) *HostsHostsAdHocCommandsListParams

NewHostsHostsAdHocCommandsListParamsWithContext creates a new HostsHostsAdHocCommandsListParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsAdHocCommandsListParamsWithHTTPClient

func NewHostsHostsAdHocCommandsListParamsWithHTTPClient(client *http.Client) *HostsHostsAdHocCommandsListParams

NewHostsHostsAdHocCommandsListParamsWithHTTPClient creates a new HostsHostsAdHocCommandsListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsAdHocCommandsListParamsWithTimeout

func NewHostsHostsAdHocCommandsListParamsWithTimeout(timeout time.Duration) *HostsHostsAdHocCommandsListParams

NewHostsHostsAdHocCommandsListParamsWithTimeout creates a new HostsHostsAdHocCommandsListParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsAdHocCommandsListParams) SetContext

SetContext adds the context to the hosts hosts ad hoc commands list params

func (*HostsHostsAdHocCommandsListParams) SetHTTPClient

func (o *HostsHostsAdHocCommandsListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts ad hoc commands list params

func (*HostsHostsAdHocCommandsListParams) SetID

SetID adds the id to the hosts hosts ad hoc commands list params

func (*HostsHostsAdHocCommandsListParams) SetPage

func (o *HostsHostsAdHocCommandsListParams) SetPage(page *int64)

SetPage adds the page to the hosts hosts ad hoc commands list params

func (*HostsHostsAdHocCommandsListParams) SetPageSize

func (o *HostsHostsAdHocCommandsListParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the hosts hosts ad hoc commands list params

func (*HostsHostsAdHocCommandsListParams) SetSearch

func (o *HostsHostsAdHocCommandsListParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts ad hoc commands list params

func (*HostsHostsAdHocCommandsListParams) SetTimeout

func (o *HostsHostsAdHocCommandsListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts ad hoc commands list params

func (*HostsHostsAdHocCommandsListParams) WithContext

WithContext adds the context to the hosts hosts ad hoc commands list params

func (*HostsHostsAdHocCommandsListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts ad hoc commands list params

func (*HostsHostsAdHocCommandsListParams) WithID

WithID adds the id to the hosts hosts ad hoc commands list params

func (*HostsHostsAdHocCommandsListParams) WithPage

WithPage adds the page to the hosts hosts ad hoc commands list params

func (*HostsHostsAdHocCommandsListParams) WithPageSize

WithPageSize adds the pageSize to the hosts hosts ad hoc commands list params

func (*HostsHostsAdHocCommandsListParams) WithSearch

WithSearch adds the search to the hosts hosts ad hoc commands list params

func (*HostsHostsAdHocCommandsListParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts ad hoc commands list params

func (*HostsHostsAdHocCommandsListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsAdHocCommandsListReader

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

HostsHostsAdHocCommandsListReader is a Reader for the HostsHostsAdHocCommandsList structure.

func (*HostsHostsAdHocCommandsListReader) ReadResponse

func (o *HostsHostsAdHocCommandsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsAllGroupsListOK

type HostsHostsAllGroupsListOK struct {
}

HostsHostsAllGroupsListOK handles this case with default header values.

OK

func NewHostsHostsAllGroupsListOK

func NewHostsHostsAllGroupsListOK() *HostsHostsAllGroupsListOK

NewHostsHostsAllGroupsListOK creates a HostsHostsAllGroupsListOK with default headers values

func (*HostsHostsAllGroupsListOK) Error

func (o *HostsHostsAllGroupsListOK) Error() string

type HostsHostsAllGroupsListParams

type HostsHostsAllGroupsListParams 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
}

HostsHostsAllGroupsListParams contains all the parameters to send to the API endpoint for the hosts hosts all groups list operation typically these are written to a http.Request

func NewHostsHostsAllGroupsListParams

func NewHostsHostsAllGroupsListParams() *HostsHostsAllGroupsListParams

NewHostsHostsAllGroupsListParams creates a new HostsHostsAllGroupsListParams object with the default values initialized.

func NewHostsHostsAllGroupsListParamsWithContext

func NewHostsHostsAllGroupsListParamsWithContext(ctx context.Context) *HostsHostsAllGroupsListParams

NewHostsHostsAllGroupsListParamsWithContext creates a new HostsHostsAllGroupsListParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsAllGroupsListParamsWithHTTPClient

func NewHostsHostsAllGroupsListParamsWithHTTPClient(client *http.Client) *HostsHostsAllGroupsListParams

NewHostsHostsAllGroupsListParamsWithHTTPClient creates a new HostsHostsAllGroupsListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsAllGroupsListParamsWithTimeout

func NewHostsHostsAllGroupsListParamsWithTimeout(timeout time.Duration) *HostsHostsAllGroupsListParams

NewHostsHostsAllGroupsListParamsWithTimeout creates a new HostsHostsAllGroupsListParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsAllGroupsListParams) SetContext

func (o *HostsHostsAllGroupsListParams) SetContext(ctx context.Context)

SetContext adds the context to the hosts hosts all groups list params

func (*HostsHostsAllGroupsListParams) SetHTTPClient

func (o *HostsHostsAllGroupsListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts all groups list params

func (*HostsHostsAllGroupsListParams) SetID

SetID adds the id to the hosts hosts all groups list params

func (*HostsHostsAllGroupsListParams) SetPage

func (o *HostsHostsAllGroupsListParams) SetPage(page *int64)

SetPage adds the page to the hosts hosts all groups list params

func (*HostsHostsAllGroupsListParams) SetPageSize

func (o *HostsHostsAllGroupsListParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the hosts hosts all groups list params

func (*HostsHostsAllGroupsListParams) SetSearch

func (o *HostsHostsAllGroupsListParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts all groups list params

func (*HostsHostsAllGroupsListParams) SetTimeout

func (o *HostsHostsAllGroupsListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts all groups list params

func (*HostsHostsAllGroupsListParams) WithContext

WithContext adds the context to the hosts hosts all groups list params

func (*HostsHostsAllGroupsListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts all groups list params

func (*HostsHostsAllGroupsListParams) WithID

WithID adds the id to the hosts hosts all groups list params

func (*HostsHostsAllGroupsListParams) WithPage

WithPage adds the page to the hosts hosts all groups list params

func (*HostsHostsAllGroupsListParams) WithPageSize

WithPageSize adds the pageSize to the hosts hosts all groups list params

func (*HostsHostsAllGroupsListParams) WithSearch

WithSearch adds the search to the hosts hosts all groups list params

func (*HostsHostsAllGroupsListParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts all groups list params

func (*HostsHostsAllGroupsListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsAllGroupsListReader

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

HostsHostsAllGroupsListReader is a Reader for the HostsHostsAllGroupsList structure.

func (*HostsHostsAllGroupsListReader) ReadResponse

func (o *HostsHostsAllGroupsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsAnsibleFactsReadOK

type HostsHostsAnsibleFactsReadOK struct {
}

HostsHostsAnsibleFactsReadOK handles this case with default header values.

OK

func NewHostsHostsAnsibleFactsReadOK

func NewHostsHostsAnsibleFactsReadOK() *HostsHostsAnsibleFactsReadOK

NewHostsHostsAnsibleFactsReadOK creates a HostsHostsAnsibleFactsReadOK with default headers values

func (*HostsHostsAnsibleFactsReadOK) Error

type HostsHostsAnsibleFactsReadParams

type HostsHostsAnsibleFactsReadParams struct {

	/*ID*/
	ID string
	/*Search
	  A search term.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HostsHostsAnsibleFactsReadParams contains all the parameters to send to the API endpoint for the hosts hosts ansible facts read operation typically these are written to a http.Request

func NewHostsHostsAnsibleFactsReadParams

func NewHostsHostsAnsibleFactsReadParams() *HostsHostsAnsibleFactsReadParams

NewHostsHostsAnsibleFactsReadParams creates a new HostsHostsAnsibleFactsReadParams object with the default values initialized.

func NewHostsHostsAnsibleFactsReadParamsWithContext

func NewHostsHostsAnsibleFactsReadParamsWithContext(ctx context.Context) *HostsHostsAnsibleFactsReadParams

NewHostsHostsAnsibleFactsReadParamsWithContext creates a new HostsHostsAnsibleFactsReadParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsAnsibleFactsReadParamsWithHTTPClient

func NewHostsHostsAnsibleFactsReadParamsWithHTTPClient(client *http.Client) *HostsHostsAnsibleFactsReadParams

NewHostsHostsAnsibleFactsReadParamsWithHTTPClient creates a new HostsHostsAnsibleFactsReadParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsAnsibleFactsReadParamsWithTimeout

func NewHostsHostsAnsibleFactsReadParamsWithTimeout(timeout time.Duration) *HostsHostsAnsibleFactsReadParams

NewHostsHostsAnsibleFactsReadParamsWithTimeout creates a new HostsHostsAnsibleFactsReadParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsAnsibleFactsReadParams) SetContext

SetContext adds the context to the hosts hosts ansible facts read params

func (*HostsHostsAnsibleFactsReadParams) SetHTTPClient

func (o *HostsHostsAnsibleFactsReadParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts ansible facts read params

func (*HostsHostsAnsibleFactsReadParams) SetID

SetID adds the id to the hosts hosts ansible facts read params

func (*HostsHostsAnsibleFactsReadParams) SetSearch

func (o *HostsHostsAnsibleFactsReadParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts ansible facts read params

func (*HostsHostsAnsibleFactsReadParams) SetTimeout

func (o *HostsHostsAnsibleFactsReadParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts ansible facts read params

func (*HostsHostsAnsibleFactsReadParams) WithContext

WithContext adds the context to the hosts hosts ansible facts read params

func (*HostsHostsAnsibleFactsReadParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts ansible facts read params

func (*HostsHostsAnsibleFactsReadParams) WithID

WithID adds the id to the hosts hosts ansible facts read params

func (*HostsHostsAnsibleFactsReadParams) WithSearch

WithSearch adds the search to the hosts hosts ansible facts read params

func (*HostsHostsAnsibleFactsReadParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts ansible facts read params

func (*HostsHostsAnsibleFactsReadParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsAnsibleFactsReadReader

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

HostsHostsAnsibleFactsReadReader is a Reader for the HostsHostsAnsibleFactsRead structure.

func (*HostsHostsAnsibleFactsReadReader) ReadResponse

func (o *HostsHostsAnsibleFactsReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsCreateBody

type HostsHostsCreateBody struct {

	// description
	Description string `json:"description,omitempty"`

	// Is this host online and available for running jobs?
	Enabled string `json:"enabled,omitempty"`

	// The value used by the remote inventory source to uniquely identify the host
	InstanceID string `json:"instance_id,omitempty"`

	// inventory
	// Required: true
	Inventory *int64 `json:"inventory"`

	// name
	// Required: true
	Name *string `json:"name"`

	// Host variables in JSON or YAML format.
	Variables string `json:"variables,omitempty"`
}

HostsHostsCreateBody hosts hosts create body swagger:model HostsHostsCreateBody

func (*HostsHostsCreateBody) MarshalBinary

func (o *HostsHostsCreateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HostsHostsCreateBody) UnmarshalBinary

func (o *HostsHostsCreateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HostsHostsCreateBody) Validate

func (o *HostsHostsCreateBody) Validate(formats strfmt.Registry) error

Validate validates this hosts hosts create body

type HostsHostsCreateCreated

type HostsHostsCreateCreated struct {
}

HostsHostsCreateCreated handles this case with default header values.

HostsHostsCreateCreated hosts hosts create created

func NewHostsHostsCreateCreated

func NewHostsHostsCreateCreated() *HostsHostsCreateCreated

NewHostsHostsCreateCreated creates a HostsHostsCreateCreated with default headers values

func (*HostsHostsCreateCreated) Error

func (o *HostsHostsCreateCreated) Error() string

type HostsHostsCreateParams

type HostsHostsCreateParams struct {

	/*Data*/
	Data HostsHostsCreateBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HostsHostsCreateParams contains all the parameters to send to the API endpoint for the hosts hosts create operation typically these are written to a http.Request

func NewHostsHostsCreateParams

func NewHostsHostsCreateParams() *HostsHostsCreateParams

NewHostsHostsCreateParams creates a new HostsHostsCreateParams object with the default values initialized.

func NewHostsHostsCreateParamsWithContext

func NewHostsHostsCreateParamsWithContext(ctx context.Context) *HostsHostsCreateParams

NewHostsHostsCreateParamsWithContext creates a new HostsHostsCreateParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsCreateParamsWithHTTPClient

func NewHostsHostsCreateParamsWithHTTPClient(client *http.Client) *HostsHostsCreateParams

NewHostsHostsCreateParamsWithHTTPClient creates a new HostsHostsCreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsCreateParamsWithTimeout

func NewHostsHostsCreateParamsWithTimeout(timeout time.Duration) *HostsHostsCreateParams

NewHostsHostsCreateParamsWithTimeout creates a new HostsHostsCreateParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsCreateParams) SetContext

func (o *HostsHostsCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the hosts hosts create params

func (*HostsHostsCreateParams) SetData

SetData adds the data to the hosts hosts create params

func (*HostsHostsCreateParams) SetHTTPClient

func (o *HostsHostsCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts create params

func (*HostsHostsCreateParams) SetTimeout

func (o *HostsHostsCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts create params

func (*HostsHostsCreateParams) WithContext

WithContext adds the context to the hosts hosts create params

func (*HostsHostsCreateParams) WithData

WithData adds the data to the hosts hosts create params

func (*HostsHostsCreateParams) WithHTTPClient

func (o *HostsHostsCreateParams) WithHTTPClient(client *http.Client) *HostsHostsCreateParams

WithHTTPClient adds the HTTPClient to the hosts hosts create params

func (*HostsHostsCreateParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts create params

func (*HostsHostsCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsCreateReader

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

HostsHostsCreateReader is a Reader for the HostsHostsCreate structure.

func (*HostsHostsCreateReader) ReadResponse

func (o *HostsHostsCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsDeleteForbidden

type HostsHostsDeleteForbidden struct {
}

HostsHostsDeleteForbidden handles this case with default header values.

No Permission Response

func NewHostsHostsDeleteForbidden

func NewHostsHostsDeleteForbidden() *HostsHostsDeleteForbidden

NewHostsHostsDeleteForbidden creates a HostsHostsDeleteForbidden with default headers values

func (*HostsHostsDeleteForbidden) Error

func (o *HostsHostsDeleteForbidden) Error() string

type HostsHostsDeleteNoContent

type HostsHostsDeleteNoContent struct {
}

HostsHostsDeleteNoContent handles this case with default header values.

HostsHostsDeleteNoContent hosts hosts delete no content

func NewHostsHostsDeleteNoContent

func NewHostsHostsDeleteNoContent() *HostsHostsDeleteNoContent

NewHostsHostsDeleteNoContent creates a HostsHostsDeleteNoContent with default headers values

func (*HostsHostsDeleteNoContent) Error

func (o *HostsHostsDeleteNoContent) Error() string

type HostsHostsDeleteParams

type HostsHostsDeleteParams struct {

	/*ID*/
	ID string
	/*Search
	  A search term.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HostsHostsDeleteParams contains all the parameters to send to the API endpoint for the hosts hosts delete operation typically these are written to a http.Request

func NewHostsHostsDeleteParams

func NewHostsHostsDeleteParams() *HostsHostsDeleteParams

NewHostsHostsDeleteParams creates a new HostsHostsDeleteParams object with the default values initialized.

func NewHostsHostsDeleteParamsWithContext

func NewHostsHostsDeleteParamsWithContext(ctx context.Context) *HostsHostsDeleteParams

NewHostsHostsDeleteParamsWithContext creates a new HostsHostsDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsDeleteParamsWithHTTPClient

func NewHostsHostsDeleteParamsWithHTTPClient(client *http.Client) *HostsHostsDeleteParams

NewHostsHostsDeleteParamsWithHTTPClient creates a new HostsHostsDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsDeleteParamsWithTimeout

func NewHostsHostsDeleteParamsWithTimeout(timeout time.Duration) *HostsHostsDeleteParams

NewHostsHostsDeleteParamsWithTimeout creates a new HostsHostsDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsDeleteParams) SetContext

func (o *HostsHostsDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the hosts hosts delete params

func (*HostsHostsDeleteParams) SetHTTPClient

func (o *HostsHostsDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts delete params

func (*HostsHostsDeleteParams) SetID

func (o *HostsHostsDeleteParams) SetID(id string)

SetID adds the id to the hosts hosts delete params

func (*HostsHostsDeleteParams) SetSearch

func (o *HostsHostsDeleteParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts delete params

func (*HostsHostsDeleteParams) SetTimeout

func (o *HostsHostsDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts delete params

func (*HostsHostsDeleteParams) WithContext

WithContext adds the context to the hosts hosts delete params

func (*HostsHostsDeleteParams) WithHTTPClient

func (o *HostsHostsDeleteParams) WithHTTPClient(client *http.Client) *HostsHostsDeleteParams

WithHTTPClient adds the HTTPClient to the hosts hosts delete params

func (*HostsHostsDeleteParams) WithID

WithID adds the id to the hosts hosts delete params

func (*HostsHostsDeleteParams) WithSearch

func (o *HostsHostsDeleteParams) WithSearch(search *string) *HostsHostsDeleteParams

WithSearch adds the search to the hosts hosts delete params

func (*HostsHostsDeleteParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts delete params

func (*HostsHostsDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsDeleteReader

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

HostsHostsDeleteReader is a Reader for the HostsHostsDelete structure.

func (*HostsHostsDeleteReader) ReadResponse

func (o *HostsHostsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsGroupsCreateCreated

type HostsHostsGroupsCreateCreated struct {
}

HostsHostsGroupsCreateCreated handles this case with default header values.

HostsHostsGroupsCreateCreated hosts hosts groups create created

func NewHostsHostsGroupsCreateCreated

func NewHostsHostsGroupsCreateCreated() *HostsHostsGroupsCreateCreated

NewHostsHostsGroupsCreateCreated creates a HostsHostsGroupsCreateCreated with default headers values

func (*HostsHostsGroupsCreateCreated) Error

type HostsHostsGroupsCreateParams

type HostsHostsGroupsCreateParams struct {

	/*Data*/
	Data interface{}
	/*ID*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HostsHostsGroupsCreateParams contains all the parameters to send to the API endpoint for the hosts hosts groups create operation typically these are written to a http.Request

func NewHostsHostsGroupsCreateParams

func NewHostsHostsGroupsCreateParams() *HostsHostsGroupsCreateParams

NewHostsHostsGroupsCreateParams creates a new HostsHostsGroupsCreateParams object with the default values initialized.

func NewHostsHostsGroupsCreateParamsWithContext

func NewHostsHostsGroupsCreateParamsWithContext(ctx context.Context) *HostsHostsGroupsCreateParams

NewHostsHostsGroupsCreateParamsWithContext creates a new HostsHostsGroupsCreateParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsGroupsCreateParamsWithHTTPClient

func NewHostsHostsGroupsCreateParamsWithHTTPClient(client *http.Client) *HostsHostsGroupsCreateParams

NewHostsHostsGroupsCreateParamsWithHTTPClient creates a new HostsHostsGroupsCreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsGroupsCreateParamsWithTimeout

func NewHostsHostsGroupsCreateParamsWithTimeout(timeout time.Duration) *HostsHostsGroupsCreateParams

NewHostsHostsGroupsCreateParamsWithTimeout creates a new HostsHostsGroupsCreateParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsGroupsCreateParams) SetContext

func (o *HostsHostsGroupsCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the hosts hosts groups create params

func (*HostsHostsGroupsCreateParams) SetData

func (o *HostsHostsGroupsCreateParams) SetData(data interface{})

SetData adds the data to the hosts hosts groups create params

func (*HostsHostsGroupsCreateParams) SetHTTPClient

func (o *HostsHostsGroupsCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts groups create params

func (*HostsHostsGroupsCreateParams) SetID

func (o *HostsHostsGroupsCreateParams) SetID(id string)

SetID adds the id to the hosts hosts groups create params

func (*HostsHostsGroupsCreateParams) SetTimeout

func (o *HostsHostsGroupsCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts groups create params

func (*HostsHostsGroupsCreateParams) WithContext

WithContext adds the context to the hosts hosts groups create params

func (*HostsHostsGroupsCreateParams) WithData

func (o *HostsHostsGroupsCreateParams) WithData(data interface{}) *HostsHostsGroupsCreateParams

WithData adds the data to the hosts hosts groups create params

func (*HostsHostsGroupsCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts groups create params

func (*HostsHostsGroupsCreateParams) WithID

WithID adds the id to the hosts hosts groups create params

func (*HostsHostsGroupsCreateParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts groups create params

func (*HostsHostsGroupsCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsGroupsCreateReader

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

HostsHostsGroupsCreateReader is a Reader for the HostsHostsGroupsCreate structure.

func (*HostsHostsGroupsCreateReader) ReadResponse

func (o *HostsHostsGroupsCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsGroupsListOK

type HostsHostsGroupsListOK struct {
}

HostsHostsGroupsListOK handles this case with default header values.

OK

func NewHostsHostsGroupsListOK

func NewHostsHostsGroupsListOK() *HostsHostsGroupsListOK

NewHostsHostsGroupsListOK creates a HostsHostsGroupsListOK with default headers values

func (*HostsHostsGroupsListOK) Error

func (o *HostsHostsGroupsListOK) Error() string

type HostsHostsGroupsListParams

type HostsHostsGroupsListParams 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
}

HostsHostsGroupsListParams contains all the parameters to send to the API endpoint for the hosts hosts groups list operation typically these are written to a http.Request

func NewHostsHostsGroupsListParams

func NewHostsHostsGroupsListParams() *HostsHostsGroupsListParams

NewHostsHostsGroupsListParams creates a new HostsHostsGroupsListParams object with the default values initialized.

func NewHostsHostsGroupsListParamsWithContext

func NewHostsHostsGroupsListParamsWithContext(ctx context.Context) *HostsHostsGroupsListParams

NewHostsHostsGroupsListParamsWithContext creates a new HostsHostsGroupsListParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsGroupsListParamsWithHTTPClient

func NewHostsHostsGroupsListParamsWithHTTPClient(client *http.Client) *HostsHostsGroupsListParams

NewHostsHostsGroupsListParamsWithHTTPClient creates a new HostsHostsGroupsListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsGroupsListParamsWithTimeout

func NewHostsHostsGroupsListParamsWithTimeout(timeout time.Duration) *HostsHostsGroupsListParams

NewHostsHostsGroupsListParamsWithTimeout creates a new HostsHostsGroupsListParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsGroupsListParams) SetContext

func (o *HostsHostsGroupsListParams) SetContext(ctx context.Context)

SetContext adds the context to the hosts hosts groups list params

func (*HostsHostsGroupsListParams) SetHTTPClient

func (o *HostsHostsGroupsListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts groups list params

func (*HostsHostsGroupsListParams) SetID

func (o *HostsHostsGroupsListParams) SetID(id string)

SetID adds the id to the hosts hosts groups list params

func (*HostsHostsGroupsListParams) SetPage

func (o *HostsHostsGroupsListParams) SetPage(page *int64)

SetPage adds the page to the hosts hosts groups list params

func (*HostsHostsGroupsListParams) SetPageSize

func (o *HostsHostsGroupsListParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the hosts hosts groups list params

func (*HostsHostsGroupsListParams) SetSearch

func (o *HostsHostsGroupsListParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts groups list params

func (*HostsHostsGroupsListParams) SetTimeout

func (o *HostsHostsGroupsListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts groups list params

func (*HostsHostsGroupsListParams) WithContext

WithContext adds the context to the hosts hosts groups list params

func (*HostsHostsGroupsListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts groups list params

func (*HostsHostsGroupsListParams) WithID

WithID adds the id to the hosts hosts groups list params

func (*HostsHostsGroupsListParams) WithPage

WithPage adds the page to the hosts hosts groups list params

func (*HostsHostsGroupsListParams) WithPageSize

func (o *HostsHostsGroupsListParams) WithPageSize(pageSize *int64) *HostsHostsGroupsListParams

WithPageSize adds the pageSize to the hosts hosts groups list params

func (*HostsHostsGroupsListParams) WithSearch

WithSearch adds the search to the hosts hosts groups list params

func (*HostsHostsGroupsListParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts groups list params

func (*HostsHostsGroupsListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsGroupsListReader

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

HostsHostsGroupsListReader is a Reader for the HostsHostsGroupsList structure.

func (*HostsHostsGroupsListReader) ReadResponse

func (o *HostsHostsGroupsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsInsightsListBadGateway

type HostsHostsInsightsListBadGateway struct {
}

HostsHostsInsightsListBadGateway handles this case with default header values.

Bad Gateway

func NewHostsHostsInsightsListBadGateway

func NewHostsHostsInsightsListBadGateway() *HostsHostsInsightsListBadGateway

NewHostsHostsInsightsListBadGateway creates a HostsHostsInsightsListBadGateway with default headers values

func (*HostsHostsInsightsListBadGateway) Error

type HostsHostsInsightsListGatewayTimeout

type HostsHostsInsightsListGatewayTimeout struct {
}

HostsHostsInsightsListGatewayTimeout handles this case with default header values.

Gateway Timeout

func NewHostsHostsInsightsListGatewayTimeout

func NewHostsHostsInsightsListGatewayTimeout() *HostsHostsInsightsListGatewayTimeout

NewHostsHostsInsightsListGatewayTimeout creates a HostsHostsInsightsListGatewayTimeout with default headers values

func (*HostsHostsInsightsListGatewayTimeout) Error

type HostsHostsInsightsListNotFound

type HostsHostsInsightsListNotFound struct {
}

HostsHostsInsightsListNotFound handles this case with default header values.

Not Found

func NewHostsHostsInsightsListNotFound

func NewHostsHostsInsightsListNotFound() *HostsHostsInsightsListNotFound

NewHostsHostsInsightsListNotFound creates a HostsHostsInsightsListNotFound with default headers values

func (*HostsHostsInsightsListNotFound) Error

type HostsHostsInsightsListOK

type HostsHostsInsightsListOK struct {
}

HostsHostsInsightsListOK handles this case with default header values.

OK

func NewHostsHostsInsightsListOK

func NewHostsHostsInsightsListOK() *HostsHostsInsightsListOK

NewHostsHostsInsightsListOK creates a HostsHostsInsightsListOK with default headers values

func (*HostsHostsInsightsListOK) Error

func (o *HostsHostsInsightsListOK) Error() string

type HostsHostsInsightsListParams

type HostsHostsInsightsListParams 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
}

HostsHostsInsightsListParams contains all the parameters to send to the API endpoint for the hosts hosts insights list operation typically these are written to a http.Request

func NewHostsHostsInsightsListParams

func NewHostsHostsInsightsListParams() *HostsHostsInsightsListParams

NewHostsHostsInsightsListParams creates a new HostsHostsInsightsListParams object with the default values initialized.

func NewHostsHostsInsightsListParamsWithContext

func NewHostsHostsInsightsListParamsWithContext(ctx context.Context) *HostsHostsInsightsListParams

NewHostsHostsInsightsListParamsWithContext creates a new HostsHostsInsightsListParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsInsightsListParamsWithHTTPClient

func NewHostsHostsInsightsListParamsWithHTTPClient(client *http.Client) *HostsHostsInsightsListParams

NewHostsHostsInsightsListParamsWithHTTPClient creates a new HostsHostsInsightsListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsInsightsListParamsWithTimeout

func NewHostsHostsInsightsListParamsWithTimeout(timeout time.Duration) *HostsHostsInsightsListParams

NewHostsHostsInsightsListParamsWithTimeout creates a new HostsHostsInsightsListParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsInsightsListParams) SetContext

func (o *HostsHostsInsightsListParams) SetContext(ctx context.Context)

SetContext adds the context to the hosts hosts insights list params

func (*HostsHostsInsightsListParams) SetHTTPClient

func (o *HostsHostsInsightsListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts insights list params

func (*HostsHostsInsightsListParams) SetID

func (o *HostsHostsInsightsListParams) SetID(id string)

SetID adds the id to the hosts hosts insights list params

func (*HostsHostsInsightsListParams) SetPage

func (o *HostsHostsInsightsListParams) SetPage(page *int64)

SetPage adds the page to the hosts hosts insights list params

func (*HostsHostsInsightsListParams) SetPageSize

func (o *HostsHostsInsightsListParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the hosts hosts insights list params

func (*HostsHostsInsightsListParams) SetSearch

func (o *HostsHostsInsightsListParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts insights list params

func (*HostsHostsInsightsListParams) SetTimeout

func (o *HostsHostsInsightsListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts insights list params

func (*HostsHostsInsightsListParams) WithContext

WithContext adds the context to the hosts hosts insights list params

func (*HostsHostsInsightsListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts insights list params

func (*HostsHostsInsightsListParams) WithID

WithID adds the id to the hosts hosts insights list params

func (*HostsHostsInsightsListParams) WithPage

WithPage adds the page to the hosts hosts insights list params

func (*HostsHostsInsightsListParams) WithPageSize

WithPageSize adds the pageSize to the hosts hosts insights list params

func (*HostsHostsInsightsListParams) WithSearch

WithSearch adds the search to the hosts hosts insights list params

func (*HostsHostsInsightsListParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts insights list params

func (*HostsHostsInsightsListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsInsightsListReader

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

HostsHostsInsightsListReader is a Reader for the HostsHostsInsightsList structure.

func (*HostsHostsInsightsListReader) ReadResponse

func (o *HostsHostsInsightsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsInventorySourcesListOK

type HostsHostsInventorySourcesListOK struct {
}

HostsHostsInventorySourcesListOK handles this case with default header values.

OK

func NewHostsHostsInventorySourcesListOK

func NewHostsHostsInventorySourcesListOK() *HostsHostsInventorySourcesListOK

NewHostsHostsInventorySourcesListOK creates a HostsHostsInventorySourcesListOK with default headers values

func (*HostsHostsInventorySourcesListOK) Error

type HostsHostsInventorySourcesListParams

type HostsHostsInventorySourcesListParams 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
}

HostsHostsInventorySourcesListParams contains all the parameters to send to the API endpoint for the hosts hosts inventory sources list operation typically these are written to a http.Request

func NewHostsHostsInventorySourcesListParams

func NewHostsHostsInventorySourcesListParams() *HostsHostsInventorySourcesListParams

NewHostsHostsInventorySourcesListParams creates a new HostsHostsInventorySourcesListParams object with the default values initialized.

func NewHostsHostsInventorySourcesListParamsWithContext

func NewHostsHostsInventorySourcesListParamsWithContext(ctx context.Context) *HostsHostsInventorySourcesListParams

NewHostsHostsInventorySourcesListParamsWithContext creates a new HostsHostsInventorySourcesListParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsInventorySourcesListParamsWithHTTPClient

func NewHostsHostsInventorySourcesListParamsWithHTTPClient(client *http.Client) *HostsHostsInventorySourcesListParams

NewHostsHostsInventorySourcesListParamsWithHTTPClient creates a new HostsHostsInventorySourcesListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsInventorySourcesListParamsWithTimeout

func NewHostsHostsInventorySourcesListParamsWithTimeout(timeout time.Duration) *HostsHostsInventorySourcesListParams

NewHostsHostsInventorySourcesListParamsWithTimeout creates a new HostsHostsInventorySourcesListParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsInventorySourcesListParams) SetContext

SetContext adds the context to the hosts hosts inventory sources list params

func (*HostsHostsInventorySourcesListParams) SetHTTPClient

func (o *HostsHostsInventorySourcesListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts inventory sources list params

func (*HostsHostsInventorySourcesListParams) SetID

SetID adds the id to the hosts hosts inventory sources list params

func (*HostsHostsInventorySourcesListParams) SetPage

func (o *HostsHostsInventorySourcesListParams) SetPage(page *int64)

SetPage adds the page to the hosts hosts inventory sources list params

func (*HostsHostsInventorySourcesListParams) SetPageSize

func (o *HostsHostsInventorySourcesListParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the hosts hosts inventory sources list params

func (*HostsHostsInventorySourcesListParams) SetSearch

func (o *HostsHostsInventorySourcesListParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts inventory sources list params

func (*HostsHostsInventorySourcesListParams) SetTimeout

func (o *HostsHostsInventorySourcesListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts inventory sources list params

func (*HostsHostsInventorySourcesListParams) WithContext

WithContext adds the context to the hosts hosts inventory sources list params

func (*HostsHostsInventorySourcesListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts inventory sources list params

func (*HostsHostsInventorySourcesListParams) WithID

WithID adds the id to the hosts hosts inventory sources list params

func (*HostsHostsInventorySourcesListParams) WithPage

WithPage adds the page to the hosts hosts inventory sources list params

func (*HostsHostsInventorySourcesListParams) WithPageSize

WithPageSize adds the pageSize to the hosts hosts inventory sources list params

func (*HostsHostsInventorySourcesListParams) WithSearch

WithSearch adds the search to the hosts hosts inventory sources list params

func (*HostsHostsInventorySourcesListParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts inventory sources list params

func (*HostsHostsInventorySourcesListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsInventorySourcesListReader

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

HostsHostsInventorySourcesListReader is a Reader for the HostsHostsInventorySourcesList structure.

func (*HostsHostsInventorySourcesListReader) ReadResponse

func (o *HostsHostsInventorySourcesListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsJobEventsListOK

type HostsHostsJobEventsListOK struct {
}

HostsHostsJobEventsListOK handles this case with default header values.

OK

func NewHostsHostsJobEventsListOK

func NewHostsHostsJobEventsListOK() *HostsHostsJobEventsListOK

NewHostsHostsJobEventsListOK creates a HostsHostsJobEventsListOK with default headers values

func (*HostsHostsJobEventsListOK) Error

func (o *HostsHostsJobEventsListOK) Error() string

type HostsHostsJobEventsListParams

type HostsHostsJobEventsListParams 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
}

HostsHostsJobEventsListParams contains all the parameters to send to the API endpoint for the hosts hosts job events list operation typically these are written to a http.Request

func NewHostsHostsJobEventsListParams

func NewHostsHostsJobEventsListParams() *HostsHostsJobEventsListParams

NewHostsHostsJobEventsListParams creates a new HostsHostsJobEventsListParams object with the default values initialized.

func NewHostsHostsJobEventsListParamsWithContext

func NewHostsHostsJobEventsListParamsWithContext(ctx context.Context) *HostsHostsJobEventsListParams

NewHostsHostsJobEventsListParamsWithContext creates a new HostsHostsJobEventsListParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsJobEventsListParamsWithHTTPClient

func NewHostsHostsJobEventsListParamsWithHTTPClient(client *http.Client) *HostsHostsJobEventsListParams

NewHostsHostsJobEventsListParamsWithHTTPClient creates a new HostsHostsJobEventsListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsJobEventsListParamsWithTimeout

func NewHostsHostsJobEventsListParamsWithTimeout(timeout time.Duration) *HostsHostsJobEventsListParams

NewHostsHostsJobEventsListParamsWithTimeout creates a new HostsHostsJobEventsListParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsJobEventsListParams) SetContext

func (o *HostsHostsJobEventsListParams) SetContext(ctx context.Context)

SetContext adds the context to the hosts hosts job events list params

func (*HostsHostsJobEventsListParams) SetHTTPClient

func (o *HostsHostsJobEventsListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts job events list params

func (*HostsHostsJobEventsListParams) SetID

SetID adds the id to the hosts hosts job events list params

func (*HostsHostsJobEventsListParams) SetPage

func (o *HostsHostsJobEventsListParams) SetPage(page *int64)

SetPage adds the page to the hosts hosts job events list params

func (*HostsHostsJobEventsListParams) SetPageSize

func (o *HostsHostsJobEventsListParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the hosts hosts job events list params

func (*HostsHostsJobEventsListParams) SetSearch

func (o *HostsHostsJobEventsListParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts job events list params

func (*HostsHostsJobEventsListParams) SetTimeout

func (o *HostsHostsJobEventsListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts job events list params

func (*HostsHostsJobEventsListParams) WithContext

WithContext adds the context to the hosts hosts job events list params

func (*HostsHostsJobEventsListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts job events list params

func (*HostsHostsJobEventsListParams) WithID

WithID adds the id to the hosts hosts job events list params

func (*HostsHostsJobEventsListParams) WithPage

WithPage adds the page to the hosts hosts job events list params

func (*HostsHostsJobEventsListParams) WithPageSize

WithPageSize adds the pageSize to the hosts hosts job events list params

func (*HostsHostsJobEventsListParams) WithSearch

WithSearch adds the search to the hosts hosts job events list params

func (*HostsHostsJobEventsListParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts job events list params

func (*HostsHostsJobEventsListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsJobEventsListReader

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

HostsHostsJobEventsListReader is a Reader for the HostsHostsJobEventsList structure.

func (*HostsHostsJobEventsListReader) ReadResponse

func (o *HostsHostsJobEventsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsJobHostSummariesListOK

type HostsHostsJobHostSummariesListOK struct {
}

HostsHostsJobHostSummariesListOK handles this case with default header values.

OK

func NewHostsHostsJobHostSummariesListOK

func NewHostsHostsJobHostSummariesListOK() *HostsHostsJobHostSummariesListOK

NewHostsHostsJobHostSummariesListOK creates a HostsHostsJobHostSummariesListOK with default headers values

func (*HostsHostsJobHostSummariesListOK) Error

type HostsHostsJobHostSummariesListParams

type HostsHostsJobHostSummariesListParams 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
}

HostsHostsJobHostSummariesListParams contains all the parameters to send to the API endpoint for the hosts hosts job host summaries list operation typically these are written to a http.Request

func NewHostsHostsJobHostSummariesListParams

func NewHostsHostsJobHostSummariesListParams() *HostsHostsJobHostSummariesListParams

NewHostsHostsJobHostSummariesListParams creates a new HostsHostsJobHostSummariesListParams object with the default values initialized.

func NewHostsHostsJobHostSummariesListParamsWithContext

func NewHostsHostsJobHostSummariesListParamsWithContext(ctx context.Context) *HostsHostsJobHostSummariesListParams

NewHostsHostsJobHostSummariesListParamsWithContext creates a new HostsHostsJobHostSummariesListParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsJobHostSummariesListParamsWithHTTPClient

func NewHostsHostsJobHostSummariesListParamsWithHTTPClient(client *http.Client) *HostsHostsJobHostSummariesListParams

NewHostsHostsJobHostSummariesListParamsWithHTTPClient creates a new HostsHostsJobHostSummariesListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsJobHostSummariesListParamsWithTimeout

func NewHostsHostsJobHostSummariesListParamsWithTimeout(timeout time.Duration) *HostsHostsJobHostSummariesListParams

NewHostsHostsJobHostSummariesListParamsWithTimeout creates a new HostsHostsJobHostSummariesListParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsJobHostSummariesListParams) SetContext

SetContext adds the context to the hosts hosts job host summaries list params

func (*HostsHostsJobHostSummariesListParams) SetHTTPClient

func (o *HostsHostsJobHostSummariesListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts job host summaries list params

func (*HostsHostsJobHostSummariesListParams) SetID

SetID adds the id to the hosts hosts job host summaries list params

func (*HostsHostsJobHostSummariesListParams) SetPage

func (o *HostsHostsJobHostSummariesListParams) SetPage(page *int64)

SetPage adds the page to the hosts hosts job host summaries list params

func (*HostsHostsJobHostSummariesListParams) SetPageSize

func (o *HostsHostsJobHostSummariesListParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the hosts hosts job host summaries list params

func (*HostsHostsJobHostSummariesListParams) SetSearch

func (o *HostsHostsJobHostSummariesListParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts job host summaries list params

func (*HostsHostsJobHostSummariesListParams) SetTimeout

func (o *HostsHostsJobHostSummariesListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts job host summaries list params

func (*HostsHostsJobHostSummariesListParams) WithContext

WithContext adds the context to the hosts hosts job host summaries list params

func (*HostsHostsJobHostSummariesListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts job host summaries list params

func (*HostsHostsJobHostSummariesListParams) WithID

WithID adds the id to the hosts hosts job host summaries list params

func (*HostsHostsJobHostSummariesListParams) WithPage

WithPage adds the page to the hosts hosts job host summaries list params

func (*HostsHostsJobHostSummariesListParams) WithPageSize

WithPageSize adds the pageSize to the hosts hosts job host summaries list params

func (*HostsHostsJobHostSummariesListParams) WithSearch

WithSearch adds the search to the hosts hosts job host summaries list params

func (*HostsHostsJobHostSummariesListParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts job host summaries list params

func (*HostsHostsJobHostSummariesListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsJobHostSummariesListReader

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

HostsHostsJobHostSummariesListReader is a Reader for the HostsHostsJobHostSummariesList structure.

func (*HostsHostsJobHostSummariesListReader) ReadResponse

func (o *HostsHostsJobHostSummariesListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsListOK

type HostsHostsListOK struct {
}

HostsHostsListOK handles this case with default header values.

OK

func NewHostsHostsListOK

func NewHostsHostsListOK() *HostsHostsListOK

NewHostsHostsListOK creates a HostsHostsListOK with default headers values

func (*HostsHostsListOK) Error

func (o *HostsHostsListOK) Error() string

type HostsHostsListParams

type HostsHostsListParams 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
}

HostsHostsListParams contains all the parameters to send to the API endpoint for the hosts hosts list operation typically these are written to a http.Request

func NewHostsHostsListParams

func NewHostsHostsListParams() *HostsHostsListParams

NewHostsHostsListParams creates a new HostsHostsListParams object with the default values initialized.

func NewHostsHostsListParamsWithContext

func NewHostsHostsListParamsWithContext(ctx context.Context) *HostsHostsListParams

NewHostsHostsListParamsWithContext creates a new HostsHostsListParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsListParamsWithHTTPClient

func NewHostsHostsListParamsWithHTTPClient(client *http.Client) *HostsHostsListParams

NewHostsHostsListParamsWithHTTPClient creates a new HostsHostsListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsListParamsWithTimeout

func NewHostsHostsListParamsWithTimeout(timeout time.Duration) *HostsHostsListParams

NewHostsHostsListParamsWithTimeout creates a new HostsHostsListParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsListParams) SetContext

func (o *HostsHostsListParams) SetContext(ctx context.Context)

SetContext adds the context to the hosts hosts list params

func (*HostsHostsListParams) SetHTTPClient

func (o *HostsHostsListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts list params

func (*HostsHostsListParams) SetPage

func (o *HostsHostsListParams) SetPage(page *int64)

SetPage adds the page to the hosts hosts list params

func (*HostsHostsListParams) SetPageSize

func (o *HostsHostsListParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the hosts hosts list params

func (*HostsHostsListParams) SetSearch

func (o *HostsHostsListParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts list params

func (*HostsHostsListParams) SetTimeout

func (o *HostsHostsListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts list params

func (*HostsHostsListParams) WithContext

WithContext adds the context to the hosts hosts list params

func (*HostsHostsListParams) WithHTTPClient

func (o *HostsHostsListParams) WithHTTPClient(client *http.Client) *HostsHostsListParams

WithHTTPClient adds the HTTPClient to the hosts hosts list params

func (*HostsHostsListParams) WithPage

func (o *HostsHostsListParams) WithPage(page *int64) *HostsHostsListParams

WithPage adds the page to the hosts hosts list params

func (*HostsHostsListParams) WithPageSize

func (o *HostsHostsListParams) WithPageSize(pageSize *int64) *HostsHostsListParams

WithPageSize adds the pageSize to the hosts hosts list params

func (*HostsHostsListParams) WithSearch

func (o *HostsHostsListParams) WithSearch(search *string) *HostsHostsListParams

WithSearch adds the search to the hosts hosts list params

func (*HostsHostsListParams) WithTimeout

func (o *HostsHostsListParams) WithTimeout(timeout time.Duration) *HostsHostsListParams

WithTimeout adds the timeout to the hosts hosts list params

func (*HostsHostsListParams) WriteToRequest

func (o *HostsHostsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type HostsHostsListReader

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

HostsHostsListReader is a Reader for the HostsHostsList structure.

func (*HostsHostsListReader) ReadResponse

func (o *HostsHostsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsPartialUpdateBody

type HostsHostsPartialUpdateBody struct {

	// description
	Description string `json:"description,omitempty"`

	// Is this host online and available for running jobs?
	Enabled string `json:"enabled,omitempty"`

	// The value used by the remote inventory source to uniquely identify the host
	InstanceID string `json:"instance_id,omitempty"`

	// inventory
	Inventory int64 `json:"inventory,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// Host variables in JSON or YAML format.
	Variables string `json:"variables,omitempty"`
}

HostsHostsPartialUpdateBody hosts hosts partial update body swagger:model HostsHostsPartialUpdateBody

func (*HostsHostsPartialUpdateBody) MarshalBinary

func (o *HostsHostsPartialUpdateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HostsHostsPartialUpdateBody) UnmarshalBinary

func (o *HostsHostsPartialUpdateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HostsHostsPartialUpdateBody) Validate

func (o *HostsHostsPartialUpdateBody) Validate(formats strfmt.Registry) error

Validate validates this hosts hosts partial update body

type HostsHostsPartialUpdateOK

type HostsHostsPartialUpdateOK struct {
}

HostsHostsPartialUpdateOK handles this case with default header values.

OK

func NewHostsHostsPartialUpdateOK

func NewHostsHostsPartialUpdateOK() *HostsHostsPartialUpdateOK

NewHostsHostsPartialUpdateOK creates a HostsHostsPartialUpdateOK with default headers values

func (*HostsHostsPartialUpdateOK) Error

func (o *HostsHostsPartialUpdateOK) Error() string

type HostsHostsPartialUpdateParams

type HostsHostsPartialUpdateParams struct {

	/*Data*/
	Data HostsHostsPartialUpdateBody
	/*ID*/
	ID string
	/*Search
	  A search term.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HostsHostsPartialUpdateParams contains all the parameters to send to the API endpoint for the hosts hosts partial update operation typically these are written to a http.Request

func NewHostsHostsPartialUpdateParams

func NewHostsHostsPartialUpdateParams() *HostsHostsPartialUpdateParams

NewHostsHostsPartialUpdateParams creates a new HostsHostsPartialUpdateParams object with the default values initialized.

func NewHostsHostsPartialUpdateParamsWithContext

func NewHostsHostsPartialUpdateParamsWithContext(ctx context.Context) *HostsHostsPartialUpdateParams

NewHostsHostsPartialUpdateParamsWithContext creates a new HostsHostsPartialUpdateParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsPartialUpdateParamsWithHTTPClient

func NewHostsHostsPartialUpdateParamsWithHTTPClient(client *http.Client) *HostsHostsPartialUpdateParams

NewHostsHostsPartialUpdateParamsWithHTTPClient creates a new HostsHostsPartialUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsPartialUpdateParamsWithTimeout

func NewHostsHostsPartialUpdateParamsWithTimeout(timeout time.Duration) *HostsHostsPartialUpdateParams

NewHostsHostsPartialUpdateParamsWithTimeout creates a new HostsHostsPartialUpdateParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsPartialUpdateParams) SetContext

func (o *HostsHostsPartialUpdateParams) SetContext(ctx context.Context)

SetContext adds the context to the hosts hosts partial update params

func (*HostsHostsPartialUpdateParams) SetData

SetData adds the data to the hosts hosts partial update params

func (*HostsHostsPartialUpdateParams) SetHTTPClient

func (o *HostsHostsPartialUpdateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts partial update params

func (*HostsHostsPartialUpdateParams) SetID

SetID adds the id to the hosts hosts partial update params

func (*HostsHostsPartialUpdateParams) SetSearch

func (o *HostsHostsPartialUpdateParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts partial update params

func (*HostsHostsPartialUpdateParams) SetTimeout

func (o *HostsHostsPartialUpdateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts partial update params

func (*HostsHostsPartialUpdateParams) WithContext

WithContext adds the context to the hosts hosts partial update params

func (*HostsHostsPartialUpdateParams) WithData

WithData adds the data to the hosts hosts partial update params

func (*HostsHostsPartialUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts partial update params

func (*HostsHostsPartialUpdateParams) WithID

WithID adds the id to the hosts hosts partial update params

func (*HostsHostsPartialUpdateParams) WithSearch

WithSearch adds the search to the hosts hosts partial update params

func (*HostsHostsPartialUpdateParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts partial update params

func (*HostsHostsPartialUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsPartialUpdateReader

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

HostsHostsPartialUpdateReader is a Reader for the HostsHostsPartialUpdate structure.

func (*HostsHostsPartialUpdateReader) ReadResponse

func (o *HostsHostsPartialUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsReadOK

type HostsHostsReadOK struct {
}

HostsHostsReadOK handles this case with default header values.

OK

func NewHostsHostsReadOK

func NewHostsHostsReadOK() *HostsHostsReadOK

NewHostsHostsReadOK creates a HostsHostsReadOK with default headers values

func (*HostsHostsReadOK) Error

func (o *HostsHostsReadOK) Error() string

type HostsHostsReadParams

type HostsHostsReadParams struct {

	/*ID*/
	ID string
	/*Search
	  A search term.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HostsHostsReadParams contains all the parameters to send to the API endpoint for the hosts hosts read operation typically these are written to a http.Request

func NewHostsHostsReadParams

func NewHostsHostsReadParams() *HostsHostsReadParams

NewHostsHostsReadParams creates a new HostsHostsReadParams object with the default values initialized.

func NewHostsHostsReadParamsWithContext

func NewHostsHostsReadParamsWithContext(ctx context.Context) *HostsHostsReadParams

NewHostsHostsReadParamsWithContext creates a new HostsHostsReadParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsReadParamsWithHTTPClient

func NewHostsHostsReadParamsWithHTTPClient(client *http.Client) *HostsHostsReadParams

NewHostsHostsReadParamsWithHTTPClient creates a new HostsHostsReadParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsReadParamsWithTimeout

func NewHostsHostsReadParamsWithTimeout(timeout time.Duration) *HostsHostsReadParams

NewHostsHostsReadParamsWithTimeout creates a new HostsHostsReadParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsReadParams) SetContext

func (o *HostsHostsReadParams) SetContext(ctx context.Context)

SetContext adds the context to the hosts hosts read params

func (*HostsHostsReadParams) SetHTTPClient

func (o *HostsHostsReadParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts read params

func (*HostsHostsReadParams) SetID

func (o *HostsHostsReadParams) SetID(id string)

SetID adds the id to the hosts hosts read params

func (*HostsHostsReadParams) SetSearch

func (o *HostsHostsReadParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts read params

func (*HostsHostsReadParams) SetTimeout

func (o *HostsHostsReadParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts read params

func (*HostsHostsReadParams) WithContext

WithContext adds the context to the hosts hosts read params

func (*HostsHostsReadParams) WithHTTPClient

func (o *HostsHostsReadParams) WithHTTPClient(client *http.Client) *HostsHostsReadParams

WithHTTPClient adds the HTTPClient to the hosts hosts read params

func (*HostsHostsReadParams) WithID

WithID adds the id to the hosts hosts read params

func (*HostsHostsReadParams) WithSearch

func (o *HostsHostsReadParams) WithSearch(search *string) *HostsHostsReadParams

WithSearch adds the search to the hosts hosts read params

func (*HostsHostsReadParams) WithTimeout

func (o *HostsHostsReadParams) WithTimeout(timeout time.Duration) *HostsHostsReadParams

WithTimeout adds the timeout to the hosts hosts read params

func (*HostsHostsReadParams) WriteToRequest

func (o *HostsHostsReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type HostsHostsReadReader

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

HostsHostsReadReader is a Reader for the HostsHostsRead structure.

func (*HostsHostsReadReader) ReadResponse

func (o *HostsHostsReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsSmartInventoriesListOK

type HostsHostsSmartInventoriesListOK struct {
}

HostsHostsSmartInventoriesListOK handles this case with default header values.

OK

func NewHostsHostsSmartInventoriesListOK

func NewHostsHostsSmartInventoriesListOK() *HostsHostsSmartInventoriesListOK

NewHostsHostsSmartInventoriesListOK creates a HostsHostsSmartInventoriesListOK with default headers values

func (*HostsHostsSmartInventoriesListOK) Error

type HostsHostsSmartInventoriesListParams

type HostsHostsSmartInventoriesListParams 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
}

HostsHostsSmartInventoriesListParams contains all the parameters to send to the API endpoint for the hosts hosts smart inventories list operation typically these are written to a http.Request

func NewHostsHostsSmartInventoriesListParams

func NewHostsHostsSmartInventoriesListParams() *HostsHostsSmartInventoriesListParams

NewHostsHostsSmartInventoriesListParams creates a new HostsHostsSmartInventoriesListParams object with the default values initialized.

func NewHostsHostsSmartInventoriesListParamsWithContext

func NewHostsHostsSmartInventoriesListParamsWithContext(ctx context.Context) *HostsHostsSmartInventoriesListParams

NewHostsHostsSmartInventoriesListParamsWithContext creates a new HostsHostsSmartInventoriesListParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsSmartInventoriesListParamsWithHTTPClient

func NewHostsHostsSmartInventoriesListParamsWithHTTPClient(client *http.Client) *HostsHostsSmartInventoriesListParams

NewHostsHostsSmartInventoriesListParamsWithHTTPClient creates a new HostsHostsSmartInventoriesListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsSmartInventoriesListParamsWithTimeout

func NewHostsHostsSmartInventoriesListParamsWithTimeout(timeout time.Duration) *HostsHostsSmartInventoriesListParams

NewHostsHostsSmartInventoriesListParamsWithTimeout creates a new HostsHostsSmartInventoriesListParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsSmartInventoriesListParams) SetContext

SetContext adds the context to the hosts hosts smart inventories list params

func (*HostsHostsSmartInventoriesListParams) SetHTTPClient

func (o *HostsHostsSmartInventoriesListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts smart inventories list params

func (*HostsHostsSmartInventoriesListParams) SetID

SetID adds the id to the hosts hosts smart inventories list params

func (*HostsHostsSmartInventoriesListParams) SetPage

func (o *HostsHostsSmartInventoriesListParams) SetPage(page *int64)

SetPage adds the page to the hosts hosts smart inventories list params

func (*HostsHostsSmartInventoriesListParams) SetPageSize

func (o *HostsHostsSmartInventoriesListParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the hosts hosts smart inventories list params

func (*HostsHostsSmartInventoriesListParams) SetSearch

func (o *HostsHostsSmartInventoriesListParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts smart inventories list params

func (*HostsHostsSmartInventoriesListParams) SetTimeout

func (o *HostsHostsSmartInventoriesListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts smart inventories list params

func (*HostsHostsSmartInventoriesListParams) WithContext

WithContext adds the context to the hosts hosts smart inventories list params

func (*HostsHostsSmartInventoriesListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts smart inventories list params

func (*HostsHostsSmartInventoriesListParams) WithID

WithID adds the id to the hosts hosts smart inventories list params

func (*HostsHostsSmartInventoriesListParams) WithPage

WithPage adds the page to the hosts hosts smart inventories list params

func (*HostsHostsSmartInventoriesListParams) WithPageSize

WithPageSize adds the pageSize to the hosts hosts smart inventories list params

func (*HostsHostsSmartInventoriesListParams) WithSearch

WithSearch adds the search to the hosts hosts smart inventories list params

func (*HostsHostsSmartInventoriesListParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts smart inventories list params

func (*HostsHostsSmartInventoriesListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsSmartInventoriesListReader

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

HostsHostsSmartInventoriesListReader is a Reader for the HostsHostsSmartInventoriesList structure.

func (*HostsHostsSmartInventoriesListReader) ReadResponse

func (o *HostsHostsSmartInventoriesListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsUpdateForbidden

type HostsHostsUpdateForbidden struct {
}

HostsHostsUpdateForbidden handles this case with default header values.

No Permission Response

func NewHostsHostsUpdateForbidden

func NewHostsHostsUpdateForbidden() *HostsHostsUpdateForbidden

NewHostsHostsUpdateForbidden creates a HostsHostsUpdateForbidden with default headers values

func (*HostsHostsUpdateForbidden) Error

func (o *HostsHostsUpdateForbidden) Error() string

type HostsHostsUpdateOK

type HostsHostsUpdateOK struct {
}

HostsHostsUpdateOK handles this case with default header values.

OK

func NewHostsHostsUpdateOK

func NewHostsHostsUpdateOK() *HostsHostsUpdateOK

NewHostsHostsUpdateOK creates a HostsHostsUpdateOK with default headers values

func (*HostsHostsUpdateOK) Error

func (o *HostsHostsUpdateOK) Error() string

type HostsHostsUpdateParams

type HostsHostsUpdateParams struct {

	/*Data*/
	Data interface{}
	/*ID*/
	ID string
	/*Search
	  A search term.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HostsHostsUpdateParams contains all the parameters to send to the API endpoint for the hosts hosts update operation typically these are written to a http.Request

func NewHostsHostsUpdateParams

func NewHostsHostsUpdateParams() *HostsHostsUpdateParams

NewHostsHostsUpdateParams creates a new HostsHostsUpdateParams object with the default values initialized.

func NewHostsHostsUpdateParamsWithContext

func NewHostsHostsUpdateParamsWithContext(ctx context.Context) *HostsHostsUpdateParams

NewHostsHostsUpdateParamsWithContext creates a new HostsHostsUpdateParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsUpdateParamsWithHTTPClient

func NewHostsHostsUpdateParamsWithHTTPClient(client *http.Client) *HostsHostsUpdateParams

NewHostsHostsUpdateParamsWithHTTPClient creates a new HostsHostsUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsUpdateParamsWithTimeout

func NewHostsHostsUpdateParamsWithTimeout(timeout time.Duration) *HostsHostsUpdateParams

NewHostsHostsUpdateParamsWithTimeout creates a new HostsHostsUpdateParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsUpdateParams) SetContext

func (o *HostsHostsUpdateParams) SetContext(ctx context.Context)

SetContext adds the context to the hosts hosts update params

func (*HostsHostsUpdateParams) SetData

func (o *HostsHostsUpdateParams) SetData(data interface{})

SetData adds the data to the hosts hosts update params

func (*HostsHostsUpdateParams) SetHTTPClient

func (o *HostsHostsUpdateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts update params

func (*HostsHostsUpdateParams) SetID

func (o *HostsHostsUpdateParams) SetID(id string)

SetID adds the id to the hosts hosts update params

func (*HostsHostsUpdateParams) SetSearch

func (o *HostsHostsUpdateParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts update params

func (*HostsHostsUpdateParams) SetTimeout

func (o *HostsHostsUpdateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts update params

func (*HostsHostsUpdateParams) WithContext

WithContext adds the context to the hosts hosts update params

func (*HostsHostsUpdateParams) WithData

func (o *HostsHostsUpdateParams) WithData(data interface{}) *HostsHostsUpdateParams

WithData adds the data to the hosts hosts update params

func (*HostsHostsUpdateParams) WithHTTPClient

func (o *HostsHostsUpdateParams) WithHTTPClient(client *http.Client) *HostsHostsUpdateParams

WithHTTPClient adds the HTTPClient to the hosts hosts update params

func (*HostsHostsUpdateParams) WithID

WithID adds the id to the hosts hosts update params

func (*HostsHostsUpdateParams) WithSearch

func (o *HostsHostsUpdateParams) WithSearch(search *string) *HostsHostsUpdateParams

WithSearch adds the search to the hosts hosts update params

func (*HostsHostsUpdateParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts update params

func (*HostsHostsUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsUpdateReader

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

HostsHostsUpdateReader is a Reader for the HostsHostsUpdate structure.

func (*HostsHostsUpdateReader) ReadResponse

func (o *HostsHostsUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsVariableDataPartialUpdateBody

type HostsHostsVariableDataPartialUpdateBody struct {

	// Host variables in JSON or YAML format.
	Variables string `json:"variables,omitempty"`
}

HostsHostsVariableDataPartialUpdateBody hosts hosts variable data partial update body swagger:model HostsHostsVariableDataPartialUpdateBody

func (*HostsHostsVariableDataPartialUpdateBody) MarshalBinary

func (o *HostsHostsVariableDataPartialUpdateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HostsHostsVariableDataPartialUpdateBody) UnmarshalBinary

func (o *HostsHostsVariableDataPartialUpdateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HostsHostsVariableDataPartialUpdateBody) Validate

Validate validates this hosts hosts variable data partial update body

type HostsHostsVariableDataPartialUpdateOK

type HostsHostsVariableDataPartialUpdateOK struct {
}

HostsHostsVariableDataPartialUpdateOK handles this case with default header values.

OK

func NewHostsHostsVariableDataPartialUpdateOK

func NewHostsHostsVariableDataPartialUpdateOK() *HostsHostsVariableDataPartialUpdateOK

NewHostsHostsVariableDataPartialUpdateOK creates a HostsHostsVariableDataPartialUpdateOK with default headers values

func (*HostsHostsVariableDataPartialUpdateOK) Error

type HostsHostsVariableDataPartialUpdateParams

type HostsHostsVariableDataPartialUpdateParams struct {

	/*Data*/
	Data HostsHostsVariableDataPartialUpdateBody
	/*ID*/
	ID string
	/*Search
	  A search term.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HostsHostsVariableDataPartialUpdateParams contains all the parameters to send to the API endpoint for the hosts hosts variable data partial update operation typically these are written to a http.Request

func NewHostsHostsVariableDataPartialUpdateParams

func NewHostsHostsVariableDataPartialUpdateParams() *HostsHostsVariableDataPartialUpdateParams

NewHostsHostsVariableDataPartialUpdateParams creates a new HostsHostsVariableDataPartialUpdateParams object with the default values initialized.

func NewHostsHostsVariableDataPartialUpdateParamsWithContext

func NewHostsHostsVariableDataPartialUpdateParamsWithContext(ctx context.Context) *HostsHostsVariableDataPartialUpdateParams

NewHostsHostsVariableDataPartialUpdateParamsWithContext creates a new HostsHostsVariableDataPartialUpdateParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsVariableDataPartialUpdateParamsWithHTTPClient

func NewHostsHostsVariableDataPartialUpdateParamsWithHTTPClient(client *http.Client) *HostsHostsVariableDataPartialUpdateParams

NewHostsHostsVariableDataPartialUpdateParamsWithHTTPClient creates a new HostsHostsVariableDataPartialUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsVariableDataPartialUpdateParamsWithTimeout

func NewHostsHostsVariableDataPartialUpdateParamsWithTimeout(timeout time.Duration) *HostsHostsVariableDataPartialUpdateParams

NewHostsHostsVariableDataPartialUpdateParamsWithTimeout creates a new HostsHostsVariableDataPartialUpdateParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsVariableDataPartialUpdateParams) SetContext

SetContext adds the context to the hosts hosts variable data partial update params

func (*HostsHostsVariableDataPartialUpdateParams) SetData

SetData adds the data to the hosts hosts variable data partial update params

func (*HostsHostsVariableDataPartialUpdateParams) SetHTTPClient

func (o *HostsHostsVariableDataPartialUpdateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts variable data partial update params

func (*HostsHostsVariableDataPartialUpdateParams) SetID

SetID adds the id to the hosts hosts variable data partial update params

func (*HostsHostsVariableDataPartialUpdateParams) SetSearch

func (o *HostsHostsVariableDataPartialUpdateParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts variable data partial update params

func (*HostsHostsVariableDataPartialUpdateParams) SetTimeout

SetTimeout adds the timeout to the hosts hosts variable data partial update params

func (*HostsHostsVariableDataPartialUpdateParams) WithContext

WithContext adds the context to the hosts hosts variable data partial update params

func (*HostsHostsVariableDataPartialUpdateParams) WithData

WithData adds the data to the hosts hosts variable data partial update params

func (*HostsHostsVariableDataPartialUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts variable data partial update params

func (*HostsHostsVariableDataPartialUpdateParams) WithID

WithID adds the id to the hosts hosts variable data partial update params

func (*HostsHostsVariableDataPartialUpdateParams) WithSearch

WithSearch adds the search to the hosts hosts variable data partial update params

func (*HostsHostsVariableDataPartialUpdateParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts variable data partial update params

func (*HostsHostsVariableDataPartialUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsVariableDataPartialUpdateReader

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

HostsHostsVariableDataPartialUpdateReader is a Reader for the HostsHostsVariableDataPartialUpdate structure.

func (*HostsHostsVariableDataPartialUpdateReader) ReadResponse

func (o *HostsHostsVariableDataPartialUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsVariableDataReadOK

type HostsHostsVariableDataReadOK struct {
}

HostsHostsVariableDataReadOK handles this case with default header values.

OK

func NewHostsHostsVariableDataReadOK

func NewHostsHostsVariableDataReadOK() *HostsHostsVariableDataReadOK

NewHostsHostsVariableDataReadOK creates a HostsHostsVariableDataReadOK with default headers values

func (*HostsHostsVariableDataReadOK) Error

type HostsHostsVariableDataReadParams

type HostsHostsVariableDataReadParams struct {

	/*ID*/
	ID string
	/*Search
	  A search term.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HostsHostsVariableDataReadParams contains all the parameters to send to the API endpoint for the hosts hosts variable data read operation typically these are written to a http.Request

func NewHostsHostsVariableDataReadParams

func NewHostsHostsVariableDataReadParams() *HostsHostsVariableDataReadParams

NewHostsHostsVariableDataReadParams creates a new HostsHostsVariableDataReadParams object with the default values initialized.

func NewHostsHostsVariableDataReadParamsWithContext

func NewHostsHostsVariableDataReadParamsWithContext(ctx context.Context) *HostsHostsVariableDataReadParams

NewHostsHostsVariableDataReadParamsWithContext creates a new HostsHostsVariableDataReadParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsVariableDataReadParamsWithHTTPClient

func NewHostsHostsVariableDataReadParamsWithHTTPClient(client *http.Client) *HostsHostsVariableDataReadParams

NewHostsHostsVariableDataReadParamsWithHTTPClient creates a new HostsHostsVariableDataReadParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsVariableDataReadParamsWithTimeout

func NewHostsHostsVariableDataReadParamsWithTimeout(timeout time.Duration) *HostsHostsVariableDataReadParams

NewHostsHostsVariableDataReadParamsWithTimeout creates a new HostsHostsVariableDataReadParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsVariableDataReadParams) SetContext

SetContext adds the context to the hosts hosts variable data read params

func (*HostsHostsVariableDataReadParams) SetHTTPClient

func (o *HostsHostsVariableDataReadParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts variable data read params

func (*HostsHostsVariableDataReadParams) SetID

SetID adds the id to the hosts hosts variable data read params

func (*HostsHostsVariableDataReadParams) SetSearch

func (o *HostsHostsVariableDataReadParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts variable data read params

func (*HostsHostsVariableDataReadParams) SetTimeout

func (o *HostsHostsVariableDataReadParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts variable data read params

func (*HostsHostsVariableDataReadParams) WithContext

WithContext adds the context to the hosts hosts variable data read params

func (*HostsHostsVariableDataReadParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts variable data read params

func (*HostsHostsVariableDataReadParams) WithID

WithID adds the id to the hosts hosts variable data read params

func (*HostsHostsVariableDataReadParams) WithSearch

WithSearch adds the search to the hosts hosts variable data read params

func (*HostsHostsVariableDataReadParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts variable data read params

func (*HostsHostsVariableDataReadParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsVariableDataReadReader

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

HostsHostsVariableDataReadReader is a Reader for the HostsHostsVariableDataRead structure.

func (*HostsHostsVariableDataReadReader) ReadResponse

func (o *HostsHostsVariableDataReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HostsHostsVariableDataUpdateBody

type HostsHostsVariableDataUpdateBody struct {

	// Host variables in JSON or YAML format.
	Variables string `json:"variables,omitempty"`
}

HostsHostsVariableDataUpdateBody hosts hosts variable data update body swagger:model HostsHostsVariableDataUpdateBody

func (*HostsHostsVariableDataUpdateBody) MarshalBinary

func (o *HostsHostsVariableDataUpdateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HostsHostsVariableDataUpdateBody) UnmarshalBinary

func (o *HostsHostsVariableDataUpdateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HostsHostsVariableDataUpdateBody) Validate

Validate validates this hosts hosts variable data update body

type HostsHostsVariableDataUpdateOK

type HostsHostsVariableDataUpdateOK struct {
}

HostsHostsVariableDataUpdateOK handles this case with default header values.

OK

func NewHostsHostsVariableDataUpdateOK

func NewHostsHostsVariableDataUpdateOK() *HostsHostsVariableDataUpdateOK

NewHostsHostsVariableDataUpdateOK creates a HostsHostsVariableDataUpdateOK with default headers values

func (*HostsHostsVariableDataUpdateOK) Error

type HostsHostsVariableDataUpdateParams

type HostsHostsVariableDataUpdateParams struct {

	/*Data*/
	Data HostsHostsVariableDataUpdateBody
	/*ID*/
	ID string
	/*Search
	  A search term.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HostsHostsVariableDataUpdateParams contains all the parameters to send to the API endpoint for the hosts hosts variable data update operation typically these are written to a http.Request

func NewHostsHostsVariableDataUpdateParams

func NewHostsHostsVariableDataUpdateParams() *HostsHostsVariableDataUpdateParams

NewHostsHostsVariableDataUpdateParams creates a new HostsHostsVariableDataUpdateParams object with the default values initialized.

func NewHostsHostsVariableDataUpdateParamsWithContext

func NewHostsHostsVariableDataUpdateParamsWithContext(ctx context.Context) *HostsHostsVariableDataUpdateParams

NewHostsHostsVariableDataUpdateParamsWithContext creates a new HostsHostsVariableDataUpdateParams object with the default values initialized, and the ability to set a context for a request

func NewHostsHostsVariableDataUpdateParamsWithHTTPClient

func NewHostsHostsVariableDataUpdateParamsWithHTTPClient(client *http.Client) *HostsHostsVariableDataUpdateParams

NewHostsHostsVariableDataUpdateParamsWithHTTPClient creates a new HostsHostsVariableDataUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostsHostsVariableDataUpdateParamsWithTimeout

func NewHostsHostsVariableDataUpdateParamsWithTimeout(timeout time.Duration) *HostsHostsVariableDataUpdateParams

NewHostsHostsVariableDataUpdateParamsWithTimeout creates a new HostsHostsVariableDataUpdateParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostsHostsVariableDataUpdateParams) SetContext

SetContext adds the context to the hosts hosts variable data update params

func (*HostsHostsVariableDataUpdateParams) SetData

SetData adds the data to the hosts hosts variable data update params

func (*HostsHostsVariableDataUpdateParams) SetHTTPClient

func (o *HostsHostsVariableDataUpdateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the hosts hosts variable data update params

func (*HostsHostsVariableDataUpdateParams) SetID

SetID adds the id to the hosts hosts variable data update params

func (*HostsHostsVariableDataUpdateParams) SetSearch

func (o *HostsHostsVariableDataUpdateParams) SetSearch(search *string)

SetSearch adds the search to the hosts hosts variable data update params

func (*HostsHostsVariableDataUpdateParams) SetTimeout

func (o *HostsHostsVariableDataUpdateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the hosts hosts variable data update params

func (*HostsHostsVariableDataUpdateParams) WithContext

WithContext adds the context to the hosts hosts variable data update params

func (*HostsHostsVariableDataUpdateParams) WithData

WithData adds the data to the hosts hosts variable data update params

func (*HostsHostsVariableDataUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hosts hosts variable data update params

func (*HostsHostsVariableDataUpdateParams) WithID

WithID adds the id to the hosts hosts variable data update params

func (*HostsHostsVariableDataUpdateParams) WithSearch

WithSearch adds the search to the hosts hosts variable data update params

func (*HostsHostsVariableDataUpdateParams) WithTimeout

WithTimeout adds the timeout to the hosts hosts variable data update params

func (*HostsHostsVariableDataUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostsHostsVariableDataUpdateReader

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

HostsHostsVariableDataUpdateReader is a Reader for the HostsHostsVariableDataUpdate structure.

func (*HostsHostsVariableDataUpdateReader) ReadResponse

func (o *HostsHostsVariableDataUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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