From 83e0cb1a5d6c90c575562111132d6e97df7347b0 Mon Sep 17 00:00:00 2001 From: acabarbaye Date: Sat, 26 Aug 2023 01:20:19 +0000 Subject: [PATCH] =?UTF-8?q?:sparkles:=20Automatic=20changes=20->=20?= =?UTF-8?q?=E2=9C=A8=20New=20server=20autogenerated=20files=20[ci=20skip]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changes/20230826012018.feature | 1 + client/.openapi-generator/FILES | 26 ++-- client/.openapi-generator/VERSION | 2 +- client/README.md | 128 +++++++++--------- client/api_boards.go | 20 +-- client/api_build_jobs.go | 68 +++++----- client/api_cmsis_builders.go | 28 ++-- client/api_cmsis_intellisense_builders.go | 28 ++-- client/api_devices.go | 20 +-- client/api_intellisense_jobs.go | 68 +++++----- client/api_root_resource.go | 12 +- client/api_vendors.go | 28 ++-- client/api_vht_run_jobs.go | 44 +++--- client/api_virtual_hardware_target.go | 36 ++--- .../api_virtual_hardware_target_instance.go | 92 ++++++------- client/api_workspace.go | 100 +++++++------- client/api_workspace_source.go | 20 +-- client/client.go | 60 ++++---- client/docs/{BoardsApi.md => BoardsAPI.md} | 18 +-- .../docs/{BuildJobsApi.md => BuildJobsAPI.md} | 64 ++++----- ...MSISBuildersApi.md => CMSISBuildersAPI.md} | 26 ++-- ...Api.md => CMSISIntellisenseBuildersAPI.md} | 26 ++-- client/docs/{DevicesApi.md => DevicesAPI.md} | 18 +-- ...senseJobsApi.md => IntellisenseJobsAPI.md} | 64 ++++----- ...{RootResourceApi.md => RootResourceAPI.md} | 10 +- .../{VHTRunJobsApi.md => VHTRunJobsAPI.md} | 40 +++--- client/docs/{VendorsApi.md => VendorsAPI.md} | 26 ++-- ...rgetApi.md => VirtualHardwareTargetAPI.md} | 34 ++--- ...md => VirtualHardwareTargetInstanceAPI.md} | 86 ++++++------ .../docs/{WorkspaceApi.md => WorkspaceAPI.md} | 92 ++++++------- ...paceSourceApi.md => WorkspaceSourceAPI.md} | 18 +-- client/go.mod | 7 +- client/go.sum | 28 ++-- client/model_artefact_manager_collection.go | 4 +- client/model_board_item.go | 2 +- client/model_build_job_collection.go | 4 +- client/model_build_job_item.go | 16 ++- client/model_build_message_item.go | 2 +- client/model_cmsis_builder_collection.go | 4 +- client/model_cmsis_builder_item.go | 10 +- ...del_cmsis_builder_item_deprecation_info.go | 12 +- client/model_cmsis_intellisense_collection.go | 4 +- client/model_cmsis_intellisense_item.go | 12 +- ...msis_intellisense_item_deprecation_info.go | 12 +- client/model_common_metadata.go | 4 +- client/model_device_item.go | 2 +- client/model_error_response.go | 6 +- client/model_field_object.go | 8 +- client/model_intellisense_job_collection.go | 4 +- client/model_intellisense_job_item.go | 16 ++- client/model_intellisense_message_item.go | 2 +- client/model_list_boards_collection.go | 4 +- client/model_list_devices_collection.go | 4 +- client/model_list_vendors_collection.go | 4 +- client/model_message_object.go | 14 +- client/model_notification_feed.go | 2 +- client/model_notification_message_object.go | 14 +- client/model_paging_metadata.go | 12 +- client/model_simple_collection.go | 4 +- client/model_vendor_item.go | 4 +- client/model_vht_collection.go | 4 +- client/model_vht_instance_collection.go | 4 +- client/model_vht_instance_item.go | 12 +- client/model_vht_item.go | 14 +- client/model_vht_run_job_collection.go | 4 +- client/model_vht_run_job_item.go | 14 +- client/model_workspace_collection.go | 4 +- client/model_workspace_details_item.go | 8 +- client/model_workspace_item.go | 6 +- ...el_workspace_repository_content_manager.go | 2 +- client/model_workspace_source_collection.go | 4 +- client/model_workspace_source_item.go | 10 +- 72 files changed, 822 insertions(+), 788 deletions(-) create mode 100644 changes/20230826012018.feature rename client/docs/{BoardsApi.md => BoardsAPI.md} (92%) rename client/docs/{BuildJobsApi.md => BuildJobsAPI.md} (92%) rename client/docs/{CMSISBuildersApi.md => CMSISBuildersAPI.md} (93%) rename client/docs/{CMSISIntellisenseBuildersApi.md => CMSISIntellisenseBuildersAPI.md} (93%) rename client/docs/{DevicesApi.md => DevicesAPI.md} (92%) rename client/docs/{IntellisenseJobsApi.md => IntellisenseJobsAPI.md} (93%) rename client/docs/{RootResourceApi.md => RootResourceAPI.md} (93%) rename client/docs/{VHTRunJobsApi.md => VHTRunJobsAPI.md} (91%) rename client/docs/{VendorsApi.md => VendorsAPI.md} (91%) rename client/docs/{VirtualHardwareTargetApi.md => VirtualHardwareTargetAPI.md} (94%) rename client/docs/{VirtualHardwareTargetInstanceApi.md => VirtualHardwareTargetInstanceAPI.md} (93%) rename client/docs/{WorkspaceApi.md => WorkspaceAPI.md} (93%) rename client/docs/{WorkspaceSourceApi.md => WorkspaceSourceAPI.md} (93%) diff --git a/changes/20230826012018.feature b/changes/20230826012018.feature new file mode 100644 index 0000000..db13c23 --- /dev/null +++ b/changes/20230826012018.feature @@ -0,0 +1 @@ +Updated client due to schema changes diff --git a/client/.openapi-generator/FILES b/client/.openapi-generator/FILES index d2d329d..e2f2892 100644 --- a/client/.openapi-generator/FILES +++ b/client/.openapi-generator/FILES @@ -25,15 +25,15 @@ docs/ArtefactManagerLinks.md docs/BoardItem.md docs/BoardItemFeaturesInner.md docs/BoardItemLinks.md -docs/BoardsApi.md +docs/BoardsAPI.md docs/BuildJobCollection.md docs/BuildJobItem.md docs/BuildJobItemLinks.md -docs/BuildJobsApi.md +docs/BuildJobsAPI.md docs/BuildMessageItem.md docs/BuildToolTypes.md -docs/CMSISBuildersApi.md -docs/CMSISIntellisenseBuildersApi.md +docs/CMSISBuildersAPI.md +docs/CMSISIntellisenseBuildersAPI.md docs/CmsisBuilderCollection.md docs/CmsisBuilderItem.md docs/CmsisBuilderItemDeprecationInfo.md @@ -47,7 +47,7 @@ docs/DeprecationInfo.md docs/DeviceItem.md docs/DeviceItemLinks.md docs/DeviceItemSourcePackId.md -docs/DevicesApi.md +docs/DevicesAPI.md docs/EmbeddedArtefactManagerItems.md docs/EmbeddedBoardItems.md docs/EmbeddedBuildJobItems.md @@ -69,7 +69,7 @@ docs/HalLinkData.md docs/IntellisenseJobCollection.md docs/IntellisenseJobItem.md docs/IntellisenseJobItemLinks.md -docs/IntellisenseJobsApi.md +docs/IntellisenseJobsAPI.md docs/IntellisenseMessageItem.md docs/ListBoardsCollection.md docs/ListDevicesCollection.md @@ -81,13 +81,13 @@ docs/PagingMetadata.md docs/ProcessorItem.md docs/RetainBuildJobRequest.md docs/RetainWorkspaceRequest.md -docs/RootResourceApi.md +docs/RootResourceAPI.md docs/SimpleCollection.md docs/ToolchainTypes.md -docs/VHTRunJobsApi.md +docs/VHTRunJobsAPI.md docs/VendorItem.md docs/VendorItemLinks.md -docs/VendorsApi.md +docs/VendorsAPI.md docs/VhtCollection.md docs/VhtInstanceCollection.md docs/VhtInstanceItem.md @@ -97,10 +97,10 @@ docs/VhtItemLinks.md docs/VhtRunJobCollection.md docs/VhtRunJobItem.md docs/VhtRunJobItemLinks.md -docs/VirtualHardwareTargetApi.md -docs/VirtualHardwareTargetInstanceApi.md +docs/VirtualHardwareTargetAPI.md +docs/VirtualHardwareTargetInstanceAPI.md docs/VirtualInterface.md -docs/WorkspaceApi.md +docs/WorkspaceAPI.md docs/WorkspaceCollection.md docs/WorkspaceDetailsItem.md docs/WorkspaceDetailsItemLinks.md @@ -108,7 +108,7 @@ docs/WorkspaceItem.md docs/WorkspaceItemLinks.md docs/WorkspaceRepositoryContentManager.md docs/WorkspaceRepositoryContentManagerLinks.md -docs/WorkspaceSourceApi.md +docs/WorkspaceSourceAPI.md docs/WorkspaceSourceCollection.md docs/WorkspaceSourceItem.md docs/WorkspaceSourceItemLinks.md diff --git a/client/.openapi-generator/VERSION b/client/.openapi-generator/VERSION index cd802a1..4122521 100644 --- a/client/.openapi-generator/VERSION +++ b/client/.openapi-generator/VERSION @@ -1 +1 @@ -6.6.0 \ No newline at end of file +7.0.0 \ No newline at end of file diff --git a/client/README.md b/client/README.md index beb42d7..4be942e 100644 --- a/client/README.md +++ b/client/README.md @@ -108,70 +108,70 @@ All URIs are relative to *https://all.api.keil.arm.com* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*BoardsApi* | [**GetBoard**](docs/BoardsApi.md#getboard) | **Get** /boards/{boardId}/ | Get a Board Item -*BoardsApi* | [**ListBoards**](docs/BoardsApi.md#listboards) | **Get** /boards/ | List all the Boards. -*BuildJobsApi* | [**CancelBuildJob**](docs/BuildJobsApi.md#cancelbuildjob) | **Post** /build-jobs/{jobName}/cancel | Cancel a Build Job -*BuildJobsApi* | [**DeleteBuildJob**](docs/BuildJobsApi.md#deletebuildjob) | **Delete** /build-jobs/{jobName} | Delete a Build Job -*BuildJobsApi* | [**GetBuildArtefact**](docs/BuildJobsApi.md#getbuildartefact) | **Get** /build-jobs/{jobName}/artefacts/{artefactName} | Download the named Build Artefact for the given Build Job. -*BuildJobsApi* | [**GetBuildJob**](docs/BuildJobsApi.md#getbuildjob) | **Get** /build-jobs/{jobName} | Return status of a Build Job. -*BuildJobsApi* | [**GetBuildMessages**](docs/BuildJobsApi.md#getbuildmessages) | **Get** /build-jobs/{jobName}/messages | Build Message Feed. -*BuildJobsApi* | [**ListBuildArtefacts**](docs/BuildJobsApi.md#listbuildartefacts) | **Get** /build-jobs/{jobName}/artefacts/ | List all the available Build Artefacts for the given Build Job. -*BuildJobsApi* | [**ListBuildJob**](docs/BuildJobsApi.md#listbuildjob) | **Get** /build-jobs/ | List all Build Jobs. -*BuildJobsApi* | [**RetainBuildJob**](docs/BuildJobsApi.md#retainbuildjob) | **Post** /build-jobs/{jobName}/retain | Update how long a build job will be retained before automatic deletion. -*CMSISBuildersApi* | [**GetCmsisBuilder**](docs/CMSISBuildersApi.md#getcmsisbuilder) | **Get** /cmsis-builders/{builderName} | Return details of specific CMSIS Builders. -*CMSISBuildersApi* | [**ListCmsisBuilders**](docs/CMSISBuildersApi.md#listcmsisbuilders) | **Get** /cmsis-builders/ | List available CMSIS Builders. -*CMSISBuildersApi* | [**StartCmsisBuild**](docs/CMSISBuildersApi.md#startcmsisbuild) | **Post** /cmsis-builders/{builderName} | Initiate a build using the specified CMSIS Builder. -*CMSISIntellisenseBuildersApi* | [**GetCmsisIntellisense**](docs/CMSISIntellisenseBuildersApi.md#getcmsisintellisense) | **Get** /cmsis-intellisense/{builderName} | Return details of specific CMSIS Intellisense Builders. -*CMSISIntellisenseBuildersApi* | [**ListCmsisIntellisense**](docs/CMSISIntellisenseBuildersApi.md#listcmsisintellisense) | **Get** /cmsis-intellisense/ | List available CMSIS Intellisense Builders. -*CMSISIntellisenseBuildersApi* | [**StartCmsisIntellisense**](docs/CMSISIntellisenseBuildersApi.md#startcmsisintellisense) | **Post** /cmsis-intellisense/{builderName} | Initiate a compilation database generation using the specified CMSIS Intellisense Builder. -*DevicesApi* | [**GetDevice**](docs/DevicesApi.md#getdevice) | **Get** /devices/{deviceSlug} | Get a Device Item -*DevicesApi* | [**ListDevices**](docs/DevicesApi.md#listdevices) | **Get** /devices/ | List all the Devices -*IntellisenseJobsApi* | [**CancelIntellisenseJob**](docs/IntellisenseJobsApi.md#cancelintellisensejob) | **Post** /intellisense-jobs/{jobName}/cancel | Cancel an Intellisense Job. -*IntellisenseJobsApi* | [**DeleteIntellisenseJob**](docs/IntellisenseJobsApi.md#deleteintellisensejob) | **Delete** /intellisense-jobs/{jobName} | Delete an Intellisense Job. -*IntellisenseJobsApi* | [**GetIntellisenseArtefact**](docs/IntellisenseJobsApi.md#getintellisenseartefact) | **Get** /intellisense-jobs/{jobName}/artefacts/{artefactName} | Download the named Intellisense Artefact for the given Intellisense Job. -*IntellisenseJobsApi* | [**GetIntellisenseJob**](docs/IntellisenseJobsApi.md#getintellisensejob) | **Get** /intellisense-jobs/{jobName} | Return status of an Intellisense Job. -*IntellisenseJobsApi* | [**GetIntellisenseMessages**](docs/IntellisenseJobsApi.md#getintellisensemessages) | **Get** /intellisense-jobs/{jobName}/messages | Intellisense Message Feed. -*IntellisenseJobsApi* | [**ListIntellisenseArtefacts**](docs/IntellisenseJobsApi.md#listintellisenseartefacts) | **Get** /intellisense-jobs/{jobName}/artefacts/ | List all the available Intellisense Artefacts for the given Intellisense Job. -*IntellisenseJobsApi* | [**ListIntellisenseJob**](docs/IntellisenseJobsApi.md#listintellisensejob) | **Get** /intellisense-jobs/ | List all Intellisense Jobs. -*IntellisenseJobsApi* | [**RetainIntellisenseJob**](docs/IntellisenseJobsApi.md#retainintellisensejob) | **Post** /intellisense-jobs/{jobName}/retain | Update how long an intellisense job will be retained before automatic deletion. -*RootResourceApi* | [**GetRoot**](docs/RootResourceApi.md#getroot) | **Get** / | Get the Root resource. -*VHTRunJobsApi* | [**CancelVhtRunJob**](docs/VHTRunJobsApi.md#cancelvhtrunjob) | **Post** /vht-run-jobs/{jobName}/cancel | Cancel a VHT run job. -*VHTRunJobsApi* | [**DeleteVhtRunJob**](docs/VHTRunJobsApi.md#deletevhtrunjob) | **Delete** /vht-run-jobs/{jobName} | Delete an VHT run Job. -*VHTRunJobsApi* | [**GetVhtRunJob**](docs/VHTRunJobsApi.md#getvhtrunjob) | **Get** /vht-run-jobs/{jobName} | Return status of an VHT run Job. -*VHTRunJobsApi* | [**GetVhtRunJobMessages**](docs/VHTRunJobsApi.md#getvhtrunjobmessages) | **Get** /vht-run-jobs/{jobName}/messages | VHT Run Job Message Feed. -*VHTRunJobsApi* | [**ListVhtRunJobs**](docs/VHTRunJobsApi.md#listvhtrunjobs) | **Get** /vht-run-jobs/ | List all run jobs on VHTs. -*VendorsApi* | [**CreateVendor**](docs/VendorsApi.md#createvendor) | **Post** /vendors/ | Create a new Vendor -*VendorsApi* | [**GetVendor**](docs/VendorsApi.md#getvendor) | **Get** /vendors/{vendorSlugOrId}/ | Get a Vendor Item -*VendorsApi* | [**ListVendors**](docs/VendorsApi.md#listvendors) | **Get** /vendors/ | List all the Vendors. -*VirtualHardwareTargetApi* | [**GetVht**](docs/VirtualHardwareTargetApi.md#getvht) | **Get** /vhts/{vhtName} | Return details of the specific VHT. -*VirtualHardwareTargetApi* | [**ListFilteredVhtInstances**](docs/VirtualHardwareTargetApi.md#listfilteredvhtinstances) | **Get** /vhts/{vhtName}/vht-instances/ | List all VHT instances related to this specific VHT. -*VirtualHardwareTargetApi* | [**ListVhts**](docs/VirtualHardwareTargetApi.md#listvhts) | **Get** /vhts/ | List available VHTs. -*VirtualHardwareTargetApi* | [**StartVhtInstance**](docs/VirtualHardwareTargetApi.md#startvhtinstance) | **Post** /vhts/{vhtName} | Spawns a VHT instance matching this VHT specification. -*VirtualHardwareTargetInstanceApi* | [**ClearVhtInstanceArtefact**](docs/VirtualHardwareTargetInstanceApi.md#clearvhtinstanceartefact) | **Delete** /vht-instances/{instanceName}/artefacts/{artefactName}/artefact | Clear the VHT artefact from the VHT instance. -*VirtualHardwareTargetInstanceApi* | [**DeleteVhtInstance**](docs/VirtualHardwareTargetInstanceApi.md#deletevhtinstance) | **Delete** /vht-instances/{instanceName} | Delete a VHT instance -*VirtualHardwareTargetInstanceApi* | [**DownloadVhtInstanceArtefact**](docs/VirtualHardwareTargetInstanceApi.md#downloadvhtinstanceartefact) | **Get** /vht-instances/{instanceName}/artefacts/{artefactName}/artefact | Download the artefact named `artefactName` present on this VHT instance. -*VirtualHardwareTargetInstanceApi* | [**GetVhtInstance**](docs/VirtualHardwareTargetInstanceApi.md#getvhtinstance) | **Get** /vht-instances/{instanceName} | Return status of a VHT instance. -*VirtualHardwareTargetInstanceApi* | [**GetVhtInstanceArtefactManager**](docs/VirtualHardwareTargetInstanceApi.md#getvhtinstanceartefactmanager) | **Get** /vht-instances/{instanceName}/artefacts/{artefactName} | Get the VHT artefact manager for the artefact named `artefactName` present of this VHT instance. -*VirtualHardwareTargetInstanceApi* | [**GetVhtInstanceMessages**](docs/VirtualHardwareTargetInstanceApi.md#getvhtinstancemessages) | **Get** /vht-instances/{instanceName}/messages | Instance Message Feed. -*VirtualHardwareTargetInstanceApi* | [**ListVhtInstanceArtefactManagers**](docs/VirtualHardwareTargetInstanceApi.md#listvhtinstanceartefactmanagers) | **Get** /vht-instances/{instanceName}/artefacts/ | List all the managers of the artefacts (e.g. binary, test input) available on a specific VHT instance. -*VirtualHardwareTargetInstanceApi* | [**ListVhtInstances**](docs/VirtualHardwareTargetInstanceApi.md#listvhtinstances) | **Get** /vht-instances/ | List all VHT instances requested. -*VirtualHardwareTargetInstanceApi* | [**StartVhtRunJob**](docs/VirtualHardwareTargetInstanceApi.md#startvhtrunjob) | **Post** /vht-instances/{instanceName} | Starts a VHT Run job. -*VirtualHardwareTargetInstanceApi* | [**StopVhtInstance**](docs/VirtualHardwareTargetInstanceApi.md#stopvhtinstance) | **Post** /vht-instances/{instanceName}/cancel | Stop this VHT instance. -*VirtualHardwareTargetInstanceApi* | [**UploadVhtInstanceArtefact**](docs/VirtualHardwareTargetInstanceApi.md#uploadvhtinstanceartefact) | **Put** /vht-instances/{instanceName}/artefacts/{artefactName}/artefact | Upload and replace the named VHT artefact on the given VHT instance. -*WorkspaceApi* | [**ClearWorkspaceArchiveContent**](docs/WorkspaceApi.md#clearworkspacearchivecontent) | **Delete** /workspaces/{workspaceName}/archive-content | Clear the content of this workspace. -*WorkspaceApi* | [**ClearWorkspaceRepositoryContentManager**](docs/WorkspaceApi.md#clearworkspacerepositorycontentmanager) | **Delete** /workspaces/{workspaceName}/repository-content | Clear the content of this workspace. -*WorkspaceApi* | [**CreateWorkspace**](docs/WorkspaceApi.md#createworkspace) | **Post** /workspace-sources/{workspaceSourceName} | Creates a workspace based on the source. -*WorkspaceApi* | [**DeleteWorkspace**](docs/WorkspaceApi.md#deleteworkspace) | **Delete** /workspaces/{workspaceName} | Delete a Workspace -*WorkspaceApi* | [**EditWorkspaceRepositoryContentManager**](docs/WorkspaceApi.md#editworkspacerepositorycontentmanager) | **Put** /workspaces/{workspaceName}/repository-content | Edit the source for the content of the workspace. -*WorkspaceApi* | [**GetWorkspace**](docs/WorkspaceApi.md#getworkspace) | **Get** /workspaces/{workspaceName} | Return the state of a workspace. -*WorkspaceApi* | [**GetWorkspaceArchiveContent**](docs/WorkspaceApi.md#getworkspacearchivecontent) | **Get** /workspaces/{workspaceName}/archive-content | Get the manager of the archive file containing the workspace content. -*WorkspaceApi* | [**GetWorkspaceDetails**](docs/WorkspaceApi.md#getworkspacedetails) | **Get** /workspaces/{workspaceName}/details | Details about the workspace. -*WorkspaceApi* | [**GetWorkspaceRepositoryContentManager**](docs/WorkspaceApi.md#getworkspacerepositorycontentmanager) | **Get** /workspaces/{workspaceName}/repository-content | Get the manager of the workspace content defined in a repository. -*WorkspaceApi* | [**ListWorkspaces**](docs/WorkspaceApi.md#listworkspaces) | **Get** /workspaces/ | List all workspaces available. -*WorkspaceApi* | [**RetainWorkspace**](docs/WorkspaceApi.md#retainworkspace) | **Post** /workspaces/{workspaceName}/retain | Update how long a workspace will be retained before automatic deletion.. -*WorkspaceApi* | [**UploadWorkspaceArchiveContent**](docs/WorkspaceApi.md#uploadworkspacearchivecontent) | **Put** /workspaces/{workspaceName}/archive-content | Upload and replace the content of the named workspace. -*WorkspaceSourceApi* | [**GetWorkspaceSource**](docs/WorkspaceSourceApi.md#getworkspacesource) | **Get** /workspace-sources/{workspaceSourceName} | Return details of the specific workspace source. -*WorkspaceSourceApi* | [**ListWorkspaceSources**](docs/WorkspaceSourceApi.md#listworkspacesources) | **Get** /workspace-sources/ | List available workspace sources. +*BoardsAPI* | [**GetBoard**](docs/BoardsAPI.md#getboard) | **Get** /boards/{boardId}/ | Get a Board Item +*BoardsAPI* | [**ListBoards**](docs/BoardsAPI.md#listboards) | **Get** /boards/ | List all the Boards. +*BuildJobsAPI* | [**CancelBuildJob**](docs/BuildJobsAPI.md#cancelbuildjob) | **Post** /build-jobs/{jobName}/cancel | Cancel a Build Job +*BuildJobsAPI* | [**DeleteBuildJob**](docs/BuildJobsAPI.md#deletebuildjob) | **Delete** /build-jobs/{jobName} | Delete a Build Job +*BuildJobsAPI* | [**GetBuildArtefact**](docs/BuildJobsAPI.md#getbuildartefact) | **Get** /build-jobs/{jobName}/artefacts/{artefactName} | Download the named Build Artefact for the given Build Job. +*BuildJobsAPI* | [**GetBuildJob**](docs/BuildJobsAPI.md#getbuildjob) | **Get** /build-jobs/{jobName} | Return status of a Build Job. +*BuildJobsAPI* | [**GetBuildMessages**](docs/BuildJobsAPI.md#getbuildmessages) | **Get** /build-jobs/{jobName}/messages | Build Message Feed. +*BuildJobsAPI* | [**ListBuildArtefacts**](docs/BuildJobsAPI.md#listbuildartefacts) | **Get** /build-jobs/{jobName}/artefacts/ | List all the available Build Artefacts for the given Build Job. +*BuildJobsAPI* | [**ListBuildJob**](docs/BuildJobsAPI.md#listbuildjob) | **Get** /build-jobs/ | List all Build Jobs. +*BuildJobsAPI* | [**RetainBuildJob**](docs/BuildJobsAPI.md#retainbuildjob) | **Post** /build-jobs/{jobName}/retain | Update how long a build job will be retained before automatic deletion. +*CMSISBuildersAPI* | [**GetCmsisBuilder**](docs/CMSISBuildersAPI.md#getcmsisbuilder) | **Get** /cmsis-builders/{builderName} | Return details of specific CMSIS Builders. +*CMSISBuildersAPI* | [**ListCmsisBuilders**](docs/CMSISBuildersAPI.md#listcmsisbuilders) | **Get** /cmsis-builders/ | List available CMSIS Builders. +*CMSISBuildersAPI* | [**StartCmsisBuild**](docs/CMSISBuildersAPI.md#startcmsisbuild) | **Post** /cmsis-builders/{builderName} | Initiate a build using the specified CMSIS Builder. +*CMSISIntellisenseBuildersAPI* | [**GetCmsisIntellisense**](docs/CMSISIntellisenseBuildersAPI.md#getcmsisintellisense) | **Get** /cmsis-intellisense/{builderName} | Return details of specific CMSIS Intellisense Builders. +*CMSISIntellisenseBuildersAPI* | [**ListCmsisIntellisense**](docs/CMSISIntellisenseBuildersAPI.md#listcmsisintellisense) | **Get** /cmsis-intellisense/ | List available CMSIS Intellisense Builders. +*CMSISIntellisenseBuildersAPI* | [**StartCmsisIntellisense**](docs/CMSISIntellisenseBuildersAPI.md#startcmsisintellisense) | **Post** /cmsis-intellisense/{builderName} | Initiate a compilation database generation using the specified CMSIS Intellisense Builder. +*DevicesAPI* | [**GetDevice**](docs/DevicesAPI.md#getdevice) | **Get** /devices/{deviceSlug} | Get a Device Item +*DevicesAPI* | [**ListDevices**](docs/DevicesAPI.md#listdevices) | **Get** /devices/ | List all the Devices +*IntellisenseJobsAPI* | [**CancelIntellisenseJob**](docs/IntellisenseJobsAPI.md#cancelintellisensejob) | **Post** /intellisense-jobs/{jobName}/cancel | Cancel an Intellisense Job. +*IntellisenseJobsAPI* | [**DeleteIntellisenseJob**](docs/IntellisenseJobsAPI.md#deleteintellisensejob) | **Delete** /intellisense-jobs/{jobName} | Delete an Intellisense Job. +*IntellisenseJobsAPI* | [**GetIntellisenseArtefact**](docs/IntellisenseJobsAPI.md#getintellisenseartefact) | **Get** /intellisense-jobs/{jobName}/artefacts/{artefactName} | Download the named Intellisense Artefact for the given Intellisense Job. +*IntellisenseJobsAPI* | [**GetIntellisenseJob**](docs/IntellisenseJobsAPI.md#getintellisensejob) | **Get** /intellisense-jobs/{jobName} | Return status of an Intellisense Job. +*IntellisenseJobsAPI* | [**GetIntellisenseMessages**](docs/IntellisenseJobsAPI.md#getintellisensemessages) | **Get** /intellisense-jobs/{jobName}/messages | Intellisense Message Feed. +*IntellisenseJobsAPI* | [**ListIntellisenseArtefacts**](docs/IntellisenseJobsAPI.md#listintellisenseartefacts) | **Get** /intellisense-jobs/{jobName}/artefacts/ | List all the available Intellisense Artefacts for the given Intellisense Job. +*IntellisenseJobsAPI* | [**ListIntellisenseJob**](docs/IntellisenseJobsAPI.md#listintellisensejob) | **Get** /intellisense-jobs/ | List all Intellisense Jobs. +*IntellisenseJobsAPI* | [**RetainIntellisenseJob**](docs/IntellisenseJobsAPI.md#retainintellisensejob) | **Post** /intellisense-jobs/{jobName}/retain | Update how long an intellisense job will be retained before automatic deletion. +*RootResourceAPI* | [**GetRoot**](docs/RootResourceAPI.md#getroot) | **Get** / | Get the Root resource. +*VHTRunJobsAPI* | [**CancelVhtRunJob**](docs/VHTRunJobsAPI.md#cancelvhtrunjob) | **Post** /vht-run-jobs/{jobName}/cancel | Cancel a VHT run job. +*VHTRunJobsAPI* | [**DeleteVhtRunJob**](docs/VHTRunJobsAPI.md#deletevhtrunjob) | **Delete** /vht-run-jobs/{jobName} | Delete an VHT run Job. +*VHTRunJobsAPI* | [**GetVhtRunJob**](docs/VHTRunJobsAPI.md#getvhtrunjob) | **Get** /vht-run-jobs/{jobName} | Return status of an VHT run Job. +*VHTRunJobsAPI* | [**GetVhtRunJobMessages**](docs/VHTRunJobsAPI.md#getvhtrunjobmessages) | **Get** /vht-run-jobs/{jobName}/messages | VHT Run Job Message Feed. +*VHTRunJobsAPI* | [**ListVhtRunJobs**](docs/VHTRunJobsAPI.md#listvhtrunjobs) | **Get** /vht-run-jobs/ | List all run jobs on VHTs. +*VendorsAPI* | [**CreateVendor**](docs/VendorsAPI.md#createvendor) | **Post** /vendors/ | Create a new Vendor +*VendorsAPI* | [**GetVendor**](docs/VendorsAPI.md#getvendor) | **Get** /vendors/{vendorSlugOrId}/ | Get a Vendor Item +*VendorsAPI* | [**ListVendors**](docs/VendorsAPI.md#listvendors) | **Get** /vendors/ | List all the Vendors. +*VirtualHardwareTargetAPI* | [**GetVht**](docs/VirtualHardwareTargetAPI.md#getvht) | **Get** /vhts/{vhtName} | Return details of the specific VHT. +*VirtualHardwareTargetAPI* | [**ListFilteredVhtInstances**](docs/VirtualHardwareTargetAPI.md#listfilteredvhtinstances) | **Get** /vhts/{vhtName}/vht-instances/ | List all VHT instances related to this specific VHT. +*VirtualHardwareTargetAPI* | [**ListVhts**](docs/VirtualHardwareTargetAPI.md#listvhts) | **Get** /vhts/ | List available VHTs. +*VirtualHardwareTargetAPI* | [**StartVhtInstance**](docs/VirtualHardwareTargetAPI.md#startvhtinstance) | **Post** /vhts/{vhtName} | Spawns a VHT instance matching this VHT specification. +*VirtualHardwareTargetInstanceAPI* | [**ClearVhtInstanceArtefact**](docs/VirtualHardwareTargetInstanceAPI.md#clearvhtinstanceartefact) | **Delete** /vht-instances/{instanceName}/artefacts/{artefactName}/artefact | Clear the VHT artefact from the VHT instance. +*VirtualHardwareTargetInstanceAPI* | [**DeleteVhtInstance**](docs/VirtualHardwareTargetInstanceAPI.md#deletevhtinstance) | **Delete** /vht-instances/{instanceName} | Delete a VHT instance +*VirtualHardwareTargetInstanceAPI* | [**DownloadVhtInstanceArtefact**](docs/VirtualHardwareTargetInstanceAPI.md#downloadvhtinstanceartefact) | **Get** /vht-instances/{instanceName}/artefacts/{artefactName}/artefact | Download the artefact named `artefactName` present on this VHT instance. +*VirtualHardwareTargetInstanceAPI* | [**GetVhtInstance**](docs/VirtualHardwareTargetInstanceAPI.md#getvhtinstance) | **Get** /vht-instances/{instanceName} | Return status of a VHT instance. +*VirtualHardwareTargetInstanceAPI* | [**GetVhtInstanceArtefactManager**](docs/VirtualHardwareTargetInstanceAPI.md#getvhtinstanceartefactmanager) | **Get** /vht-instances/{instanceName}/artefacts/{artefactName} | Get the VHT artefact manager for the artefact named `artefactName` present of this VHT instance. +*VirtualHardwareTargetInstanceAPI* | [**GetVhtInstanceMessages**](docs/VirtualHardwareTargetInstanceAPI.md#getvhtinstancemessages) | **Get** /vht-instances/{instanceName}/messages | Instance Message Feed. +*VirtualHardwareTargetInstanceAPI* | [**ListVhtInstanceArtefactManagers**](docs/VirtualHardwareTargetInstanceAPI.md#listvhtinstanceartefactmanagers) | **Get** /vht-instances/{instanceName}/artefacts/ | List all the managers of the artefacts (e.g. binary, test input) available on a specific VHT instance. +*VirtualHardwareTargetInstanceAPI* | [**ListVhtInstances**](docs/VirtualHardwareTargetInstanceAPI.md#listvhtinstances) | **Get** /vht-instances/ | List all VHT instances requested. +*VirtualHardwareTargetInstanceAPI* | [**StartVhtRunJob**](docs/VirtualHardwareTargetInstanceAPI.md#startvhtrunjob) | **Post** /vht-instances/{instanceName} | Starts a VHT Run job. +*VirtualHardwareTargetInstanceAPI* | [**StopVhtInstance**](docs/VirtualHardwareTargetInstanceAPI.md#stopvhtinstance) | **Post** /vht-instances/{instanceName}/cancel | Stop this VHT instance. +*VirtualHardwareTargetInstanceAPI* | [**UploadVhtInstanceArtefact**](docs/VirtualHardwareTargetInstanceAPI.md#uploadvhtinstanceartefact) | **Put** /vht-instances/{instanceName}/artefacts/{artefactName}/artefact | Upload and replace the named VHT artefact on the given VHT instance. +*WorkspaceAPI* | [**ClearWorkspaceArchiveContent**](docs/WorkspaceAPI.md#clearworkspacearchivecontent) | **Delete** /workspaces/{workspaceName}/archive-content | Clear the content of this workspace. +*WorkspaceAPI* | [**ClearWorkspaceRepositoryContentManager**](docs/WorkspaceAPI.md#clearworkspacerepositorycontentmanager) | **Delete** /workspaces/{workspaceName}/repository-content | Clear the content of this workspace. +*WorkspaceAPI* | [**CreateWorkspace**](docs/WorkspaceAPI.md#createworkspace) | **Post** /workspace-sources/{workspaceSourceName} | Creates a workspace based on the source. +*WorkspaceAPI* | [**DeleteWorkspace**](docs/WorkspaceAPI.md#deleteworkspace) | **Delete** /workspaces/{workspaceName} | Delete a Workspace +*WorkspaceAPI* | [**EditWorkspaceRepositoryContentManager**](docs/WorkspaceAPI.md#editworkspacerepositorycontentmanager) | **Put** /workspaces/{workspaceName}/repository-content | Edit the source for the content of the workspace. +*WorkspaceAPI* | [**GetWorkspace**](docs/WorkspaceAPI.md#getworkspace) | **Get** /workspaces/{workspaceName} | Return the state of a workspace. +*WorkspaceAPI* | [**GetWorkspaceArchiveContent**](docs/WorkspaceAPI.md#getworkspacearchivecontent) | **Get** /workspaces/{workspaceName}/archive-content | Get the manager of the archive file containing the workspace content. +*WorkspaceAPI* | [**GetWorkspaceDetails**](docs/WorkspaceAPI.md#getworkspacedetails) | **Get** /workspaces/{workspaceName}/details | Details about the workspace. +*WorkspaceAPI* | [**GetWorkspaceRepositoryContentManager**](docs/WorkspaceAPI.md#getworkspacerepositorycontentmanager) | **Get** /workspaces/{workspaceName}/repository-content | Get the manager of the workspace content defined in a repository. +*WorkspaceAPI* | [**ListWorkspaces**](docs/WorkspaceAPI.md#listworkspaces) | **Get** /workspaces/ | List all workspaces available. +*WorkspaceAPI* | [**RetainWorkspace**](docs/WorkspaceAPI.md#retainworkspace) | **Post** /workspaces/{workspaceName}/retain | Update how long a workspace will be retained before automatic deletion.. +*WorkspaceAPI* | [**UploadWorkspaceArchiveContent**](docs/WorkspaceAPI.md#uploadworkspacearchivecontent) | **Put** /workspaces/{workspaceName}/archive-content | Upload and replace the content of the named workspace. +*WorkspaceSourceAPI* | [**GetWorkspaceSource**](docs/WorkspaceSourceAPI.md#getworkspacesource) | **Get** /workspace-sources/{workspaceSourceName} | Return details of the specific workspace source. +*WorkspaceSourceAPI* | [**ListWorkspaceSources**](docs/WorkspaceSourceAPI.md#listworkspacesources) | **Get** /workspace-sources/ | List available workspace sources. ## Documentation For Models diff --git a/client/api_boards.go b/client/api_boards.go index cfe6ada..a53c076 100644 --- a/client/api_boards.go +++ b/client/api_boards.go @@ -26,12 +26,12 @@ import ( ) -// BoardsApiService BoardsApi service -type BoardsApiService service +// BoardsAPIService BoardsAPI service +type BoardsAPIService service type ApiGetBoardRequest struct { ctx context.Context - ApiService *BoardsApiService + ApiService *BoardsAPIService boardId string acceptVersion *string } @@ -55,7 +55,7 @@ Get a specific Board Item using a Board ID @param boardId Unique ID of a Board. @return ApiGetBoardRequest */ -func (a *BoardsApiService) GetBoard(ctx context.Context, boardId string) ApiGetBoardRequest { +func (a *BoardsAPIService) GetBoard(ctx context.Context, boardId string) ApiGetBoardRequest { return ApiGetBoardRequest{ ApiService: a, ctx: ctx, @@ -65,7 +65,7 @@ func (a *BoardsApiService) GetBoard(ctx context.Context, boardId string) ApiGetB // Execute executes the request // @return BoardItem -func (a *BoardsApiService) GetBoardExecute(r ApiGetBoardRequest) (*BoardItem, *http.Response, error) { +func (a *BoardsAPIService) GetBoardExecute(r ApiGetBoardRequest) (*BoardItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -73,7 +73,7 @@ func (a *BoardsApiService) GetBoardExecute(r ApiGetBoardRequest) (*BoardItem, *h localVarReturnValue *BoardItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BoardsApiService.GetBoard") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BoardsAPIService.GetBoard") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -198,7 +198,7 @@ func (a *BoardsApiService) GetBoardExecute(r ApiGetBoardRequest) (*BoardItem, *h type ApiListBoardsRequest struct { ctx context.Context - ApiService *BoardsApiService + ApiService *BoardsAPIService acceptVersion *string embed *bool ifNoneMatch *string @@ -248,7 +248,7 @@ This returns a collection resource that lists all of the Boards available to the @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListBoardsRequest */ -func (a *BoardsApiService) ListBoards(ctx context.Context) ApiListBoardsRequest { +func (a *BoardsAPIService) ListBoards(ctx context.Context) ApiListBoardsRequest { return ApiListBoardsRequest{ ApiService: a, ctx: ctx, @@ -257,7 +257,7 @@ func (a *BoardsApiService) ListBoards(ctx context.Context) ApiListBoardsRequest // Execute executes the request // @return ListBoardsCollection -func (a *BoardsApiService) ListBoardsExecute(r ApiListBoardsRequest) (*ListBoardsCollection, *http.Response, error) { +func (a *BoardsAPIService) ListBoardsExecute(r ApiListBoardsRequest) (*ListBoardsCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -265,7 +265,7 @@ func (a *BoardsApiService) ListBoardsExecute(r ApiListBoardsRequest) (*ListBoard localVarReturnValue *ListBoardsCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BoardsApiService.ListBoards") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BoardsAPIService.ListBoards") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/client/api_build_jobs.go b/client/api_build_jobs.go index 48c3ead..8c6a591 100644 --- a/client/api_build_jobs.go +++ b/client/api_build_jobs.go @@ -27,12 +27,12 @@ import ( ) -// BuildJobsApiService BuildJobsApi service -type BuildJobsApiService service +// BuildJobsAPIService BuildJobsAPI service +type BuildJobsAPIService service type ApiCancelBuildJobRequest struct { ctx context.Context - ApiService *BuildJobsApiService + ApiService *BuildJobsAPIService jobName string acceptVersion *string } @@ -56,7 +56,7 @@ This will cancel a build job that is in progress. All messages associated with t @param jobName Unique ID of the Build Job. @return ApiCancelBuildJobRequest */ -func (a *BuildJobsApiService) CancelBuildJob(ctx context.Context, jobName string) ApiCancelBuildJobRequest { +func (a *BuildJobsAPIService) CancelBuildJob(ctx context.Context, jobName string) ApiCancelBuildJobRequest { return ApiCancelBuildJobRequest{ ApiService: a, ctx: ctx, @@ -66,7 +66,7 @@ func (a *BuildJobsApiService) CancelBuildJob(ctx context.Context, jobName string // Execute executes the request // @return BuildJobItem -func (a *BuildJobsApiService) CancelBuildJobExecute(r ApiCancelBuildJobRequest) (*BuildJobItem, *http.Response, error) { +func (a *BuildJobsAPIService) CancelBuildJobExecute(r ApiCancelBuildJobRequest) (*BuildJobItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -74,7 +74,7 @@ func (a *BuildJobsApiService) CancelBuildJobExecute(r ApiCancelBuildJobRequest) localVarReturnValue *BuildJobItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsApiService.CancelBuildJob") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsAPIService.CancelBuildJob") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -221,7 +221,7 @@ func (a *BuildJobsApiService) CancelBuildJobExecute(r ApiCancelBuildJobRequest) type ApiDeleteBuildJobRequest struct { ctx context.Context - ApiService *BuildJobsApiService + ApiService *BuildJobsAPIService jobName string acceptVersion *string } @@ -245,7 +245,7 @@ Deletes a build job along with all artefacts and messages associated with it. De @param jobName Unique ID of the Build Job. @return ApiDeleteBuildJobRequest */ -func (a *BuildJobsApiService) DeleteBuildJob(ctx context.Context, jobName string) ApiDeleteBuildJobRequest { +func (a *BuildJobsAPIService) DeleteBuildJob(ctx context.Context, jobName string) ApiDeleteBuildJobRequest { return ApiDeleteBuildJobRequest{ ApiService: a, ctx: ctx, @@ -254,14 +254,14 @@ func (a *BuildJobsApiService) DeleteBuildJob(ctx context.Context, jobName string } // Execute executes the request -func (a *BuildJobsApiService) DeleteBuildJobExecute(r ApiDeleteBuildJobRequest) (*http.Response, error) { +func (a *BuildJobsAPIService) DeleteBuildJobExecute(r ApiDeleteBuildJobRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsApiService.DeleteBuildJob") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsAPIService.DeleteBuildJob") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -399,7 +399,7 @@ func (a *BuildJobsApiService) DeleteBuildJobExecute(r ApiDeleteBuildJobRequest) type ApiGetBuildArtefactRequest struct { ctx context.Context - ApiService *BuildJobsApiService + ApiService *BuildJobsAPIService jobName string artefactName string acceptVersion *string @@ -425,7 +425,7 @@ An artefact represents a product of the build process such as a binary file. @param artefactName The URL safe name of the Build Artefact. @return ApiGetBuildArtefactRequest */ -func (a *BuildJobsApiService) GetBuildArtefact(ctx context.Context, jobName string, artefactName string) ApiGetBuildArtefactRequest { +func (a *BuildJobsAPIService) GetBuildArtefact(ctx context.Context, jobName string, artefactName string) ApiGetBuildArtefactRequest { return ApiGetBuildArtefactRequest{ ApiService: a, ctx: ctx, @@ -436,7 +436,7 @@ func (a *BuildJobsApiService) GetBuildArtefact(ctx context.Context, jobName stri // Execute executes the request // @return *os.File -func (a *BuildJobsApiService) GetBuildArtefactExecute(r ApiGetBuildArtefactRequest) (*os.File, *http.Response, error) { +func (a *BuildJobsAPIService) GetBuildArtefactExecute(r ApiGetBuildArtefactRequest) (*os.File, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -444,7 +444,7 @@ func (a *BuildJobsApiService) GetBuildArtefactExecute(r ApiGetBuildArtefactReque localVarReturnValue *os.File ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsApiService.GetBuildArtefact") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsAPIService.GetBuildArtefact") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -570,7 +570,7 @@ func (a *BuildJobsApiService) GetBuildArtefactExecute(r ApiGetBuildArtefactReque type ApiGetBuildJobRequest struct { ctx context.Context - ApiService *BuildJobsApiService + ApiService *BuildJobsAPIService jobName string acceptVersion *string ifNoneMatch *string @@ -601,7 +601,7 @@ A build job represents the status of a build process (compilation and linking) b @param jobName Unique ID of the Build Job. @return ApiGetBuildJobRequest */ -func (a *BuildJobsApiService) GetBuildJob(ctx context.Context, jobName string) ApiGetBuildJobRequest { +func (a *BuildJobsAPIService) GetBuildJob(ctx context.Context, jobName string) ApiGetBuildJobRequest { return ApiGetBuildJobRequest{ ApiService: a, ctx: ctx, @@ -611,7 +611,7 @@ func (a *BuildJobsApiService) GetBuildJob(ctx context.Context, jobName string) A // Execute executes the request // @return BuildJobItem -func (a *BuildJobsApiService) GetBuildJobExecute(r ApiGetBuildJobRequest) (*BuildJobItem, *http.Response, error) { +func (a *BuildJobsAPIService) GetBuildJobExecute(r ApiGetBuildJobRequest) (*BuildJobItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -619,7 +619,7 @@ func (a *BuildJobsApiService) GetBuildJobExecute(r ApiGetBuildJobRequest) (*Buil localVarReturnValue *BuildJobItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsApiService.GetBuildJob") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsAPIService.GetBuildJob") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -747,7 +747,7 @@ func (a *BuildJobsApiService) GetBuildJobExecute(r ApiGetBuildJobRequest) (*Buil type ApiGetBuildMessagesRequest struct { ctx context.Context - ApiService *BuildJobsApiService + ApiService *BuildJobsAPIService jobName string acceptVersion *string ifNoneMatch *string @@ -792,7 +792,7 @@ Retrieve and page through the build messages for a given build. @param jobName Unique ID of the Build Job. @return ApiGetBuildMessagesRequest */ -func (a *BuildJobsApiService) GetBuildMessages(ctx context.Context, jobName string) ApiGetBuildMessagesRequest { +func (a *BuildJobsAPIService) GetBuildMessages(ctx context.Context, jobName string) ApiGetBuildMessagesRequest { return ApiGetBuildMessagesRequest{ ApiService: a, ctx: ctx, @@ -802,7 +802,7 @@ func (a *BuildJobsApiService) GetBuildMessages(ctx context.Context, jobName stri // Execute executes the request // @return BuildMessageItem -func (a *BuildJobsApiService) GetBuildMessagesExecute(r ApiGetBuildMessagesRequest) (*BuildMessageItem, *http.Response, error) { +func (a *BuildJobsAPIService) GetBuildMessagesExecute(r ApiGetBuildMessagesRequest) (*BuildMessageItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -810,7 +810,7 @@ func (a *BuildJobsApiService) GetBuildMessagesExecute(r ApiGetBuildMessagesReque localVarReturnValue *BuildMessageItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsApiService.GetBuildMessages") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsAPIService.GetBuildMessages") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -944,7 +944,7 @@ func (a *BuildJobsApiService) GetBuildMessagesExecute(r ApiGetBuildMessagesReque type ApiListBuildArtefactsRequest struct { ctx context.Context - ApiService *BuildJobsApiService + ApiService *BuildJobsAPIService jobName string acceptVersion *string ifNoneMatch *string @@ -989,7 +989,7 @@ An artefact represents a product of the build process such as a binary file. @param jobName Unique ID of the Build Job. @return ApiListBuildArtefactsRequest */ -func (a *BuildJobsApiService) ListBuildArtefacts(ctx context.Context, jobName string) ApiListBuildArtefactsRequest { +func (a *BuildJobsAPIService) ListBuildArtefacts(ctx context.Context, jobName string) ApiListBuildArtefactsRequest { return ApiListBuildArtefactsRequest{ ApiService: a, ctx: ctx, @@ -999,7 +999,7 @@ func (a *BuildJobsApiService) ListBuildArtefacts(ctx context.Context, jobName st // Execute executes the request // @return SimpleCollection -func (a *BuildJobsApiService) ListBuildArtefactsExecute(r ApiListBuildArtefactsRequest) (*SimpleCollection, *http.Response, error) { +func (a *BuildJobsAPIService) ListBuildArtefactsExecute(r ApiListBuildArtefactsRequest) (*SimpleCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1007,7 +1007,7 @@ func (a *BuildJobsApiService) ListBuildArtefactsExecute(r ApiListBuildArtefactsR localVarReturnValue *SimpleCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsApiService.ListBuildArtefacts") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsAPIService.ListBuildArtefacts") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1141,7 +1141,7 @@ func (a *BuildJobsApiService) ListBuildArtefactsExecute(r ApiListBuildArtefactsR type ApiListBuildJobRequest struct { ctx context.Context - ApiService *BuildJobsApiService + ApiService *BuildJobsAPIService acceptVersion *string embed *bool ifNoneMatch *string @@ -1191,7 +1191,7 @@ This returns a collection resource that lists all in progress or recently comple @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListBuildJobRequest */ -func (a *BuildJobsApiService) ListBuildJob(ctx context.Context) ApiListBuildJobRequest { +func (a *BuildJobsAPIService) ListBuildJob(ctx context.Context) ApiListBuildJobRequest { return ApiListBuildJobRequest{ ApiService: a, ctx: ctx, @@ -1200,7 +1200,7 @@ func (a *BuildJobsApiService) ListBuildJob(ctx context.Context) ApiListBuildJobR // Execute executes the request // @return BuildJobCollection -func (a *BuildJobsApiService) ListBuildJobExecute(r ApiListBuildJobRequest) (*BuildJobCollection, *http.Response, error) { +func (a *BuildJobsAPIService) ListBuildJobExecute(r ApiListBuildJobRequest) (*BuildJobCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1208,7 +1208,7 @@ func (a *BuildJobsApiService) ListBuildJobExecute(r ApiListBuildJobRequest) (*Bu localVarReturnValue *BuildJobCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsApiService.ListBuildJob") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsAPIService.ListBuildJob") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1333,7 +1333,7 @@ func (a *BuildJobsApiService) ListBuildJobExecute(r ApiListBuildJobRequest) (*Bu type ApiRetainBuildJobRequest struct { ctx context.Context - ApiService *BuildJobsApiService + ApiService *BuildJobsAPIService jobName string acceptVersion *string retainBuildJobRequest *RetainBuildJobRequest @@ -1364,7 +1364,7 @@ Set the time at which the job and all associated resources such as generated art @param jobName Unique ID of the Build Job. @return ApiRetainBuildJobRequest */ -func (a *BuildJobsApiService) RetainBuildJob(ctx context.Context, jobName string) ApiRetainBuildJobRequest { +func (a *BuildJobsAPIService) RetainBuildJob(ctx context.Context, jobName string) ApiRetainBuildJobRequest { return ApiRetainBuildJobRequest{ ApiService: a, ctx: ctx, @@ -1374,7 +1374,7 @@ func (a *BuildJobsApiService) RetainBuildJob(ctx context.Context, jobName string // Execute executes the request // @return BuildJobItem -func (a *BuildJobsApiService) RetainBuildJobExecute(r ApiRetainBuildJobRequest) (*BuildJobItem, *http.Response, error) { +func (a *BuildJobsAPIService) RetainBuildJobExecute(r ApiRetainBuildJobRequest) (*BuildJobItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -1382,7 +1382,7 @@ func (a *BuildJobsApiService) RetainBuildJobExecute(r ApiRetainBuildJobRequest) localVarReturnValue *BuildJobItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsApiService.RetainBuildJob") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BuildJobsAPIService.RetainBuildJob") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/client/api_cmsis_builders.go b/client/api_cmsis_builders.go index 9b50fc9..9be6737 100644 --- a/client/api_cmsis_builders.go +++ b/client/api_cmsis_builders.go @@ -26,12 +26,12 @@ import ( ) -// CMSISBuildersApiService CMSISBuildersApi service -type CMSISBuildersApiService service +// CMSISBuildersAPIService CMSISBuildersAPI service +type CMSISBuildersAPIService service type ApiGetCmsisBuilderRequest struct { ctx context.Context - ApiService *CMSISBuildersApiService + ApiService *CMSISBuildersAPIService builderName string acceptVersion *string ifNoneMatch *string @@ -62,7 +62,7 @@ A CMSIS Builder is a combination of a specific set of CMSIS-Build tools and a sp @param builderName The ID of the CMSIS Builder. @return ApiGetCmsisBuilderRequest */ -func (a *CMSISBuildersApiService) GetCmsisBuilder(ctx context.Context, builderName string) ApiGetCmsisBuilderRequest { +func (a *CMSISBuildersAPIService) GetCmsisBuilder(ctx context.Context, builderName string) ApiGetCmsisBuilderRequest { return ApiGetCmsisBuilderRequest{ ApiService: a, ctx: ctx, @@ -72,7 +72,7 @@ func (a *CMSISBuildersApiService) GetCmsisBuilder(ctx context.Context, builderNa // Execute executes the request // @return CmsisBuilderItem -func (a *CMSISBuildersApiService) GetCmsisBuilderExecute(r ApiGetCmsisBuilderRequest) (*CmsisBuilderItem, *http.Response, error) { +func (a *CMSISBuildersAPIService) GetCmsisBuilderExecute(r ApiGetCmsisBuilderRequest) (*CmsisBuilderItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -80,7 +80,7 @@ func (a *CMSISBuildersApiService) GetCmsisBuilderExecute(r ApiGetCmsisBuilderReq localVarReturnValue *CmsisBuilderItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CMSISBuildersApiService.GetCmsisBuilder") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CMSISBuildersAPIService.GetCmsisBuilder") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -208,7 +208,7 @@ func (a *CMSISBuildersApiService) GetCmsisBuilderExecute(r ApiGetCmsisBuilderReq type ApiListCmsisBuildersRequest struct { ctx context.Context - ApiService *CMSISBuildersApiService + ApiService *CMSISBuildersAPIService acceptVersion *string embed *bool ifNoneMatch *string @@ -261,7 +261,7 @@ This returns a collection resource that lists all of the CMSIS-Builders supporte @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListCmsisBuildersRequest */ -func (a *CMSISBuildersApiService) ListCmsisBuilders(ctx context.Context) ApiListCmsisBuildersRequest { +func (a *CMSISBuildersAPIService) ListCmsisBuilders(ctx context.Context) ApiListCmsisBuildersRequest { return ApiListCmsisBuildersRequest{ ApiService: a, ctx: ctx, @@ -270,7 +270,7 @@ func (a *CMSISBuildersApiService) ListCmsisBuilders(ctx context.Context) ApiList // Execute executes the request // @return CmsisBuilderCollection -func (a *CMSISBuildersApiService) ListCmsisBuildersExecute(r ApiListCmsisBuildersRequest) (*CmsisBuilderCollection, *http.Response, error) { +func (a *CMSISBuildersAPIService) ListCmsisBuildersExecute(r ApiListCmsisBuildersRequest) (*CmsisBuilderCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -278,7 +278,7 @@ func (a *CMSISBuildersApiService) ListCmsisBuildersExecute(r ApiListCmsisBuilder localVarReturnValue *CmsisBuilderCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CMSISBuildersApiService.ListCmsisBuilders") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CMSISBuildersAPIService.ListCmsisBuilders") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -403,7 +403,7 @@ func (a *CMSISBuildersApiService) ListCmsisBuildersExecute(r ApiListCmsisBuilder type ApiStartCmsisBuildRequest struct { ctx context.Context - ApiService *CMSISBuildersApiService + ApiService *CMSISBuildersAPIService builderName string buildJobItem *BuildJobItem acceptVersion *string @@ -434,7 +434,7 @@ Initiate a build using the specified CMSIS Builder. @param builderName The ID of the CMSIS Builder. @return ApiStartCmsisBuildRequest */ -func (a *CMSISBuildersApiService) StartCmsisBuild(ctx context.Context, builderName string) ApiStartCmsisBuildRequest { +func (a *CMSISBuildersAPIService) StartCmsisBuild(ctx context.Context, builderName string) ApiStartCmsisBuildRequest { return ApiStartCmsisBuildRequest{ ApiService: a, ctx: ctx, @@ -444,7 +444,7 @@ func (a *CMSISBuildersApiService) StartCmsisBuild(ctx context.Context, builderNa // Execute executes the request // @return BuildJobItem -func (a *CMSISBuildersApiService) StartCmsisBuildExecute(r ApiStartCmsisBuildRequest) (*BuildJobItem, *http.Response, error) { +func (a *CMSISBuildersAPIService) StartCmsisBuildExecute(r ApiStartCmsisBuildRequest) (*BuildJobItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -452,7 +452,7 @@ func (a *CMSISBuildersApiService) StartCmsisBuildExecute(r ApiStartCmsisBuildReq localVarReturnValue *BuildJobItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CMSISBuildersApiService.StartCmsisBuild") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CMSISBuildersAPIService.StartCmsisBuild") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/client/api_cmsis_intellisense_builders.go b/client/api_cmsis_intellisense_builders.go index e69e542..ee06c5e 100644 --- a/client/api_cmsis_intellisense_builders.go +++ b/client/api_cmsis_intellisense_builders.go @@ -26,12 +26,12 @@ import ( ) -// CMSISIntellisenseBuildersApiService CMSISIntellisenseBuildersApi service -type CMSISIntellisenseBuildersApiService service +// CMSISIntellisenseBuildersAPIService CMSISIntellisenseBuildersAPI service +type CMSISIntellisenseBuildersAPIService service type ApiGetCmsisIntellisenseRequest struct { ctx context.Context - ApiService *CMSISIntellisenseBuildersApiService + ApiService *CMSISIntellisenseBuildersAPIService builderName string acceptVersion *string ifNoneMatch *string @@ -62,7 +62,7 @@ A CMSIS Intellisense Builder is a combination of a specific set of CMSIS-Build t @param builderName The ID of the CMSIS Intellisense Builder. @return ApiGetCmsisIntellisenseRequest */ -func (a *CMSISIntellisenseBuildersApiService) GetCmsisIntellisense(ctx context.Context, builderName string) ApiGetCmsisIntellisenseRequest { +func (a *CMSISIntellisenseBuildersAPIService) GetCmsisIntellisense(ctx context.Context, builderName string) ApiGetCmsisIntellisenseRequest { return ApiGetCmsisIntellisenseRequest{ ApiService: a, ctx: ctx, @@ -72,7 +72,7 @@ func (a *CMSISIntellisenseBuildersApiService) GetCmsisIntellisense(ctx context.C // Execute executes the request // @return CmsisBuilderItem -func (a *CMSISIntellisenseBuildersApiService) GetCmsisIntellisenseExecute(r ApiGetCmsisIntellisenseRequest) (*CmsisBuilderItem, *http.Response, error) { +func (a *CMSISIntellisenseBuildersAPIService) GetCmsisIntellisenseExecute(r ApiGetCmsisIntellisenseRequest) (*CmsisBuilderItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -80,7 +80,7 @@ func (a *CMSISIntellisenseBuildersApiService) GetCmsisIntellisenseExecute(r ApiG localVarReturnValue *CmsisBuilderItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CMSISIntellisenseBuildersApiService.GetCmsisIntellisense") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CMSISIntellisenseBuildersAPIService.GetCmsisIntellisense") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -208,7 +208,7 @@ func (a *CMSISIntellisenseBuildersApiService) GetCmsisIntellisenseExecute(r ApiG type ApiListCmsisIntellisenseRequest struct { ctx context.Context - ApiService *CMSISIntellisenseBuildersApiService + ApiService *CMSISIntellisenseBuildersAPIService acceptVersion *string embed *bool ifNoneMatch *string @@ -261,7 +261,7 @@ This returns a collection resource that lists all of the CMSIS Intellisense Buil @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListCmsisIntellisenseRequest */ -func (a *CMSISIntellisenseBuildersApiService) ListCmsisIntellisense(ctx context.Context) ApiListCmsisIntellisenseRequest { +func (a *CMSISIntellisenseBuildersAPIService) ListCmsisIntellisense(ctx context.Context) ApiListCmsisIntellisenseRequest { return ApiListCmsisIntellisenseRequest{ ApiService: a, ctx: ctx, @@ -270,7 +270,7 @@ func (a *CMSISIntellisenseBuildersApiService) ListCmsisIntellisense(ctx context. // Execute executes the request // @return CmsisIntellisenseCollection -func (a *CMSISIntellisenseBuildersApiService) ListCmsisIntellisenseExecute(r ApiListCmsisIntellisenseRequest) (*CmsisIntellisenseCollection, *http.Response, error) { +func (a *CMSISIntellisenseBuildersAPIService) ListCmsisIntellisenseExecute(r ApiListCmsisIntellisenseRequest) (*CmsisIntellisenseCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -278,7 +278,7 @@ func (a *CMSISIntellisenseBuildersApiService) ListCmsisIntellisenseExecute(r Api localVarReturnValue *CmsisIntellisenseCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CMSISIntellisenseBuildersApiService.ListCmsisIntellisense") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CMSISIntellisenseBuildersAPIService.ListCmsisIntellisense") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -403,7 +403,7 @@ func (a *CMSISIntellisenseBuildersApiService) ListCmsisIntellisenseExecute(r Api type ApiStartCmsisIntellisenseRequest struct { ctx context.Context - ApiService *CMSISIntellisenseBuildersApiService + ApiService *CMSISIntellisenseBuildersAPIService builderName string intellisenseJobItem *IntellisenseJobItem acceptVersion *string @@ -434,7 +434,7 @@ Initiate a compilation database generation using the specified CMSIS Intellisens @param builderName The ID of the CMSIS Intellisense Builder. @return ApiStartCmsisIntellisenseRequest */ -func (a *CMSISIntellisenseBuildersApiService) StartCmsisIntellisense(ctx context.Context, builderName string) ApiStartCmsisIntellisenseRequest { +func (a *CMSISIntellisenseBuildersAPIService) StartCmsisIntellisense(ctx context.Context, builderName string) ApiStartCmsisIntellisenseRequest { return ApiStartCmsisIntellisenseRequest{ ApiService: a, ctx: ctx, @@ -444,7 +444,7 @@ func (a *CMSISIntellisenseBuildersApiService) StartCmsisIntellisense(ctx context // Execute executes the request // @return IntellisenseJobItem -func (a *CMSISIntellisenseBuildersApiService) StartCmsisIntellisenseExecute(r ApiStartCmsisIntellisenseRequest) (*IntellisenseJobItem, *http.Response, error) { +func (a *CMSISIntellisenseBuildersAPIService) StartCmsisIntellisenseExecute(r ApiStartCmsisIntellisenseRequest) (*IntellisenseJobItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -452,7 +452,7 @@ func (a *CMSISIntellisenseBuildersApiService) StartCmsisIntellisenseExecute(r Ap localVarReturnValue *IntellisenseJobItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CMSISIntellisenseBuildersApiService.StartCmsisIntellisense") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CMSISIntellisenseBuildersAPIService.StartCmsisIntellisense") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/client/api_devices.go b/client/api_devices.go index c8d9965..0b4d92e 100644 --- a/client/api_devices.go +++ b/client/api_devices.go @@ -26,12 +26,12 @@ import ( ) -// DevicesApiService DevicesApi service -type DevicesApiService service +// DevicesAPIService DevicesAPI service +type DevicesAPIService service type ApiGetDeviceRequest struct { ctx context.Context - ApiService *DevicesApiService + ApiService *DevicesAPIService deviceSlug string acceptVersion *string } @@ -55,7 +55,7 @@ Get a specific Device Item using a Device Slug @param deviceSlug Unique slug of a Device. @return ApiGetDeviceRequest */ -func (a *DevicesApiService) GetDevice(ctx context.Context, deviceSlug string) ApiGetDeviceRequest { +func (a *DevicesAPIService) GetDevice(ctx context.Context, deviceSlug string) ApiGetDeviceRequest { return ApiGetDeviceRequest{ ApiService: a, ctx: ctx, @@ -65,7 +65,7 @@ func (a *DevicesApiService) GetDevice(ctx context.Context, deviceSlug string) Ap // Execute executes the request // @return DeviceItem -func (a *DevicesApiService) GetDeviceExecute(r ApiGetDeviceRequest) (*DeviceItem, *http.Response, error) { +func (a *DevicesAPIService) GetDeviceExecute(r ApiGetDeviceRequest) (*DeviceItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -73,7 +73,7 @@ func (a *DevicesApiService) GetDeviceExecute(r ApiGetDeviceRequest) (*DeviceItem localVarReturnValue *DeviceItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DevicesApiService.GetDevice") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DevicesAPIService.GetDevice") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -198,7 +198,7 @@ func (a *DevicesApiService) GetDeviceExecute(r ApiGetDeviceRequest) (*DeviceItem type ApiListDevicesRequest struct { ctx context.Context - ApiService *DevicesApiService + ApiService *DevicesAPIService acceptVersion *string embed *bool ifNoneMatch *string @@ -248,7 +248,7 @@ This returns a collection resource that lists all of the Devices available to th @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListDevicesRequest */ -func (a *DevicesApiService) ListDevices(ctx context.Context) ApiListDevicesRequest { +func (a *DevicesAPIService) ListDevices(ctx context.Context) ApiListDevicesRequest { return ApiListDevicesRequest{ ApiService: a, ctx: ctx, @@ -257,7 +257,7 @@ func (a *DevicesApiService) ListDevices(ctx context.Context) ApiListDevicesReque // Execute executes the request // @return ListDevicesCollection -func (a *DevicesApiService) ListDevicesExecute(r ApiListDevicesRequest) (*ListDevicesCollection, *http.Response, error) { +func (a *DevicesAPIService) ListDevicesExecute(r ApiListDevicesRequest) (*ListDevicesCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -265,7 +265,7 @@ func (a *DevicesApiService) ListDevicesExecute(r ApiListDevicesRequest) (*ListDe localVarReturnValue *ListDevicesCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DevicesApiService.ListDevices") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DevicesAPIService.ListDevices") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/client/api_intellisense_jobs.go b/client/api_intellisense_jobs.go index eb61cdc..69c219d 100644 --- a/client/api_intellisense_jobs.go +++ b/client/api_intellisense_jobs.go @@ -27,12 +27,12 @@ import ( ) -// IntellisenseJobsApiService IntellisenseJobsApi service -type IntellisenseJobsApiService service +// IntellisenseJobsAPIService IntellisenseJobsAPI service +type IntellisenseJobsAPIService service type ApiCancelIntellisenseJobRequest struct { ctx context.Context - ApiService *IntellisenseJobsApiService + ApiService *IntellisenseJobsAPIService jobName string acceptVersion *string } @@ -56,7 +56,7 @@ This will cancel a job that is in progress. All messages associated with it will @param jobName Unique ID of the Intellisense Job. @return ApiCancelIntellisenseJobRequest */ -func (a *IntellisenseJobsApiService) CancelIntellisenseJob(ctx context.Context, jobName string) ApiCancelIntellisenseJobRequest { +func (a *IntellisenseJobsAPIService) CancelIntellisenseJob(ctx context.Context, jobName string) ApiCancelIntellisenseJobRequest { return ApiCancelIntellisenseJobRequest{ ApiService: a, ctx: ctx, @@ -66,7 +66,7 @@ func (a *IntellisenseJobsApiService) CancelIntellisenseJob(ctx context.Context, // Execute executes the request // @return IntellisenseJobItem -func (a *IntellisenseJobsApiService) CancelIntellisenseJobExecute(r ApiCancelIntellisenseJobRequest) (*IntellisenseJobItem, *http.Response, error) { +func (a *IntellisenseJobsAPIService) CancelIntellisenseJobExecute(r ApiCancelIntellisenseJobRequest) (*IntellisenseJobItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -74,7 +74,7 @@ func (a *IntellisenseJobsApiService) CancelIntellisenseJobExecute(r ApiCancelInt localVarReturnValue *IntellisenseJobItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsApiService.CancelIntellisenseJob") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsAPIService.CancelIntellisenseJob") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -221,7 +221,7 @@ func (a *IntellisenseJobsApiService) CancelIntellisenseJobExecute(r ApiCancelInt type ApiDeleteIntellisenseJobRequest struct { ctx context.Context - ApiService *IntellisenseJobsApiService + ApiService *IntellisenseJobsAPIService jobName string acceptVersion *string } @@ -245,7 +245,7 @@ Deletes a job along with artefacts and messages associated with it. Deleting a j @param jobName Unique ID of the Intellisense Job. @return ApiDeleteIntellisenseJobRequest */ -func (a *IntellisenseJobsApiService) DeleteIntellisenseJob(ctx context.Context, jobName string) ApiDeleteIntellisenseJobRequest { +func (a *IntellisenseJobsAPIService) DeleteIntellisenseJob(ctx context.Context, jobName string) ApiDeleteIntellisenseJobRequest { return ApiDeleteIntellisenseJobRequest{ ApiService: a, ctx: ctx, @@ -254,14 +254,14 @@ func (a *IntellisenseJobsApiService) DeleteIntellisenseJob(ctx context.Context, } // Execute executes the request -func (a *IntellisenseJobsApiService) DeleteIntellisenseJobExecute(r ApiDeleteIntellisenseJobRequest) (*http.Response, error) { +func (a *IntellisenseJobsAPIService) DeleteIntellisenseJobExecute(r ApiDeleteIntellisenseJobRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsApiService.DeleteIntellisenseJob") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsAPIService.DeleteIntellisenseJob") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -399,7 +399,7 @@ func (a *IntellisenseJobsApiService) DeleteIntellisenseJobExecute(r ApiDeleteInt type ApiGetIntellisenseArtefactRequest struct { ctx context.Context - ApiService *IntellisenseJobsApiService + ApiService *IntellisenseJobsAPIService jobName string artefactName string acceptVersion *string @@ -425,7 +425,7 @@ An artefact represents a product of the intellisense job process such as a json @param artefactName The URL safe name of the Intellisense Artefact. @return ApiGetIntellisenseArtefactRequest */ -func (a *IntellisenseJobsApiService) GetIntellisenseArtefact(ctx context.Context, jobName string, artefactName string) ApiGetIntellisenseArtefactRequest { +func (a *IntellisenseJobsAPIService) GetIntellisenseArtefact(ctx context.Context, jobName string, artefactName string) ApiGetIntellisenseArtefactRequest { return ApiGetIntellisenseArtefactRequest{ ApiService: a, ctx: ctx, @@ -436,7 +436,7 @@ func (a *IntellisenseJobsApiService) GetIntellisenseArtefact(ctx context.Context // Execute executes the request // @return *os.File -func (a *IntellisenseJobsApiService) GetIntellisenseArtefactExecute(r ApiGetIntellisenseArtefactRequest) (*os.File, *http.Response, error) { +func (a *IntellisenseJobsAPIService) GetIntellisenseArtefactExecute(r ApiGetIntellisenseArtefactRequest) (*os.File, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -444,7 +444,7 @@ func (a *IntellisenseJobsApiService) GetIntellisenseArtefactExecute(r ApiGetInte localVarReturnValue *os.File ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsApiService.GetIntellisenseArtefact") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsAPIService.GetIntellisenseArtefact") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -570,7 +570,7 @@ func (a *IntellisenseJobsApiService) GetIntellisenseArtefactExecute(r ApiGetInte type ApiGetIntellisenseJobRequest struct { ctx context.Context - ApiService *IntellisenseJobsApiService + ApiService *IntellisenseJobsAPIService jobName string acceptVersion *string ifNoneMatch *string @@ -601,7 +601,7 @@ An intellisense job represents the status of a intellisense process (generation @param jobName Unique ID of the Intellisense Job. @return ApiGetIntellisenseJobRequest */ -func (a *IntellisenseJobsApiService) GetIntellisenseJob(ctx context.Context, jobName string) ApiGetIntellisenseJobRequest { +func (a *IntellisenseJobsAPIService) GetIntellisenseJob(ctx context.Context, jobName string) ApiGetIntellisenseJobRequest { return ApiGetIntellisenseJobRequest{ ApiService: a, ctx: ctx, @@ -611,7 +611,7 @@ func (a *IntellisenseJobsApiService) GetIntellisenseJob(ctx context.Context, job // Execute executes the request // @return IntellisenseJobItem -func (a *IntellisenseJobsApiService) GetIntellisenseJobExecute(r ApiGetIntellisenseJobRequest) (*IntellisenseJobItem, *http.Response, error) { +func (a *IntellisenseJobsAPIService) GetIntellisenseJobExecute(r ApiGetIntellisenseJobRequest) (*IntellisenseJobItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -619,7 +619,7 @@ func (a *IntellisenseJobsApiService) GetIntellisenseJobExecute(r ApiGetIntellise localVarReturnValue *IntellisenseJobItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsApiService.GetIntellisenseJob") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsAPIService.GetIntellisenseJob") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -747,7 +747,7 @@ func (a *IntellisenseJobsApiService) GetIntellisenseJobExecute(r ApiGetIntellise type ApiGetIntellisenseMessagesRequest struct { ctx context.Context - ApiService *IntellisenseJobsApiService + ApiService *IntellisenseJobsAPIService jobName string acceptVersion *string ifNoneMatch *string @@ -792,7 +792,7 @@ Retrieve and page through the messages for a given job. @param jobName Unique ID of the Intellisense Job. @return ApiGetIntellisenseMessagesRequest */ -func (a *IntellisenseJobsApiService) GetIntellisenseMessages(ctx context.Context, jobName string) ApiGetIntellisenseMessagesRequest { +func (a *IntellisenseJobsAPIService) GetIntellisenseMessages(ctx context.Context, jobName string) ApiGetIntellisenseMessagesRequest { return ApiGetIntellisenseMessagesRequest{ ApiService: a, ctx: ctx, @@ -802,7 +802,7 @@ func (a *IntellisenseJobsApiService) GetIntellisenseMessages(ctx context.Context // Execute executes the request // @return IntellisenseMessageItem -func (a *IntellisenseJobsApiService) GetIntellisenseMessagesExecute(r ApiGetIntellisenseMessagesRequest) (*IntellisenseMessageItem, *http.Response, error) { +func (a *IntellisenseJobsAPIService) GetIntellisenseMessagesExecute(r ApiGetIntellisenseMessagesRequest) (*IntellisenseMessageItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -810,7 +810,7 @@ func (a *IntellisenseJobsApiService) GetIntellisenseMessagesExecute(r ApiGetInte localVarReturnValue *IntellisenseMessageItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsApiService.GetIntellisenseMessages") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsAPIService.GetIntellisenseMessages") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -944,7 +944,7 @@ func (a *IntellisenseJobsApiService) GetIntellisenseMessagesExecute(r ApiGetInte type ApiListIntellisenseArtefactsRequest struct { ctx context.Context - ApiService *IntellisenseJobsApiService + ApiService *IntellisenseJobsAPIService jobName string acceptVersion *string ifNoneMatch *string @@ -989,7 +989,7 @@ An artefact represents a product of the intellisense job process such as a json @param jobName Unique ID of the Intellisense Job. @return ApiListIntellisenseArtefactsRequest */ -func (a *IntellisenseJobsApiService) ListIntellisenseArtefacts(ctx context.Context, jobName string) ApiListIntellisenseArtefactsRequest { +func (a *IntellisenseJobsAPIService) ListIntellisenseArtefacts(ctx context.Context, jobName string) ApiListIntellisenseArtefactsRequest { return ApiListIntellisenseArtefactsRequest{ ApiService: a, ctx: ctx, @@ -999,7 +999,7 @@ func (a *IntellisenseJobsApiService) ListIntellisenseArtefacts(ctx context.Conte // Execute executes the request // @return SimpleCollection -func (a *IntellisenseJobsApiService) ListIntellisenseArtefactsExecute(r ApiListIntellisenseArtefactsRequest) (*SimpleCollection, *http.Response, error) { +func (a *IntellisenseJobsAPIService) ListIntellisenseArtefactsExecute(r ApiListIntellisenseArtefactsRequest) (*SimpleCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1007,7 +1007,7 @@ func (a *IntellisenseJobsApiService) ListIntellisenseArtefactsExecute(r ApiListI localVarReturnValue *SimpleCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsApiService.ListIntellisenseArtefacts") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsAPIService.ListIntellisenseArtefacts") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1141,7 +1141,7 @@ func (a *IntellisenseJobsApiService) ListIntellisenseArtefactsExecute(r ApiListI type ApiListIntellisenseJobRequest struct { ctx context.Context - ApiService *IntellisenseJobsApiService + ApiService *IntellisenseJobsAPIService acceptVersion *string embed *bool ifNoneMatch *string @@ -1191,7 +1191,7 @@ This returns a collection resource that lists all in progress or recently comple @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListIntellisenseJobRequest */ -func (a *IntellisenseJobsApiService) ListIntellisenseJob(ctx context.Context) ApiListIntellisenseJobRequest { +func (a *IntellisenseJobsAPIService) ListIntellisenseJob(ctx context.Context) ApiListIntellisenseJobRequest { return ApiListIntellisenseJobRequest{ ApiService: a, ctx: ctx, @@ -1200,7 +1200,7 @@ func (a *IntellisenseJobsApiService) ListIntellisenseJob(ctx context.Context) Ap // Execute executes the request // @return IntellisenseJobCollection -func (a *IntellisenseJobsApiService) ListIntellisenseJobExecute(r ApiListIntellisenseJobRequest) (*IntellisenseJobCollection, *http.Response, error) { +func (a *IntellisenseJobsAPIService) ListIntellisenseJobExecute(r ApiListIntellisenseJobRequest) (*IntellisenseJobCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1208,7 +1208,7 @@ func (a *IntellisenseJobsApiService) ListIntellisenseJobExecute(r ApiListIntelli localVarReturnValue *IntellisenseJobCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsApiService.ListIntellisenseJob") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsAPIService.ListIntellisenseJob") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1333,7 +1333,7 @@ func (a *IntellisenseJobsApiService) ListIntellisenseJobExecute(r ApiListIntelli type ApiRetainIntellisenseJobRequest struct { ctx context.Context - ApiService *IntellisenseJobsApiService + ApiService *IntellisenseJobsAPIService jobName string acceptVersion *string retainBuildJobRequest *RetainBuildJobRequest @@ -1364,7 +1364,7 @@ Set the time at which the job and all associated resources such as generated art @param jobName Unique ID of the Intellisense Job. @return ApiRetainIntellisenseJobRequest */ -func (a *IntellisenseJobsApiService) RetainIntellisenseJob(ctx context.Context, jobName string) ApiRetainIntellisenseJobRequest { +func (a *IntellisenseJobsAPIService) RetainIntellisenseJob(ctx context.Context, jobName string) ApiRetainIntellisenseJobRequest { return ApiRetainIntellisenseJobRequest{ ApiService: a, ctx: ctx, @@ -1374,7 +1374,7 @@ func (a *IntellisenseJobsApiService) RetainIntellisenseJob(ctx context.Context, // Execute executes the request // @return IntellisenseJobItem -func (a *IntellisenseJobsApiService) RetainIntellisenseJobExecute(r ApiRetainIntellisenseJobRequest) (*IntellisenseJobItem, *http.Response, error) { +func (a *IntellisenseJobsAPIService) RetainIntellisenseJobExecute(r ApiRetainIntellisenseJobRequest) (*IntellisenseJobItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -1382,7 +1382,7 @@ func (a *IntellisenseJobsApiService) RetainIntellisenseJobExecute(r ApiRetainInt localVarReturnValue *IntellisenseJobItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsApiService.RetainIntellisenseJob") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IntellisenseJobsAPIService.RetainIntellisenseJob") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/client/api_root_resource.go b/client/api_root_resource.go index c516bef..b199743 100644 --- a/client/api_root_resource.go +++ b/client/api_root_resource.go @@ -25,12 +25,12 @@ import ( ) -// RootResourceApiService RootResourceApi service -type RootResourceApiService service +// RootResourceAPIService RootResourceAPI service +type RootResourceAPIService service type ApiGetRootRequest struct { ctx context.Context - ApiService *RootResourceApiService + ApiService *RootResourceAPIService acceptVersion *string ifNoneMatch *string limit *int32 @@ -73,7 +73,7 @@ Retrieve the Root resource to list top level collections. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetRootRequest */ -func (a *RootResourceApiService) GetRoot(ctx context.Context) ApiGetRootRequest { +func (a *RootResourceAPIService) GetRoot(ctx context.Context) ApiGetRootRequest { return ApiGetRootRequest{ ApiService: a, ctx: ctx, @@ -82,7 +82,7 @@ func (a *RootResourceApiService) GetRoot(ctx context.Context) ApiGetRootRequest // Execute executes the request // @return SimpleCollection -func (a *RootResourceApiService) GetRootExecute(r ApiGetRootRequest) (*SimpleCollection, *http.Response, error) { +func (a *RootResourceAPIService) GetRootExecute(r ApiGetRootRequest) (*SimpleCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -90,7 +90,7 @@ func (a *RootResourceApiService) GetRootExecute(r ApiGetRootRequest) (*SimpleCol localVarReturnValue *SimpleCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootResourceApiService.GetRoot") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootResourceAPIService.GetRoot") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/client/api_vendors.go b/client/api_vendors.go index 28a34a1..f4b1ea7 100644 --- a/client/api_vendors.go +++ b/client/api_vendors.go @@ -26,12 +26,12 @@ import ( ) -// VendorsApiService VendorsApi service -type VendorsApiService service +// VendorsAPIService VendorsAPI service +type VendorsAPIService service type ApiCreateVendorRequest struct { ctx context.Context - ApiService *VendorsApiService + ApiService *VendorsAPIService vendorItem *VendorItem acceptVersion *string } @@ -60,7 +60,7 @@ This creates a new Vendor entry, using external data about the Vendor and a user @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateVendorRequest */ -func (a *VendorsApiService) CreateVendor(ctx context.Context) ApiCreateVendorRequest { +func (a *VendorsAPIService) CreateVendor(ctx context.Context) ApiCreateVendorRequest { return ApiCreateVendorRequest{ ApiService: a, ctx: ctx, @@ -69,7 +69,7 @@ func (a *VendorsApiService) CreateVendor(ctx context.Context) ApiCreateVendorReq // Execute executes the request // @return VendorItem -func (a *VendorsApiService) CreateVendorExecute(r ApiCreateVendorRequest) (*VendorItem, *http.Response, error) { +func (a *VendorsAPIService) CreateVendorExecute(r ApiCreateVendorRequest) (*VendorItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -77,7 +77,7 @@ func (a *VendorsApiService) CreateVendorExecute(r ApiCreateVendorRequest) (*Vend localVarReturnValue *VendorItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VendorsApiService.CreateVendor") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VendorsAPIService.CreateVendor") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -239,7 +239,7 @@ func (a *VendorsApiService) CreateVendorExecute(r ApiCreateVendorRequest) (*Vend type ApiGetVendorRequest struct { ctx context.Context - ApiService *VendorsApiService + ApiService *VendorsAPIService vendorSlugOrId string acceptVersion *string } @@ -263,7 +263,7 @@ Get a specific Vendor Item @param vendorSlugOrId Either the Slug or ID of the Vendor @return ApiGetVendorRequest */ -func (a *VendorsApiService) GetVendor(ctx context.Context, vendorSlugOrId string) ApiGetVendorRequest { +func (a *VendorsAPIService) GetVendor(ctx context.Context, vendorSlugOrId string) ApiGetVendorRequest { return ApiGetVendorRequest{ ApiService: a, ctx: ctx, @@ -273,7 +273,7 @@ func (a *VendorsApiService) GetVendor(ctx context.Context, vendorSlugOrId string // Execute executes the request // @return VendorItem -func (a *VendorsApiService) GetVendorExecute(r ApiGetVendorRequest) (*VendorItem, *http.Response, error) { +func (a *VendorsAPIService) GetVendorExecute(r ApiGetVendorRequest) (*VendorItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -281,7 +281,7 @@ func (a *VendorsApiService) GetVendorExecute(r ApiGetVendorRequest) (*VendorItem localVarReturnValue *VendorItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VendorsApiService.GetVendor") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VendorsAPIService.GetVendor") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -406,7 +406,7 @@ func (a *VendorsApiService) GetVendorExecute(r ApiGetVendorRequest) (*VendorItem type ApiListVendorsRequest struct { ctx context.Context - ApiService *VendorsApiService + ApiService *VendorsAPIService acceptVersion *string embed *bool ifNoneMatch *string @@ -456,7 +456,7 @@ This returns a collection resource that lists all of the Vendors available to th @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListVendorsRequest */ -func (a *VendorsApiService) ListVendors(ctx context.Context) ApiListVendorsRequest { +func (a *VendorsAPIService) ListVendors(ctx context.Context) ApiListVendorsRequest { return ApiListVendorsRequest{ ApiService: a, ctx: ctx, @@ -465,7 +465,7 @@ func (a *VendorsApiService) ListVendors(ctx context.Context) ApiListVendorsReque // Execute executes the request // @return ListVendorsCollection -func (a *VendorsApiService) ListVendorsExecute(r ApiListVendorsRequest) (*ListVendorsCollection, *http.Response, error) { +func (a *VendorsAPIService) ListVendorsExecute(r ApiListVendorsRequest) (*ListVendorsCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -473,7 +473,7 @@ func (a *VendorsApiService) ListVendorsExecute(r ApiListVendorsRequest) (*ListVe localVarReturnValue *ListVendorsCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VendorsApiService.ListVendors") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VendorsAPIService.ListVendors") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/client/api_vht_run_jobs.go b/client/api_vht_run_jobs.go index fd2b224..ce4e21e 100644 --- a/client/api_vht_run_jobs.go +++ b/client/api_vht_run_jobs.go @@ -26,12 +26,12 @@ import ( ) -// VHTRunJobsApiService VHTRunJobsApi service -type VHTRunJobsApiService service +// VHTRunJobsAPIService VHTRunJobsAPI service +type VHTRunJobsAPIService service type ApiCancelVhtRunJobRequest struct { ctx context.Context - ApiService *VHTRunJobsApiService + ApiService *VHTRunJobsAPIService jobName string acceptVersion *string } @@ -55,7 +55,7 @@ This will cancel a job that is in progress. All messages associated with it will @param jobName Unique ID of the VHT run job. @return ApiCancelVhtRunJobRequest */ -func (a *VHTRunJobsApiService) CancelVhtRunJob(ctx context.Context, jobName string) ApiCancelVhtRunJobRequest { +func (a *VHTRunJobsAPIService) CancelVhtRunJob(ctx context.Context, jobName string) ApiCancelVhtRunJobRequest { return ApiCancelVhtRunJobRequest{ ApiService: a, ctx: ctx, @@ -65,7 +65,7 @@ func (a *VHTRunJobsApiService) CancelVhtRunJob(ctx context.Context, jobName stri // Execute executes the request // @return VhtRunJobItem -func (a *VHTRunJobsApiService) CancelVhtRunJobExecute(r ApiCancelVhtRunJobRequest) (*VhtRunJobItem, *http.Response, error) { +func (a *VHTRunJobsAPIService) CancelVhtRunJobExecute(r ApiCancelVhtRunJobRequest) (*VhtRunJobItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -73,7 +73,7 @@ func (a *VHTRunJobsApiService) CancelVhtRunJobExecute(r ApiCancelVhtRunJobReques localVarReturnValue *VhtRunJobItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VHTRunJobsApiService.CancelVhtRunJob") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VHTRunJobsAPIService.CancelVhtRunJob") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -220,7 +220,7 @@ func (a *VHTRunJobsApiService) CancelVhtRunJobExecute(r ApiCancelVhtRunJobReques type ApiDeleteVhtRunJobRequest struct { ctx context.Context - ApiService *VHTRunJobsApiService + ApiService *VHTRunJobsAPIService jobName string acceptVersion *string } @@ -244,7 +244,7 @@ Deletes a job along with messages associated with it. Deleting a job is only pos @param jobName Unique ID of the VHT run job. @return ApiDeleteVhtRunJobRequest */ -func (a *VHTRunJobsApiService) DeleteVhtRunJob(ctx context.Context, jobName string) ApiDeleteVhtRunJobRequest { +func (a *VHTRunJobsAPIService) DeleteVhtRunJob(ctx context.Context, jobName string) ApiDeleteVhtRunJobRequest { return ApiDeleteVhtRunJobRequest{ ApiService: a, ctx: ctx, @@ -253,14 +253,14 @@ func (a *VHTRunJobsApiService) DeleteVhtRunJob(ctx context.Context, jobName stri } // Execute executes the request -func (a *VHTRunJobsApiService) DeleteVhtRunJobExecute(r ApiDeleteVhtRunJobRequest) (*http.Response, error) { +func (a *VHTRunJobsAPIService) DeleteVhtRunJobExecute(r ApiDeleteVhtRunJobRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VHTRunJobsApiService.DeleteVhtRunJob") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VHTRunJobsAPIService.DeleteVhtRunJob") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -398,7 +398,7 @@ func (a *VHTRunJobsApiService) DeleteVhtRunJobExecute(r ApiDeleteVhtRunJobReques type ApiGetVhtRunJobRequest struct { ctx context.Context - ApiService *VHTRunJobsApiService + ApiService *VHTRunJobsAPIService jobName string acceptVersion *string ifNoneMatch *string @@ -429,7 +429,7 @@ An VHT run job represents the status of a run process being executed by a VHT in @param jobName Unique ID of the VHT run job. @return ApiGetVhtRunJobRequest */ -func (a *VHTRunJobsApiService) GetVhtRunJob(ctx context.Context, jobName string) ApiGetVhtRunJobRequest { +func (a *VHTRunJobsAPIService) GetVhtRunJob(ctx context.Context, jobName string) ApiGetVhtRunJobRequest { return ApiGetVhtRunJobRequest{ ApiService: a, ctx: ctx, @@ -439,7 +439,7 @@ func (a *VHTRunJobsApiService) GetVhtRunJob(ctx context.Context, jobName string) // Execute executes the request // @return VhtRunJobItem -func (a *VHTRunJobsApiService) GetVhtRunJobExecute(r ApiGetVhtRunJobRequest) (*VhtRunJobItem, *http.Response, error) { +func (a *VHTRunJobsAPIService) GetVhtRunJobExecute(r ApiGetVhtRunJobRequest) (*VhtRunJobItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -447,7 +447,7 @@ func (a *VHTRunJobsApiService) GetVhtRunJobExecute(r ApiGetVhtRunJobRequest) (*V localVarReturnValue *VhtRunJobItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VHTRunJobsApiService.GetVhtRunJob") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VHTRunJobsAPIService.GetVhtRunJob") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -575,7 +575,7 @@ func (a *VHTRunJobsApiService) GetVhtRunJobExecute(r ApiGetVhtRunJobRequest) (*V type ApiGetVhtRunJobMessagesRequest struct { ctx context.Context - ApiService *VHTRunJobsApiService + ApiService *VHTRunJobsAPIService jobName string acceptVersion *string ifNoneMatch *string @@ -620,7 +620,7 @@ Retrieve and page through the messages for a given job. @param jobName Unique ID of the VHT run job. @return ApiGetVhtRunJobMessagesRequest */ -func (a *VHTRunJobsApiService) GetVhtRunJobMessages(ctx context.Context, jobName string) ApiGetVhtRunJobMessagesRequest { +func (a *VHTRunJobsAPIService) GetVhtRunJobMessages(ctx context.Context, jobName string) ApiGetVhtRunJobMessagesRequest { return ApiGetVhtRunJobMessagesRequest{ ApiService: a, ctx: ctx, @@ -630,7 +630,7 @@ func (a *VHTRunJobsApiService) GetVhtRunJobMessages(ctx context.Context, jobName // Execute executes the request // @return NotificationFeed -func (a *VHTRunJobsApiService) GetVhtRunJobMessagesExecute(r ApiGetVhtRunJobMessagesRequest) (*NotificationFeed, *http.Response, error) { +func (a *VHTRunJobsAPIService) GetVhtRunJobMessagesExecute(r ApiGetVhtRunJobMessagesRequest) (*NotificationFeed, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -638,7 +638,7 @@ func (a *VHTRunJobsApiService) GetVhtRunJobMessagesExecute(r ApiGetVhtRunJobMess localVarReturnValue *NotificationFeed ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VHTRunJobsApiService.GetVhtRunJobMessages") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VHTRunJobsAPIService.GetVhtRunJobMessages") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -772,7 +772,7 @@ func (a *VHTRunJobsApiService) GetVhtRunJobMessagesExecute(r ApiGetVhtRunJobMess type ApiListVhtRunJobsRequest struct { ctx context.Context - ApiService *VHTRunJobsApiService + ApiService *VHTRunJobsAPIService acceptVersion *string embed *bool ifNoneMatch *string @@ -822,7 +822,7 @@ This returns a collection resource that lists all in progress or recently comple @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListVhtRunJobsRequest */ -func (a *VHTRunJobsApiService) ListVhtRunJobs(ctx context.Context) ApiListVhtRunJobsRequest { +func (a *VHTRunJobsAPIService) ListVhtRunJobs(ctx context.Context) ApiListVhtRunJobsRequest { return ApiListVhtRunJobsRequest{ ApiService: a, ctx: ctx, @@ -831,7 +831,7 @@ func (a *VHTRunJobsApiService) ListVhtRunJobs(ctx context.Context) ApiListVhtRun // Execute executes the request // @return VhtRunJobCollection -func (a *VHTRunJobsApiService) ListVhtRunJobsExecute(r ApiListVhtRunJobsRequest) (*VhtRunJobCollection, *http.Response, error) { +func (a *VHTRunJobsAPIService) ListVhtRunJobsExecute(r ApiListVhtRunJobsRequest) (*VhtRunJobCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -839,7 +839,7 @@ func (a *VHTRunJobsApiService) ListVhtRunJobsExecute(r ApiListVhtRunJobsRequest) localVarReturnValue *VhtRunJobCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VHTRunJobsApiService.ListVhtRunJobs") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VHTRunJobsAPIService.ListVhtRunJobs") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/client/api_virtual_hardware_target.go b/client/api_virtual_hardware_target.go index 5d52fb7..2346f5d 100644 --- a/client/api_virtual_hardware_target.go +++ b/client/api_virtual_hardware_target.go @@ -26,12 +26,12 @@ import ( ) -// VirtualHardwareTargetApiService VirtualHardwareTargetApi service -type VirtualHardwareTargetApiService service +// VirtualHardwareTargetAPIService VirtualHardwareTargetAPI service +type VirtualHardwareTargetAPIService service type ApiGetVhtRequest struct { ctx context.Context - ApiService *VirtualHardwareTargetApiService + ApiService *VirtualHardwareTargetAPIService vhtName string acceptVersion *string ifNoneMatch *string @@ -62,7 +62,7 @@ A Virtual Hardware Target (VHT) provides functional accurate simulations of Arm- @param vhtName The ID of the VHT. @return ApiGetVhtRequest */ -func (a *VirtualHardwareTargetApiService) GetVht(ctx context.Context, vhtName string) ApiGetVhtRequest { +func (a *VirtualHardwareTargetAPIService) GetVht(ctx context.Context, vhtName string) ApiGetVhtRequest { return ApiGetVhtRequest{ ApiService: a, ctx: ctx, @@ -72,7 +72,7 @@ func (a *VirtualHardwareTargetApiService) GetVht(ctx context.Context, vhtName st // Execute executes the request // @return VhtItem -func (a *VirtualHardwareTargetApiService) GetVhtExecute(r ApiGetVhtRequest) (*VhtItem, *http.Response, error) { +func (a *VirtualHardwareTargetAPIService) GetVhtExecute(r ApiGetVhtRequest) (*VhtItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -80,7 +80,7 @@ func (a *VirtualHardwareTargetApiService) GetVhtExecute(r ApiGetVhtRequest) (*Vh localVarReturnValue *VhtItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetApiService.GetVht") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetAPIService.GetVht") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -208,7 +208,7 @@ func (a *VirtualHardwareTargetApiService) GetVhtExecute(r ApiGetVhtRequest) (*Vh type ApiListFilteredVhtInstancesRequest struct { ctx context.Context - ApiService *VirtualHardwareTargetApiService + ApiService *VirtualHardwareTargetAPIService vhtName string acceptVersion *string embed *bool @@ -260,7 +260,7 @@ This returns a collection resource that lists all requested, in use or recently @param vhtName The ID of the VHT. @return ApiListFilteredVhtInstancesRequest */ -func (a *VirtualHardwareTargetApiService) ListFilteredVhtInstances(ctx context.Context, vhtName string) ApiListFilteredVhtInstancesRequest { +func (a *VirtualHardwareTargetAPIService) ListFilteredVhtInstances(ctx context.Context, vhtName string) ApiListFilteredVhtInstancesRequest { return ApiListFilteredVhtInstancesRequest{ ApiService: a, ctx: ctx, @@ -270,7 +270,7 @@ func (a *VirtualHardwareTargetApiService) ListFilteredVhtInstances(ctx context.C // Execute executes the request // @return VhtInstanceCollection -func (a *VirtualHardwareTargetApiService) ListFilteredVhtInstancesExecute(r ApiListFilteredVhtInstancesRequest) (*VhtInstanceCollection, *http.Response, error) { +func (a *VirtualHardwareTargetAPIService) ListFilteredVhtInstancesExecute(r ApiListFilteredVhtInstancesRequest) (*VhtInstanceCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -278,7 +278,7 @@ func (a *VirtualHardwareTargetApiService) ListFilteredVhtInstancesExecute(r ApiL localVarReturnValue *VhtInstanceCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetApiService.ListFilteredVhtInstances") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetAPIService.ListFilteredVhtInstances") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -404,7 +404,7 @@ func (a *VirtualHardwareTargetApiService) ListFilteredVhtInstancesExecute(r ApiL type ApiListVhtsRequest struct { ctx context.Context - ApiService *VirtualHardwareTargetApiService + ApiService *VirtualHardwareTargetAPIService acceptVersion *string embed *bool ifNoneMatch *string @@ -457,7 +457,7 @@ This returns a collection resource that lists all of the Virtual Hardware Target @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListVhtsRequest */ -func (a *VirtualHardwareTargetApiService) ListVhts(ctx context.Context) ApiListVhtsRequest { +func (a *VirtualHardwareTargetAPIService) ListVhts(ctx context.Context) ApiListVhtsRequest { return ApiListVhtsRequest{ ApiService: a, ctx: ctx, @@ -466,7 +466,7 @@ func (a *VirtualHardwareTargetApiService) ListVhts(ctx context.Context) ApiListV // Execute executes the request // @return VhtCollection -func (a *VirtualHardwareTargetApiService) ListVhtsExecute(r ApiListVhtsRequest) (*VhtCollection, *http.Response, error) { +func (a *VirtualHardwareTargetAPIService) ListVhtsExecute(r ApiListVhtsRequest) (*VhtCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -474,7 +474,7 @@ func (a *VirtualHardwareTargetApiService) ListVhtsExecute(r ApiListVhtsRequest) localVarReturnValue *VhtCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetApiService.ListVhts") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetAPIService.ListVhts") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -599,7 +599,7 @@ func (a *VirtualHardwareTargetApiService) ListVhtsExecute(r ApiListVhtsRequest) type ApiStartVhtInstanceRequest struct { ctx context.Context - ApiService *VirtualHardwareTargetApiService + ApiService *VirtualHardwareTargetAPIService vhtName string vhtInstanceItem *VhtInstanceItem acceptVersion *string @@ -630,7 +630,7 @@ Requests an instance of the specified VHT. @param vhtName The ID of the VHT. @return ApiStartVhtInstanceRequest */ -func (a *VirtualHardwareTargetApiService) StartVhtInstance(ctx context.Context, vhtName string) ApiStartVhtInstanceRequest { +func (a *VirtualHardwareTargetAPIService) StartVhtInstance(ctx context.Context, vhtName string) ApiStartVhtInstanceRequest { return ApiStartVhtInstanceRequest{ ApiService: a, ctx: ctx, @@ -640,7 +640,7 @@ func (a *VirtualHardwareTargetApiService) StartVhtInstance(ctx context.Context, // Execute executes the request // @return VhtInstanceItem -func (a *VirtualHardwareTargetApiService) StartVhtInstanceExecute(r ApiStartVhtInstanceRequest) (*VhtInstanceItem, *http.Response, error) { +func (a *VirtualHardwareTargetAPIService) StartVhtInstanceExecute(r ApiStartVhtInstanceRequest) (*VhtInstanceItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -648,7 +648,7 @@ func (a *VirtualHardwareTargetApiService) StartVhtInstanceExecute(r ApiStartVhtI localVarReturnValue *VhtInstanceItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetApiService.StartVhtInstance") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetAPIService.StartVhtInstance") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/client/api_virtual_hardware_target_instance.go b/client/api_virtual_hardware_target_instance.go index 34189a3..f2a6b97 100644 --- a/client/api_virtual_hardware_target_instance.go +++ b/client/api_virtual_hardware_target_instance.go @@ -27,12 +27,12 @@ import ( ) -// VirtualHardwareTargetInstanceApiService VirtualHardwareTargetInstanceApi service -type VirtualHardwareTargetInstanceApiService service +// VirtualHardwareTargetInstanceAPIService VirtualHardwareTargetInstanceAPI service +type VirtualHardwareTargetInstanceAPIService service type ApiClearVhtInstanceArtefactRequest struct { ctx context.Context - ApiService *VirtualHardwareTargetInstanceApiService + ApiService *VirtualHardwareTargetInstanceAPIService artefactName string instanceName string acceptVersion *string @@ -59,7 +59,7 @@ The content of the artefact is removed from the platform and will not be retriev @param instanceName Unique ID of the VHT instance. @return ApiClearVhtInstanceArtefactRequest */ -func (a *VirtualHardwareTargetInstanceApiService) ClearVhtInstanceArtefact(ctx context.Context, artefactName string, instanceName string) ApiClearVhtInstanceArtefactRequest { +func (a *VirtualHardwareTargetInstanceAPIService) ClearVhtInstanceArtefact(ctx context.Context, artefactName string, instanceName string) ApiClearVhtInstanceArtefactRequest { return ApiClearVhtInstanceArtefactRequest{ ApiService: a, ctx: ctx, @@ -69,14 +69,14 @@ func (a *VirtualHardwareTargetInstanceApiService) ClearVhtInstanceArtefact(ctx c } // Execute executes the request -func (a *VirtualHardwareTargetInstanceApiService) ClearVhtInstanceArtefactExecute(r ApiClearVhtInstanceArtefactRequest) (*http.Response, error) { +func (a *VirtualHardwareTargetInstanceAPIService) ClearVhtInstanceArtefactExecute(r ApiClearVhtInstanceArtefactRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceApiService.ClearVhtInstanceArtefact") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceAPIService.ClearVhtInstanceArtefact") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -215,7 +215,7 @@ func (a *VirtualHardwareTargetInstanceApiService) ClearVhtInstanceArtefactExecut type ApiDeleteVhtInstanceRequest struct { ctx context.Context - ApiService *VirtualHardwareTargetInstanceApiService + ApiService *VirtualHardwareTargetInstanceAPIService instanceName string acceptVersion *string } @@ -239,7 +239,7 @@ Deletes a VHT instance along with all artefacts and messages associated with it. @param instanceName Unique ID of the VHT instance. @return ApiDeleteVhtInstanceRequest */ -func (a *VirtualHardwareTargetInstanceApiService) DeleteVhtInstance(ctx context.Context, instanceName string) ApiDeleteVhtInstanceRequest { +func (a *VirtualHardwareTargetInstanceAPIService) DeleteVhtInstance(ctx context.Context, instanceName string) ApiDeleteVhtInstanceRequest { return ApiDeleteVhtInstanceRequest{ ApiService: a, ctx: ctx, @@ -248,14 +248,14 @@ func (a *VirtualHardwareTargetInstanceApiService) DeleteVhtInstance(ctx context. } // Execute executes the request -func (a *VirtualHardwareTargetInstanceApiService) DeleteVhtInstanceExecute(r ApiDeleteVhtInstanceRequest) (*http.Response, error) { +func (a *VirtualHardwareTargetInstanceAPIService) DeleteVhtInstanceExecute(r ApiDeleteVhtInstanceRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceApiService.DeleteVhtInstance") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceAPIService.DeleteVhtInstance") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -393,7 +393,7 @@ func (a *VirtualHardwareTargetInstanceApiService) DeleteVhtInstanceExecute(r Api type ApiDownloadVhtInstanceArtefactRequest struct { ctx context.Context - ApiService *VirtualHardwareTargetInstanceApiService + ApiService *VirtualHardwareTargetInstanceAPIService artefactName string instanceName string acceptVersion *string @@ -426,7 +426,7 @@ An artefact represents an item used by the VHT instance for a run job (e.g. bina @param instanceName Unique ID of the VHT instance. @return ApiDownloadVhtInstanceArtefactRequest */ -func (a *VirtualHardwareTargetInstanceApiService) DownloadVhtInstanceArtefact(ctx context.Context, artefactName string, instanceName string) ApiDownloadVhtInstanceArtefactRequest { +func (a *VirtualHardwareTargetInstanceAPIService) DownloadVhtInstanceArtefact(ctx context.Context, artefactName string, instanceName string) ApiDownloadVhtInstanceArtefactRequest { return ApiDownloadVhtInstanceArtefactRequest{ ApiService: a, ctx: ctx, @@ -437,7 +437,7 @@ func (a *VirtualHardwareTargetInstanceApiService) DownloadVhtInstanceArtefact(ct // Execute executes the request // @return *os.File -func (a *VirtualHardwareTargetInstanceApiService) DownloadVhtInstanceArtefactExecute(r ApiDownloadVhtInstanceArtefactRequest) (*os.File, *http.Response, error) { +func (a *VirtualHardwareTargetInstanceAPIService) DownloadVhtInstanceArtefactExecute(r ApiDownloadVhtInstanceArtefactRequest) (*os.File, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -445,7 +445,7 @@ func (a *VirtualHardwareTargetInstanceApiService) DownloadVhtInstanceArtefactExe localVarReturnValue *os.File ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceApiService.DownloadVhtInstanceArtefact") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceAPIService.DownloadVhtInstanceArtefact") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -574,7 +574,7 @@ func (a *VirtualHardwareTargetInstanceApiService) DownloadVhtInstanceArtefactExe type ApiGetVhtInstanceRequest struct { ctx context.Context - ApiService *VirtualHardwareTargetInstanceApiService + ApiService *VirtualHardwareTargetInstanceAPIService instanceName string acceptVersion *string ifNoneMatch *string @@ -605,7 +605,7 @@ The status of the instance describes in which state the VHT specified is @param instanceName Unique ID of the VHT instance. @return ApiGetVhtInstanceRequest */ -func (a *VirtualHardwareTargetInstanceApiService) GetVhtInstance(ctx context.Context, instanceName string) ApiGetVhtInstanceRequest { +func (a *VirtualHardwareTargetInstanceAPIService) GetVhtInstance(ctx context.Context, instanceName string) ApiGetVhtInstanceRequest { return ApiGetVhtInstanceRequest{ ApiService: a, ctx: ctx, @@ -615,7 +615,7 @@ func (a *VirtualHardwareTargetInstanceApiService) GetVhtInstance(ctx context.Con // Execute executes the request // @return VhtInstanceItem -func (a *VirtualHardwareTargetInstanceApiService) GetVhtInstanceExecute(r ApiGetVhtInstanceRequest) (*VhtInstanceItem, *http.Response, error) { +func (a *VirtualHardwareTargetInstanceAPIService) GetVhtInstanceExecute(r ApiGetVhtInstanceRequest) (*VhtInstanceItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -623,7 +623,7 @@ func (a *VirtualHardwareTargetInstanceApiService) GetVhtInstanceExecute(r ApiGet localVarReturnValue *VhtInstanceItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceApiService.GetVhtInstance") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceAPIService.GetVhtInstance") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -751,7 +751,7 @@ func (a *VirtualHardwareTargetInstanceApiService) GetVhtInstanceExecute(r ApiGet type ApiGetVhtInstanceArtefactManagerRequest struct { ctx context.Context - ApiService *VirtualHardwareTargetInstanceApiService + ApiService *VirtualHardwareTargetInstanceAPIService artefactName string instanceName string acceptVersion *string @@ -785,7 +785,7 @@ The manager enables upload, download and deletion of said artefact. @param instanceName Unique ID of the VHT instance. @return ApiGetVhtInstanceArtefactManagerRequest */ -func (a *VirtualHardwareTargetInstanceApiService) GetVhtInstanceArtefactManager(ctx context.Context, artefactName string, instanceName string) ApiGetVhtInstanceArtefactManagerRequest { +func (a *VirtualHardwareTargetInstanceAPIService) GetVhtInstanceArtefactManager(ctx context.Context, artefactName string, instanceName string) ApiGetVhtInstanceArtefactManagerRequest { return ApiGetVhtInstanceArtefactManagerRequest{ ApiService: a, ctx: ctx, @@ -796,7 +796,7 @@ func (a *VirtualHardwareTargetInstanceApiService) GetVhtInstanceArtefactManager( // Execute executes the request // @return ArtefactManagerItem -func (a *VirtualHardwareTargetInstanceApiService) GetVhtInstanceArtefactManagerExecute(r ApiGetVhtInstanceArtefactManagerRequest) (*ArtefactManagerItem, *http.Response, error) { +func (a *VirtualHardwareTargetInstanceAPIService) GetVhtInstanceArtefactManagerExecute(r ApiGetVhtInstanceArtefactManagerRequest) (*ArtefactManagerItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -804,7 +804,7 @@ func (a *VirtualHardwareTargetInstanceApiService) GetVhtInstanceArtefactManagerE localVarReturnValue *ArtefactManagerItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceApiService.GetVhtInstanceArtefactManager") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceAPIService.GetVhtInstanceArtefactManager") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -933,7 +933,7 @@ func (a *VirtualHardwareTargetInstanceApiService) GetVhtInstanceArtefactManagerE type ApiGetVhtInstanceMessagesRequest struct { ctx context.Context - ApiService *VirtualHardwareTargetInstanceApiService + ApiService *VirtualHardwareTargetInstanceAPIService instanceName string acceptVersion *string ifNoneMatch *string @@ -978,7 +978,7 @@ Retrieve and page through the output messages for a given VHT instance. @param instanceName Unique ID of the VHT instance. @return ApiGetVhtInstanceMessagesRequest */ -func (a *VirtualHardwareTargetInstanceApiService) GetVhtInstanceMessages(ctx context.Context, instanceName string) ApiGetVhtInstanceMessagesRequest { +func (a *VirtualHardwareTargetInstanceAPIService) GetVhtInstanceMessages(ctx context.Context, instanceName string) ApiGetVhtInstanceMessagesRequest { return ApiGetVhtInstanceMessagesRequest{ ApiService: a, ctx: ctx, @@ -988,7 +988,7 @@ func (a *VirtualHardwareTargetInstanceApiService) GetVhtInstanceMessages(ctx con // Execute executes the request // @return NotificationFeed -func (a *VirtualHardwareTargetInstanceApiService) GetVhtInstanceMessagesExecute(r ApiGetVhtInstanceMessagesRequest) (*NotificationFeed, *http.Response, error) { +func (a *VirtualHardwareTargetInstanceAPIService) GetVhtInstanceMessagesExecute(r ApiGetVhtInstanceMessagesRequest) (*NotificationFeed, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -996,7 +996,7 @@ func (a *VirtualHardwareTargetInstanceApiService) GetVhtInstanceMessagesExecute( localVarReturnValue *NotificationFeed ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceApiService.GetVhtInstanceMessages") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceAPIService.GetVhtInstanceMessages") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1130,7 +1130,7 @@ func (a *VirtualHardwareTargetInstanceApiService) GetVhtInstanceMessagesExecute( type ApiListVhtInstanceArtefactManagersRequest struct { ctx context.Context - ApiService *VirtualHardwareTargetInstanceApiService + ApiService *VirtualHardwareTargetInstanceAPIService instanceName string acceptVersion *string embed *bool @@ -1183,7 +1183,7 @@ The managers enable their upload, download or deletion. @param instanceName Unique ID of the VHT instance. @return ApiListVhtInstanceArtefactManagersRequest */ -func (a *VirtualHardwareTargetInstanceApiService) ListVhtInstanceArtefactManagers(ctx context.Context, instanceName string) ApiListVhtInstanceArtefactManagersRequest { +func (a *VirtualHardwareTargetInstanceAPIService) ListVhtInstanceArtefactManagers(ctx context.Context, instanceName string) ApiListVhtInstanceArtefactManagersRequest { return ApiListVhtInstanceArtefactManagersRequest{ ApiService: a, ctx: ctx, @@ -1193,7 +1193,7 @@ func (a *VirtualHardwareTargetInstanceApiService) ListVhtInstanceArtefactManager // Execute executes the request // @return ArtefactManagerCollection -func (a *VirtualHardwareTargetInstanceApiService) ListVhtInstanceArtefactManagersExecute(r ApiListVhtInstanceArtefactManagersRequest) (*ArtefactManagerCollection, *http.Response, error) { +func (a *VirtualHardwareTargetInstanceAPIService) ListVhtInstanceArtefactManagersExecute(r ApiListVhtInstanceArtefactManagersRequest) (*ArtefactManagerCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1201,7 +1201,7 @@ func (a *VirtualHardwareTargetInstanceApiService) ListVhtInstanceArtefactManager localVarReturnValue *ArtefactManagerCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceApiService.ListVhtInstanceArtefactManagers") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceAPIService.ListVhtInstanceArtefactManagers") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1338,7 +1338,7 @@ func (a *VirtualHardwareTargetInstanceApiService) ListVhtInstanceArtefactManager type ApiListVhtInstancesRequest struct { ctx context.Context - ApiService *VirtualHardwareTargetInstanceApiService + ApiService *VirtualHardwareTargetInstanceAPIService acceptVersion *string embed *bool ifNoneMatch *string @@ -1388,7 +1388,7 @@ This returns a collection resource that lists all requested, in use or recently @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListVhtInstancesRequest */ -func (a *VirtualHardwareTargetInstanceApiService) ListVhtInstances(ctx context.Context) ApiListVhtInstancesRequest { +func (a *VirtualHardwareTargetInstanceAPIService) ListVhtInstances(ctx context.Context) ApiListVhtInstancesRequest { return ApiListVhtInstancesRequest{ ApiService: a, ctx: ctx, @@ -1397,7 +1397,7 @@ func (a *VirtualHardwareTargetInstanceApiService) ListVhtInstances(ctx context.C // Execute executes the request // @return VhtInstanceCollection -func (a *VirtualHardwareTargetInstanceApiService) ListVhtInstancesExecute(r ApiListVhtInstancesRequest) (*VhtInstanceCollection, *http.Response, error) { +func (a *VirtualHardwareTargetInstanceAPIService) ListVhtInstancesExecute(r ApiListVhtInstancesRequest) (*VhtInstanceCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1405,7 +1405,7 @@ func (a *VirtualHardwareTargetInstanceApiService) ListVhtInstancesExecute(r ApiL localVarReturnValue *VhtInstanceCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceApiService.ListVhtInstances") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceAPIService.ListVhtInstances") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1530,7 +1530,7 @@ func (a *VirtualHardwareTargetInstanceApiService) ListVhtInstancesExecute(r ApiL type ApiStartVhtRunJobRequest struct { ctx context.Context - ApiService *VirtualHardwareTargetInstanceApiService + ApiService *VirtualHardwareTargetInstanceAPIService instanceName string vhtRunJobItem *VhtRunJobItem acceptVersion *string @@ -1561,7 +1561,7 @@ Starts a VHT Run Job on this instance. @param instanceName Unique ID of the VHT instance. @return ApiStartVhtRunJobRequest */ -func (a *VirtualHardwareTargetInstanceApiService) StartVhtRunJob(ctx context.Context, instanceName string) ApiStartVhtRunJobRequest { +func (a *VirtualHardwareTargetInstanceAPIService) StartVhtRunJob(ctx context.Context, instanceName string) ApiStartVhtRunJobRequest { return ApiStartVhtRunJobRequest{ ApiService: a, ctx: ctx, @@ -1571,7 +1571,7 @@ func (a *VirtualHardwareTargetInstanceApiService) StartVhtRunJob(ctx context.Con // Execute executes the request // @return VhtRunJobItem -func (a *VirtualHardwareTargetInstanceApiService) StartVhtRunJobExecute(r ApiStartVhtRunJobRequest) (*VhtRunJobItem, *http.Response, error) { +func (a *VirtualHardwareTargetInstanceAPIService) StartVhtRunJobExecute(r ApiStartVhtRunJobRequest) (*VhtRunJobItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -1579,7 +1579,7 @@ func (a *VirtualHardwareTargetInstanceApiService) StartVhtRunJobExecute(r ApiSta localVarReturnValue *VhtRunJobItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceApiService.StartVhtRunJob") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceAPIService.StartVhtRunJob") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1742,7 +1742,7 @@ func (a *VirtualHardwareTargetInstanceApiService) StartVhtRunJobExecute(r ApiSta type ApiStopVhtInstanceRequest struct { ctx context.Context - ApiService *VirtualHardwareTargetInstanceApiService + ApiService *VirtualHardwareTargetInstanceAPIService instanceName string acceptVersion *string } @@ -1766,7 +1766,7 @@ This will stop and release a VHT instance that is currently in use. All output m @param instanceName Unique ID of the VHT instance. @return ApiStopVhtInstanceRequest */ -func (a *VirtualHardwareTargetInstanceApiService) StopVhtInstance(ctx context.Context, instanceName string) ApiStopVhtInstanceRequest { +func (a *VirtualHardwareTargetInstanceAPIService) StopVhtInstance(ctx context.Context, instanceName string) ApiStopVhtInstanceRequest { return ApiStopVhtInstanceRequest{ ApiService: a, ctx: ctx, @@ -1776,7 +1776,7 @@ func (a *VirtualHardwareTargetInstanceApiService) StopVhtInstance(ctx context.Co // Execute executes the request // @return VhtInstanceItem -func (a *VirtualHardwareTargetInstanceApiService) StopVhtInstanceExecute(r ApiStopVhtInstanceRequest) (*VhtInstanceItem, *http.Response, error) { +func (a *VirtualHardwareTargetInstanceAPIService) StopVhtInstanceExecute(r ApiStopVhtInstanceRequest) (*VhtInstanceItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -1784,7 +1784,7 @@ func (a *VirtualHardwareTargetInstanceApiService) StopVhtInstanceExecute(r ApiSt localVarReturnValue *VhtInstanceItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceApiService.StopVhtInstance") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceAPIService.StopVhtInstance") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1931,7 +1931,7 @@ func (a *VirtualHardwareTargetInstanceApiService) StopVhtInstanceExecute(r ApiSt type ApiUploadVhtInstanceArtefactRequest struct { ctx context.Context - ApiService *VirtualHardwareTargetInstanceApiService + ApiService *VirtualHardwareTargetInstanceAPIService artefactName string instanceName string ifMatch *string @@ -1999,7 +1999,7 @@ An artefact represents an item used by the VHT instance for a run job (e.g. bina @param instanceName Unique ID of the VHT instance. @return ApiUploadVhtInstanceArtefactRequest */ -func (a *VirtualHardwareTargetInstanceApiService) UploadVhtInstanceArtefact(ctx context.Context, artefactName string, instanceName string) ApiUploadVhtInstanceArtefactRequest { +func (a *VirtualHardwareTargetInstanceAPIService) UploadVhtInstanceArtefact(ctx context.Context, artefactName string, instanceName string) ApiUploadVhtInstanceArtefactRequest { return ApiUploadVhtInstanceArtefactRequest{ ApiService: a, ctx: ctx, @@ -2010,7 +2010,7 @@ func (a *VirtualHardwareTargetInstanceApiService) UploadVhtInstanceArtefact(ctx // Execute executes the request // @return ArtefactManagerItem -func (a *VirtualHardwareTargetInstanceApiService) UploadVhtInstanceArtefactExecute(r ApiUploadVhtInstanceArtefactRequest) (*ArtefactManagerItem, *http.Response, error) { +func (a *VirtualHardwareTargetInstanceAPIService) UploadVhtInstanceArtefactExecute(r ApiUploadVhtInstanceArtefactRequest) (*ArtefactManagerItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -2018,7 +2018,7 @@ func (a *VirtualHardwareTargetInstanceApiService) UploadVhtInstanceArtefactExecu localVarReturnValue *ArtefactManagerItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceApiService.UploadVhtInstanceArtefact") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VirtualHardwareTargetInstanceAPIService.UploadVhtInstanceArtefact") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/client/api_workspace.go b/client/api_workspace.go index 30740f6..6b6b838 100644 --- a/client/api_workspace.go +++ b/client/api_workspace.go @@ -27,12 +27,12 @@ import ( ) -// WorkspaceApiService WorkspaceApi service -type WorkspaceApiService service +// WorkspaceAPIService WorkspaceAPI service +type WorkspaceAPIService service type ApiClearWorkspaceArchiveContentRequest struct { ctx context.Context - ApiService *WorkspaceApiService + ApiService *WorkspaceAPIService workspaceName string acceptVersion *string } @@ -57,7 +57,7 @@ The content of the workspace is removed from the platform and will not be retrie @param workspaceName Unique ID of the Workspace. @return ApiClearWorkspaceArchiveContentRequest */ -func (a *WorkspaceApiService) ClearWorkspaceArchiveContent(ctx context.Context, workspaceName string) ApiClearWorkspaceArchiveContentRequest { +func (a *WorkspaceAPIService) ClearWorkspaceArchiveContent(ctx context.Context, workspaceName string) ApiClearWorkspaceArchiveContentRequest { return ApiClearWorkspaceArchiveContentRequest{ ApiService: a, ctx: ctx, @@ -66,14 +66,14 @@ func (a *WorkspaceApiService) ClearWorkspaceArchiveContent(ctx context.Context, } // Execute executes the request -func (a *WorkspaceApiService) ClearWorkspaceArchiveContentExecute(r ApiClearWorkspaceArchiveContentRequest) (*http.Response, error) { +func (a *WorkspaceAPIService) ClearWorkspaceArchiveContentExecute(r ApiClearWorkspaceArchiveContentRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceApiService.ClearWorkspaceArchiveContent") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceAPIService.ClearWorkspaceArchiveContent") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -211,7 +211,7 @@ func (a *WorkspaceApiService) ClearWorkspaceArchiveContentExecute(r ApiClearWork type ApiClearWorkspaceRepositoryContentManagerRequest struct { ctx context.Context - ApiService *WorkspaceApiService + ApiService *WorkspaceAPIService workspaceName string acceptVersion *string } @@ -236,7 +236,7 @@ The content of the workspace is removed from the platform and will not be retrie @param workspaceName Unique ID of the Workspace. @return ApiClearWorkspaceRepositoryContentManagerRequest */ -func (a *WorkspaceApiService) ClearWorkspaceRepositoryContentManager(ctx context.Context, workspaceName string) ApiClearWorkspaceRepositoryContentManagerRequest { +func (a *WorkspaceAPIService) ClearWorkspaceRepositoryContentManager(ctx context.Context, workspaceName string) ApiClearWorkspaceRepositoryContentManagerRequest { return ApiClearWorkspaceRepositoryContentManagerRequest{ ApiService: a, ctx: ctx, @@ -245,14 +245,14 @@ func (a *WorkspaceApiService) ClearWorkspaceRepositoryContentManager(ctx context } // Execute executes the request -func (a *WorkspaceApiService) ClearWorkspaceRepositoryContentManagerExecute(r ApiClearWorkspaceRepositoryContentManagerRequest) (*http.Response, error) { +func (a *WorkspaceAPIService) ClearWorkspaceRepositoryContentManagerExecute(r ApiClearWorkspaceRepositoryContentManagerRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceApiService.ClearWorkspaceRepositoryContentManager") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceAPIService.ClearWorkspaceRepositoryContentManager") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -390,7 +390,7 @@ func (a *WorkspaceApiService) ClearWorkspaceRepositoryContentManagerExecute(r Ap type ApiCreateWorkspaceRequest struct { ctx context.Context - ApiService *WorkspaceApiService + ApiService *WorkspaceAPIService workspaceSourceName string workspaceItem *WorkspaceItem acceptVersion *string @@ -421,7 +421,7 @@ Generates a workspace for the type of source specified. @param workspaceSourceName The ID of the workspace source. @return ApiCreateWorkspaceRequest */ -func (a *WorkspaceApiService) CreateWorkspace(ctx context.Context, workspaceSourceName string) ApiCreateWorkspaceRequest { +func (a *WorkspaceAPIService) CreateWorkspace(ctx context.Context, workspaceSourceName string) ApiCreateWorkspaceRequest { return ApiCreateWorkspaceRequest{ ApiService: a, ctx: ctx, @@ -431,7 +431,7 @@ func (a *WorkspaceApiService) CreateWorkspace(ctx context.Context, workspaceSour // Execute executes the request // @return WorkspaceItem -func (a *WorkspaceApiService) CreateWorkspaceExecute(r ApiCreateWorkspaceRequest) (*WorkspaceItem, *http.Response, error) { +func (a *WorkspaceAPIService) CreateWorkspaceExecute(r ApiCreateWorkspaceRequest) (*WorkspaceItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -439,7 +439,7 @@ func (a *WorkspaceApiService) CreateWorkspaceExecute(r ApiCreateWorkspaceRequest localVarReturnValue *WorkspaceItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceApiService.CreateWorkspace") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceAPIService.CreateWorkspace") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -591,7 +591,7 @@ func (a *WorkspaceApiService) CreateWorkspaceExecute(r ApiCreateWorkspaceRequest type ApiDeleteWorkspaceRequest struct { ctx context.Context - ApiService *WorkspaceApiService + ApiService *WorkspaceAPIService workspaceName string acceptVersion *string } @@ -615,7 +615,7 @@ Deletes a workspace. @param workspaceName Unique ID of the Workspace. @return ApiDeleteWorkspaceRequest */ -func (a *WorkspaceApiService) DeleteWorkspace(ctx context.Context, workspaceName string) ApiDeleteWorkspaceRequest { +func (a *WorkspaceAPIService) DeleteWorkspace(ctx context.Context, workspaceName string) ApiDeleteWorkspaceRequest { return ApiDeleteWorkspaceRequest{ ApiService: a, ctx: ctx, @@ -624,14 +624,14 @@ func (a *WorkspaceApiService) DeleteWorkspace(ctx context.Context, workspaceName } // Execute executes the request -func (a *WorkspaceApiService) DeleteWorkspaceExecute(r ApiDeleteWorkspaceRequest) (*http.Response, error) { +func (a *WorkspaceAPIService) DeleteWorkspaceExecute(r ApiDeleteWorkspaceRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceApiService.DeleteWorkspace") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceAPIService.DeleteWorkspace") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -769,7 +769,7 @@ func (a *WorkspaceApiService) DeleteWorkspaceExecute(r ApiDeleteWorkspaceRequest type ApiEditWorkspaceRepositoryContentManagerRequest struct { ctx context.Context - ApiService *WorkspaceApiService + ApiService *WorkspaceAPIService workspaceName string ifMatch *string workspaceRepositoryContentManager *WorkspaceRepositoryContentManager @@ -807,7 +807,7 @@ The content of the workspace is defined in a repository which is checked out. @param workspaceName Unique ID of the Workspace. @return ApiEditWorkspaceRepositoryContentManagerRequest */ -func (a *WorkspaceApiService) EditWorkspaceRepositoryContentManager(ctx context.Context, workspaceName string) ApiEditWorkspaceRepositoryContentManagerRequest { +func (a *WorkspaceAPIService) EditWorkspaceRepositoryContentManager(ctx context.Context, workspaceName string) ApiEditWorkspaceRepositoryContentManagerRequest { return ApiEditWorkspaceRepositoryContentManagerRequest{ ApiService: a, ctx: ctx, @@ -817,7 +817,7 @@ func (a *WorkspaceApiService) EditWorkspaceRepositoryContentManager(ctx context. // Execute executes the request // @return WorkspaceRepositoryContentManager -func (a *WorkspaceApiService) EditWorkspaceRepositoryContentManagerExecute(r ApiEditWorkspaceRepositoryContentManagerRequest) (*WorkspaceRepositoryContentManager, *http.Response, error) { +func (a *WorkspaceAPIService) EditWorkspaceRepositoryContentManagerExecute(r ApiEditWorkspaceRepositoryContentManagerRequest) (*WorkspaceRepositoryContentManager, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -825,7 +825,7 @@ func (a *WorkspaceApiService) EditWorkspaceRepositoryContentManagerExecute(r Api localVarReturnValue *WorkspaceRepositoryContentManager ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceApiService.EditWorkspaceRepositoryContentManager") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceAPIService.EditWorkspaceRepositoryContentManager") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1003,7 +1003,7 @@ func (a *WorkspaceApiService) EditWorkspaceRepositoryContentManagerExecute(r Api type ApiGetWorkspaceRequest struct { ctx context.Context - ApiService *WorkspaceApiService + ApiService *WorkspaceAPIService workspaceName string acceptVersion *string ifNoneMatch *string @@ -1034,7 +1034,7 @@ The state the workspace is currently in @param workspaceName Unique ID of the Workspace. @return ApiGetWorkspaceRequest */ -func (a *WorkspaceApiService) GetWorkspace(ctx context.Context, workspaceName string) ApiGetWorkspaceRequest { +func (a *WorkspaceAPIService) GetWorkspace(ctx context.Context, workspaceName string) ApiGetWorkspaceRequest { return ApiGetWorkspaceRequest{ ApiService: a, ctx: ctx, @@ -1044,7 +1044,7 @@ func (a *WorkspaceApiService) GetWorkspace(ctx context.Context, workspaceName st // Execute executes the request // @return WorkspaceItem -func (a *WorkspaceApiService) GetWorkspaceExecute(r ApiGetWorkspaceRequest) (*WorkspaceItem, *http.Response, error) { +func (a *WorkspaceAPIService) GetWorkspaceExecute(r ApiGetWorkspaceRequest) (*WorkspaceItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1052,7 +1052,7 @@ func (a *WorkspaceApiService) GetWorkspaceExecute(r ApiGetWorkspaceRequest) (*Wo localVarReturnValue *WorkspaceItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceApiService.GetWorkspace") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceAPIService.GetWorkspace") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1180,7 +1180,7 @@ func (a *WorkspaceApiService) GetWorkspaceExecute(r ApiGetWorkspaceRequest) (*Wo type ApiGetWorkspaceArchiveContentRequest struct { ctx context.Context - ApiService *WorkspaceApiService + ApiService *WorkspaceAPIService workspaceName string acceptVersion *string ifNoneMatch *string @@ -1212,7 +1212,7 @@ The content of the workspace is contained into an archive file. @param workspaceName Unique ID of the Workspace. @return ApiGetWorkspaceArchiveContentRequest */ -func (a *WorkspaceApiService) GetWorkspaceArchiveContent(ctx context.Context, workspaceName string) ApiGetWorkspaceArchiveContentRequest { +func (a *WorkspaceAPIService) GetWorkspaceArchiveContent(ctx context.Context, workspaceName string) ApiGetWorkspaceArchiveContentRequest { return ApiGetWorkspaceArchiveContentRequest{ ApiService: a, ctx: ctx, @@ -1222,7 +1222,7 @@ func (a *WorkspaceApiService) GetWorkspaceArchiveContent(ctx context.Context, wo // Execute executes the request // @return ArtefactManagerItem -func (a *WorkspaceApiService) GetWorkspaceArchiveContentExecute(r ApiGetWorkspaceArchiveContentRequest) (*ArtefactManagerItem, *http.Response, error) { +func (a *WorkspaceAPIService) GetWorkspaceArchiveContentExecute(r ApiGetWorkspaceArchiveContentRequest) (*ArtefactManagerItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1230,7 +1230,7 @@ func (a *WorkspaceApiService) GetWorkspaceArchiveContentExecute(r ApiGetWorkspac localVarReturnValue *ArtefactManagerItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceApiService.GetWorkspaceArchiveContent") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceAPIService.GetWorkspaceArchiveContent") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1358,7 +1358,7 @@ func (a *WorkspaceApiService) GetWorkspaceArchiveContentExecute(r ApiGetWorkspac type ApiGetWorkspaceDetailsRequest struct { ctx context.Context - ApiService *WorkspaceApiService + ApiService *WorkspaceAPIService workspaceName string acceptVersion *string ifNoneMatch *string @@ -1389,7 +1389,7 @@ Retrieve further details about the given Workspace. @param workspaceName Unique ID of the Workspace. @return ApiGetWorkspaceDetailsRequest */ -func (a *WorkspaceApiService) GetWorkspaceDetails(ctx context.Context, workspaceName string) ApiGetWorkspaceDetailsRequest { +func (a *WorkspaceAPIService) GetWorkspaceDetails(ctx context.Context, workspaceName string) ApiGetWorkspaceDetailsRequest { return ApiGetWorkspaceDetailsRequest{ ApiService: a, ctx: ctx, @@ -1399,7 +1399,7 @@ func (a *WorkspaceApiService) GetWorkspaceDetails(ctx context.Context, workspace // Execute executes the request // @return WorkspaceDetailsItem -func (a *WorkspaceApiService) GetWorkspaceDetailsExecute(r ApiGetWorkspaceDetailsRequest) (*WorkspaceDetailsItem, *http.Response, error) { +func (a *WorkspaceAPIService) GetWorkspaceDetailsExecute(r ApiGetWorkspaceDetailsRequest) (*WorkspaceDetailsItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1407,7 +1407,7 @@ func (a *WorkspaceApiService) GetWorkspaceDetailsExecute(r ApiGetWorkspaceDetail localVarReturnValue *WorkspaceDetailsItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceApiService.GetWorkspaceDetails") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceAPIService.GetWorkspaceDetails") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1481,7 +1481,7 @@ func (a *WorkspaceApiService) GetWorkspaceDetailsExecute(r ApiGetWorkspaceDetail type ApiGetWorkspaceRepositoryContentManagerRequest struct { ctx context.Context - ApiService *WorkspaceApiService + ApiService *WorkspaceAPIService workspaceName string acceptVersion *string ifNoneMatch *string @@ -1513,7 +1513,7 @@ The content of the workspace is contained in a repository. @param workspaceName Unique ID of the Workspace. @return ApiGetWorkspaceRepositoryContentManagerRequest */ -func (a *WorkspaceApiService) GetWorkspaceRepositoryContentManager(ctx context.Context, workspaceName string) ApiGetWorkspaceRepositoryContentManagerRequest { +func (a *WorkspaceAPIService) GetWorkspaceRepositoryContentManager(ctx context.Context, workspaceName string) ApiGetWorkspaceRepositoryContentManagerRequest { return ApiGetWorkspaceRepositoryContentManagerRequest{ ApiService: a, ctx: ctx, @@ -1523,7 +1523,7 @@ func (a *WorkspaceApiService) GetWorkspaceRepositoryContentManager(ctx context.C // Execute executes the request // @return WorkspaceRepositoryContentManager -func (a *WorkspaceApiService) GetWorkspaceRepositoryContentManagerExecute(r ApiGetWorkspaceRepositoryContentManagerRequest) (*WorkspaceRepositoryContentManager, *http.Response, error) { +func (a *WorkspaceAPIService) GetWorkspaceRepositoryContentManagerExecute(r ApiGetWorkspaceRepositoryContentManagerRequest) (*WorkspaceRepositoryContentManager, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1531,7 +1531,7 @@ func (a *WorkspaceApiService) GetWorkspaceRepositoryContentManagerExecute(r ApiG localVarReturnValue *WorkspaceRepositoryContentManager ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceApiService.GetWorkspaceRepositoryContentManager") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceAPIService.GetWorkspaceRepositoryContentManager") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1659,7 +1659,7 @@ func (a *WorkspaceApiService) GetWorkspaceRepositoryContentManagerExecute(r ApiG type ApiListWorkspacesRequest struct { ctx context.Context - ApiService *WorkspaceApiService + ApiService *WorkspaceAPIService acceptVersion *string embed *bool ifNoneMatch *string @@ -1709,7 +1709,7 @@ This returns a collection resource that lists all available workspaces. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListWorkspacesRequest */ -func (a *WorkspaceApiService) ListWorkspaces(ctx context.Context) ApiListWorkspacesRequest { +func (a *WorkspaceAPIService) ListWorkspaces(ctx context.Context) ApiListWorkspacesRequest { return ApiListWorkspacesRequest{ ApiService: a, ctx: ctx, @@ -1718,7 +1718,7 @@ func (a *WorkspaceApiService) ListWorkspaces(ctx context.Context) ApiListWorkspa // Execute executes the request // @return WorkspaceCollection -func (a *WorkspaceApiService) ListWorkspacesExecute(r ApiListWorkspacesRequest) (*WorkspaceCollection, *http.Response, error) { +func (a *WorkspaceAPIService) ListWorkspacesExecute(r ApiListWorkspacesRequest) (*WorkspaceCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1726,7 +1726,7 @@ func (a *WorkspaceApiService) ListWorkspacesExecute(r ApiListWorkspacesRequest) localVarReturnValue *WorkspaceCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceApiService.ListWorkspaces") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceAPIService.ListWorkspaces") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1851,7 +1851,7 @@ func (a *WorkspaceApiService) ListWorkspacesExecute(r ApiListWorkspacesRequest) type ApiRetainWorkspaceRequest struct { ctx context.Context - ApiService *WorkspaceApiService + ApiService *WorkspaceAPIService workspaceName string acceptVersion *string retainWorkspaceRequest *RetainWorkspaceRequest @@ -1882,7 +1882,7 @@ Set the time at which the workspace and all associated resources will be removed @param workspaceName Unique ID of the Workspace. @return ApiRetainWorkspaceRequest */ -func (a *WorkspaceApiService) RetainWorkspace(ctx context.Context, workspaceName string) ApiRetainWorkspaceRequest { +func (a *WorkspaceAPIService) RetainWorkspace(ctx context.Context, workspaceName string) ApiRetainWorkspaceRequest { return ApiRetainWorkspaceRequest{ ApiService: a, ctx: ctx, @@ -1892,7 +1892,7 @@ func (a *WorkspaceApiService) RetainWorkspace(ctx context.Context, workspaceName // Execute executes the request // @return WorkspaceItem -func (a *WorkspaceApiService) RetainWorkspaceExecute(r ApiRetainWorkspaceRequest) (*WorkspaceItem, *http.Response, error) { +func (a *WorkspaceAPIService) RetainWorkspaceExecute(r ApiRetainWorkspaceRequest) (*WorkspaceItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -1900,7 +1900,7 @@ func (a *WorkspaceApiService) RetainWorkspaceExecute(r ApiRetainWorkspaceRequest localVarReturnValue *WorkspaceItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceApiService.RetainWorkspace") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceAPIService.RetainWorkspace") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -2049,7 +2049,7 @@ func (a *WorkspaceApiService) RetainWorkspaceExecute(r ApiRetainWorkspaceRequest type ApiUploadWorkspaceArchiveContentRequest struct { ctx context.Context - ApiService *WorkspaceApiService + ApiService *WorkspaceAPIService workspaceName string ifMatch *string content *os.File @@ -2115,7 +2115,7 @@ The content of the workspace is contained in an archive file which is uploaded a @param workspaceName Unique ID of the Workspace. @return ApiUploadWorkspaceArchiveContentRequest */ -func (a *WorkspaceApiService) UploadWorkspaceArchiveContent(ctx context.Context, workspaceName string) ApiUploadWorkspaceArchiveContentRequest { +func (a *WorkspaceAPIService) UploadWorkspaceArchiveContent(ctx context.Context, workspaceName string) ApiUploadWorkspaceArchiveContentRequest { return ApiUploadWorkspaceArchiveContentRequest{ ApiService: a, ctx: ctx, @@ -2125,7 +2125,7 @@ func (a *WorkspaceApiService) UploadWorkspaceArchiveContent(ctx context.Context, // Execute executes the request // @return ArtefactManagerItem -func (a *WorkspaceApiService) UploadWorkspaceArchiveContentExecute(r ApiUploadWorkspaceArchiveContentRequest) (*ArtefactManagerItem, *http.Response, error) { +func (a *WorkspaceAPIService) UploadWorkspaceArchiveContentExecute(r ApiUploadWorkspaceArchiveContentRequest) (*ArtefactManagerItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -2133,7 +2133,7 @@ func (a *WorkspaceApiService) UploadWorkspaceArchiveContentExecute(r ApiUploadWo localVarReturnValue *ArtefactManagerItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceApiService.UploadWorkspaceArchiveContent") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceAPIService.UploadWorkspaceArchiveContent") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/client/api_workspace_source.go b/client/api_workspace_source.go index c707aba..6c78f76 100644 --- a/client/api_workspace_source.go +++ b/client/api_workspace_source.go @@ -26,12 +26,12 @@ import ( ) -// WorkspaceSourceApiService WorkspaceSourceApi service -type WorkspaceSourceApiService service +// WorkspaceSourceAPIService WorkspaceSourceAPI service +type WorkspaceSourceAPIService service type ApiGetWorkspaceSourceRequest struct { ctx context.Context - ApiService *WorkspaceSourceApiService + ApiService *WorkspaceSourceAPIService workspaceSourceName string acceptVersion *string ifNoneMatch *string @@ -62,7 +62,7 @@ A workspace source defines what an ephemeral workspace can be created from e.g. @param workspaceSourceName The ID of the workspace source. @return ApiGetWorkspaceSourceRequest */ -func (a *WorkspaceSourceApiService) GetWorkspaceSource(ctx context.Context, workspaceSourceName string) ApiGetWorkspaceSourceRequest { +func (a *WorkspaceSourceAPIService) GetWorkspaceSource(ctx context.Context, workspaceSourceName string) ApiGetWorkspaceSourceRequest { return ApiGetWorkspaceSourceRequest{ ApiService: a, ctx: ctx, @@ -72,7 +72,7 @@ func (a *WorkspaceSourceApiService) GetWorkspaceSource(ctx context.Context, work // Execute executes the request // @return WorkspaceSourceItem -func (a *WorkspaceSourceApiService) GetWorkspaceSourceExecute(r ApiGetWorkspaceSourceRequest) (*WorkspaceSourceItem, *http.Response, error) { +func (a *WorkspaceSourceAPIService) GetWorkspaceSourceExecute(r ApiGetWorkspaceSourceRequest) (*WorkspaceSourceItem, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -80,7 +80,7 @@ func (a *WorkspaceSourceApiService) GetWorkspaceSourceExecute(r ApiGetWorkspaceS localVarReturnValue *WorkspaceSourceItem ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceSourceApiService.GetWorkspaceSource") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceSourceAPIService.GetWorkspaceSource") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -208,7 +208,7 @@ func (a *WorkspaceSourceApiService) GetWorkspaceSourceExecute(r ApiGetWorkspaceS type ApiListWorkspaceSourcesRequest struct { ctx context.Context - ApiService *WorkspaceSourceApiService + ApiService *WorkspaceSourceAPIService acceptVersion *string embed *bool ifNoneMatch *string @@ -258,7 +258,7 @@ This returns a collection resource that lists all of the workspace sources curre @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListWorkspaceSourcesRequest */ -func (a *WorkspaceSourceApiService) ListWorkspaceSources(ctx context.Context) ApiListWorkspaceSourcesRequest { +func (a *WorkspaceSourceAPIService) ListWorkspaceSources(ctx context.Context) ApiListWorkspaceSourcesRequest { return ApiListWorkspaceSourcesRequest{ ApiService: a, ctx: ctx, @@ -267,7 +267,7 @@ func (a *WorkspaceSourceApiService) ListWorkspaceSources(ctx context.Context) Ap // Execute executes the request // @return WorkspaceSourceCollection -func (a *WorkspaceSourceApiService) ListWorkspaceSourcesExecute(r ApiListWorkspaceSourcesRequest) (*WorkspaceSourceCollection, *http.Response, error) { +func (a *WorkspaceSourceAPIService) ListWorkspaceSourcesExecute(r ApiListWorkspaceSourcesRequest) (*WorkspaceSourceCollection, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -275,7 +275,7 @@ func (a *WorkspaceSourceApiService) ListWorkspaceSourcesExecute(r ApiListWorkspa localVarReturnValue *WorkspaceSourceCollection ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceSourceApiService.ListWorkspaceSources") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WorkspaceSourceAPIService.ListWorkspaceSources") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/client/client.go b/client/client.go index 1fbd47c..fdb51d6 100644 --- a/client/client.go +++ b/client/client.go @@ -55,31 +55,31 @@ type APIClient struct { // API Services - BoardsApi *BoardsApiService + BoardsAPI *BoardsAPIService - BuildJobsApi *BuildJobsApiService + BuildJobsAPI *BuildJobsAPIService - CMSISBuildersApi *CMSISBuildersApiService + CMSISBuildersAPI *CMSISBuildersAPIService - CMSISIntellisenseBuildersApi *CMSISIntellisenseBuildersApiService + CMSISIntellisenseBuildersAPI *CMSISIntellisenseBuildersAPIService - DevicesApi *DevicesApiService + DevicesAPI *DevicesAPIService - IntellisenseJobsApi *IntellisenseJobsApiService + IntellisenseJobsAPI *IntellisenseJobsAPIService - RootResourceApi *RootResourceApiService + RootResourceAPI *RootResourceAPIService - VHTRunJobsApi *VHTRunJobsApiService + VHTRunJobsAPI *VHTRunJobsAPIService - VendorsApi *VendorsApiService + VendorsAPI *VendorsAPIService - VirtualHardwareTargetApi *VirtualHardwareTargetApiService + VirtualHardwareTargetAPI *VirtualHardwareTargetAPIService - VirtualHardwareTargetInstanceApi *VirtualHardwareTargetInstanceApiService + VirtualHardwareTargetInstanceAPI *VirtualHardwareTargetInstanceAPIService - WorkspaceApi *WorkspaceApiService + WorkspaceAPI *WorkspaceAPIService - WorkspaceSourceApi *WorkspaceSourceApiService + WorkspaceSourceAPI *WorkspaceSourceAPIService } type service struct { @@ -98,19 +98,19 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.common.client = c // API Services - c.BoardsApi = (*BoardsApiService)(&c.common) - c.BuildJobsApi = (*BuildJobsApiService)(&c.common) - c.CMSISBuildersApi = (*CMSISBuildersApiService)(&c.common) - c.CMSISIntellisenseBuildersApi = (*CMSISIntellisenseBuildersApiService)(&c.common) - c.DevicesApi = (*DevicesApiService)(&c.common) - c.IntellisenseJobsApi = (*IntellisenseJobsApiService)(&c.common) - c.RootResourceApi = (*RootResourceApiService)(&c.common) - c.VHTRunJobsApi = (*VHTRunJobsApiService)(&c.common) - c.VendorsApi = (*VendorsApiService)(&c.common) - c.VirtualHardwareTargetApi = (*VirtualHardwareTargetApiService)(&c.common) - c.VirtualHardwareTargetInstanceApi = (*VirtualHardwareTargetInstanceApiService)(&c.common) - c.WorkspaceApi = (*WorkspaceApiService)(&c.common) - c.WorkspaceSourceApi = (*WorkspaceSourceApiService)(&c.common) + c.BoardsAPI = (*BoardsAPIService)(&c.common) + c.BuildJobsAPI = (*BuildJobsAPIService)(&c.common) + c.CMSISBuildersAPI = (*CMSISBuildersAPIService)(&c.common) + c.CMSISIntellisenseBuildersAPI = (*CMSISIntellisenseBuildersAPIService)(&c.common) + c.DevicesAPI = (*DevicesAPIService)(&c.common) + c.IntellisenseJobsAPI = (*IntellisenseJobsAPIService)(&c.common) + c.RootResourceAPI = (*RootResourceAPIService)(&c.common) + c.VHTRunJobsAPI = (*VHTRunJobsAPIService)(&c.common) + c.VendorsAPI = (*VendorsAPIService)(&c.common) + c.VirtualHardwareTargetAPI = (*VirtualHardwareTargetAPIService)(&c.common) + c.VirtualHardwareTargetInstanceAPI = (*VirtualHardwareTargetInstanceAPIService)(&c.common) + c.WorkspaceAPI = (*WorkspaceAPIService)(&c.common) + c.WorkspaceSourceAPI = (*WorkspaceSourceAPIService)(&c.common) return c } @@ -483,6 +483,7 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err return } _, err = f.Seek(0, io.SeekStart) + err = os.Remove(f.Name()) return } if f, ok := v.(**os.File); ok { @@ -495,6 +496,7 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err return } _, err = (*f).Seek(0, io.SeekStart) + err = os.Remove((*f).Name()) return } if xmlCheck.MatchString(contentType) { @@ -571,7 +573,11 @@ func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err e } else if jsonCheck.MatchString(contentType) { err = json.NewEncoder(bodyBuf).Encode(body) } else if xmlCheck.MatchString(contentType) { - err = xml.NewEncoder(bodyBuf).Encode(body) + var bs []byte + bs, err = xml.Marshal(body) + if err == nil { + bodyBuf.Write(bs) + } } if err != nil { diff --git a/client/docs/BoardsApi.md b/client/docs/BoardsAPI.md similarity index 92% rename from client/docs/BoardsApi.md rename to client/docs/BoardsAPI.md index ccb5169..91bd9a0 100644 --- a/client/docs/BoardsApi.md +++ b/client/docs/BoardsAPI.md @@ -2,14 +2,14 @@ Copyright (C) 2020-2023 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> -# \BoardsApi +# \BoardsAPI All URIs are relative to *https://all.api.keil.arm.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetBoard**](BoardsApi.md#GetBoard) | **Get** /boards/{boardId}/ | Get a Board Item -[**ListBoards**](BoardsApi.md#ListBoards) | **Get** /boards/ | List all the Boards. +[**GetBoard**](BoardsAPI.md#GetBoard) | **Get** /boards/{boardId}/ | Get a Board Item +[**ListBoards**](BoardsAPI.md#ListBoards) | **Get** /boards/ | List all the Boards. @@ -39,13 +39,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.BoardsApi.GetBoard(context.Background(), boardId).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.BoardsAPI.GetBoard(context.Background(), boardId).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BoardsApi.GetBoard``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BoardsAPI.GetBoard``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetBoard`: BoardItem - fmt.Fprintf(os.Stdout, "Response from `BoardsApi.GetBoard`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `BoardsAPI.GetBoard`: %v\n", resp) } ``` @@ -114,13 +114,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.BoardsApi.ListBoards(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.BoardsAPI.ListBoards(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BoardsApi.ListBoards``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BoardsAPI.ListBoards``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListBoards`: ListBoardsCollection - fmt.Fprintf(os.Stdout, "Response from `BoardsApi.ListBoards`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `BoardsAPI.ListBoards`: %v\n", resp) } ``` diff --git a/client/docs/BuildJobsApi.md b/client/docs/BuildJobsAPI.md similarity index 92% rename from client/docs/BuildJobsApi.md rename to client/docs/BuildJobsAPI.md index 287875d..aef859b 100644 --- a/client/docs/BuildJobsApi.md +++ b/client/docs/BuildJobsAPI.md @@ -2,20 +2,20 @@ Copyright (C) 2020-2023 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> -# \BuildJobsApi +# \BuildJobsAPI All URIs are relative to *https://all.api.keil.arm.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CancelBuildJob**](BuildJobsApi.md#CancelBuildJob) | **Post** /build-jobs/{jobName}/cancel | Cancel a Build Job -[**DeleteBuildJob**](BuildJobsApi.md#DeleteBuildJob) | **Delete** /build-jobs/{jobName} | Delete a Build Job -[**GetBuildArtefact**](BuildJobsApi.md#GetBuildArtefact) | **Get** /build-jobs/{jobName}/artefacts/{artefactName} | Download the named Build Artefact for the given Build Job. -[**GetBuildJob**](BuildJobsApi.md#GetBuildJob) | **Get** /build-jobs/{jobName} | Return status of a Build Job. -[**GetBuildMessages**](BuildJobsApi.md#GetBuildMessages) | **Get** /build-jobs/{jobName}/messages | Build Message Feed. -[**ListBuildArtefacts**](BuildJobsApi.md#ListBuildArtefacts) | **Get** /build-jobs/{jobName}/artefacts/ | List all the available Build Artefacts for the given Build Job. -[**ListBuildJob**](BuildJobsApi.md#ListBuildJob) | **Get** /build-jobs/ | List all Build Jobs. -[**RetainBuildJob**](BuildJobsApi.md#RetainBuildJob) | **Post** /build-jobs/{jobName}/retain | Update how long a build job will be retained before automatic deletion. +[**CancelBuildJob**](BuildJobsAPI.md#CancelBuildJob) | **Post** /build-jobs/{jobName}/cancel | Cancel a Build Job +[**DeleteBuildJob**](BuildJobsAPI.md#DeleteBuildJob) | **Delete** /build-jobs/{jobName} | Delete a Build Job +[**GetBuildArtefact**](BuildJobsAPI.md#GetBuildArtefact) | **Get** /build-jobs/{jobName}/artefacts/{artefactName} | Download the named Build Artefact for the given Build Job. +[**GetBuildJob**](BuildJobsAPI.md#GetBuildJob) | **Get** /build-jobs/{jobName} | Return status of a Build Job. +[**GetBuildMessages**](BuildJobsAPI.md#GetBuildMessages) | **Get** /build-jobs/{jobName}/messages | Build Message Feed. +[**ListBuildArtefacts**](BuildJobsAPI.md#ListBuildArtefacts) | **Get** /build-jobs/{jobName}/artefacts/ | List all the available Build Artefacts for the given Build Job. +[**ListBuildJob**](BuildJobsAPI.md#ListBuildJob) | **Get** /build-jobs/ | List all Build Jobs. +[**RetainBuildJob**](BuildJobsAPI.md#RetainBuildJob) | **Post** /build-jobs/{jobName}/retain | Update how long a build job will be retained before automatic deletion. @@ -45,13 +45,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.BuildJobsApi.CancelBuildJob(context.Background(), jobName).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.BuildJobsAPI.CancelBuildJob(context.Background(), jobName).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsApi.CancelBuildJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsAPI.CancelBuildJob``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CancelBuildJob`: BuildJobItem - fmt.Fprintf(os.Stdout, "Response from `BuildJobsApi.CancelBuildJob`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `BuildJobsAPI.CancelBuildJob`: %v\n", resp) } ``` @@ -117,9 +117,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.BuildJobsApi.DeleteBuildJob(context.Background(), jobName).AcceptVersion(acceptVersion).Execute() + r, err := apiClient.BuildJobsAPI.DeleteBuildJob(context.Background(), jobName).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsApi.DeleteBuildJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsAPI.DeleteBuildJob``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -188,13 +188,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.BuildJobsApi.GetBuildArtefact(context.Background(), jobName, artefactName).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.BuildJobsAPI.GetBuildArtefact(context.Background(), jobName, artefactName).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsApi.GetBuildArtefact``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsAPI.GetBuildArtefact``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetBuildArtefact`: *os.File - fmt.Fprintf(os.Stdout, "Response from `BuildJobsApi.GetBuildArtefact`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `BuildJobsAPI.GetBuildArtefact`: %v\n", resp) } ``` @@ -263,13 +263,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.BuildJobsApi.GetBuildJob(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() + resp, r, err := apiClient.BuildJobsAPI.GetBuildJob(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsApi.GetBuildJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsAPI.GetBuildJob``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetBuildJob`: BuildJobItem - fmt.Fprintf(os.Stdout, "Response from `BuildJobsApi.GetBuildJob`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `BuildJobsAPI.GetBuildJob`: %v\n", resp) } ``` @@ -339,13 +339,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.BuildJobsApi.GetBuildMessages(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.BuildJobsAPI.GetBuildMessages(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsApi.GetBuildMessages``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsAPI.GetBuildMessages``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetBuildMessages`: BuildMessageItem - fmt.Fprintf(os.Stdout, "Response from `BuildJobsApi.GetBuildMessages`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `BuildJobsAPI.GetBuildMessages`: %v\n", resp) } ``` @@ -417,13 +417,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.BuildJobsApi.ListBuildArtefacts(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.BuildJobsAPI.ListBuildArtefacts(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsApi.ListBuildArtefacts``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsAPI.ListBuildArtefacts``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListBuildArtefacts`: SimpleCollection - fmt.Fprintf(os.Stdout, "Response from `BuildJobsApi.ListBuildArtefacts`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `BuildJobsAPI.ListBuildArtefacts`: %v\n", resp) } ``` @@ -495,13 +495,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.BuildJobsApi.ListBuildJob(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.BuildJobsAPI.ListBuildJob(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsApi.ListBuildJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsAPI.ListBuildJob``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListBuildJob`: BuildJobCollection - fmt.Fprintf(os.Stdout, "Response from `BuildJobsApi.ListBuildJob`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `BuildJobsAPI.ListBuildJob`: %v\n", resp) } ``` @@ -567,13 +567,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.BuildJobsApi.RetainBuildJob(context.Background(), jobName).AcceptVersion(acceptVersion).RetainBuildJobRequest(retainBuildJobRequest).Execute() + resp, r, err := apiClient.BuildJobsAPI.RetainBuildJob(context.Background(), jobName).AcceptVersion(acceptVersion).RetainBuildJobRequest(retainBuildJobRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsApi.RetainBuildJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `BuildJobsAPI.RetainBuildJob``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `RetainBuildJob`: BuildJobItem - fmt.Fprintf(os.Stdout, "Response from `BuildJobsApi.RetainBuildJob`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `BuildJobsAPI.RetainBuildJob`: %v\n", resp) } ``` diff --git a/client/docs/CMSISBuildersApi.md b/client/docs/CMSISBuildersAPI.md similarity index 93% rename from client/docs/CMSISBuildersApi.md rename to client/docs/CMSISBuildersAPI.md index 3ecf2e5..ccf3a66 100644 --- a/client/docs/CMSISBuildersApi.md +++ b/client/docs/CMSISBuildersAPI.md @@ -2,15 +2,15 @@ Copyright (C) 2020-2023 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> -# \CMSISBuildersApi +# \CMSISBuildersAPI All URIs are relative to *https://all.api.keil.arm.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetCmsisBuilder**](CMSISBuildersApi.md#GetCmsisBuilder) | **Get** /cmsis-builders/{builderName} | Return details of specific CMSIS Builders. -[**ListCmsisBuilders**](CMSISBuildersApi.md#ListCmsisBuilders) | **Get** /cmsis-builders/ | List available CMSIS Builders. -[**StartCmsisBuild**](CMSISBuildersApi.md#StartCmsisBuild) | **Post** /cmsis-builders/{builderName} | Initiate a build using the specified CMSIS Builder. +[**GetCmsisBuilder**](CMSISBuildersAPI.md#GetCmsisBuilder) | **Get** /cmsis-builders/{builderName} | Return details of specific CMSIS Builders. +[**ListCmsisBuilders**](CMSISBuildersAPI.md#ListCmsisBuilders) | **Get** /cmsis-builders/ | List available CMSIS Builders. +[**StartCmsisBuild**](CMSISBuildersAPI.md#StartCmsisBuild) | **Post** /cmsis-builders/{builderName} | Initiate a build using the specified CMSIS Builder. @@ -41,13 +41,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CMSISBuildersApi.GetCmsisBuilder(context.Background(), builderName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() + resp, r, err := apiClient.CMSISBuildersAPI.GetCmsisBuilder(context.Background(), builderName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CMSISBuildersApi.GetCmsisBuilder``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CMSISBuildersAPI.GetCmsisBuilder``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetCmsisBuilder`: CmsisBuilderItem - fmt.Fprintf(os.Stdout, "Response from `CMSISBuildersApi.GetCmsisBuilder`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CMSISBuildersAPI.GetCmsisBuilder`: %v\n", resp) } ``` @@ -117,13 +117,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CMSISBuildersApi.ListCmsisBuilders(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.CMSISBuildersAPI.ListCmsisBuilders(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CMSISBuildersApi.ListCmsisBuilders``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CMSISBuildersAPI.ListCmsisBuilders``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListCmsisBuilders`: CmsisBuilderCollection - fmt.Fprintf(os.Stdout, "Response from `CMSISBuildersApi.ListCmsisBuilders`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CMSISBuildersAPI.ListCmsisBuilders`: %v\n", resp) } ``` @@ -189,13 +189,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CMSISBuildersApi.StartCmsisBuild(context.Background(), builderName).BuildJobItem(buildJobItem).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.CMSISBuildersAPI.StartCmsisBuild(context.Background(), builderName).BuildJobItem(buildJobItem).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CMSISBuildersApi.StartCmsisBuild``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CMSISBuildersAPI.StartCmsisBuild``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `StartCmsisBuild`: BuildJobItem - fmt.Fprintf(os.Stdout, "Response from `CMSISBuildersApi.StartCmsisBuild`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CMSISBuildersAPI.StartCmsisBuild`: %v\n", resp) } ``` diff --git a/client/docs/CMSISIntellisenseBuildersApi.md b/client/docs/CMSISIntellisenseBuildersAPI.md similarity index 93% rename from client/docs/CMSISIntellisenseBuildersApi.md rename to client/docs/CMSISIntellisenseBuildersAPI.md index 71c72c1..e089b18 100644 --- a/client/docs/CMSISIntellisenseBuildersApi.md +++ b/client/docs/CMSISIntellisenseBuildersAPI.md @@ -2,15 +2,15 @@ Copyright (C) 2020-2023 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> -# \CMSISIntellisenseBuildersApi +# \CMSISIntellisenseBuildersAPI All URIs are relative to *https://all.api.keil.arm.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetCmsisIntellisense**](CMSISIntellisenseBuildersApi.md#GetCmsisIntellisense) | **Get** /cmsis-intellisense/{builderName} | Return details of specific CMSIS Intellisense Builders. -[**ListCmsisIntellisense**](CMSISIntellisenseBuildersApi.md#ListCmsisIntellisense) | **Get** /cmsis-intellisense/ | List available CMSIS Intellisense Builders. -[**StartCmsisIntellisense**](CMSISIntellisenseBuildersApi.md#StartCmsisIntellisense) | **Post** /cmsis-intellisense/{builderName} | Initiate a compilation database generation using the specified CMSIS Intellisense Builder. +[**GetCmsisIntellisense**](CMSISIntellisenseBuildersAPI.md#GetCmsisIntellisense) | **Get** /cmsis-intellisense/{builderName} | Return details of specific CMSIS Intellisense Builders. +[**ListCmsisIntellisense**](CMSISIntellisenseBuildersAPI.md#ListCmsisIntellisense) | **Get** /cmsis-intellisense/ | List available CMSIS Intellisense Builders. +[**StartCmsisIntellisense**](CMSISIntellisenseBuildersAPI.md#StartCmsisIntellisense) | **Post** /cmsis-intellisense/{builderName} | Initiate a compilation database generation using the specified CMSIS Intellisense Builder. @@ -41,13 +41,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CMSISIntellisenseBuildersApi.GetCmsisIntellisense(context.Background(), builderName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() + resp, r, err := apiClient.CMSISIntellisenseBuildersAPI.GetCmsisIntellisense(context.Background(), builderName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CMSISIntellisenseBuildersApi.GetCmsisIntellisense``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CMSISIntellisenseBuildersAPI.GetCmsisIntellisense``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetCmsisIntellisense`: CmsisBuilderItem - fmt.Fprintf(os.Stdout, "Response from `CMSISIntellisenseBuildersApi.GetCmsisIntellisense`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CMSISIntellisenseBuildersAPI.GetCmsisIntellisense`: %v\n", resp) } ``` @@ -117,13 +117,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CMSISIntellisenseBuildersApi.ListCmsisIntellisense(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.CMSISIntellisenseBuildersAPI.ListCmsisIntellisense(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CMSISIntellisenseBuildersApi.ListCmsisIntellisense``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CMSISIntellisenseBuildersAPI.ListCmsisIntellisense``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListCmsisIntellisense`: CmsisIntellisenseCollection - fmt.Fprintf(os.Stdout, "Response from `CMSISIntellisenseBuildersApi.ListCmsisIntellisense`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CMSISIntellisenseBuildersAPI.ListCmsisIntellisense`: %v\n", resp) } ``` @@ -189,13 +189,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CMSISIntellisenseBuildersApi.StartCmsisIntellisense(context.Background(), builderName).IntellisenseJobItem(intellisenseJobItem).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.CMSISIntellisenseBuildersAPI.StartCmsisIntellisense(context.Background(), builderName).IntellisenseJobItem(intellisenseJobItem).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CMSISIntellisenseBuildersApi.StartCmsisIntellisense``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CMSISIntellisenseBuildersAPI.StartCmsisIntellisense``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `StartCmsisIntellisense`: IntellisenseJobItem - fmt.Fprintf(os.Stdout, "Response from `CMSISIntellisenseBuildersApi.StartCmsisIntellisense`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `CMSISIntellisenseBuildersAPI.StartCmsisIntellisense`: %v\n", resp) } ``` diff --git a/client/docs/DevicesApi.md b/client/docs/DevicesAPI.md similarity index 92% rename from client/docs/DevicesApi.md rename to client/docs/DevicesAPI.md index d64500a..7d54c79 100644 --- a/client/docs/DevicesApi.md +++ b/client/docs/DevicesAPI.md @@ -2,14 +2,14 @@ Copyright (C) 2020-2023 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> -# \DevicesApi +# \DevicesAPI All URIs are relative to *https://all.api.keil.arm.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetDevice**](DevicesApi.md#GetDevice) | **Get** /devices/{deviceSlug} | Get a Device Item -[**ListDevices**](DevicesApi.md#ListDevices) | **Get** /devices/ | List all the Devices +[**GetDevice**](DevicesAPI.md#GetDevice) | **Get** /devices/{deviceSlug} | Get a Device Item +[**ListDevices**](DevicesAPI.md#ListDevices) | **Get** /devices/ | List all the Devices @@ -39,13 +39,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DevicesApi.GetDevice(context.Background(), deviceSlug).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.DevicesAPI.GetDevice(context.Background(), deviceSlug).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DevicesApi.GetDevice``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.GetDevice``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetDevice`: DeviceItem - fmt.Fprintf(os.Stdout, "Response from `DevicesApi.GetDevice`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DevicesAPI.GetDevice`: %v\n", resp) } ``` @@ -114,13 +114,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.DevicesApi.ListDevices(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.DevicesAPI.ListDevices(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `DevicesApi.ListDevices``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.ListDevices``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListDevices`: ListDevicesCollection - fmt.Fprintf(os.Stdout, "Response from `DevicesApi.ListDevices`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `DevicesAPI.ListDevices`: %v\n", resp) } ``` diff --git a/client/docs/IntellisenseJobsApi.md b/client/docs/IntellisenseJobsAPI.md similarity index 93% rename from client/docs/IntellisenseJobsApi.md rename to client/docs/IntellisenseJobsAPI.md index c00653d..b181cfa 100644 --- a/client/docs/IntellisenseJobsApi.md +++ b/client/docs/IntellisenseJobsAPI.md @@ -2,20 +2,20 @@ Copyright (C) 2020-2023 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> -# \IntellisenseJobsApi +# \IntellisenseJobsAPI All URIs are relative to *https://all.api.keil.arm.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CancelIntellisenseJob**](IntellisenseJobsApi.md#CancelIntellisenseJob) | **Post** /intellisense-jobs/{jobName}/cancel | Cancel an Intellisense Job. -[**DeleteIntellisenseJob**](IntellisenseJobsApi.md#DeleteIntellisenseJob) | **Delete** /intellisense-jobs/{jobName} | Delete an Intellisense Job. -[**GetIntellisenseArtefact**](IntellisenseJobsApi.md#GetIntellisenseArtefact) | **Get** /intellisense-jobs/{jobName}/artefacts/{artefactName} | Download the named Intellisense Artefact for the given Intellisense Job. -[**GetIntellisenseJob**](IntellisenseJobsApi.md#GetIntellisenseJob) | **Get** /intellisense-jobs/{jobName} | Return status of an Intellisense Job. -[**GetIntellisenseMessages**](IntellisenseJobsApi.md#GetIntellisenseMessages) | **Get** /intellisense-jobs/{jobName}/messages | Intellisense Message Feed. -[**ListIntellisenseArtefacts**](IntellisenseJobsApi.md#ListIntellisenseArtefacts) | **Get** /intellisense-jobs/{jobName}/artefacts/ | List all the available Intellisense Artefacts for the given Intellisense Job. -[**ListIntellisenseJob**](IntellisenseJobsApi.md#ListIntellisenseJob) | **Get** /intellisense-jobs/ | List all Intellisense Jobs. -[**RetainIntellisenseJob**](IntellisenseJobsApi.md#RetainIntellisenseJob) | **Post** /intellisense-jobs/{jobName}/retain | Update how long an intellisense job will be retained before automatic deletion. +[**CancelIntellisenseJob**](IntellisenseJobsAPI.md#CancelIntellisenseJob) | **Post** /intellisense-jobs/{jobName}/cancel | Cancel an Intellisense Job. +[**DeleteIntellisenseJob**](IntellisenseJobsAPI.md#DeleteIntellisenseJob) | **Delete** /intellisense-jobs/{jobName} | Delete an Intellisense Job. +[**GetIntellisenseArtefact**](IntellisenseJobsAPI.md#GetIntellisenseArtefact) | **Get** /intellisense-jobs/{jobName}/artefacts/{artefactName} | Download the named Intellisense Artefact for the given Intellisense Job. +[**GetIntellisenseJob**](IntellisenseJobsAPI.md#GetIntellisenseJob) | **Get** /intellisense-jobs/{jobName} | Return status of an Intellisense Job. +[**GetIntellisenseMessages**](IntellisenseJobsAPI.md#GetIntellisenseMessages) | **Get** /intellisense-jobs/{jobName}/messages | Intellisense Message Feed. +[**ListIntellisenseArtefacts**](IntellisenseJobsAPI.md#ListIntellisenseArtefacts) | **Get** /intellisense-jobs/{jobName}/artefacts/ | List all the available Intellisense Artefacts for the given Intellisense Job. +[**ListIntellisenseJob**](IntellisenseJobsAPI.md#ListIntellisenseJob) | **Get** /intellisense-jobs/ | List all Intellisense Jobs. +[**RetainIntellisenseJob**](IntellisenseJobsAPI.md#RetainIntellisenseJob) | **Post** /intellisense-jobs/{jobName}/retain | Update how long an intellisense job will be retained before automatic deletion. @@ -45,13 +45,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IntellisenseJobsApi.CancelIntellisenseJob(context.Background(), jobName).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.IntellisenseJobsAPI.CancelIntellisenseJob(context.Background(), jobName).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsApi.CancelIntellisenseJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsAPI.CancelIntellisenseJob``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CancelIntellisenseJob`: IntellisenseJobItem - fmt.Fprintf(os.Stdout, "Response from `IntellisenseJobsApi.CancelIntellisenseJob`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `IntellisenseJobsAPI.CancelIntellisenseJob`: %v\n", resp) } ``` @@ -117,9 +117,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.IntellisenseJobsApi.DeleteIntellisenseJob(context.Background(), jobName).AcceptVersion(acceptVersion).Execute() + r, err := apiClient.IntellisenseJobsAPI.DeleteIntellisenseJob(context.Background(), jobName).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsApi.DeleteIntellisenseJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsAPI.DeleteIntellisenseJob``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -188,13 +188,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IntellisenseJobsApi.GetIntellisenseArtefact(context.Background(), jobName, artefactName).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.IntellisenseJobsAPI.GetIntellisenseArtefact(context.Background(), jobName, artefactName).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsApi.GetIntellisenseArtefact``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsAPI.GetIntellisenseArtefact``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetIntellisenseArtefact`: *os.File - fmt.Fprintf(os.Stdout, "Response from `IntellisenseJobsApi.GetIntellisenseArtefact`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `IntellisenseJobsAPI.GetIntellisenseArtefact`: %v\n", resp) } ``` @@ -263,13 +263,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IntellisenseJobsApi.GetIntellisenseJob(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() + resp, r, err := apiClient.IntellisenseJobsAPI.GetIntellisenseJob(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsApi.GetIntellisenseJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsAPI.GetIntellisenseJob``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetIntellisenseJob`: IntellisenseJobItem - fmt.Fprintf(os.Stdout, "Response from `IntellisenseJobsApi.GetIntellisenseJob`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `IntellisenseJobsAPI.GetIntellisenseJob`: %v\n", resp) } ``` @@ -339,13 +339,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IntellisenseJobsApi.GetIntellisenseMessages(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.IntellisenseJobsAPI.GetIntellisenseMessages(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsApi.GetIntellisenseMessages``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsAPI.GetIntellisenseMessages``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetIntellisenseMessages`: IntellisenseMessageItem - fmt.Fprintf(os.Stdout, "Response from `IntellisenseJobsApi.GetIntellisenseMessages`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `IntellisenseJobsAPI.GetIntellisenseMessages`: %v\n", resp) } ``` @@ -417,13 +417,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IntellisenseJobsApi.ListIntellisenseArtefacts(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.IntellisenseJobsAPI.ListIntellisenseArtefacts(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsApi.ListIntellisenseArtefacts``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsAPI.ListIntellisenseArtefacts``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListIntellisenseArtefacts`: SimpleCollection - fmt.Fprintf(os.Stdout, "Response from `IntellisenseJobsApi.ListIntellisenseArtefacts`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `IntellisenseJobsAPI.ListIntellisenseArtefacts`: %v\n", resp) } ``` @@ -495,13 +495,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IntellisenseJobsApi.ListIntellisenseJob(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.IntellisenseJobsAPI.ListIntellisenseJob(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsApi.ListIntellisenseJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsAPI.ListIntellisenseJob``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListIntellisenseJob`: IntellisenseJobCollection - fmt.Fprintf(os.Stdout, "Response from `IntellisenseJobsApi.ListIntellisenseJob`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `IntellisenseJobsAPI.ListIntellisenseJob`: %v\n", resp) } ``` @@ -567,13 +567,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IntellisenseJobsApi.RetainIntellisenseJob(context.Background(), jobName).AcceptVersion(acceptVersion).RetainBuildJobRequest(retainBuildJobRequest).Execute() + resp, r, err := apiClient.IntellisenseJobsAPI.RetainIntellisenseJob(context.Background(), jobName).AcceptVersion(acceptVersion).RetainBuildJobRequest(retainBuildJobRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsApi.RetainIntellisenseJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IntellisenseJobsAPI.RetainIntellisenseJob``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `RetainIntellisenseJob`: IntellisenseJobItem - fmt.Fprintf(os.Stdout, "Response from `IntellisenseJobsApi.RetainIntellisenseJob`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `IntellisenseJobsAPI.RetainIntellisenseJob`: %v\n", resp) } ``` diff --git a/client/docs/RootResourceApi.md b/client/docs/RootResourceAPI.md similarity index 93% rename from client/docs/RootResourceApi.md rename to client/docs/RootResourceAPI.md index d452edc..b23d9ec 100644 --- a/client/docs/RootResourceApi.md +++ b/client/docs/RootResourceAPI.md @@ -2,13 +2,13 @@ Copyright (C) 2020-2023 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> -# \RootResourceApi +# \RootResourceAPI All URIs are relative to *https://all.api.keil.arm.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetRoot**](RootResourceApi.md#GetRoot) | **Get** / | Get the Root resource. +[**GetRoot**](RootResourceAPI.md#GetRoot) | **Get** / | Get the Root resource. @@ -40,13 +40,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.RootResourceApi.GetRoot(context.Background()).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.RootResourceAPI.GetRoot(context.Background()).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `RootResourceApi.GetRoot``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `RootResourceAPI.GetRoot``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetRoot`: SimpleCollection - fmt.Fprintf(os.Stdout, "Response from `RootResourceApi.GetRoot`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `RootResourceAPI.GetRoot`: %v\n", resp) } ``` diff --git a/client/docs/VHTRunJobsApi.md b/client/docs/VHTRunJobsAPI.md similarity index 91% rename from client/docs/VHTRunJobsApi.md rename to client/docs/VHTRunJobsAPI.md index 90da708..e9037ce 100644 --- a/client/docs/VHTRunJobsApi.md +++ b/client/docs/VHTRunJobsAPI.md @@ -2,17 +2,17 @@ Copyright (C) 2020-2023 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> -# \VHTRunJobsApi +# \VHTRunJobsAPI All URIs are relative to *https://all.api.keil.arm.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CancelVhtRunJob**](VHTRunJobsApi.md#CancelVhtRunJob) | **Post** /vht-run-jobs/{jobName}/cancel | Cancel a VHT run job. -[**DeleteVhtRunJob**](VHTRunJobsApi.md#DeleteVhtRunJob) | **Delete** /vht-run-jobs/{jobName} | Delete an VHT run Job. -[**GetVhtRunJob**](VHTRunJobsApi.md#GetVhtRunJob) | **Get** /vht-run-jobs/{jobName} | Return status of an VHT run Job. -[**GetVhtRunJobMessages**](VHTRunJobsApi.md#GetVhtRunJobMessages) | **Get** /vht-run-jobs/{jobName}/messages | VHT Run Job Message Feed. -[**ListVhtRunJobs**](VHTRunJobsApi.md#ListVhtRunJobs) | **Get** /vht-run-jobs/ | List all run jobs on VHTs. +[**CancelVhtRunJob**](VHTRunJobsAPI.md#CancelVhtRunJob) | **Post** /vht-run-jobs/{jobName}/cancel | Cancel a VHT run job. +[**DeleteVhtRunJob**](VHTRunJobsAPI.md#DeleteVhtRunJob) | **Delete** /vht-run-jobs/{jobName} | Delete an VHT run Job. +[**GetVhtRunJob**](VHTRunJobsAPI.md#GetVhtRunJob) | **Get** /vht-run-jobs/{jobName} | Return status of an VHT run Job. +[**GetVhtRunJobMessages**](VHTRunJobsAPI.md#GetVhtRunJobMessages) | **Get** /vht-run-jobs/{jobName}/messages | VHT Run Job Message Feed. +[**ListVhtRunJobs**](VHTRunJobsAPI.md#ListVhtRunJobs) | **Get** /vht-run-jobs/ | List all run jobs on VHTs. @@ -42,13 +42,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VHTRunJobsApi.CancelVhtRunJob(context.Background(), jobName).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.VHTRunJobsAPI.CancelVhtRunJob(context.Background(), jobName).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VHTRunJobsApi.CancelVhtRunJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VHTRunJobsAPI.CancelVhtRunJob``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CancelVhtRunJob`: VhtRunJobItem - fmt.Fprintf(os.Stdout, "Response from `VHTRunJobsApi.CancelVhtRunJob`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VHTRunJobsAPI.CancelVhtRunJob`: %v\n", resp) } ``` @@ -114,9 +114,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.VHTRunJobsApi.DeleteVhtRunJob(context.Background(), jobName).AcceptVersion(acceptVersion).Execute() + r, err := apiClient.VHTRunJobsAPI.DeleteVhtRunJob(context.Background(), jobName).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VHTRunJobsApi.DeleteVhtRunJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VHTRunJobsAPI.DeleteVhtRunJob``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -185,13 +185,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VHTRunJobsApi.GetVhtRunJob(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() + resp, r, err := apiClient.VHTRunJobsAPI.GetVhtRunJob(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VHTRunJobsApi.GetVhtRunJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VHTRunJobsAPI.GetVhtRunJob``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetVhtRunJob`: VhtRunJobItem - fmt.Fprintf(os.Stdout, "Response from `VHTRunJobsApi.GetVhtRunJob`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VHTRunJobsAPI.GetVhtRunJob`: %v\n", resp) } ``` @@ -261,13 +261,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VHTRunJobsApi.GetVhtRunJobMessages(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.VHTRunJobsAPI.GetVhtRunJobMessages(context.Background(), jobName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VHTRunJobsApi.GetVhtRunJobMessages``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VHTRunJobsAPI.GetVhtRunJobMessages``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetVhtRunJobMessages`: NotificationFeed - fmt.Fprintf(os.Stdout, "Response from `VHTRunJobsApi.GetVhtRunJobMessages`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VHTRunJobsAPI.GetVhtRunJobMessages`: %v\n", resp) } ``` @@ -339,13 +339,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VHTRunJobsApi.ListVhtRunJobs(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.VHTRunJobsAPI.ListVhtRunJobs(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VHTRunJobsApi.ListVhtRunJobs``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VHTRunJobsAPI.ListVhtRunJobs``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListVhtRunJobs`: VhtRunJobCollection - fmt.Fprintf(os.Stdout, "Response from `VHTRunJobsApi.ListVhtRunJobs`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VHTRunJobsAPI.ListVhtRunJobs`: %v\n", resp) } ``` diff --git a/client/docs/VendorsApi.md b/client/docs/VendorsAPI.md similarity index 91% rename from client/docs/VendorsApi.md rename to client/docs/VendorsAPI.md index 9bc48f6..f0d5674 100644 --- a/client/docs/VendorsApi.md +++ b/client/docs/VendorsAPI.md @@ -2,15 +2,15 @@ Copyright (C) 2020-2023 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> -# \VendorsApi +# \VendorsAPI All URIs are relative to *https://all.api.keil.arm.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CreateVendor**](VendorsApi.md#CreateVendor) | **Post** /vendors/ | Create a new Vendor -[**GetVendor**](VendorsApi.md#GetVendor) | **Get** /vendors/{vendorSlugOrId}/ | Get a Vendor Item -[**ListVendors**](VendorsApi.md#ListVendors) | **Get** /vendors/ | List all the Vendors. +[**CreateVendor**](VendorsAPI.md#CreateVendor) | **Post** /vendors/ | Create a new Vendor +[**GetVendor**](VendorsAPI.md#GetVendor) | **Get** /vendors/{vendorSlugOrId}/ | Get a Vendor Item +[**ListVendors**](VendorsAPI.md#ListVendors) | **Get** /vendors/ | List all the Vendors. @@ -40,13 +40,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VendorsApi.CreateVendor(context.Background()).VendorItem(vendorItem).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.VendorsAPI.CreateVendor(context.Background()).VendorItem(vendorItem).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VendorsApi.CreateVendor``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VendorsAPI.CreateVendor``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateVendor`: VendorItem - fmt.Fprintf(os.Stdout, "Response from `VendorsApi.CreateVendor`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VendorsAPI.CreateVendor`: %v\n", resp) } ``` @@ -108,13 +108,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VendorsApi.GetVendor(context.Background(), vendorSlugOrId).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.VendorsAPI.GetVendor(context.Background(), vendorSlugOrId).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VendorsApi.GetVendor``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VendorsAPI.GetVendor``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetVendor`: VendorItem - fmt.Fprintf(os.Stdout, "Response from `VendorsApi.GetVendor`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VendorsAPI.GetVendor`: %v\n", resp) } ``` @@ -183,13 +183,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VendorsApi.ListVendors(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.VendorsAPI.ListVendors(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VendorsApi.ListVendors``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VendorsAPI.ListVendors``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListVendors`: ListVendorsCollection - fmt.Fprintf(os.Stdout, "Response from `VendorsApi.ListVendors`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VendorsAPI.ListVendors`: %v\n", resp) } ``` diff --git a/client/docs/VirtualHardwareTargetApi.md b/client/docs/VirtualHardwareTargetAPI.md similarity index 94% rename from client/docs/VirtualHardwareTargetApi.md rename to client/docs/VirtualHardwareTargetAPI.md index 54792b2..a72e3ba 100644 --- a/client/docs/VirtualHardwareTargetApi.md +++ b/client/docs/VirtualHardwareTargetAPI.md @@ -2,16 +2,16 @@ Copyright (C) 2020-2023 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> -# \VirtualHardwareTargetApi +# \VirtualHardwareTargetAPI All URIs are relative to *https://all.api.keil.arm.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetVht**](VirtualHardwareTargetApi.md#GetVht) | **Get** /vhts/{vhtName} | Return details of the specific VHT. -[**ListFilteredVhtInstances**](VirtualHardwareTargetApi.md#ListFilteredVhtInstances) | **Get** /vhts/{vhtName}/vht-instances/ | List all VHT instances related to this specific VHT. -[**ListVhts**](VirtualHardwareTargetApi.md#ListVhts) | **Get** /vhts/ | List available VHTs. -[**StartVhtInstance**](VirtualHardwareTargetApi.md#StartVhtInstance) | **Post** /vhts/{vhtName} | Spawns a VHT instance matching this VHT specification. +[**GetVht**](VirtualHardwareTargetAPI.md#GetVht) | **Get** /vhts/{vhtName} | Return details of the specific VHT. +[**ListFilteredVhtInstances**](VirtualHardwareTargetAPI.md#ListFilteredVhtInstances) | **Get** /vhts/{vhtName}/vht-instances/ | List all VHT instances related to this specific VHT. +[**ListVhts**](VirtualHardwareTargetAPI.md#ListVhts) | **Get** /vhts/ | List available VHTs. +[**StartVhtInstance**](VirtualHardwareTargetAPI.md#StartVhtInstance) | **Post** /vhts/{vhtName} | Spawns a VHT instance matching this VHT specification. @@ -42,13 +42,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualHardwareTargetApi.GetVht(context.Background(), vhtName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() + resp, r, err := apiClient.VirtualHardwareTargetAPI.GetVht(context.Background(), vhtName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetApi.GetVht``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetAPI.GetVht``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetVht`: VhtItem - fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetApi.GetVht`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetAPI.GetVht`: %v\n", resp) } ``` @@ -119,13 +119,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualHardwareTargetApi.ListFilteredVhtInstances(context.Background(), vhtName).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.VirtualHardwareTargetAPI.ListFilteredVhtInstances(context.Background(), vhtName).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetApi.ListFilteredVhtInstances``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetAPI.ListFilteredVhtInstances``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListFilteredVhtInstances`: VhtInstanceCollection - fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetApi.ListFilteredVhtInstances`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetAPI.ListFilteredVhtInstances`: %v\n", resp) } ``` @@ -198,13 +198,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualHardwareTargetApi.ListVhts(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.VirtualHardwareTargetAPI.ListVhts(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetApi.ListVhts``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetAPI.ListVhts``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListVhts`: VhtCollection - fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetApi.ListVhts`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetAPI.ListVhts`: %v\n", resp) } ``` @@ -270,13 +270,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualHardwareTargetApi.StartVhtInstance(context.Background(), vhtName).VhtInstanceItem(vhtInstanceItem).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.VirtualHardwareTargetAPI.StartVhtInstance(context.Background(), vhtName).VhtInstanceItem(vhtInstanceItem).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetApi.StartVhtInstance``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetAPI.StartVhtInstance``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `StartVhtInstance`: VhtInstanceItem - fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetApi.StartVhtInstance`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetAPI.StartVhtInstance`: %v\n", resp) } ``` diff --git a/client/docs/VirtualHardwareTargetInstanceApi.md b/client/docs/VirtualHardwareTargetInstanceAPI.md similarity index 93% rename from client/docs/VirtualHardwareTargetInstanceApi.md rename to client/docs/VirtualHardwareTargetInstanceAPI.md index 06da2e0..9df9285 100644 --- a/client/docs/VirtualHardwareTargetInstanceApi.md +++ b/client/docs/VirtualHardwareTargetInstanceAPI.md @@ -2,23 +2,23 @@ Copyright (C) 2020-2023 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> -# \VirtualHardwareTargetInstanceApi +# \VirtualHardwareTargetInstanceAPI All URIs are relative to *https://all.api.keil.arm.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**ClearVhtInstanceArtefact**](VirtualHardwareTargetInstanceApi.md#ClearVhtInstanceArtefact) | **Delete** /vht-instances/{instanceName}/artefacts/{artefactName}/artefact | Clear the VHT artefact from the VHT instance. -[**DeleteVhtInstance**](VirtualHardwareTargetInstanceApi.md#DeleteVhtInstance) | **Delete** /vht-instances/{instanceName} | Delete a VHT instance -[**DownloadVhtInstanceArtefact**](VirtualHardwareTargetInstanceApi.md#DownloadVhtInstanceArtefact) | **Get** /vht-instances/{instanceName}/artefacts/{artefactName}/artefact | Download the artefact named `artefactName` present on this VHT instance. -[**GetVhtInstance**](VirtualHardwareTargetInstanceApi.md#GetVhtInstance) | **Get** /vht-instances/{instanceName} | Return status of a VHT instance. -[**GetVhtInstanceArtefactManager**](VirtualHardwareTargetInstanceApi.md#GetVhtInstanceArtefactManager) | **Get** /vht-instances/{instanceName}/artefacts/{artefactName} | Get the VHT artefact manager for the artefact named `artefactName` present of this VHT instance. -[**GetVhtInstanceMessages**](VirtualHardwareTargetInstanceApi.md#GetVhtInstanceMessages) | **Get** /vht-instances/{instanceName}/messages | Instance Message Feed. -[**ListVhtInstanceArtefactManagers**](VirtualHardwareTargetInstanceApi.md#ListVhtInstanceArtefactManagers) | **Get** /vht-instances/{instanceName}/artefacts/ | List all the managers of the artefacts (e.g. binary, test input) available on a specific VHT instance. -[**ListVhtInstances**](VirtualHardwareTargetInstanceApi.md#ListVhtInstances) | **Get** /vht-instances/ | List all VHT instances requested. -[**StartVhtRunJob**](VirtualHardwareTargetInstanceApi.md#StartVhtRunJob) | **Post** /vht-instances/{instanceName} | Starts a VHT Run job. -[**StopVhtInstance**](VirtualHardwareTargetInstanceApi.md#StopVhtInstance) | **Post** /vht-instances/{instanceName}/cancel | Stop this VHT instance. -[**UploadVhtInstanceArtefact**](VirtualHardwareTargetInstanceApi.md#UploadVhtInstanceArtefact) | **Put** /vht-instances/{instanceName}/artefacts/{artefactName}/artefact | Upload and replace the named VHT artefact on the given VHT instance. +[**ClearVhtInstanceArtefact**](VirtualHardwareTargetInstanceAPI.md#ClearVhtInstanceArtefact) | **Delete** /vht-instances/{instanceName}/artefacts/{artefactName}/artefact | Clear the VHT artefact from the VHT instance. +[**DeleteVhtInstance**](VirtualHardwareTargetInstanceAPI.md#DeleteVhtInstance) | **Delete** /vht-instances/{instanceName} | Delete a VHT instance +[**DownloadVhtInstanceArtefact**](VirtualHardwareTargetInstanceAPI.md#DownloadVhtInstanceArtefact) | **Get** /vht-instances/{instanceName}/artefacts/{artefactName}/artefact | Download the artefact named `artefactName` present on this VHT instance. +[**GetVhtInstance**](VirtualHardwareTargetInstanceAPI.md#GetVhtInstance) | **Get** /vht-instances/{instanceName} | Return status of a VHT instance. +[**GetVhtInstanceArtefactManager**](VirtualHardwareTargetInstanceAPI.md#GetVhtInstanceArtefactManager) | **Get** /vht-instances/{instanceName}/artefacts/{artefactName} | Get the VHT artefact manager for the artefact named `artefactName` present of this VHT instance. +[**GetVhtInstanceMessages**](VirtualHardwareTargetInstanceAPI.md#GetVhtInstanceMessages) | **Get** /vht-instances/{instanceName}/messages | Instance Message Feed. +[**ListVhtInstanceArtefactManagers**](VirtualHardwareTargetInstanceAPI.md#ListVhtInstanceArtefactManagers) | **Get** /vht-instances/{instanceName}/artefacts/ | List all the managers of the artefacts (e.g. binary, test input) available on a specific VHT instance. +[**ListVhtInstances**](VirtualHardwareTargetInstanceAPI.md#ListVhtInstances) | **Get** /vht-instances/ | List all VHT instances requested. +[**StartVhtRunJob**](VirtualHardwareTargetInstanceAPI.md#StartVhtRunJob) | **Post** /vht-instances/{instanceName} | Starts a VHT Run job. +[**StopVhtInstance**](VirtualHardwareTargetInstanceAPI.md#StopVhtInstance) | **Post** /vht-instances/{instanceName}/cancel | Stop this VHT instance. +[**UploadVhtInstanceArtefact**](VirtualHardwareTargetInstanceAPI.md#UploadVhtInstanceArtefact) | **Put** /vht-instances/{instanceName}/artefacts/{artefactName}/artefact | Upload and replace the named VHT artefact on the given VHT instance. @@ -49,9 +49,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.VirtualHardwareTargetInstanceApi.ClearVhtInstanceArtefact(context.Background(), artefactName, instanceName).AcceptVersion(acceptVersion).Execute() + r, err := apiClient.VirtualHardwareTargetInstanceAPI.ClearVhtInstanceArtefact(context.Background(), artefactName, instanceName).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceApi.ClearVhtInstanceArtefact``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceAPI.ClearVhtInstanceArtefact``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -121,9 +121,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.VirtualHardwareTargetInstanceApi.DeleteVhtInstance(context.Background(), instanceName).AcceptVersion(acceptVersion).Execute() + r, err := apiClient.VirtualHardwareTargetInstanceAPI.DeleteVhtInstance(context.Background(), instanceName).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceApi.DeleteVhtInstance``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceAPI.DeleteVhtInstance``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -193,13 +193,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualHardwareTargetInstanceApi.DownloadVhtInstanceArtefact(context.Background(), artefactName, instanceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() + resp, r, err := apiClient.VirtualHardwareTargetInstanceAPI.DownloadVhtInstanceArtefact(context.Background(), artefactName, instanceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceApi.DownloadVhtInstanceArtefact``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceAPI.DownloadVhtInstanceArtefact``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `DownloadVhtInstanceArtefact`: *os.File - fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceApi.DownloadVhtInstanceArtefact`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceAPI.DownloadVhtInstanceArtefact`: %v\n", resp) } ``` @@ -269,13 +269,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualHardwareTargetInstanceApi.GetVhtInstance(context.Background(), instanceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() + resp, r, err := apiClient.VirtualHardwareTargetInstanceAPI.GetVhtInstance(context.Background(), instanceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceApi.GetVhtInstance``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceAPI.GetVhtInstance``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetVhtInstance`: VhtInstanceItem - fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceApi.GetVhtInstance`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceAPI.GetVhtInstance`: %v\n", resp) } ``` @@ -344,13 +344,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualHardwareTargetInstanceApi.GetVhtInstanceArtefactManager(context.Background(), artefactName, instanceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() + resp, r, err := apiClient.VirtualHardwareTargetInstanceAPI.GetVhtInstanceArtefactManager(context.Background(), artefactName, instanceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceApi.GetVhtInstanceArtefactManager``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceAPI.GetVhtInstanceArtefactManager``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetVhtInstanceArtefactManager`: ArtefactManagerItem - fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceApi.GetVhtInstanceArtefactManager`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceAPI.GetVhtInstanceArtefactManager`: %v\n", resp) } ``` @@ -422,13 +422,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualHardwareTargetInstanceApi.GetVhtInstanceMessages(context.Background(), instanceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.VirtualHardwareTargetInstanceAPI.GetVhtInstanceMessages(context.Background(), instanceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceApi.GetVhtInstanceMessages``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceAPI.GetVhtInstanceMessages``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetVhtInstanceMessages`: NotificationFeed - fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceApi.GetVhtInstanceMessages`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceAPI.GetVhtInstanceMessages`: %v\n", resp) } ``` @@ -501,13 +501,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualHardwareTargetInstanceApi.ListVhtInstanceArtefactManagers(context.Background(), instanceName).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.VirtualHardwareTargetInstanceAPI.ListVhtInstanceArtefactManagers(context.Background(), instanceName).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceApi.ListVhtInstanceArtefactManagers``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceAPI.ListVhtInstanceArtefactManagers``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListVhtInstanceArtefactManagers`: ArtefactManagerCollection - fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceApi.ListVhtInstanceArtefactManagers`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceAPI.ListVhtInstanceArtefactManagers`: %v\n", resp) } ``` @@ -580,13 +580,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualHardwareTargetInstanceApi.ListVhtInstances(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.VirtualHardwareTargetInstanceAPI.ListVhtInstances(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceApi.ListVhtInstances``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceAPI.ListVhtInstances``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListVhtInstances`: VhtInstanceCollection - fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceApi.ListVhtInstances`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceAPI.ListVhtInstances`: %v\n", resp) } ``` @@ -652,13 +652,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualHardwareTargetInstanceApi.StartVhtRunJob(context.Background(), instanceName).VhtRunJobItem(vhtRunJobItem).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.VirtualHardwareTargetInstanceAPI.StartVhtRunJob(context.Background(), instanceName).VhtRunJobItem(vhtRunJobItem).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceApi.StartVhtRunJob``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceAPI.StartVhtRunJob``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `StartVhtRunJob`: VhtRunJobItem - fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceApi.StartVhtRunJob`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceAPI.StartVhtRunJob`: %v\n", resp) } ``` @@ -725,13 +725,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualHardwareTargetInstanceApi.StopVhtInstance(context.Background(), instanceName).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.VirtualHardwareTargetInstanceAPI.StopVhtInstance(context.Background(), instanceName).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceApi.StopVhtInstance``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceAPI.StopVhtInstance``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `StopVhtInstance`: VhtInstanceItem - fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceApi.StopVhtInstance`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceAPI.StopVhtInstance`: %v\n", resp) } ``` @@ -804,13 +804,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VirtualHardwareTargetInstanceApi.UploadVhtInstanceArtefact(context.Background(), artefactName, instanceName).IfMatch(ifMatch).Content(content).Hash(hash).AcceptVersion(acceptVersion).ContentMediaType(contentMediaType).Size(size).Title(title).Execute() + resp, r, err := apiClient.VirtualHardwareTargetInstanceAPI.UploadVhtInstanceArtefact(context.Background(), artefactName, instanceName).IfMatch(ifMatch).Content(content).Hash(hash).AcceptVersion(acceptVersion).ContentMediaType(contentMediaType).Size(size).Title(title).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceApi.UploadVhtInstanceArtefact``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VirtualHardwareTargetInstanceAPI.UploadVhtInstanceArtefact``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UploadVhtInstanceArtefact`: ArtefactManagerItem - fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceApi.UploadVhtInstanceArtefact`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `VirtualHardwareTargetInstanceAPI.UploadVhtInstanceArtefact`: %v\n", resp) } ``` diff --git a/client/docs/WorkspaceApi.md b/client/docs/WorkspaceAPI.md similarity index 93% rename from client/docs/WorkspaceApi.md rename to client/docs/WorkspaceAPI.md index c6cafa6..816565e 100644 --- a/client/docs/WorkspaceApi.md +++ b/client/docs/WorkspaceAPI.md @@ -2,24 +2,24 @@ Copyright (C) 2020-2023 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> -# \WorkspaceApi +# \WorkspaceAPI All URIs are relative to *https://all.api.keil.arm.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**ClearWorkspaceArchiveContent**](WorkspaceApi.md#ClearWorkspaceArchiveContent) | **Delete** /workspaces/{workspaceName}/archive-content | Clear the content of this workspace. -[**ClearWorkspaceRepositoryContentManager**](WorkspaceApi.md#ClearWorkspaceRepositoryContentManager) | **Delete** /workspaces/{workspaceName}/repository-content | Clear the content of this workspace. -[**CreateWorkspace**](WorkspaceApi.md#CreateWorkspace) | **Post** /workspace-sources/{workspaceSourceName} | Creates a workspace based on the source. -[**DeleteWorkspace**](WorkspaceApi.md#DeleteWorkspace) | **Delete** /workspaces/{workspaceName} | Delete a Workspace -[**EditWorkspaceRepositoryContentManager**](WorkspaceApi.md#EditWorkspaceRepositoryContentManager) | **Put** /workspaces/{workspaceName}/repository-content | Edit the source for the content of the workspace. -[**GetWorkspace**](WorkspaceApi.md#GetWorkspace) | **Get** /workspaces/{workspaceName} | Return the state of a workspace. -[**GetWorkspaceArchiveContent**](WorkspaceApi.md#GetWorkspaceArchiveContent) | **Get** /workspaces/{workspaceName}/archive-content | Get the manager of the archive file containing the workspace content. -[**GetWorkspaceDetails**](WorkspaceApi.md#GetWorkspaceDetails) | **Get** /workspaces/{workspaceName}/details | Details about the workspace. -[**GetWorkspaceRepositoryContentManager**](WorkspaceApi.md#GetWorkspaceRepositoryContentManager) | **Get** /workspaces/{workspaceName}/repository-content | Get the manager of the workspace content defined in a repository. -[**ListWorkspaces**](WorkspaceApi.md#ListWorkspaces) | **Get** /workspaces/ | List all workspaces available. -[**RetainWorkspace**](WorkspaceApi.md#RetainWorkspace) | **Post** /workspaces/{workspaceName}/retain | Update how long a workspace will be retained before automatic deletion.. -[**UploadWorkspaceArchiveContent**](WorkspaceApi.md#UploadWorkspaceArchiveContent) | **Put** /workspaces/{workspaceName}/archive-content | Upload and replace the content of the named workspace. +[**ClearWorkspaceArchiveContent**](WorkspaceAPI.md#ClearWorkspaceArchiveContent) | **Delete** /workspaces/{workspaceName}/archive-content | Clear the content of this workspace. +[**ClearWorkspaceRepositoryContentManager**](WorkspaceAPI.md#ClearWorkspaceRepositoryContentManager) | **Delete** /workspaces/{workspaceName}/repository-content | Clear the content of this workspace. +[**CreateWorkspace**](WorkspaceAPI.md#CreateWorkspace) | **Post** /workspace-sources/{workspaceSourceName} | Creates a workspace based on the source. +[**DeleteWorkspace**](WorkspaceAPI.md#DeleteWorkspace) | **Delete** /workspaces/{workspaceName} | Delete a Workspace +[**EditWorkspaceRepositoryContentManager**](WorkspaceAPI.md#EditWorkspaceRepositoryContentManager) | **Put** /workspaces/{workspaceName}/repository-content | Edit the source for the content of the workspace. +[**GetWorkspace**](WorkspaceAPI.md#GetWorkspace) | **Get** /workspaces/{workspaceName} | Return the state of a workspace. +[**GetWorkspaceArchiveContent**](WorkspaceAPI.md#GetWorkspaceArchiveContent) | **Get** /workspaces/{workspaceName}/archive-content | Get the manager of the archive file containing the workspace content. +[**GetWorkspaceDetails**](WorkspaceAPI.md#GetWorkspaceDetails) | **Get** /workspaces/{workspaceName}/details | Details about the workspace. +[**GetWorkspaceRepositoryContentManager**](WorkspaceAPI.md#GetWorkspaceRepositoryContentManager) | **Get** /workspaces/{workspaceName}/repository-content | Get the manager of the workspace content defined in a repository. +[**ListWorkspaces**](WorkspaceAPI.md#ListWorkspaces) | **Get** /workspaces/ | List all workspaces available. +[**RetainWorkspace**](WorkspaceAPI.md#RetainWorkspace) | **Post** /workspaces/{workspaceName}/retain | Update how long a workspace will be retained before automatic deletion.. +[**UploadWorkspaceArchiveContent**](WorkspaceAPI.md#UploadWorkspaceArchiveContent) | **Put** /workspaces/{workspaceName}/archive-content | Upload and replace the content of the named workspace. @@ -49,9 +49,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.WorkspaceApi.ClearWorkspaceArchiveContent(context.Background(), workspaceName).AcceptVersion(acceptVersion).Execute() + r, err := apiClient.WorkspaceAPI.ClearWorkspaceArchiveContent(context.Background(), workspaceName).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceApi.ClearWorkspaceArchiveContent``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceAPI.ClearWorkspaceArchiveContent``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -119,9 +119,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.WorkspaceApi.ClearWorkspaceRepositoryContentManager(context.Background(), workspaceName).AcceptVersion(acceptVersion).Execute() + r, err := apiClient.WorkspaceAPI.ClearWorkspaceRepositoryContentManager(context.Background(), workspaceName).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceApi.ClearWorkspaceRepositoryContentManager``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceAPI.ClearWorkspaceRepositoryContentManager``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -190,13 +190,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.WorkspaceApi.CreateWorkspace(context.Background(), workspaceSourceName).WorkspaceItem(workspaceItem).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.WorkspaceAPI.CreateWorkspace(context.Background(), workspaceSourceName).WorkspaceItem(workspaceItem).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceApi.CreateWorkspace``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceAPI.CreateWorkspace``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `CreateWorkspace`: WorkspaceItem - fmt.Fprintf(os.Stdout, "Response from `WorkspaceApi.CreateWorkspace`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `WorkspaceAPI.CreateWorkspace`: %v\n", resp) } ``` @@ -263,9 +263,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.WorkspaceApi.DeleteWorkspace(context.Background(), workspaceName).AcceptVersion(acceptVersion).Execute() + r, err := apiClient.WorkspaceAPI.DeleteWorkspace(context.Background(), workspaceName).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceApi.DeleteWorkspace``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceAPI.DeleteWorkspace``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -335,13 +335,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.WorkspaceApi.EditWorkspaceRepositoryContentManager(context.Background(), workspaceName).IfMatch(ifMatch).WorkspaceRepositoryContentManager(workspaceRepositoryContentManager).AcceptVersion(acceptVersion).Execute() + resp, r, err := apiClient.WorkspaceAPI.EditWorkspaceRepositoryContentManager(context.Background(), workspaceName).IfMatch(ifMatch).WorkspaceRepositoryContentManager(workspaceRepositoryContentManager).AcceptVersion(acceptVersion).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceApi.EditWorkspaceRepositoryContentManager``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceAPI.EditWorkspaceRepositoryContentManager``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `EditWorkspaceRepositoryContentManager`: WorkspaceRepositoryContentManager - fmt.Fprintf(os.Stdout, "Response from `WorkspaceApi.EditWorkspaceRepositoryContentManager`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `WorkspaceAPI.EditWorkspaceRepositoryContentManager`: %v\n", resp) } ``` @@ -410,13 +410,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.WorkspaceApi.GetWorkspace(context.Background(), workspaceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() + resp, r, err := apiClient.WorkspaceAPI.GetWorkspace(context.Background(), workspaceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceApi.GetWorkspace``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceAPI.GetWorkspace``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetWorkspace`: WorkspaceItem - fmt.Fprintf(os.Stdout, "Response from `WorkspaceApi.GetWorkspace`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `WorkspaceAPI.GetWorkspace`: %v\n", resp) } ``` @@ -484,13 +484,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.WorkspaceApi.GetWorkspaceArchiveContent(context.Background(), workspaceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() + resp, r, err := apiClient.WorkspaceAPI.GetWorkspaceArchiveContent(context.Background(), workspaceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceApi.GetWorkspaceArchiveContent``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceAPI.GetWorkspaceArchiveContent``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetWorkspaceArchiveContent`: ArtefactManagerItem - fmt.Fprintf(os.Stdout, "Response from `WorkspaceApi.GetWorkspaceArchiveContent`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `WorkspaceAPI.GetWorkspaceArchiveContent`: %v\n", resp) } ``` @@ -558,13 +558,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.WorkspaceApi.GetWorkspaceDetails(context.Background(), workspaceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() + resp, r, err := apiClient.WorkspaceAPI.GetWorkspaceDetails(context.Background(), workspaceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceApi.GetWorkspaceDetails``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceAPI.GetWorkspaceDetails``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetWorkspaceDetails`: WorkspaceDetailsItem - fmt.Fprintf(os.Stdout, "Response from `WorkspaceApi.GetWorkspaceDetails`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `WorkspaceAPI.GetWorkspaceDetails`: %v\n", resp) } ``` @@ -632,13 +632,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.WorkspaceApi.GetWorkspaceRepositoryContentManager(context.Background(), workspaceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() + resp, r, err := apiClient.WorkspaceAPI.GetWorkspaceRepositoryContentManager(context.Background(), workspaceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceApi.GetWorkspaceRepositoryContentManager``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceAPI.GetWorkspaceRepositoryContentManager``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetWorkspaceRepositoryContentManager`: WorkspaceRepositoryContentManager - fmt.Fprintf(os.Stdout, "Response from `WorkspaceApi.GetWorkspaceRepositoryContentManager`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `WorkspaceAPI.GetWorkspaceRepositoryContentManager`: %v\n", resp) } ``` @@ -708,13 +708,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.WorkspaceApi.ListWorkspaces(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.WorkspaceAPI.ListWorkspaces(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceApi.ListWorkspaces``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceAPI.ListWorkspaces``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListWorkspaces`: WorkspaceCollection - fmt.Fprintf(os.Stdout, "Response from `WorkspaceApi.ListWorkspaces`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `WorkspaceAPI.ListWorkspaces`: %v\n", resp) } ``` @@ -780,13 +780,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.WorkspaceApi.RetainWorkspace(context.Background(), workspaceName).AcceptVersion(acceptVersion).RetainWorkspaceRequest(retainWorkspaceRequest).Execute() + resp, r, err := apiClient.WorkspaceAPI.RetainWorkspace(context.Background(), workspaceName).AcceptVersion(acceptVersion).RetainWorkspaceRequest(retainWorkspaceRequest).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceApi.RetainWorkspace``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceAPI.RetainWorkspace``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `RetainWorkspace`: WorkspaceItem - fmt.Fprintf(os.Stdout, "Response from `WorkspaceApi.RetainWorkspace`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `WorkspaceAPI.RetainWorkspace`: %v\n", resp) } ``` @@ -859,13 +859,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.WorkspaceApi.UploadWorkspaceArchiveContent(context.Background(), workspaceName).IfMatch(ifMatch).Content(content).Hash(hash).AcceptVersion(acceptVersion).ContentMediaType(contentMediaType).Size(size).Title(title).Execute() + resp, r, err := apiClient.WorkspaceAPI.UploadWorkspaceArchiveContent(context.Background(), workspaceName).IfMatch(ifMatch).Content(content).Hash(hash).AcceptVersion(acceptVersion).ContentMediaType(contentMediaType).Size(size).Title(title).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceApi.UploadWorkspaceArchiveContent``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceAPI.UploadWorkspaceArchiveContent``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `UploadWorkspaceArchiveContent`: ArtefactManagerItem - fmt.Fprintf(os.Stdout, "Response from `WorkspaceApi.UploadWorkspaceArchiveContent`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `WorkspaceAPI.UploadWorkspaceArchiveContent`: %v\n", resp) } ``` diff --git a/client/docs/WorkspaceSourceApi.md b/client/docs/WorkspaceSourceAPI.md similarity index 93% rename from client/docs/WorkspaceSourceApi.md rename to client/docs/WorkspaceSourceAPI.md index 806faac..1e6e8a6 100644 --- a/client/docs/WorkspaceSourceApi.md +++ b/client/docs/WorkspaceSourceAPI.md @@ -2,14 +2,14 @@ Copyright (C) 2020-2023 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> -# \WorkspaceSourceApi +# \WorkspaceSourceAPI All URIs are relative to *https://all.api.keil.arm.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetWorkspaceSource**](WorkspaceSourceApi.md#GetWorkspaceSource) | **Get** /workspace-sources/{workspaceSourceName} | Return details of the specific workspace source. -[**ListWorkspaceSources**](WorkspaceSourceApi.md#ListWorkspaceSources) | **Get** /workspace-sources/ | List available workspace sources. +[**GetWorkspaceSource**](WorkspaceSourceAPI.md#GetWorkspaceSource) | **Get** /workspace-sources/{workspaceSourceName} | Return details of the specific workspace source. +[**ListWorkspaceSources**](WorkspaceSourceAPI.md#ListWorkspaceSources) | **Get** /workspace-sources/ | List available workspace sources. @@ -40,13 +40,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.WorkspaceSourceApi.GetWorkspaceSource(context.Background(), workspaceSourceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() + resp, r, err := apiClient.WorkspaceSourceAPI.GetWorkspaceSource(context.Background(), workspaceSourceName).AcceptVersion(acceptVersion).IfNoneMatch(ifNoneMatch).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceSourceApi.GetWorkspaceSource``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceSourceAPI.GetWorkspaceSource``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `GetWorkspaceSource`: WorkspaceSourceItem - fmt.Fprintf(os.Stdout, "Response from `WorkspaceSourceApi.GetWorkspaceSource`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `WorkspaceSourceAPI.GetWorkspaceSource`: %v\n", resp) } ``` @@ -116,13 +116,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.WorkspaceSourceApi.ListWorkspaceSources(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() + resp, r, err := apiClient.WorkspaceSourceAPI.ListWorkspaceSources(context.Background()).AcceptVersion(acceptVersion).Embed(embed).IfNoneMatch(ifNoneMatch).Limit(limit).Offset(offset).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceSourceApi.ListWorkspaceSources``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `WorkspaceSourceAPI.ListWorkspaceSources``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `ListWorkspaceSources`: WorkspaceSourceCollection - fmt.Fprintf(os.Stdout, "Response from `WorkspaceSourceApi.ListWorkspaceSources`: %v\n", resp) + fmt.Fprintf(os.Stdout, "Response from `WorkspaceSourceAPI.ListWorkspaceSources`: %v\n", resp) } ``` diff --git a/client/go.mod b/client/go.mod index 4187df6..1b89670 100644 --- a/client/go.mod +++ b/client/go.mod @@ -1,11 +1,6 @@ module github.com/ARM-software/embedded-development-services-client/client -go 1.19 - -require github.com/stretchr/testify v1.8.2 +go 1.18 require ( - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/client/go.sum b/client/go.sum index 6a56e69..c966c8d 100644 --- a/client/go.sum +++ b/client/go.sum @@ -1,17 +1,11 @@ -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= -github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/client/model_artefact_manager_collection.go b/client/model_artefact_manager_collection.go index 9e61823..5a5047b 100644 --- a/client/model_artefact_manager_collection.go +++ b/client/model_artefact_manager_collection.go @@ -202,8 +202,8 @@ func (o ArtefactManagerCollection) ToMap() (map[string]interface{}, error) { } toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title return toSerialize, nil } diff --git a/client/model_board_item.go b/client/model_board_item.go index 8741990..1912a35 100644 --- a/client/model_board_item.go +++ b/client/model_board_item.go @@ -369,7 +369,7 @@ func (o BoardItem) ToMap() (map[string]interface{}, error) { if o.Features != nil { toSerialize["features"] = o.Features } - // skip: id is readOnly + toSerialize["id"] = o.Id toSerialize["revision"] = o.Revision toSerialize["summary"] = o.Summary toSerialize["title"] = o.Title diff --git a/client/model_build_job_collection.go b/client/model_build_job_collection.go index fd8e214..ed83f95 100644 --- a/client/model_build_job_collection.go +++ b/client/model_build_job_collection.go @@ -202,8 +202,8 @@ func (o BuildJobCollection) ToMap() (map[string]interface{}, error) { } toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title return toSerialize, nil } diff --git a/client/model_build_job_item.go b/client/model_build_job_item.go index b5e9077..717920c 100644 --- a/client/model_build_job_item.go +++ b/client/model_build_job_item.go @@ -565,14 +565,16 @@ func (o BuildJobItem) ToMap() (map[string]interface{}, error) { if !IsNil(o.CleanBuild) { toSerialize["cleanBuild"] = o.CleanBuild } - // skip: done is readOnly - // skip: error is readOnly - // skip: failure is readOnly - // skip: name is readOnly + toSerialize["done"] = o.Done + toSerialize["error"] = o.Error + toSerialize["failure"] = o.Failure + toSerialize["name"] = o.Name toSerialize["project"] = o.Project - // skip: queued is readOnly - // skip: status is readOnly - // skip: success is readOnly + if !IsNil(o.Queued) { + toSerialize["queued"] = o.Queued + } + toSerialize["status"] = o.Status + toSerialize["success"] = o.Success if o.Title.IsSet() { toSerialize["title"] = o.Title.Get() } diff --git a/client/model_build_message_item.go b/client/model_build_message_item.go index 1a11fc9..7cf0bbc 100644 --- a/client/model_build_message_item.go +++ b/client/model_build_message_item.go @@ -205,7 +205,7 @@ func (o BuildMessageItem) ToMap() (map[string]interface{}, error) { if o.Messages != nil { toSerialize["messages"] = o.Messages } - // skip: name is readOnly + toSerialize["name"] = o.Name if !IsNil(o.Title) { toSerialize["title"] = o.Title } diff --git a/client/model_cmsis_builder_collection.go b/client/model_cmsis_builder_collection.go index 0269feb..e45d6d2 100644 --- a/client/model_cmsis_builder_collection.go +++ b/client/model_cmsis_builder_collection.go @@ -202,8 +202,8 @@ func (o CmsisBuilderCollection) ToMap() (map[string]interface{}, error) { } toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title return toSerialize, nil } diff --git a/client/model_cmsis_builder_item.go b/client/model_cmsis_builder_item.go index 43e7034..0e0f493 100644 --- a/client/model_cmsis_builder_item.go +++ b/client/model_cmsis_builder_item.go @@ -343,15 +343,15 @@ func (o CmsisBuilderItem) ToMap() (map[string]interface{}, error) { toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() toSerialize["buildToolsType"] = o.BuildToolsType - // skip: buildToolsVersion is readOnly - // skip: deprecated is readOnly + toSerialize["buildToolsVersion"] = o.BuildToolsVersion + toSerialize["deprecated"] = o.Deprecated if o.DeprecationInfo.IsSet() { toSerialize["deprecationInfo"] = o.DeprecationInfo.Get() } - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title toSerialize["toolchainType"] = o.ToolchainType - // skip: toolchainVersion is readOnly + toSerialize["toolchainVersion"] = o.ToolchainVersion return toSerialize, nil } diff --git a/client/model_cmsis_builder_item_deprecation_info.go b/client/model_cmsis_builder_item_deprecation_info.go index 964504c..980f2ba 100644 --- a/client/model_cmsis_builder_item_deprecation_info.go +++ b/client/model_cmsis_builder_item_deprecation_info.go @@ -154,9 +154,15 @@ func (o CmsisBuilderItemDeprecationInfo) MarshalJSON() ([]byte, error) { func (o CmsisBuilderItemDeprecationInfo) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - // skip: comment is readOnly - // skip: issued is readOnly - // skip: removal is readOnly + if !IsNil(o.Comment) { + toSerialize["comment"] = o.Comment + } + if !IsNil(o.Issued) { + toSerialize["issued"] = o.Issued + } + if !IsNil(o.Removal) { + toSerialize["removal"] = o.Removal + } return toSerialize, nil } diff --git a/client/model_cmsis_intellisense_collection.go b/client/model_cmsis_intellisense_collection.go index a7c0350..ca877df 100644 --- a/client/model_cmsis_intellisense_collection.go +++ b/client/model_cmsis_intellisense_collection.go @@ -202,8 +202,8 @@ func (o CmsisIntellisenseCollection) ToMap() (map[string]interface{}, error) { } toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title return toSerialize, nil } diff --git a/client/model_cmsis_intellisense_item.go b/client/model_cmsis_intellisense_item.go index 79fb7d3..37217b8 100644 --- a/client/model_cmsis_intellisense_item.go +++ b/client/model_cmsis_intellisense_item.go @@ -343,16 +343,16 @@ func (o CmsisIntellisenseItem) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: buildToolsType is readOnly - // skip: buildToolsVersion is readOnly - // skip: deprecated is readOnly + toSerialize["buildToolsType"] = o.BuildToolsType + toSerialize["buildToolsVersion"] = o.BuildToolsVersion + toSerialize["deprecated"] = o.Deprecated if o.DeprecationInfo.IsSet() { toSerialize["deprecationInfo"] = o.DeprecationInfo.Get() } - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title toSerialize["toolchainType"] = o.ToolchainType - // skip: toolchainVersion is readOnly + toSerialize["toolchainVersion"] = o.ToolchainVersion return toSerialize, nil } diff --git a/client/model_cmsis_intellisense_item_deprecation_info.go b/client/model_cmsis_intellisense_item_deprecation_info.go index 96090c1..7270c74 100644 --- a/client/model_cmsis_intellisense_item_deprecation_info.go +++ b/client/model_cmsis_intellisense_item_deprecation_info.go @@ -154,9 +154,15 @@ func (o CmsisIntellisenseItemDeprecationInfo) MarshalJSON() ([]byte, error) { func (o CmsisIntellisenseItemDeprecationInfo) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - // skip: comment is readOnly - // skip: issued is readOnly - // skip: removal is readOnly + if !IsNil(o.Comment) { + toSerialize["comment"] = o.Comment + } + if !IsNil(o.Issued) { + toSerialize["issued"] = o.Issued + } + if !IsNil(o.Removal) { + toSerialize["removal"] = o.Removal + } return toSerialize, nil } diff --git a/client/model_common_metadata.go b/client/model_common_metadata.go index 73e90aa..0bf50ef 100644 --- a/client/model_common_metadata.go +++ b/client/model_common_metadata.go @@ -153,11 +153,11 @@ func (o CommonMetadata) MarshalJSON() ([]byte, error) { func (o CommonMetadata) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - // skip: ctime is readOnly + toSerialize["ctime"] = o.Ctime if o.Etime.IsSet() { toSerialize["etime"] = o.Etime.Get() } - // skip: mtime is readOnly + toSerialize["mtime"] = o.Mtime return toSerialize, nil } diff --git a/client/model_device_item.go b/client/model_device_item.go index 22e62a7..05c9eff 100644 --- a/client/model_device_item.go +++ b/client/model_device_item.go @@ -336,7 +336,7 @@ func (o DeviceItem) ToMap() (map[string]interface{}, error) { toSerialize["family"] = o.Family.Get() } toSerialize["processors"] = o.Processors - // skip: slug is readOnly + toSerialize["slug"] = o.Slug toSerialize["source_pack_id"] = o.SourcePackId if o.SubFamily.IsSet() { toSerialize["sub_family"] = o.SubFamily.Get() diff --git a/client/model_error_response.go b/client/model_error_response.go index 311de3b..d514ad2 100644 --- a/client/model_error_response.go +++ b/client/model_error_response.go @@ -173,9 +173,9 @@ func (o ErrorResponse) ToMap() (map[string]interface{}, error) { if o.Fields != nil { toSerialize["fields"] = o.Fields } - // skip: httpStatusCode is readOnly - // skip: message is readOnly - // skip: requestId is readOnly + toSerialize["httpStatusCode"] = o.HttpStatusCode + toSerialize["message"] = o.Message + toSerialize["requestId"] = o.RequestId return toSerialize, nil } diff --git a/client/model_field_object.go b/client/model_field_object.go index 9c4067c..201a2be 100644 --- a/client/model_field_object.go +++ b/client/model_field_object.go @@ -142,9 +142,11 @@ func (o FieldObject) MarshalJSON() ([]byte, error) { func (o FieldObject) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - // skip: fieldName is readOnly - // skip: fieldPath is readOnly - // skip: message is readOnly + toSerialize["fieldName"] = o.FieldName + if !IsNil(o.FieldPath) { + toSerialize["fieldPath"] = o.FieldPath + } + toSerialize["message"] = o.Message return toSerialize, nil } diff --git a/client/model_intellisense_job_collection.go b/client/model_intellisense_job_collection.go index 7982b5f..ecd0fc6 100644 --- a/client/model_intellisense_job_collection.go +++ b/client/model_intellisense_job_collection.go @@ -202,8 +202,8 @@ func (o IntellisenseJobCollection) ToMap() (map[string]interface{}, error) { } toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title return toSerialize, nil } diff --git a/client/model_intellisense_job_item.go b/client/model_intellisense_job_item.go index c2107b5..9265377 100644 --- a/client/model_intellisense_job_item.go +++ b/client/model_intellisense_job_item.go @@ -585,18 +585,20 @@ func (o IntellisenseJobItem) ToMap() (map[string]interface{}, error) { toSerialize["_metadata"] = o.Metadata.Get() toSerialize["buildStepsCompleted"] = o.BuildStepsCompleted.Get() toSerialize["buildStepsTotal"] = o.BuildStepsTotal.Get() - // skip: done is readOnly - // skip: error is readOnly - // skip: failure is readOnly + toSerialize["done"] = o.Done + toSerialize["error"] = o.Error + toSerialize["failure"] = o.Failure if !IsNil(o.JobTimeout) { toSerialize["jobTimeout"] = o.JobTimeout } - // skip: name is readOnly + toSerialize["name"] = o.Name toSerialize["packs"] = o.Packs toSerialize["project"] = o.Project - // skip: queued is readOnly - // skip: status is readOnly - // skip: success is readOnly + if !IsNil(o.Queued) { + toSerialize["queued"] = o.Queued + } + toSerialize["status"] = o.Status + toSerialize["success"] = o.Success if o.Title.IsSet() { toSerialize["title"] = o.Title.Get() } diff --git a/client/model_intellisense_message_item.go b/client/model_intellisense_message_item.go index 8af7bdb..79b0b1b 100644 --- a/client/model_intellisense_message_item.go +++ b/client/model_intellisense_message_item.go @@ -205,7 +205,7 @@ func (o IntellisenseMessageItem) ToMap() (map[string]interface{}, error) { if o.Messages != nil { toSerialize["messages"] = o.Messages } - // skip: name is readOnly + toSerialize["name"] = o.Name if !IsNil(o.Title) { toSerialize["title"] = o.Title } diff --git a/client/model_list_boards_collection.go b/client/model_list_boards_collection.go index 98d9b1c..59b6bd5 100644 --- a/client/model_list_boards_collection.go +++ b/client/model_list_boards_collection.go @@ -202,8 +202,8 @@ func (o ListBoardsCollection) ToMap() (map[string]interface{}, error) { } toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title return toSerialize, nil } diff --git a/client/model_list_devices_collection.go b/client/model_list_devices_collection.go index 9f1677f..119123a 100644 --- a/client/model_list_devices_collection.go +++ b/client/model_list_devices_collection.go @@ -202,8 +202,8 @@ func (o ListDevicesCollection) ToMap() (map[string]interface{}, error) { } toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title return toSerialize, nil } diff --git a/client/model_list_vendors_collection.go b/client/model_list_vendors_collection.go index 52daf41..b72580a 100644 --- a/client/model_list_vendors_collection.go +++ b/client/model_list_vendors_collection.go @@ -202,8 +202,8 @@ func (o ListVendorsCollection) ToMap() (map[string]interface{}, error) { } toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title return toSerialize, nil } diff --git a/client/model_message_object.go b/client/model_message_object.go index 046d1b1..b2c8449 100644 --- a/client/model_message_object.go +++ b/client/model_message_object.go @@ -184,10 +184,16 @@ func (o MessageObject) MarshalJSON() ([]byte, error) { func (o MessageObject) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - // skip: ctime is readOnly - // skip: message is readOnly - // skip: severity is readOnly - // skip: source is readOnly + if !IsNil(o.Ctime) { + toSerialize["ctime"] = o.Ctime + } + toSerialize["message"] = o.Message + if !IsNil(o.Severity) { + toSerialize["severity"] = o.Severity + } + if !IsNil(o.Source) { + toSerialize["source"] = o.Source + } return toSerialize, nil } diff --git a/client/model_notification_feed.go b/client/model_notification_feed.go index 5306160..bf3ecde 100644 --- a/client/model_notification_feed.go +++ b/client/model_notification_feed.go @@ -205,7 +205,7 @@ func (o NotificationFeed) ToMap() (map[string]interface{}, error) { if o.Messages != nil { toSerialize["messages"] = o.Messages } - // skip: name is readOnly + toSerialize["name"] = o.Name if !IsNil(o.Title) { toSerialize["title"] = o.Title } diff --git a/client/model_notification_message_object.go b/client/model_notification_message_object.go index c24380a..85abff4 100644 --- a/client/model_notification_message_object.go +++ b/client/model_notification_message_object.go @@ -184,10 +184,16 @@ func (o NotificationMessageObject) MarshalJSON() ([]byte, error) { func (o NotificationMessageObject) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - // skip: ctime is readOnly - // skip: message is readOnly - // skip: severity is readOnly - // skip: source is readOnly + if !IsNil(o.Ctime) { + toSerialize["ctime"] = o.Ctime + } + toSerialize["message"] = o.Message + if !IsNil(o.Severity) { + toSerialize["severity"] = o.Severity + } + if !IsNil(o.Source) { + toSerialize["source"] = o.Source + } return toSerialize, nil } diff --git a/client/model_paging_metadata.go b/client/model_paging_metadata.go index 8e1e0eb..c31dbc4 100644 --- a/client/model_paging_metadata.go +++ b/client/model_paging_metadata.go @@ -261,15 +261,15 @@ func (o PagingMetadata) MarshalJSON() ([]byte, error) { func (o PagingMetadata) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - // skip: count is readOnly - // skip: ctime is readOnly + toSerialize["count"] = o.Count + toSerialize["ctime"] = o.Ctime if o.Etime.IsSet() { toSerialize["etime"] = o.Etime.Get() } - // skip: limit is readOnly - // skip: mtime is readOnly - // skip: offset is readOnly - // skip: total is readOnly + toSerialize["limit"] = o.Limit + toSerialize["mtime"] = o.Mtime + toSerialize["offset"] = o.Offset + toSerialize["total"] = o.Total return toSerialize, nil } diff --git a/client/model_simple_collection.go b/client/model_simple_collection.go index 78a8739..d2e02b1 100644 --- a/client/model_simple_collection.go +++ b/client/model_simple_collection.go @@ -166,8 +166,8 @@ func (o SimpleCollection) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title return toSerialize, nil } diff --git a/client/model_vendor_item.go b/client/model_vendor_item.go index bd4caf8..e681def 100644 --- a/client/model_vendor_item.go +++ b/client/model_vendor_item.go @@ -367,11 +367,11 @@ func (o VendorItem) ToMap() (map[string]interface{}, error) { if !IsNil(o.ExternalId) { toSerialize["external_id"] = o.ExternalId } - // skip: id is readOnly + toSerialize["id"] = o.Id if !IsNil(o.Logo) { toSerialize["logo"] = o.Logo } - // skip: slug is readOnly + toSerialize["slug"] = o.Slug toSerialize["title"] = o.Title if !IsNil(o.Type) { toSerialize["type"] = o.Type diff --git a/client/model_vht_collection.go b/client/model_vht_collection.go index 4955519..d94b280 100644 --- a/client/model_vht_collection.go +++ b/client/model_vht_collection.go @@ -202,8 +202,8 @@ func (o VhtCollection) ToMap() (map[string]interface{}, error) { } toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title return toSerialize, nil } diff --git a/client/model_vht_instance_collection.go b/client/model_vht_instance_collection.go index d8ada63..fbc3958 100644 --- a/client/model_vht_instance_collection.go +++ b/client/model_vht_instance_collection.go @@ -202,8 +202,8 @@ func (o VhtInstanceCollection) ToMap() (map[string]interface{}, error) { } toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title return toSerialize, nil } diff --git a/client/model_vht_instance_item.go b/client/model_vht_instance_item.go index 1189f5e..044f179 100644 --- a/client/model_vht_instance_item.go +++ b/client/model_vht_instance_item.go @@ -356,15 +356,15 @@ func (o VhtInstanceItem) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: error is readOnly + toSerialize["error"] = o.Error if !IsNil(o.InstanceTimeout) { toSerialize["instanceTimeout"] = o.InstanceTimeout } - // skip: name is readOnly - // skip: ready is readOnly - // skip: requested is readOnly - // skip: status is readOnly - // skip: terminated is readOnly + toSerialize["name"] = o.Name + toSerialize["ready"] = o.Ready + toSerialize["requested"] = o.Requested + toSerialize["status"] = o.Status + toSerialize["terminated"] = o.Terminated if o.Title.IsSet() { toSerialize["title"] = o.Title.Get() } diff --git a/client/model_vht_item.go b/client/model_vht_item.go index 3f1f53f..202beda 100644 --- a/client/model_vht_item.go +++ b/client/model_vht_item.go @@ -427,18 +427,20 @@ func (o VhtItem) ToMap() (map[string]interface{}, error) { if !IsNil(o.AdditionalTools) { toSerialize["additionalTools"] = o.AdditionalTools } - // skip: board is readOnly - // skip: boardRevision is readOnly - // skip: deprecated is readOnly + toSerialize["board"] = o.Board + if !IsNil(o.BoardRevision) { + toSerialize["boardRevision"] = o.BoardRevision + } + toSerialize["deprecated"] = o.Deprecated if !IsNil(o.DeprecationInfo) { toSerialize["deprecationInfo"] = o.DeprecationInfo } if o.Model.IsSet() { toSerialize["model"] = o.Model.Get() } - // skip: name is readOnly - // skip: title is readOnly - // skip: vendor is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title + toSerialize["vendor"] = o.Vendor if !IsNil(o.VirtualInterfaces) { toSerialize["virtualInterfaces"] = o.VirtualInterfaces } diff --git a/client/model_vht_run_job_collection.go b/client/model_vht_run_job_collection.go index 50275af..4237411 100644 --- a/client/model_vht_run_job_collection.go +++ b/client/model_vht_run_job_collection.go @@ -202,8 +202,8 @@ func (o VhtRunJobCollection) ToMap() (map[string]interface{}, error) { } toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title return toSerialize, nil } diff --git a/client/model_vht_run_job_item.go b/client/model_vht_run_job_item.go index 24f1f9a..df0a86a 100644 --- a/client/model_vht_run_job_item.go +++ b/client/model_vht_run_job_item.go @@ -383,16 +383,16 @@ func (o VhtRunJobItem) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: done is readOnly - // skip: error is readOnly + toSerialize["done"] = o.Done + toSerialize["error"] = o.Error if !IsNil(o.JobTimeout) { toSerialize["jobTimeout"] = o.JobTimeout } - // skip: name is readOnly - // skip: queued is readOnly - // skip: status is readOnly - // skip: systemError is readOnly - // skip: timedOut is readOnly + toSerialize["name"] = o.Name + toSerialize["queued"] = o.Queued + toSerialize["status"] = o.Status + toSerialize["systemError"] = o.SystemError + toSerialize["timedOut"] = o.TimedOut if o.Title.IsSet() { toSerialize["title"] = o.Title.Get() } diff --git a/client/model_workspace_collection.go b/client/model_workspace_collection.go index 7f99674..975b6e0 100644 --- a/client/model_workspace_collection.go +++ b/client/model_workspace_collection.go @@ -202,8 +202,8 @@ func (o WorkspaceCollection) ToMap() (map[string]interface{}, error) { } toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title return toSerialize, nil } diff --git a/client/model_workspace_details_item.go b/client/model_workspace_details_item.go index 40589bf..d4a1aa9 100644 --- a/client/model_workspace_details_item.go +++ b/client/model_workspace_details_item.go @@ -244,9 +244,11 @@ func (o WorkspaceDetailsItem) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: name is readOnly - // skip: path is readOnly - // skip: sizeInByte is readOnly + toSerialize["name"] = o.Name + toSerialize["path"] = o.Path + if !IsNil(o.SizeInByte) { + toSerialize["sizeInByte"] = o.SizeInByte + } if o.Title.IsSet() { toSerialize["title"] = o.Title.Get() } diff --git a/client/model_workspace_item.go b/client/model_workspace_item.go index db35515..15ce988 100644 --- a/client/model_workspace_item.go +++ b/client/model_workspace_item.go @@ -268,8 +268,10 @@ func (o WorkspaceItem) ToMap() (map[string]interface{}, error) { } toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: ephemeral is readOnly - // skip: name is readOnly + if !IsNil(o.Ephemeral) { + toSerialize["ephemeral"] = o.Ephemeral + } + toSerialize["name"] = o.Name if o.Title.IsSet() { toSerialize["title"] = o.Title.Get() } diff --git a/client/model_workspace_repository_content_manager.go b/client/model_workspace_repository_content_manager.go index 7b6023e..4b6bd86 100644 --- a/client/model_workspace_repository_content_manager.go +++ b/client/model_workspace_repository_content_manager.go @@ -355,7 +355,7 @@ func (o WorkspaceRepositoryContentManager) ToMap() (map[string]interface{}, erro if o.FetchDepth.IsSet() { toSerialize["fetchDepth"] = o.FetchDepth.Get() } - // skip: name is readOnly + toSerialize["name"] = o.Name toSerialize["reference"] = o.Reference.Get() toSerialize["repositoryUrl"] = o.RepositoryUrl toSerialize["scm"] = o.Scm diff --git a/client/model_workspace_source_collection.go b/client/model_workspace_source_collection.go index a66d1ec..e145716 100644 --- a/client/model_workspace_source_collection.go +++ b/client/model_workspace_source_collection.go @@ -202,8 +202,8 @@ func (o WorkspaceSourceCollection) ToMap() (map[string]interface{}, error) { } toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: name is readOnly - // skip: title is readOnly + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title return toSerialize, nil } diff --git a/client/model_workspace_source_item.go b/client/model_workspace_source_item.go index 39d3196..3cca568 100644 --- a/client/model_workspace_source_item.go +++ b/client/model_workspace_source_item.go @@ -260,13 +260,15 @@ func (o WorkspaceSourceItem) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["_links"] = o.Links.Get() toSerialize["_metadata"] = o.Metadata.Get() - // skip: deprecated is readOnly + toSerialize["deprecated"] = o.Deprecated if !IsNil(o.DeprecationInfo) { toSerialize["deprecationInfo"] = o.DeprecationInfo } - // skip: description is readOnly - // skip: name is readOnly - // skip: title is readOnly + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + toSerialize["name"] = o.Name + toSerialize["title"] = o.Title return toSerialize, nil }