diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ee24188..ccf4a991 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.19 - name: Set up Node.js uses: actions/setup-node@v3 diff --git a/go.mod b/go.mod index 1ea8a0a4..f43b4e8c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hewlettpackard/hpegl-metal-client -go 1.17 +go 1.19 require ( github.com/antihax/optional v1.0.0 diff --git a/v1/fixup_generated_files.bash b/v1/fixup_generated_files.bash index 8d2b0792..d9344da0 100755 --- a/v1/fixup_generated_files.bash +++ b/v1/fixup_generated_files.bash @@ -1,5 +1,5 @@ #! /bin/bash -COPYRIGHT="// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP" +COPYRIGHT="// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP" set -e if [ $# -ne 1 ]; then diff --git a/v1/pkg/client/api_allocation.go b/v1/pkg/client/api_allocation.go index a89f5bf9..edf44f0f 100644 --- a/v1/pkg/client/api_allocation.go +++ b/v1/pkg/client/api_allocation.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/api_available_resources.go b/v1/pkg/client/api_available_resources.go index a735fc05..1d400c49 100644 --- a/v1/pkg/client/api_available_resources.go +++ b/v1/pkg/client/api_available_resources.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/api_hosts.go b/v1/pkg/client/api_hosts.go index 8d3f5cfa..6690c9a2 100644 --- a/v1/pkg/client/api_hosts.go +++ b/v1/pkg/client/api_hosts.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/api_ippools.go b/v1/pkg/client/api_ippools.go index 3b6bb4c9..0ec96304 100644 --- a/v1/pkg/client/api_ippools.go +++ b/v1/pkg/client/api_ippools.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/api_networks.go b/v1/pkg/client/api_networks.go index 8cbe47da..cfec7b61 100644 --- a/v1/pkg/client/api_networks.go +++ b/v1/pkg/client/api_networks.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/api_projects.go b/v1/pkg/client/api_projects.go index e7a13fe7..bb96b101 100644 --- a/v1/pkg/client/api_projects.go +++ b/v1/pkg/client/api_projects.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/api_projects_info.go b/v1/pkg/client/api_projects_info.go index 03933262..75bce2db 100644 --- a/v1/pkg/client/api_projects_info.go +++ b/v1/pkg/client/api_projects_info.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/api_sshkeys.go b/v1/pkg/client/api_sshkeys.go index 35bb734d..8abefdc9 100644 --- a/v1/pkg/client/api_sshkeys.go +++ b/v1/pkg/client/api_sshkeys.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/api_usage_reports.go b/v1/pkg/client/api_usage_reports.go index e770e6d4..980fe21f 100644 --- a/v1/pkg/client/api_usage_reports.go +++ b/v1/pkg/client/api_usage_reports.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/api_version.go b/v1/pkg/client/api_version.go index 312316ec..a8be8b00 100644 --- a/v1/pkg/client/api_version.go +++ b/v1/pkg/client/api_version.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/api_volume_attachments.go b/v1/pkg/client/api_volume_attachments.go index 9cdca312..464ceedd 100644 --- a/v1/pkg/client/api_volume_attachments.go +++ b/v1/pkg/client/api_volume_attachments.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/api_volumes.go b/v1/pkg/client/api_volumes.go index 3c592573..24648866 100644 --- a/v1/pkg/client/api_volumes.go +++ b/v1/pkg/client/api_volumes.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/client.go b/v1/pkg/client/client.go index 8727744f..8b3403fa 100644 --- a/v1/pkg/client/client.go +++ b/v1/pkg/client/client.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/configuration.go b/v1/pkg/client/configuration.go index 8975e36b..18891f97 100644 --- a/v1/pkg/client/configuration.go +++ b/v1/pkg/client/configuration.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/generic-error.go b/v1/pkg/client/generic-error.go index 4cd665d3..223ecf3b 100644 --- a/v1/pkg/client/generic-error.go +++ b/v1/pkg/client/generic-error.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP package client diff --git a/v1/pkg/client/interface_allocation.go b/v1/pkg/client/interface_allocation.go index 1abf6569..fca4fce1 100644 --- a/v1/pkg/client/interface_allocation.go +++ b/v1/pkg/client/interface_allocation.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by ifacemaker; DO NOT EDIT. @@ -14,18 +14,20 @@ type AllocationAPI interface { /* GetBySite Get servers allocation Returns an array of allocation information for each server instance type. Each instance type's allocation information is further grouped by service type. When using a Metal token, the value in the 'Membership' header determines the scope of the response, i.e., Project or Hoster. However, the default scope is Tenant/Hoster when using the GL IAM token. If the allocation data is needed for a specific project, then the 'Project' header must be present in the request. If the 'siteID' query parameter is present, the information returned is specific to that site ID. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *AllocationApiGetBySiteOpts - Optional Parameters: - * @param "SiteID" (optional.String) - site ID + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param optional nil or *AllocationApiGetBySiteOpts - Optional Parameters: + - @param "SiteID" (optional.String) - site ID + @return []Allocation */ GetBySite(ctx _context.Context, localVarOptionals *AllocationApiGetBySiteOpts) ([]Allocation, *_nethttp.Response, error) /* StorageGetBySite Get storage allocation Returns an array of allocation information for each server instance type. Each instance type's allocation information is further grouped by service type. When using a Metal token, the value in the 'Membership' header determines the scope of the response, i.e., Project or Hoster. However, the default scope is Tenant/Hoster when using the GL IAM token. If the allocation data is needed for a specific project, then the 'Project' header must be present in the request. If the 'siteID' query parameter is present, the information returned is specific to that site ID. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *AllocationApiStorageGetBySiteOpts - Optional Parameters: - * @param "SiteID" (optional.String) - site ID + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param optional nil or *AllocationApiStorageGetBySiteOpts - Optional Parameters: + - @param "SiteID" (optional.String) - site ID + @return []AllocationStorage */ StorageGetBySite(ctx _context.Context, localVarOptionals *AllocationApiStorageGetBySiteOpts) ([]AllocationStorage, *_nethttp.Response, error) diff --git a/v1/pkg/client/interface_available_resources.go b/v1/pkg/client/interface_available_resources.go index e78cc41b..fb1e0d8a 100644 --- a/v1/pkg/client/interface_available_resources.go +++ b/v1/pkg/client/interface_available_resources.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by ifacemaker; DO NOT EDIT. @@ -14,7 +14,8 @@ type AvailableResourcesAPI interface { /* List Get lists of available resources for creating hosts and volumes Used to get lists of options that are used when creating hosts and volumes. A get /available-resources will return an object that includes the following arrays: * Images - A list of image service IDs along with their category (Linux), flavor (ubuntu), and version (18.04) * MachineSizes - A list of machine size IDs along with the machine size names and detailed descriptions * Locations - A list of location IDs along with their country, region, and data center. * Networks - A list of available Network IDs along with the network name, location ID, network kind, and host usage (Required, Default, Optional) * MachineInventory - Information about the available inventory of machines based on location ID and machine size ID. While this information may change rapidly, it can be used by GUIs and systems to restrict host creates to locations with the desired machine size. * StorageInventory - Information about the current available storage capacity for a specific volume flavor by site. * VolumeFlavors - A list of volume flavor IDs along with their name and detailed description. * Volumes - A list of current, existing volumes. If the volume is in the the right state, it could be attached to a new Host. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return AvailableResources */ List(ctx _context.Context) (AvailableResources, *_nethttp.Response, error) diff --git a/v1/pkg/client/interface_hosts.go b/v1/pkg/client/interface_hosts.go index bc9de91b..4522d6ca 100644 --- a/v1/pkg/client/interface_hosts.go +++ b/v1/pkg/client/interface_hosts.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by ifacemaker; DO NOT EDIT. @@ -14,97 +14,108 @@ type HostsAPI interface { /* Add Create a new Host Creates a new host object which kicks off the provisioning of a physical server in accordance to the attributes provided for the Host object. Most values for these options must be selected from the set of options provided by the get available-resources API call. The SvcFlavor, SvcVersion, LocationID, SSHKeyIDs, and Network attribute must all be set with appropriate ID values from the available-resources call. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param newHost Defines the configuration of the desired host. See the schema for descriptions of individual attributes. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param newHost Defines the configuration of the desired host. See the schema for descriptions of individual attributes. + @return Host */ Add(ctx _context.Context, newHost NewHost) (Host, *_nethttp.Response, error) /* BootHDD Set HDD boot order on Host by ID Sets a single Host with matching ID to attempt HDD boot - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param hostId ID of Host to set to HDD boot + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param hostId ID of Host to set to HDD boot + @return Host */ BootHDD(ctx _context.Context, hostId string) (Host, *_nethttp.Response, error) /* BootPXE Set PXE boot order on Host by ID Sets a single Host with matching ID to attempt PXE boot when next booting - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param hostId ID of Host to set to PXE boot + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param hostId ID of Host to set to PXE boot + @return Host */ BootPXE(ctx _context.Context, hostId string) (Host, *_nethttp.Response, error) /* Delete Delete a Host Deletes the Host with the matching ID. A host in the 'Ready' state must first be powered-off before a delete will be permitted. Deletes to hosts in other states is permitted regardless of the power state - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param hostId ID of Host to delete + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param hostId ID of Host to delete */ Delete(ctx _context.Context, hostId string) (*_nethttp.Response, error) /* GetByID Retrieve Host by ID Returns a single Host with matching ID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param hostId ID of Host to return + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param hostId ID of Host to return + @return Host */ GetByID(ctx _context.Context, hostId string) (Host, *_nethttp.Response, error) /* List List all Hosts in project Returns an array of all Host objects defined within the project. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *HostsApiListOpts - Optional Parameters: - * @param "All" (optional.String) - Includes deleted Host objects in the response when set to \"true\". + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param optional nil or *HostsApiListOpts - Optional Parameters: + - @param "All" (optional.String) - Includes deleted Host objects in the response when set to \"true\". + @return []Host */ List(ctx _context.Context, localVarOptionals *HostsApiListOpts) ([]Host, *_nethttp.Response, error) /* Maintenance Do maintenance on a Host by ID Do maintenance on a host by executing pre-defined operations. The host must be powered off. The host must also be in the Ready state or in the Failed state and in the Maintenance workflow. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param hostId ID of Host to do maintenance on + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param hostId ID of Host to do maintenance on + @return Host */ Maintenance(ctx _context.Context, hostId string) (Host, *_nethttp.Response, error) /* PowerOff Power off Host by ID Powers off a single Host with matching ID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param hostId ID of Host to power off + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param hostId ID of Host to power off + @return Host */ PowerOff(ctx _context.Context, hostId string) (Host, *_nethttp.Response, error) /* PowerOn Power on Host by ID Powers on a single Host with matching ID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param hostId ID of Host to power on + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param hostId ID of Host to power on + @return Host */ PowerOn(ctx _context.Context, hostId string) (Host, *_nethttp.Response, error) /* PowerReset Reset Host by ID Resets a single Host with matching ID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param hostId ID of Host to reset + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param hostId ID of Host to reset + @return Host */ PowerReset(ctx _context.Context, hostId string) (Host, *_nethttp.Response, error) /* Replace Replace Host by ID Re-deploys a host with a new machine that satisfies the current host settings. Only the machine is replaced, IP addresses, volumes, etc are not changed. The host must be powered off. The host must also be in the Ready state or in the Failed state and in the Replace or Maintenace workflow. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param hostId ID of Host to replace + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param hostId ID of Host to replace + @return Host */ Replace(ctx _context.Context, hostId string) (Host, *_nethttp.Response, error) /* Update Update an existing Host Updates the Host with the matching ID. Update is permitted only if the host is in the 'Ready' or 'Connection Updating Failed' state. Only the Host 'Description', 'Networks', 'NetworkForDefaultRoute', 'NetworkUntagged' and 'ISCSIConfig:InitiatorName' can be updated. 'ISCSIConfig:InitiatorName' can be updated only if the host has no volumes attached. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param hostId ID of host to update - * @param host Updated Host + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param hostId ID of host to update + - @param host Updated Host + @return Host */ Update(ctx _context.Context, hostId string, host Host) (Host, *_nethttp.Response, error) diff --git a/v1/pkg/client/interface_ippools.go b/v1/pkg/client/interface_ippools.go index 264954cb..f0526c9a 100644 --- a/v1/pkg/client/interface_ippools.go +++ b/v1/pkg/client/interface_ippools.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by ifacemaker; DO NOT EDIT. @@ -14,42 +14,47 @@ type IPPoolsAPI interface { /* AllocateIPs Allocate IPs from the pool Allocate IPs from the pool - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ippoolId ID of IP pool to allocate IPs - * @param iPAllocation IPs being requested starting from an optional base IP and their usage + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ippoolId ID of IP pool to allocate IPs + - @param iPAllocation IPs being requested starting from an optional base IP and their usage + @return IpPool */ AllocateIPs(ctx _context.Context, ippoolId string, iPAllocation []IpAllocation) (IpPool, *_nethttp.Response, error) /* GetByID Retrieve IP pool by ID Returns a single ip pool with matching ID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ippoolId ID of IP pool to return + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ippoolId ID of IP pool to return + @return IpPool */ GetByID(ctx _context.Context, ippoolId string) (IpPool, *_nethttp.Response, error) /* List List all ip pools in project Returns an array of all ip pool objects defined within the project. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return []IpPool */ List(ctx _context.Context) ([]IpPool, *_nethttp.Response, error) /* ReturnIPs Return IPs to the pool Return IPs to the pool - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ippoolId ID of IP pool to return IPs - * @param requestBody IP returned to the pool + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ippoolId ID of IP pool to return IPs + - @param requestBody IP returned to the pool + @return IpPool */ ReturnIPs(ctx _context.Context, ippoolId string, requestBody []string) (IpPool, *_nethttp.Response, error) /* Update Update IP pool by ID Update a single ip pool with matching ID. 'DefaultRoute' can only be updated if ip pool is not currently in-use. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param ippoolId ID of IP pool to update - * @param ipPool Update IPPool + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ippoolId ID of IP pool to update + - @param ipPool Update IPPool + @return IpPool */ Update(ctx _context.Context, ippoolId string, ipPool IpPool) (IpPool, *_nethttp.Response, error) diff --git a/v1/pkg/client/interface_networks.go b/v1/pkg/client/interface_networks.go index 9ebc9a68..c849124f 100644 --- a/v1/pkg/client/interface_networks.go +++ b/v1/pkg/client/interface_networks.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by ifacemaker; DO NOT EDIT. @@ -14,39 +14,43 @@ type NetworksAPI interface { /* Add Add a new network Adds a new network that can be referenced when creating a Host - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param newNetwork Network that is to be added to the project + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param newNetwork Network that is to be added to the project + @return Network */ Add(ctx _context.Context, newNetwork NewNetwork) (Network, *_nethttp.Response, error) /* Delete Delete a network Deletes the network with the matching ID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param networkId ID of network to delete + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param networkId ID of network to delete */ Delete(ctx _context.Context, networkId string) (*_nethttp.Response, error) /* GetByID Retrieve network by ID Returns a single network with matching ID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param networkId ID of network to return + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param networkId ID of network to return + @return Network */ GetByID(ctx _context.Context, networkId string) (Network, *_nethttp.Response, error) /* List List all networks in project Returns an array of all network objects defined within the project. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return []Network */ List(ctx _context.Context) ([]Network, *_nethttp.Response, error) /* Update Update an existing network. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param networkId ID of network to update - * @param network Updated network + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param networkId ID of network to update + - @param network Updated network + @return Network */ Update(ctx _context.Context, networkId string, network Network) (Network, *_nethttp.Response, error) diff --git a/v1/pkg/client/interface_projects.go b/v1/pkg/client/interface_projects.go index f2cbd191..af98cbc9 100644 --- a/v1/pkg/client/interface_projects.go +++ b/v1/pkg/client/interface_projects.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by ifacemaker; DO NOT EDIT. @@ -14,45 +14,49 @@ type ProjectsAPI interface { /* Add Create a new project Adds a new Project which creates an isolated space for creating Hosts, Volumes, and private Networks. A project is often aligned to a specific team within an organization or a cluster. If GreenLake IAM issued token is used for authentication, then it is required to pass either 'Space' or 'spaceid' header. When both are set, 'Space' header is ignored. Note that Hoster or BMaaS Access Owner role is required for this operation. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param newProject NewProject parameters to create a new Project - * @param optional nil or *ProjectsApiAddOpts - Optional Parameters: - * @param "Space" (optional.String) - GreenLake space name - * @param "Spaceid" (optional.String) - GreenLake space ID + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param newProject NewProject parameters to create a new Project + - @param optional nil or *ProjectsApiAddOpts - Optional Parameters: + - @param "Space" (optional.String) - GreenLake space name + - @param "Spaceid" (optional.String) - GreenLake space ID + @return Project */ Add(ctx _context.Context, newProject NewProject, localVarOptionals *ProjectsApiAddOpts) (Project, *_nethttp.Response, error) /* Delete Delete a Project Deletes the Project with the matching ID. Note that Hoster or BMaaS Access Owner role is required for this operation. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param projectId ID of project to delete + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param projectId ID of project to delete */ Delete(ctx _context.Context, projectId string) (*_nethttp.Response, error) /* GetByID Retrieve a project by its ID Returns a single Project object with its matching ID This includes profile information for the project and project limits on resouces like hosts, private networks, volumes, and volume capacity. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param projectId ID of project to return + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param projectId ID of project to return + @return Project */ GetByID(ctx _context.Context, projectId string) (Project, *_nethttp.Response, error) /* List List of all Projects within an organization or cluster Returns an array of all Project objects that have been created. This includes profile information for the project and project limits on resouces like hosts, private networks, volumes, and volume capacity. If GreenLake IAM issued token is used for authentication, then it is required to pass either 'Space' or 'spaceid' header. When both are set, 'Space' header is ignored. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *ProjectsApiListOpts - Optional Parameters: - * @param "Spaceid" (optional.String) - GreenLake space ID - * @param "Space" (optional.String) - GreenLake space name + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param optional nil or *ProjectsApiListOpts - Optional Parameters: + - @param "Spaceid" (optional.String) - GreenLake space ID + - @param "Space" (optional.String) - GreenLake space name + @return []Project */ List(ctx _context.Context, localVarOptionals *ProjectsApiListOpts) ([]Project, *_nethttp.Response, error) /* Update Update a project by its ID Updates a project with a matching ID. Only Project 'Name', 'Profile' and 'Limits' can be updated with this operation. Note that Hoster or BMaaS Access Owner role is required for this operation. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param projectId ID of project to update - * @param project Project parameters to update an existing Project + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param projectId ID of project to update + - @param project Project parameters to update an existing Project + @return Project */ Update(ctx _context.Context, projectId string, project Project) (Project, *_nethttp.Response, error) diff --git a/v1/pkg/client/interface_projects_info.go b/v1/pkg/client/interface_projects_info.go index f9b5b471..1d0e2e17 100644 --- a/v1/pkg/client/interface_projects_info.go +++ b/v1/pkg/client/interface_projects_info.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by ifacemaker; DO NOT EDIT. @@ -14,11 +14,12 @@ type ProjectsInfoAPI interface { /* List List of all projects info within an organization or cluster for which user is authorized. Returns an object with information on projects, machine sizes, and volume flavors. The 'Projects' list includes projects authorized for a user, and the 'MachineSizes' and 'VolumeFlavors' list include only those machine sizes and volume flavors permitted for projects. When GreenLake IAM issued token is used for authentication, it is required to pass either 'Space' or 'spaceid' header. When both are set, 'Space' header is ignored. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *ProjectsInfoApiListOpts - Optional Parameters: - * @param "Space" (optional.String) - GreenLake space name - * @param "Spaceid" (optional.String) - GreenLake space ID - * @param "Siteid" (optional.String) - GreenLake site ID + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param optional nil or *ProjectsInfoApiListOpts - Optional Parameters: + - @param "Space" (optional.String) - GreenLake space name + - @param "Spaceid" (optional.String) - GreenLake space ID + - @param "Siteid" (optional.String) - GreenLake site ID + @return ProjectsInfo */ List(ctx _context.Context, localVarOptionals *ProjectsInfoApiListOpts) (ProjectsInfo, *_nethttp.Response, error) diff --git a/v1/pkg/client/interface_sshkeys.go b/v1/pkg/client/interface_sshkeys.go index fa9ab334..68c71780 100644 --- a/v1/pkg/client/interface_sshkeys.go +++ b/v1/pkg/client/interface_sshkeys.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by ifacemaker; DO NOT EDIT. @@ -14,39 +14,43 @@ type SshkeysAPI interface { /* Add Add a new SSH Key Adds a new SSH Key that can be referenced when creating a Host - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param newSshKey SSH Key that is to be added to the project + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param newSshKey SSH Key that is to be added to the project + @return SshKey */ Add(ctx _context.Context, newSshKey NewSshKey) (SshKey, *_nethttp.Response, error) /* Delete Delete an SSH key Deletes the SSH key with the matching ID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param sshkeyId ID of sshkey to delete + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param sshkeyId ID of sshkey to delete */ Delete(ctx _context.Context, sshkeyId string) (*_nethttp.Response, error) /* GetByID Retrieve SSH Key by ID Returns a single SSH key with matching ID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param sshkeyId ID of sshkey to return + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param sshkeyId ID of sshkey to return + @return SshKey */ GetByID(ctx _context.Context, sshkeyId string) (SshKey, *_nethttp.Response, error) /* List List all sshkeys in project Returns an array of all SSHKey objects defined within the project. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return []SshKey */ List(ctx _context.Context) ([]SshKey, *_nethttp.Response, error) /* Update Update an existing SSH Key. Only 'Name' or 'Key' fields can be changed. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param sshkeyId ID of sshkey to update - * @param sshKey Updated SSH key + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param sshkeyId ID of sshkey to update + - @param sshKey Updated SSH key + @return SshKey */ Update(ctx _context.Context, sshkeyId string, sshKey SshKey) (SshKey, *_nethttp.Response, error) diff --git a/v1/pkg/client/interface_usage_reports.go b/v1/pkg/client/interface_usage_reports.go index 80d0717d..0fc6be27 100644 --- a/v1/pkg/client/interface_usage_reports.go +++ b/v1/pkg/client/interface_usage_reports.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by ifacemaker; DO NOT EDIT. @@ -14,10 +14,11 @@ type UsageReportsAPI interface { /* Get Get a usage report Creates and returns a usage report based on the parameters passed in the request body - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param start Start of the billing period - * @param optional nil or *UsageReportsApiGetOpts - Optional Parameters: - * @param "End" (optional.String) - End of the billing period, default to now if omitted + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param start Start of the billing period + - @param optional nil or *UsageReportsApiGetOpts - Optional Parameters: + - @param "End" (optional.String) - End of the billing period, default to now if omitted + @return UsageReport */ Get(ctx _context.Context, start string, localVarOptionals *UsageReportsApiGetOpts) (UsageReport, *_nethttp.Response, error) diff --git a/v1/pkg/client/interface_version.go b/v1/pkg/client/interface_version.go index b479dc63..dc2498cc 100644 --- a/v1/pkg/client/interface_version.go +++ b/v1/pkg/client/interface_version.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by ifacemaker; DO NOT EDIT. @@ -13,7 +13,8 @@ import ( type VersionAPI interface { /* Get Get api server build version - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return Version */ Get(ctx _context.Context) (Version, *_nethttp.Response, error) diff --git a/v1/pkg/client/interface_volume_attachments.go b/v1/pkg/client/interface_volume_attachments.go index 40452194..92574d49 100644 --- a/v1/pkg/client/interface_volume_attachments.go +++ b/v1/pkg/client/interface_volume_attachments.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by ifacemaker; DO NOT EDIT. @@ -14,30 +14,33 @@ type VolumeAttachmentsAPI interface { /* Add Create a new VolumeAttachment Adds a new VolumeAttachment which enables a machine to use a volume. Note that this API is for creation of a VolumeAttachment for non-Hosts. A VolumeAttachment resource must be deleted using the 'DELETE /volume-attachments/{attachmentId}' API. For regular hosts, a VolumeAttachment is created via the 'POST /volumes/{volumeId}/attach' API. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param newVolumeAttachment NewVolumeAttachement parameters to create a new VolumeAttachment. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param newVolumeAttachment NewVolumeAttachement parameters to create a new VolumeAttachment. + @return VolumeAttachment */ Add(ctx _context.Context, newVolumeAttachment NewVolumeAttachment) (VolumeAttachment, *_nethttp.Response, error) /* Delete Delete a VolumeAttachment Deletes the VolumeAttachment with the matching ID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param attachmentId ID of VolumeAttachment to delete + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param attachmentId ID of VolumeAttachment to delete */ Delete(ctx _context.Context, attachmentId string) (*_nethttp.Response, error) /* GetByID Retrieve volume attachment by ID Returns a single volume attachment with matching ID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param attachmentId ID of volume attachment to return + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param attachmentId ID of volume attachment to return + @return VolumeAttachment */ GetByID(ctx _context.Context, attachmentId string) (VolumeAttachment, *_nethttp.Response, error) /* List List all volume attachments in project Returns an array of all VolumeAttachments defined within the project. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return []VolumeAttachment */ List(ctx _context.Context) ([]VolumeAttachment, *_nethttp.Response, error) diff --git a/v1/pkg/client/interface_volumes.go b/v1/pkg/client/interface_volumes.go index ee5a3fa5..c343a519 100644 --- a/v1/pkg/client/interface_volumes.go +++ b/v1/pkg/client/interface_volumes.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by ifacemaker; DO NOT EDIT. @@ -14,55 +14,60 @@ type VolumesAPI interface { /* Add Add a new volume Adds a new volume to the project. Volumes may be created separately and then referenced in the create Host call; or volumes may be created directly within the create Host call. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param newVolume Volume that is to be added to the project + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param newVolume Volume that is to be added to the project + @return Volume */ Add(ctx _context.Context, newVolume NewVolume) (Volume, *_nethttp.Response, error) /* Attach Attach existing volume to Host Attaches the indicated volume to a host identified in the requestBody. This attachment will create a VolumeAttachment object that contains details about the connection of the volume and will update the Host with iSCSI configuration information. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param volumeId ID of volume to attach - * @param volumeAttachHostUuid Unique ID of the Host to which the volume will be attached + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param volumeId ID of volume to attach + - @param volumeAttachHostUuid Unique ID of the Host to which the volume will be attached + @return VolumeAttachment */ Attach(ctx _context.Context, volumeId string, volumeAttachHostUuid VolumeAttachHostUuid) (VolumeAttachment, *_nethttp.Response, error) /* Delete Delete a volume Deletes the volume with the matching ID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param volumeId ID of volume to delete + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param volumeId ID of volume to delete */ Delete(ctx _context.Context, volumeId string) (*_nethttp.Response, error) /* Detach Detach existing volume from Host Detaches the indicated volume from the host identified in the requestBody. This detachment will delete the VolumeAttachment object that contains details about the connection of the volume and will update the Host to remove selected iSCSI configuration information. Note that the HostID is required in the body of the request to ensure that the operation is well understood and that a volume is not accidently being removed from the wrong host. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param volumeId ID of volume to attach - * @param volumeAttachHostUuid Unique ID of the Host from which a volume will be detached + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param volumeId ID of volume to attach + - @param volumeAttachHostUuid Unique ID of the Host from which a volume will be detached */ Detach(ctx _context.Context, volumeId string, volumeAttachHostUuid VolumeAttachHostUuid) (*_nethttp.Response, error) /* GetByID Retrieve volume by ID Returns a single volume with matching ID - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param volumeId ID of volume to return + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param volumeId ID of volume to return + @return Volume */ GetByID(ctx _context.Context, volumeId string) (Volume, *_nethttp.Response, error) /* List List all volumes in project Returns an array of all volumes defined within the project. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return []Volume */ List(ctx _context.Context) ([]Volume, *_nethttp.Response, error) /* Update Update an existing volume Updates volume with matching ID. Update is permitted only when volume is in 'Allocated' or 'Visible' state. Only the Volume 'Capacity' can be updated with a value greater than the existing one to expand the volume. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param volume Volume object with its ID and Capacity in GiB indicating the expanded size to be specified. + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param volume Volume object with its ID and Capacity in GiB indicating the expanded size to be specified. + @return Volume */ Update(ctx _context.Context, volume Volume) (Volume, *_nethttp.Response, error) diff --git a/v1/pkg/client/model_add_volume.go b/v1/pkg/client/model_add_volume.go index 080a5e26..0303f192 100644 --- a/v1/pkg/client/model_add_volume.go +++ b/v1/pkg/client/model_add_volume.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_allocation.go b/v1/pkg/client/model_allocation.go index 42c23b78..c935de75 100644 --- a/v1/pkg/client/model_allocation.go +++ b/v1/pkg/client/model_allocation.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_allocation_storage.go b/v1/pkg/client/model_allocation_storage.go index 69e45107..7d9ddd42 100644 --- a/v1/pkg/client/model_allocation_storage.go +++ b/v1/pkg/client/model_allocation_storage.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_available_image.go b/v1/pkg/client/model_available_image.go index 3bba6a36..33a8eb49 100644 --- a/v1/pkg/client/model_available_image.go +++ b/v1/pkg/client/model_available_image.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_available_network.go b/v1/pkg/client/model_available_network.go index e5e4ed44..cc7e0819 100644 --- a/v1/pkg/client/model_available_network.go +++ b/v1/pkg/client/model_available_network.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_available_resources.go b/v1/pkg/client/model_available_resources.go index 44ece13b..a099f149 100644 --- a/v1/pkg/client/model_available_resources.go +++ b/v1/pkg/client/model_available_resources.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_country.go b/v1/pkg/client/model_country.go index 18f67b23..fc4870da 100644 --- a/v1/pkg/client/model_country.go +++ b/v1/pkg/client/model_country.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_error_response.go b/v1/pkg/client/model_error_response.go index 0056402e..839c7cb4 100644 --- a/v1/pkg/client/model_error_response.go +++ b/v1/pkg/client/model_error_response.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_flavor_desc.go b/v1/pkg/client/model_flavor_desc.go index 44077334..dfdfda1a 100644 --- a/v1/pkg/client/model_flavor_desc.go +++ b/v1/pkg/client/model_flavor_desc.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_health_status.go b/v1/pkg/client/model_health_status.go index a5c513d8..553ab604 100644 --- a/v1/pkg/client/model_health_status.go +++ b/v1/pkg/client/model_health_status.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_host.go b/v1/pkg/client/model_host.go index 73426521..41c36ad3 100644 --- a/v1/pkg/client/model_host.go +++ b/v1/pkg/client/model_host.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_host_alert_info.go b/v1/pkg/client/model_host_alert_info.go index 8cf44f58..48eaab85 100644 --- a/v1/pkg/client/model_host_alert_info.go +++ b/v1/pkg/client/model_host_alert_info.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_host_all_of.go b/v1/pkg/client/model_host_all_of.go index 758454ac..586724ad 100644 --- a/v1/pkg/client/model_host_all_of.go +++ b/v1/pkg/client/model_host_all_of.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_host_connection.go b/v1/pkg/client/model_host_connection.go index ab0b9337..ea740647 100644 --- a/v1/pkg/client/model_host_connection.go +++ b/v1/pkg/client/model_host_connection.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_host_iscsi_config.go b/v1/pkg/client/model_host_iscsi_config.go index a8ab9785..fc5d76de 100644 --- a/v1/pkg/client/model_host_iscsi_config.go +++ b/v1/pkg/client/model_host_iscsi_config.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_host_network_connection.go b/v1/pkg/client/model_host_network_connection.go index 756e79ab..f6d1cd66 100644 --- a/v1/pkg/client/model_host_network_connection.go +++ b/v1/pkg/client/model_host_network_connection.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_host_power_state.go b/v1/pkg/client/model_host_power_state.go index a8abf04e..82998fb0 100644 --- a/v1/pkg/client/model_host_power_state.go +++ b/v1/pkg/client/model_host_power_state.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_host_server_port.go b/v1/pkg/client/model_host_server_port.go index 201370fb..59d5c787 100644 --- a/v1/pkg/client/model_host_server_port.go +++ b/v1/pkg/client/model_host_server_port.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_host_state.go b/v1/pkg/client/model_host_state.go index 08d04b88..0c3a8c25 100644 --- a/v1/pkg/client/model_host_state.go +++ b/v1/pkg/client/model_host_state.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_host_substate.go b/v1/pkg/client/model_host_substate.go index f2a91143..af47fa38 100644 --- a/v1/pkg/client/model_host_substate.go +++ b/v1/pkg/client/model_host_substate.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_host_usage_entry.go b/v1/pkg/client/model_host_usage_entry.go index ed933166..70c86cb6 100644 --- a/v1/pkg/client/model_host_usage_entry.go +++ b/v1/pkg/client/model_host_usage_entry.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_host_usage_entry_all_of.go b/v1/pkg/client/model_host_usage_entry_all_of.go index 5f476e56..84b17ac2 100644 --- a/v1/pkg/client/model_host_usage_entry_all_of.go +++ b/v1/pkg/client/model_host_usage_entry_all_of.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_ip_allocation.go b/v1/pkg/client/model_ip_allocation.go index 08482b9a..98601858 100644 --- a/v1/pkg/client/model_ip_allocation.go +++ b/v1/pkg/client/model_ip_allocation.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_ip_pool.go b/v1/pkg/client/model_ip_pool.go index c381158d..9a2ddd7a 100644 --- a/v1/pkg/client/model_ip_pool.go +++ b/v1/pkg/client/model_ip_pool.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_ip_pool_all_of.go b/v1/pkg/client/model_ip_pool_all_of.go index 1534c7e4..df51c58c 100644 --- a/v1/pkg/client/model_ip_pool_all_of.go +++ b/v1/pkg/client/model_ip_pool_all_of.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_ip_pool_stats.go b/v1/pkg/client/model_ip_pool_stats.go index 0a356e9d..521ea6f2 100644 --- a/v1/pkg/client/model_ip_pool_stats.go +++ b/v1/pkg/client/model_ip_pool_stats.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_ip_range.go b/v1/pkg/client/model_ip_range.go index 3d622823..33127840 100644 --- a/v1/pkg/client/model_ip_range.go +++ b/v1/pkg/client/model_ip_range.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_ip_source.go b/v1/pkg/client/model_ip_source.go index 565e333d..78f5cb64 100644 --- a/v1/pkg/client/model_ip_source.go +++ b/v1/pkg/client/model_ip_source.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_ip_ver.go b/v1/pkg/client/model_ip_ver.go index 72d1cc0d..96c796af 100644 --- a/v1/pkg/client/model_ip_ver.go +++ b/v1/pkg/client/model_ip_ver.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_iscsi_parameters.go b/v1/pkg/client/model_iscsi_parameters.go index dfe0b36a..76b5351d 100644 --- a/v1/pkg/client/model_iscsi_parameters.go +++ b/v1/pkg/client/model_iscsi_parameters.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_limits.go b/v1/pkg/client/model_limits.go index 0647799d..42914f84 100644 --- a/v1/pkg/client/model_limits.go +++ b/v1/pkg/client/model_limits.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_location_info.go b/v1/pkg/client/model_location_info.go index 87750a2c..8be234a0 100644 --- a/v1/pkg/client/model_location_info.go +++ b/v1/pkg/client/model_location_info.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_machine_inventory.go b/v1/pkg/client/model_machine_inventory.go index 32072147..9db96023 100644 --- a/v1/pkg/client/model_machine_inventory.go +++ b/v1/pkg/client/model_machine_inventory.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_machine_size.go b/v1/pkg/client/model_machine_size.go index 9b0838c1..f5fb3b63 100644 --- a/v1/pkg/client/model_machine_size.go +++ b/v1/pkg/client/model_machine_size.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_machine_size_info.go b/v1/pkg/client/model_machine_size_info.go index c3055c7f..66cf4909 100644 --- a/v1/pkg/client/model_machine_size_info.go +++ b/v1/pkg/client/model_machine_size_info.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_netmask.go b/v1/pkg/client/model_netmask.go index 3e738f58..5fcc05a4 100644 --- a/v1/pkg/client/model_netmask.go +++ b/v1/pkg/client/model_netmask.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_network.go b/v1/pkg/client/model_network.go index 0f8ad89d..8f41c777 100644 --- a/v1/pkg/client/model_network.go +++ b/v1/pkg/client/model_network.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_network_all_of.go b/v1/pkg/client/model_network_all_of.go index 820cddd2..92dda870 100644 --- a/v1/pkg/client/model_network_all_of.go +++ b/v1/pkg/client/model_network_all_of.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_network_host_use.go b/v1/pkg/client/model_network_host_use.go index f4a68098..f8eeee3b 100644 --- a/v1/pkg/client/model_network_host_use.go +++ b/v1/pkg/client/model_network_host_use.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_network_purpose.go b/v1/pkg/client/model_network_purpose.go index 03937095..d23f963d 100644 --- a/v1/pkg/client/model_network_purpose.go +++ b/v1/pkg/client/model_network_purpose.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_new_host.go b/v1/pkg/client/model_new_host.go index 442d79ae..c83c5cba 100644 --- a/v1/pkg/client/model_new_host.go +++ b/v1/pkg/client/model_new_host.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_new_ip_pool.go b/v1/pkg/client/model_new_ip_pool.go index dbd3e908..0b562ebd 100644 --- a/v1/pkg/client/model_new_ip_pool.go +++ b/v1/pkg/client/model_new_ip_pool.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_new_network.go b/v1/pkg/client/model_new_network.go index 646555b1..290f2a1f 100644 --- a/v1/pkg/client/model_new_network.go +++ b/v1/pkg/client/model_new_network.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_new_project.go b/v1/pkg/client/model_new_project.go index 2541ba5e..1bd32d45 100644 --- a/v1/pkg/client/model_new_project.go +++ b/v1/pkg/client/model_new_project.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_new_ssh_key.go b/v1/pkg/client/model_new_ssh_key.go index 57adc024..5ea0a58a 100644 --- a/v1/pkg/client/model_new_ssh_key.go +++ b/v1/pkg/client/model_new_ssh_key.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_new_volume.go b/v1/pkg/client/model_new_volume.go index 24af9faa..efe612fe 100644 --- a/v1/pkg/client/model_new_volume.go +++ b/v1/pkg/client/model_new_volume.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_new_volume_attachment.go b/v1/pkg/client/model_new_volume_attachment.go index dc3d36cd..04697613 100644 --- a/v1/pkg/client/model_new_volume_attachment.go +++ b/v1/pkg/client/model_new_volume_attachment.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_pool.go b/v1/pkg/client/model_pool.go index db630405..7f9deffe 100644 --- a/v1/pkg/client/model_pool.go +++ b/v1/pkg/client/model_pool.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_profile.go b/v1/pkg/client/model_profile.go index c7967bf1..9d003e91 100644 --- a/v1/pkg/client/model_profile.go +++ b/v1/pkg/client/model_profile.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_project.go b/v1/pkg/client/model_project.go index dfadb6e7..b0f53cc4 100644 --- a/v1/pkg/client/model_project.go +++ b/v1/pkg/client/model_project.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_project_all_of.go b/v1/pkg/client/model_project_all_of.go index 02c1269f..8604c5f7 100644 --- a/v1/pkg/client/model_project_all_of.go +++ b/v1/pkg/client/model_project_all_of.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_project_info.go b/v1/pkg/client/model_project_info.go index 26382e7c..ad0e42aa 100644 --- a/v1/pkg/client/model_project_info.go +++ b/v1/pkg/client/model_project_info.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_project_resources.go b/v1/pkg/client/model_project_resources.go index 59c00fb4..5418987b 100644 --- a/v1/pkg/client/model_project_resources.go +++ b/v1/pkg/client/model_project_resources.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_projects_info.go b/v1/pkg/client/model_projects_info.go index cb2c6a70..d578e6c5 100644 --- a/v1/pkg/client/model_projects_info.go +++ b/v1/pkg/client/model_projects_info.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_protocol_kind.go b/v1/pkg/client/model_protocol_kind.go index d08dee37..ac6bff61 100644 --- a/v1/pkg/client/model_protocol_kind.go +++ b/v1/pkg/client/model_protocol_kind.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_protocol_parameters.go b/v1/pkg/client/model_protocol_parameters.go index 624ec4d3..75c7c9eb 100644 --- a/v1/pkg/client/model_protocol_parameters.go +++ b/v1/pkg/client/model_protocol_parameters.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_resource_base.go b/v1/pkg/client/model_resource_base.go index 466d9b7a..2e420e3b 100644 --- a/v1/pkg/client/model_resource_base.go +++ b/v1/pkg/client/model_resource_base.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_service_server_info.go b/v1/pkg/client/model_service_server_info.go index 07ba3c2d..1df1ba03 100644 --- a/v1/pkg/client/model_service_server_info.go +++ b/v1/pkg/client/model_service_server_info.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_service_storage_info.go b/v1/pkg/client/model_service_storage_info.go index 921ca535..09c818bb 100644 --- a/v1/pkg/client/model_service_storage_info.go +++ b/v1/pkg/client/model_service_storage_info.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_ssh_key.go b/v1/pkg/client/model_ssh_key.go index 71ec6476..cbdf32b4 100644 --- a/v1/pkg/client/model_ssh_key.go +++ b/v1/pkg/client/model_ssh_key.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_ssh_key_all_of.go b/v1/pkg/client/model_ssh_key_all_of.go index ffb9aeb3..89bb5bb6 100644 --- a/v1/pkg/client/model_ssh_key_all_of.go +++ b/v1/pkg/client/model_ssh_key_all_of.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_ssh_key_entry.go b/v1/pkg/client/model_ssh_key_entry.go index 7098fcb8..9ef9a570 100644 --- a/v1/pkg/client/model_ssh_key_entry.go +++ b/v1/pkg/client/model_ssh_key_entry.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_storage_inventory.go b/v1/pkg/client/model_storage_inventory.go index bbcd38f3..b6e32af6 100644 --- a/v1/pkg/client/model_storage_inventory.go +++ b/v1/pkg/client/model_storage_inventory.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_summary_info.go b/v1/pkg/client/model_summary_info.go index 0bdbe723..17b12194 100644 --- a/v1/pkg/client/model_summary_info.go +++ b/v1/pkg/client/model_summary_info.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_usage_entry_base.go b/v1/pkg/client/model_usage_entry_base.go index da2232e9..217d4c36 100644 --- a/v1/pkg/client/model_usage_entry_base.go +++ b/v1/pkg/client/model_usage_entry_base.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_usage_report.go b/v1/pkg/client/model_usage_report.go index e4c1d305..56397011 100644 --- a/v1/pkg/client/model_usage_report.go +++ b/v1/pkg/client/model_usage_report.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_use_record.go b/v1/pkg/client/model_use_record.go index f6f92d04..aeb45d89 100644 --- a/v1/pkg/client/model_use_record.go +++ b/v1/pkg/client/model_use_record.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_va_state_enum.go b/v1/pkg/client/model_va_state_enum.go index ec3275b4..a5d2c0c4 100644 --- a/v1/pkg/client/model_va_state_enum.go +++ b/v1/pkg/client/model_va_state_enum.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_vafs_config.go b/v1/pkg/client/model_vafs_config.go index 8dc4dede..bf0de919 100644 --- a/v1/pkg/client/model_vafs_config.go +++ b/v1/pkg/client/model_vafs_config.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_version.go b/v1/pkg/client/model_version.go index 964c6ccc..50b96dac 100644 --- a/v1/pkg/client/model_version.go +++ b/v1/pkg/client/model_version.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_volume.go b/v1/pkg/client/model_volume.go index 9f51ad2f..0f16daab 100644 --- a/v1/pkg/client/model_volume.go +++ b/v1/pkg/client/model_volume.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_volume_all_of.go b/v1/pkg/client/model_volume_all_of.go index acce34f0..f3915263 100644 --- a/v1/pkg/client/model_volume_all_of.go +++ b/v1/pkg/client/model_volume_all_of.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_volume_attach_host_uuid.go b/v1/pkg/client/model_volume_attach_host_uuid.go index fc952aa7..787b40d1 100644 --- a/v1/pkg/client/model_volume_attach_host_uuid.go +++ b/v1/pkg/client/model_volume_attach_host_uuid.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_volume_attachment.go b/v1/pkg/client/model_volume_attachment.go index d28eae2e..7078ff37 100644 --- a/v1/pkg/client/model_volume_attachment.go +++ b/v1/pkg/client/model_volume_attachment.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_volume_attachment_all_of.go b/v1/pkg/client/model_volume_attachment_all_of.go index b0854e16..7edded7c 100644 --- a/v1/pkg/client/model_volume_attachment_all_of.go +++ b/v1/pkg/client/model_volume_attachment_all_of.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_volume_flavor.go b/v1/pkg/client/model_volume_flavor.go index 4ef7aca8..82a341ad 100644 --- a/v1/pkg/client/model_volume_flavor.go +++ b/v1/pkg/client/model_volume_flavor.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_volume_flavors_info.go b/v1/pkg/client/model_volume_flavors_info.go index 5d6c12b7..f723ced6 100644 --- a/v1/pkg/client/model_volume_flavors_info.go +++ b/v1/pkg/client/model_volume_flavors_info.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_volume_info.go b/v1/pkg/client/model_volume_info.go index 0dc6597e..381e0069 100644 --- a/v1/pkg/client/model_volume_info.go +++ b/v1/pkg/client/model_volume_info.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_volume_state.go b/v1/pkg/client/model_volume_state.go index ca65a6af..74c2cf76 100644 --- a/v1/pkg/client/model_volume_state.go +++ b/v1/pkg/client/model_volume_state.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_volume_status.go b/v1/pkg/client/model_volume_status.go index bce87e32..24357f12 100644 --- a/v1/pkg/client/model_volume_status.go +++ b/v1/pkg/client/model_volume_status.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_volume_sub_state.go b/v1/pkg/client/model_volume_sub_state.go index 0bcb32f0..8695be30 100644 --- a/v1/pkg/client/model_volume_sub_state.go +++ b/v1/pkg/client/model_volume_sub_state.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_volume_usage_entry.go b/v1/pkg/client/model_volume_usage_entry.go index 03728ec1..1793296f 100644 --- a/v1/pkg/client/model_volume_usage_entry.go +++ b/v1/pkg/client/model_volume_usage_entry.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/model_volume_usage_entry_all_of.go b/v1/pkg/client/model_volume_usage_entry_all_of.go index a6842b1c..45b9f469 100644 --- a/v1/pkg/client/model_volume_usage_entry_all_of.go +++ b/v1/pkg/client/model_volume_usage_entry_all_of.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/client/response.go b/v1/pkg/client/response.go index 7e69e163..e6e067d9 100644 --- a/v1/pkg/client/response.go +++ b/v1/pkg/client/response.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP /* * HPE GreenLake for bare metal API diff --git a/v1/pkg/mockquakeclient/mock_allocation.go b/v1/pkg/mockquakeclient/mock_allocation.go index 04614af3..0f3cfcbc 100644 --- a/v1/pkg/mockquakeclient/mock_allocation.go +++ b/v1/pkg/mockquakeclient/mock_allocation.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by MockGen. DO NOT EDIT. // Source: interface_allocation.go diff --git a/v1/pkg/mockquakeclient/mock_available_resources.go b/v1/pkg/mockquakeclient/mock_available_resources.go index a820a1ef..cc2dcb3a 100644 --- a/v1/pkg/mockquakeclient/mock_available_resources.go +++ b/v1/pkg/mockquakeclient/mock_available_resources.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by MockGen. DO NOT EDIT. // Source: interface_available_resources.go diff --git a/v1/pkg/mockquakeclient/mock_hosts.go b/v1/pkg/mockquakeclient/mock_hosts.go index 0852d32e..066abda4 100644 --- a/v1/pkg/mockquakeclient/mock_hosts.go +++ b/v1/pkg/mockquakeclient/mock_hosts.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by MockGen. DO NOT EDIT. // Source: interface_hosts.go diff --git a/v1/pkg/mockquakeclient/mock_ippools.go b/v1/pkg/mockquakeclient/mock_ippools.go index 39fb9d79..77a4b290 100644 --- a/v1/pkg/mockquakeclient/mock_ippools.go +++ b/v1/pkg/mockquakeclient/mock_ippools.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by MockGen. DO NOT EDIT. // Source: interface_ippools.go diff --git a/v1/pkg/mockquakeclient/mock_networks.go b/v1/pkg/mockquakeclient/mock_networks.go index 5850ae1d..19ff425d 100644 --- a/v1/pkg/mockquakeclient/mock_networks.go +++ b/v1/pkg/mockquakeclient/mock_networks.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by MockGen. DO NOT EDIT. // Source: interface_networks.go diff --git a/v1/pkg/mockquakeclient/mock_projects.go b/v1/pkg/mockquakeclient/mock_projects.go index b7be133a..4cf9ebde 100644 --- a/v1/pkg/mockquakeclient/mock_projects.go +++ b/v1/pkg/mockquakeclient/mock_projects.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by MockGen. DO NOT EDIT. // Source: interface_projects.go diff --git a/v1/pkg/mockquakeclient/mock_projects_info.go b/v1/pkg/mockquakeclient/mock_projects_info.go index d81a968e..a881dcef 100644 --- a/v1/pkg/mockquakeclient/mock_projects_info.go +++ b/v1/pkg/mockquakeclient/mock_projects_info.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by MockGen. DO NOT EDIT. // Source: interface_projects_info.go diff --git a/v1/pkg/mockquakeclient/mock_sshkeys.go b/v1/pkg/mockquakeclient/mock_sshkeys.go index 4a7d731f..2feb41b9 100644 --- a/v1/pkg/mockquakeclient/mock_sshkeys.go +++ b/v1/pkg/mockquakeclient/mock_sshkeys.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by MockGen. DO NOT EDIT. // Source: interface_sshkeys.go diff --git a/v1/pkg/mockquakeclient/mock_usage_reports.go b/v1/pkg/mockquakeclient/mock_usage_reports.go index fadfddad..256108e0 100644 --- a/v1/pkg/mockquakeclient/mock_usage_reports.go +++ b/v1/pkg/mockquakeclient/mock_usage_reports.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by MockGen. DO NOT EDIT. // Source: interface_usage_reports.go diff --git a/v1/pkg/mockquakeclient/mock_version.go b/v1/pkg/mockquakeclient/mock_version.go index 8efa365e..eafedfea 100644 --- a/v1/pkg/mockquakeclient/mock_version.go +++ b/v1/pkg/mockquakeclient/mock_version.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by MockGen. DO NOT EDIT. // Source: interface_version.go diff --git a/v1/pkg/mockquakeclient/mock_volume_attachments.go b/v1/pkg/mockquakeclient/mock_volume_attachments.go index 71c1db84..2a4cbe54 100644 --- a/v1/pkg/mockquakeclient/mock_volume_attachments.go +++ b/v1/pkg/mockquakeclient/mock_volume_attachments.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by MockGen. DO NOT EDIT. // Source: interface_volume_attachments.go diff --git a/v1/pkg/mockquakeclient/mock_volumes.go b/v1/pkg/mockquakeclient/mock_volumes.go index da3402f9..737084c7 100644 --- a/v1/pkg/mockquakeclient/mock_volumes.go +++ b/v1/pkg/mockquakeclient/mock_volumes.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP // Code generated by MockGen. DO NOT EDIT. // Source: interface_volumes.go