From d192643ee973139dcaaa2cd100d9584e41685c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Nechv=C3=A1tal?= Date: Mon, 17 Apr 2023 21:39:31 +0200 Subject: [PATCH] Change the directory version --- azuredevops/v7.1/go.mod | 5 ----- azuredevops/{v7.1 => v7}/accounts/client.go | 2 +- azuredevops/{v7.1 => v7}/accounts/models.go | 2 +- azuredevops/{v7.1 => v7}/aexlicensingrule/models.go | 6 +++--- azuredevops/{v7.1 => v7}/analytics/client.go | 2 +- azuredevops/{v7.1 => v7}/analytics/models.go | 2 +- azuredevops/{v7.1 => v7}/audit/client.go | 2 +- azuredevops/{v7.1 => v7}/audit/models.go | 2 +- azuredevops/{v7.1 => v7}/build/client.go | 4 ++-- azuredevops/{v7.1 => v7}/build/models.go | 12 ++++++------ azuredevops/{v7.1 => v7}/cix/client.go | 2 +- azuredevops/{v7.1 => v7}/cix/models.go | 2 +- azuredevops/{v7.1 => v7}/client.go | 0 azuredevops/{v7.1 => v7}/client_options.go | 0 azuredevops/{v7.1 => v7}/client_test.go | 0 azuredevops/{v7.1 => v7}/clienttrace/client.go | 2 +- azuredevops/{v7.1 => v7}/clienttrace/models.go | 0 azuredevops/{v7.1 => v7}/comments/models.go | 4 ++-- azuredevops/{v7.1 => v7}/commerce/models.go | 2 +- azuredevops/{v7.1 => v7}/connection.go | 0 azuredevops/{v7.1 => v7}/contributions/client.go | 2 +- azuredevops/{v7.1 => v7}/contributions/models.go | 4 ++-- azuredevops/{v7.1 => v7}/core/client.go | 6 +++--- azuredevops/{v7.1 => v7}/core/models.go | 6 +++--- .../{v7.1 => v7}/customerintelligence/client.go | 2 +- .../{v7.1 => v7}/customerintelligence/models.go | 0 azuredevops/{v7.1 => v7}/dashboard/client.go | 2 +- azuredevops/{v7.1 => v7}/dashboard/models.go | 2 +- .../{v7.1 => v7}/delegatedauthorization/models.go | 4 ++-- .../{v7.1 => v7}/distributedtaskcommon/models.go | 0 azuredevops/{v7.1 => v7}/elastic/client.go | 2 +- azuredevops/{v7.1 => v7}/elastic/models.go | 4 ++-- azuredevops/{v7.1 => v7}/errors.go | 0 .../{v7.1 => v7}/extensionmanagement/client.go | 2 +- .../{v7.1 => v7}/extensionmanagement/models.go | 6 +++--- .../{v7.1 => v7}/featureavailability/client.go | 2 +- .../{v7.1 => v7}/featureavailability/models.go | 0 azuredevops/{v7.1 => v7}/featuremanagement/client.go | 2 +- azuredevops/{v7.1 => v7}/featuremanagement/models.go | 0 azuredevops/{v7.1 => v7}/feed/client.go | 6 +++--- azuredevops/{v7.1 => v7}/feed/models.go | 2 +- azuredevops/{v7.1 => v7}/filecontainer/client.go | 2 +- azuredevops/{v7.1 => v7}/filecontainer/models.go | 2 +- azuredevops/{v7.1 => v7}/forminput/models.go | 0 azuredevops/{v7.1 => v7}/gallery/client.go | 2 +- azuredevops/{v7.1 => v7}/gallery/models.go | 4 ++-- azuredevops/{v7.1 => v7}/git/client.go | 8 ++++---- azuredevops/{v7.1 => v7}/git/models.go | 8 ++++---- azuredevops/v7/go.mod | 5 +++++ azuredevops/{v7.1 => v7}/go.sum | 0 azuredevops/{v7.1 => v7}/graph/client.go | 6 +++--- azuredevops/{v7.1 => v7}/graph/models.go | 2 +- azuredevops/{v7.1 => v7}/identity/client.go | 6 +++--- azuredevops/{v7.1 => v7}/identity/models.go | 0 azuredevops/{v7.1 => v7}/licensing/models.go | 8 ++++---- azuredevops/{v7.1 => v7}/licensingrule/models.go | 6 +++--- azuredevops/{v7.1 => v7}/location/client.go | 4 ++-- azuredevops/{v7.1 => v7}/location/models.go | 6 +++--- azuredevops/{v7.1 => v7}/maven/client.go | 4 ++-- azuredevops/{v7.1 => v7}/maven/models.go | 6 +++--- .../memberentitlementmanagement/client.go | 6 +++--- .../memberentitlementmanagement/models.go | 12 ++++++------ azuredevops/{v7.1 => v7}/models.go | 0 azuredevops/{v7.1 => v7}/models_test.go | 0 azuredevops/{v7.1 => v7}/notification/client.go | 2 +- azuredevops/{v7.1 => v7}/notification/models.go | 6 +++--- azuredevops/{v7.1 => v7}/npm/client.go | 4 ++-- azuredevops/{v7.1 => v7}/npm/models.go | 6 +++--- azuredevops/{v7.1 => v7}/nuget/client.go | 4 ++-- azuredevops/{v7.1 => v7}/nuget/models.go | 6 +++--- azuredevops/{v7.1 => v7}/operations/client.go | 2 +- azuredevops/{v7.1 => v7}/operations/models.go | 0 azuredevops/{v7.1 => v7}/packagingshared/models.go | 2 +- .../{v7.1 => v7}/pipelinepermissions/client.go | 2 +- .../{v7.1 => v7}/pipelinepermissions/models.go | 6 +++--- azuredevops/{v7.1 => v7}/pipelines/client.go | 2 +- azuredevops/{v7.1 => v7}/pipelines/models.go | 4 ++-- azuredevops/{v7.1 => v7}/pipelinesapproval/client.go | 2 +- azuredevops/{v7.1 => v7}/pipelinesapproval/models.go | 4 ++-- azuredevops/{v7.1 => v7}/pipelineschecks/client.go | 2 +- azuredevops/{v7.1 => v7}/pipelineschecks/models.go | 8 ++++---- .../{v7.1 => v7}/pipelinestaskcheck/models.go | 0 azuredevops/{v7.1 => v7}/policy/client.go | 2 +- azuredevops/{v7.1 => v7}/policy/models.go | 4 ++-- azuredevops/{v7.1 => v7}/profile/client.go | 2 +- azuredevops/{v7.1 => v7}/profile/models.go | 2 +- azuredevops/{v7.1 => v7}/profileregions/client.go | 2 +- azuredevops/{v7.1 => v7}/profileregions/models.go | 0 azuredevops/{v7.1 => v7}/projectanalysis/client.go | 2 +- azuredevops/{v7.1 => v7}/projectanalysis/models.go | 2 +- azuredevops/{v7.1 => v7}/provenance/client.go | 2 +- azuredevops/{v7.1 => v7}/provenance/models.go | 0 azuredevops/{v7.1 => v7}/pypiapi/client.go | 4 ++-- azuredevops/{v7.1 => v7}/pypiapi/models.go | 6 +++--- azuredevops/{v7.1 => v7}/release/client.go | 2 +- azuredevops/{v7.1 => v7}/release/models.go | 8 ++++---- azuredevops/{v7.1 => v7}/search/client.go | 4 ++-- azuredevops/{v7.1 => v7}/search/models.go | 4 ++-- azuredevops/{v7.1 => v7}/searchshared/models.go | 0 azuredevops/{v7.1 => v7}/security/client.go | 2 +- azuredevops/{v7.1 => v7}/security/models.go | 0 azuredevops/{v7.1 => v7}/serviceendpoint/client.go | 2 +- azuredevops/{v7.1 => v7}/serviceendpoint/models.go | 8 ++++---- azuredevops/{v7.1 => v7}/servicehooks/client.go | 6 +++--- azuredevops/{v7.1 => v7}/servicehooks/models.go | 6 +++--- azuredevops/{v7.1 => v7}/settings/client.go | 2 +- azuredevops/{v7.1 => v7}/symbol/client.go | 2 +- azuredevops/{v7.1 => v7}/symbol/models.go | 4 ++-- azuredevops/{v7.1 => v7}/symbolcommon/models.go | 0 azuredevops/{v7.1 => v7}/system/models.go | 0 azuredevops/{v7.1 => v7}/task/client.go | 2 +- azuredevops/{v7.1 => v7}/task/models.go | 2 +- azuredevops/{v7.1 => v7}/taskagent/client.go | 2 +- azuredevops/{v7.1 => v7}/taskagent/models.go | 8 ++++---- azuredevops/{v7.1 => v7}/test/client.go | 2 +- azuredevops/{v7.1 => v7}/test/models.go | 8 ++++---- azuredevops/{v7.1 => v7}/testplan/client.go | 2 +- azuredevops/{v7.1 => v7}/testplan/models.go | 8 ++++---- azuredevops/{v7.1 => v7}/testresults/client.go | 4 ++-- azuredevops/{v7.1 => v7}/testresults/models.go | 0 azuredevops/{v7.1 => v7}/tfvc/client.go | 4 ++-- azuredevops/{v7.1 => v7}/tokenadmin/client.go | 2 +- azuredevops/{v7.1 => v7}/tokenadmin/models.go | 4 ++-- azuredevops/{v7.1 => v7}/universal/client.go | 2 +- azuredevops/{v7.1 => v7}/universal/models.go | 6 +++--- azuredevops/{v7.1 => v7}/upackpackaging/client.go | 2 +- azuredevops/{v7.1 => v7}/upackpackaging/models.go | 2 +- azuredevops/{v7.1 => v7}/version.go | 0 azuredevops/{v7.1 => v7}/versionnegotiation.go | 0 azuredevops/{v7.1 => v7}/versionnegotiation_test.go | 0 azuredevops/{v7.1 => v7}/webapi/models.go | 4 ++-- azuredevops/{v7.1 => v7}/wiki/client.go | 4 ++-- azuredevops/{v7.1 => v7}/wiki/models.go | 4 ++-- azuredevops/{v7.1 => v7}/work/client.go | 2 +- azuredevops/{v7.1 => v7}/work/models.go | 6 +++--- azuredevops/{v7.1 => v7}/workitemtracking/client.go | 4 ++-- azuredevops/{v7.1 => v7}/workitemtracking/models.go | 4 ++-- .../{v7.1 => v7}/workitemtrackingprocess/client.go | 2 +- .../{v7.1 => v7}/workitemtrackingprocess/models.go | 0 .../workitemtrackingprocesstemplate/client.go | 2 +- .../workitemtrackingprocesstemplate/models.go | 0 141 files changed, 217 insertions(+), 217 deletions(-) delete mode 100644 azuredevops/v7.1/go.mod rename azuredevops/{v7.1 => v7}/accounts/client.go (97%) rename azuredevops/{v7.1 => v7}/accounts/models.go (98%) rename azuredevops/{v7.1 => v7}/aexlicensingrule/models.go (95%) rename azuredevops/{v7.1 => v7}/analytics/client.go (99%) rename azuredevops/{v7.1 => v7}/analytics/models.go (99%) rename azuredevops/{v7.1 => v7}/audit/client.go (99%) rename azuredevops/{v7.1 => v7}/audit/models.go (99%) rename azuredevops/{v7.1 => v7}/build/client.go (99%) rename azuredevops/{v7.1 => v7}/build/models.go (99%) rename azuredevops/{v7.1 => v7}/cix/client.go (99%) rename azuredevops/{v7.1 => v7}/cix/models.go (98%) rename azuredevops/{v7.1 => v7}/client.go (100%) rename azuredevops/{v7.1 => v7}/client_options.go (100%) rename azuredevops/{v7.1 => v7}/client_test.go (100%) rename azuredevops/{v7.1 => v7}/clienttrace/client.go (96%) rename azuredevops/{v7.1 => v7}/clienttrace/models.go (100%) rename azuredevops/{v7.1 => v7}/comments/models.go (98%) rename azuredevops/{v7.1 => v7}/commerce/models.go (99%) rename azuredevops/{v7.1 => v7}/connection.go (100%) rename azuredevops/{v7.1 => v7}/contributions/client.go (99%) rename azuredevops/{v7.1 => v7}/contributions/models.go (99%) rename azuredevops/{v7.1 => v7}/core/client.go (99%) rename azuredevops/{v7.1 => v7}/core/models.go (98%) rename azuredevops/{v7.1 => v7}/customerintelligence/client.go (96%) rename azuredevops/{v7.1 => v7}/customerintelligence/models.go (100%) rename azuredevops/{v7.1 => v7}/dashboard/client.go (99%) rename azuredevops/{v7.1 => v7}/dashboard/models.go (99%) rename azuredevops/{v7.1 => v7}/delegatedauthorization/models.go (99%) rename azuredevops/{v7.1 => v7}/distributedtaskcommon/models.go (100%) rename azuredevops/{v7.1 => v7}/elastic/client.go (99%) rename azuredevops/{v7.1 => v7}/elastic/models.go (99%) rename azuredevops/{v7.1 => v7}/errors.go (100%) rename azuredevops/{v7.1 => v7}/extensionmanagement/client.go (99%) rename azuredevops/{v7.1 => v7}/extensionmanagement/models.go (99%) rename azuredevops/{v7.1 => v7}/featureavailability/client.go (99%) rename azuredevops/{v7.1 => v7}/featureavailability/models.go (100%) rename azuredevops/{v7.1 => v7}/featuremanagement/client.go (99%) rename azuredevops/{v7.1 => v7}/featuremanagement/models.go (100%) rename azuredevops/{v7.1 => v7}/feed/client.go (99%) rename azuredevops/{v7.1 => v7}/feed/models.go (99%) rename azuredevops/{v7.1 => v7}/filecontainer/client.go (99%) rename azuredevops/{v7.1 => v7}/filecontainer/models.go (98%) rename azuredevops/{v7.1 => v7}/forminput/models.go (100%) rename azuredevops/{v7.1 => v7}/gallery/client.go (99%) rename azuredevops/{v7.1 => v7}/gallery/models.go (99%) rename azuredevops/{v7.1 => v7}/git/client.go (99%) rename azuredevops/{v7.1 => v7}/git/models.go (99%) create mode 100644 azuredevops/v7/go.mod rename azuredevops/{v7.1 => v7}/go.sum (100%) rename azuredevops/{v7.1 => v7}/graph/client.go (99%) rename azuredevops/{v7.1 => v7}/graph/models.go (99%) rename azuredevops/{v7.1 => v7}/identity/client.go (99%) rename azuredevops/{v7.1 => v7}/identity/models.go (100%) rename azuredevops/{v7.1 => v7}/licensing/models.go (97%) rename azuredevops/{v7.1 => v7}/licensingrule/models.go (95%) rename azuredevops/{v7.1 => v7}/location/client.go (98%) rename azuredevops/{v7.1 => v7}/location/models.go (97%) rename azuredevops/{v7.1 => v7}/maven/client.go (99%) rename azuredevops/{v7.1 => v7}/maven/models.go (98%) rename azuredevops/{v7.1 => v7}/memberentitlementmanagement/client.go (99%) rename azuredevops/{v7.1 => v7}/memberentitlementmanagement/models.go (98%) rename azuredevops/{v7.1 => v7}/models.go (100%) rename azuredevops/{v7.1 => v7}/models_test.go (100%) rename azuredevops/{v7.1 => v7}/notification/client.go (99%) rename azuredevops/{v7.1 => v7}/notification/models.go (99%) rename azuredevops/{v7.1 => v7}/npm/client.go (99%) rename azuredevops/{v7.1 => v7}/npm/models.go (95%) rename azuredevops/{v7.1 => v7}/nuget/client.go (99%) rename azuredevops/{v7.1 => v7}/nuget/models.go (95%) rename azuredevops/{v7.1 => v7}/operations/client.go (97%) rename azuredevops/{v7.1 => v7}/operations/models.go (100%) rename azuredevops/{v7.1 => v7}/packagingshared/models.go (99%) rename azuredevops/{v7.1 => v7}/pipelinepermissions/client.go (99%) rename azuredevops/{v7.1 => v7}/pipelinepermissions/models.go (89%) rename azuredevops/{v7.1 => v7}/pipelines/client.go (99%) rename azuredevops/{v7.1 => v7}/pipelines/models.go (98%) rename azuredevops/{v7.1 => v7}/pipelinesapproval/client.go (98%) rename azuredevops/{v7.1 => v7}/pipelinesapproval/models.go (98%) rename azuredevops/{v7.1 => v7}/pipelineschecks/client.go (99%) rename azuredevops/{v7.1 => v7}/pipelineschecks/models.go (97%) rename azuredevops/{v7.1 => v7}/pipelinestaskcheck/models.go (100%) rename azuredevops/{v7.1 => v7}/policy/client.go (99%) rename azuredevops/{v7.1 => v7}/policy/models.go (97%) rename azuredevops/{v7.1 => v7}/profile/client.go (98%) rename azuredevops/{v7.1 => v7}/profile/models.go (98%) rename azuredevops/{v7.1 => v7}/profileregions/client.go (97%) rename azuredevops/{v7.1 => v7}/profileregions/models.go (100%) rename azuredevops/{v7.1 => v7}/projectanalysis/client.go (99%) rename azuredevops/{v7.1 => v7}/projectanalysis/models.go (98%) rename azuredevops/{v7.1 => v7}/provenance/client.go (97%) rename azuredevops/{v7.1 => v7}/provenance/models.go (100%) rename azuredevops/{v7.1 => v7}/pypiapi/client.go (99%) rename azuredevops/{v7.1 => v7}/pypiapi/models.go (94%) rename azuredevops/{v7.1 => v7}/release/client.go (99%) rename azuredevops/{v7.1 => v7}/release/models.go (99%) rename azuredevops/{v7.1 => v7}/search/client.go (98%) rename azuredevops/{v7.1 => v7}/search/models.go (98%) rename azuredevops/{v7.1 => v7}/searchshared/models.go (100%) rename azuredevops/{v7.1 => v7}/security/client.go (99%) rename azuredevops/{v7.1 => v7}/security/models.go (100%) rename azuredevops/{v7.1 => v7}/serviceendpoint/client.go (99%) rename azuredevops/{v7.1 => v7}/serviceendpoint/models.go (98%) rename azuredevops/{v7.1 => v7}/servicehooks/client.go (99%) rename azuredevops/{v7.1 => v7}/servicehooks/models.go (99%) rename azuredevops/{v7.1 => v7}/settings/client.go (99%) rename azuredevops/{v7.1 => v7}/symbol/client.go (99%) rename azuredevops/{v7.1 => v7}/symbol/models.go (98%) rename azuredevops/{v7.1 => v7}/symbolcommon/models.go (100%) rename azuredevops/{v7.1 => v7}/system/models.go (100%) rename azuredevops/{v7.1 => v7}/task/client.go (99%) rename azuredevops/{v7.1 => v7}/task/models.go (99%) rename azuredevops/{v7.1 => v7}/taskagent/client.go (99%) rename azuredevops/{v7.1 => v7}/taskagent/models.go (99%) rename azuredevops/{v7.1 => v7}/test/client.go (99%) rename azuredevops/{v7.1 => v7}/test/models.go (99%) rename azuredevops/{v7.1 => v7}/testplan/client.go (99%) rename azuredevops/{v7.1 => v7}/testplan/models.go (99%) rename azuredevops/{v7.1 => v7}/testresults/client.go (99%) rename azuredevops/{v7.1 => v7}/testresults/models.go (100%) rename azuredevops/{v7.1 => v7}/tfvc/client.go (99%) rename azuredevops/{v7.1 => v7}/tokenadmin/client.go (98%) rename azuredevops/{v7.1 => v7}/tokenadmin/models.go (93%) rename azuredevops/{v7.1 => v7}/universal/client.go (99%) rename azuredevops/{v7.1 => v7}/universal/models.go (94%) rename azuredevops/{v7.1 => v7}/upackpackaging/client.go (98%) rename azuredevops/{v7.1 => v7}/upackpackaging/models.go (98%) rename azuredevops/{v7.1 => v7}/version.go (100%) rename azuredevops/{v7.1 => v7}/versionnegotiation.go (100%) rename azuredevops/{v7.1 => v7}/versionnegotiation_test.go (100%) rename azuredevops/{v7.1 => v7}/webapi/models.go (99%) rename azuredevops/{v7.1 => v7}/wiki/client.go (99%) rename azuredevops/{v7.1 => v7}/wiki/models.go (98%) rename azuredevops/{v7.1 => v7}/work/client.go (99%) rename azuredevops/{v7.1 => v7}/work/models.go (99%) rename azuredevops/{v7.1 => v7}/workitemtracking/client.go (99%) rename azuredevops/{v7.1 => v7}/workitemtracking/models.go (99%) rename azuredevops/{v7.1 => v7}/workitemtrackingprocess/client.go (99%) rename azuredevops/{v7.1 => v7}/workitemtrackingprocess/models.go (100%) rename azuredevops/{v7.1 => v7}/workitemtrackingprocesstemplate/client.go (99%) rename azuredevops/{v7.1 => v7}/workitemtrackingprocesstemplate/models.go (100%) diff --git a/azuredevops/v7.1/go.mod b/azuredevops/v7.1/go.mod deleted file mode 100644 index 99a3c00..0000000 --- a/azuredevops/v7.1/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/microsoft/azure-devops-go-api/azuredevops/v7.1 - -go 1.12 - -require github.com/google/uuid v1.1.1 diff --git a/azuredevops/v7.1/accounts/client.go b/azuredevops/v7/accounts/client.go similarity index 97% rename from azuredevops/v7.1/accounts/client.go rename to azuredevops/v7/accounts/client.go index 867512a..1593cd1 100644 --- a/azuredevops/v7.1/accounts/client.go +++ b/azuredevops/v7/accounts/client.go @@ -11,7 +11,7 @@ package accounts import ( "context" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" ) diff --git a/azuredevops/v7.1/accounts/models.go b/azuredevops/v7/accounts/models.go similarity index 98% rename from azuredevops/v7.1/accounts/models.go rename to azuredevops/v7/accounts/models.go index 1697e68..0293d04 100644 --- a/azuredevops/v7.1/accounts/models.go +++ b/azuredevops/v7/accounts/models.go @@ -10,7 +10,7 @@ package accounts import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" ) type Account struct { diff --git a/azuredevops/v7.1/aexlicensingrule/models.go b/azuredevops/v7/aexlicensingrule/models.go similarity index 95% rename from azuredevops/v7.1/aexlicensingrule/models.go rename to azuredevops/v7/aexlicensingrule/models.go index 1d9ae01..50a1360 100644 --- a/azuredevops/v7.1/aexlicensingrule/models.go +++ b/azuredevops/v7/aexlicensingrule/models.go @@ -9,9 +9,9 @@ package aexlicensingrule import ( - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/licensing" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/operations" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/licensing" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/operations" ) type ApplicationStatus struct { diff --git a/azuredevops/v7.1/analytics/client.go b/azuredevops/v7/analytics/client.go similarity index 99% rename from azuredevops/v7.1/analytics/client.go rename to azuredevops/v7/analytics/client.go index 881bfcd..f5af12f 100644 --- a/azuredevops/v7.1/analytics/client.go +++ b/azuredevops/v7/analytics/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "io" "net/http" "strconv" diff --git a/azuredevops/v7.1/analytics/models.go b/azuredevops/v7/analytics/models.go similarity index 99% rename from azuredevops/v7.1/analytics/models.go rename to azuredevops/v7/analytics/models.go index 9179ff5..9eb0418 100644 --- a/azuredevops/v7.1/analytics/models.go +++ b/azuredevops/v7/analytics/models.go @@ -10,7 +10,7 @@ package analytics import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" ) type AnalyticsState string diff --git a/azuredevops/v7.1/audit/client.go b/azuredevops/v7/audit/client.go similarity index 99% rename from azuredevops/v7.1/audit/client.go rename to azuredevops/v7/audit/client.go index f1152f3..b1badaf 100644 --- a/azuredevops/v7.1/audit/client.go +++ b/azuredevops/v7/audit/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/audit/models.go b/azuredevops/v7/audit/models.go similarity index 99% rename from azuredevops/v7.1/audit/models.go rename to azuredevops/v7/audit/models.go index 139cd71..54d6884 100644 --- a/azuredevops/v7.1/audit/models.go +++ b/azuredevops/v7/audit/models.go @@ -10,7 +10,7 @@ package audit import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" ) // Defines all the categories an AuditAction can be diff --git a/azuredevops/v7.1/build/client.go b/azuredevops/v7/build/client.go similarity index 99% rename from azuredevops/v7.1/build/client.go rename to azuredevops/v7/build/client.go index 49552c5..e13b52f 100644 --- a/azuredevops/v7.1/build/client.go +++ b/azuredevops/v7/build/client.go @@ -13,8 +13,8 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/build/models.go b/azuredevops/v7/build/models.go similarity index 99% rename from azuredevops/v7.1/build/models.go rename to azuredevops/v7/build/models.go index 3684e29..e4032af 100644 --- a/azuredevops/v7.1/build/models.go +++ b/azuredevops/v7/build/models.go @@ -10,12 +10,12 @@ package build import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/core" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/distributedtaskcommon" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/git" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/test" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/core" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/distributedtaskcommon" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/git" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/test" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) // Represents a queue for running builds. diff --git a/azuredevops/v7.1/cix/client.go b/azuredevops/v7/cix/client.go similarity index 99% rename from azuredevops/v7.1/cix/client.go rename to azuredevops/v7/cix/client.go index 1e1d3fc..eff928b 100644 --- a/azuredevops/v7.1/cix/client.go +++ b/azuredevops/v7/cix/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" ) diff --git a/azuredevops/v7.1/cix/models.go b/azuredevops/v7/cix/models.go similarity index 98% rename from azuredevops/v7.1/cix/models.go rename to azuredevops/v7/cix/models.go index 06d8eed..0865eff 100644 --- a/azuredevops/v7.1/cix/models.go +++ b/azuredevops/v7/cix/models.go @@ -10,7 +10,7 @@ package cix import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/core" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/core" ) type BuildFrameworkDetectionType string diff --git a/azuredevops/v7.1/client.go b/azuredevops/v7/client.go similarity index 100% rename from azuredevops/v7.1/client.go rename to azuredevops/v7/client.go diff --git a/azuredevops/v7.1/client_options.go b/azuredevops/v7/client_options.go similarity index 100% rename from azuredevops/v7.1/client_options.go rename to azuredevops/v7/client_options.go diff --git a/azuredevops/v7.1/client_test.go b/azuredevops/v7/client_test.go similarity index 100% rename from azuredevops/v7.1/client_test.go rename to azuredevops/v7/client_test.go diff --git a/azuredevops/v7.1/clienttrace/client.go b/azuredevops/v7/clienttrace/client.go similarity index 96% rename from azuredevops/v7.1/clienttrace/client.go rename to azuredevops/v7/clienttrace/client.go index 750f9ce..e95d8ae 100644 --- a/azuredevops/v7.1/clienttrace/client.go +++ b/azuredevops/v7/clienttrace/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" ) diff --git a/azuredevops/v7.1/clienttrace/models.go b/azuredevops/v7/clienttrace/models.go similarity index 100% rename from azuredevops/v7.1/clienttrace/models.go rename to azuredevops/v7/clienttrace/models.go diff --git a/azuredevops/v7.1/comments/models.go b/azuredevops/v7/comments/models.go similarity index 98% rename from azuredevops/v7.1/comments/models.go rename to azuredevops/v7/comments/models.go index a8dcd7e..5016ecd 100644 --- a/azuredevops/v7.1/comments/models.go +++ b/azuredevops/v7/comments/models.go @@ -10,8 +10,8 @@ package comments import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) // Comment on an artifact like Work Item or Wiki, etc. diff --git a/azuredevops/v7.1/commerce/models.go b/azuredevops/v7/commerce/models.go similarity index 99% rename from azuredevops/v7.1/commerce/models.go rename to azuredevops/v7/commerce/models.go index c9d90f4..ae9cabf 100644 --- a/azuredevops/v7.1/commerce/models.go +++ b/azuredevops/v7/commerce/models.go @@ -10,7 +10,7 @@ package commerce import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" ) // The subscription account namespace. Denotes the 'category' of the account. diff --git a/azuredevops/v7.1/connection.go b/azuredevops/v7/connection.go similarity index 100% rename from azuredevops/v7.1/connection.go rename to azuredevops/v7/connection.go diff --git a/azuredevops/v7.1/contributions/client.go b/azuredevops/v7/contributions/client.go similarity index 99% rename from azuredevops/v7.1/contributions/client.go rename to azuredevops/v7/contributions/client.go index bdb9c3b..2b36cb0 100644 --- a/azuredevops/v7.1/contributions/client.go +++ b/azuredevops/v7/contributions/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/contributions/models.go b/azuredevops/v7/contributions/models.go similarity index 99% rename from azuredevops/v7.1/contributions/models.go rename to azuredevops/v7/contributions/models.go index c18600e..e841252 100644 --- a/azuredevops/v7.1/contributions/models.go +++ b/azuredevops/v7/contributions/models.go @@ -10,8 +10,8 @@ package contributions import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/gallery" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/gallery" ) // Representation of a ContributionNode that can be used for serialized to clients. diff --git a/azuredevops/v7.1/core/client.go b/azuredevops/v7/core/client.go similarity index 99% rename from azuredevops/v7.1/core/client.go rename to azuredevops/v7/core/client.go index 40d344e..9a5c856 100644 --- a/azuredevops/v7.1/core/client.go +++ b/azuredevops/v7/core/client.go @@ -13,9 +13,9 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/operations" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/operations" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/core/models.go b/azuredevops/v7/core/models.go similarity index 98% rename from azuredevops/v7.1/core/models.go rename to azuredevops/v7/core/models.go index 6a8d7d1..7977022 100644 --- a/azuredevops/v7.1/core/models.go +++ b/azuredevops/v7/core/models.go @@ -10,9 +10,9 @@ package core import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/identity" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/identity" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) type ConnectedServiceKind string diff --git a/azuredevops/v7.1/customerintelligence/client.go b/azuredevops/v7/customerintelligence/client.go similarity index 96% rename from azuredevops/v7.1/customerintelligence/client.go rename to azuredevops/v7/customerintelligence/client.go index 1c29743..f981ed3 100644 --- a/azuredevops/v7.1/customerintelligence/client.go +++ b/azuredevops/v7/customerintelligence/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" ) diff --git a/azuredevops/v7.1/customerintelligence/models.go b/azuredevops/v7/customerintelligence/models.go similarity index 100% rename from azuredevops/v7.1/customerintelligence/models.go rename to azuredevops/v7/customerintelligence/models.go diff --git a/azuredevops/v7.1/dashboard/client.go b/azuredevops/v7/dashboard/client.go similarity index 99% rename from azuredevops/v7.1/dashboard/client.go rename to azuredevops/v7/dashboard/client.go index 051b316..198a3b4 100644 --- a/azuredevops/v7.1/dashboard/client.go +++ b/azuredevops/v7/dashboard/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" ) diff --git a/azuredevops/v7.1/dashboard/models.go b/azuredevops/v7/dashboard/models.go similarity index 99% rename from azuredevops/v7.1/dashboard/models.go rename to azuredevops/v7/dashboard/models.go index 54f1a40..f324395 100644 --- a/azuredevops/v7.1/dashboard/models.go +++ b/azuredevops/v7/dashboard/models.go @@ -10,7 +10,7 @@ package dashboard import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" ) // Copy options of a Dashboard. diff --git a/azuredevops/v7.1/delegatedauthorization/models.go b/azuredevops/v7/delegatedauthorization/models.go similarity index 99% rename from azuredevops/v7.1/delegatedauthorization/models.go rename to azuredevops/v7/delegatedauthorization/models.go index 59461b4..5bee22b 100644 --- a/azuredevops/v7.1/delegatedauthorization/models.go +++ b/azuredevops/v7/delegatedauthorization/models.go @@ -10,8 +10,8 @@ package delegatedauthorization import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) type AccessTokenResult struct { diff --git a/azuredevops/v7.1/distributedtaskcommon/models.go b/azuredevops/v7/distributedtaskcommon/models.go similarity index 100% rename from azuredevops/v7.1/distributedtaskcommon/models.go rename to azuredevops/v7/distributedtaskcommon/models.go diff --git a/azuredevops/v7.1/elastic/client.go b/azuredevops/v7/elastic/client.go similarity index 99% rename from azuredevops/v7.1/elastic/client.go rename to azuredevops/v7/elastic/client.go index 1c8e737..0d6380d 100644 --- a/azuredevops/v7.1/elastic/client.go +++ b/azuredevops/v7/elastic/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/elastic/models.go b/azuredevops/v7/elastic/models.go similarity index 99% rename from azuredevops/v7.1/elastic/models.go rename to azuredevops/v7/elastic/models.go index 12368ea..e14c9a6 100644 --- a/azuredevops/v7.1/elastic/models.go +++ b/azuredevops/v7/elastic/models.go @@ -10,8 +10,8 @@ package elastic import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) // [Flags] diff --git a/azuredevops/v7.1/errors.go b/azuredevops/v7/errors.go similarity index 100% rename from azuredevops/v7.1/errors.go rename to azuredevops/v7/errors.go diff --git a/azuredevops/v7.1/extensionmanagement/client.go b/azuredevops/v7/extensionmanagement/client.go similarity index 99% rename from azuredevops/v7.1/extensionmanagement/client.go rename to azuredevops/v7/extensionmanagement/client.go index 0615c9c..6b753c3 100644 --- a/azuredevops/v7.1/extensionmanagement/client.go +++ b/azuredevops/v7/extensionmanagement/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/extensionmanagement/models.go b/azuredevops/v7/extensionmanagement/models.go similarity index 99% rename from azuredevops/v7.1/extensionmanagement/models.go rename to azuredevops/v7/extensionmanagement/models.go index f43c9c5..0f3818e 100644 --- a/azuredevops/v7.1/extensionmanagement/models.go +++ b/azuredevops/v7/extensionmanagement/models.go @@ -10,9 +10,9 @@ package extensionmanagement import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/gallery" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/gallery" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) // How the acquisition is assigned diff --git a/azuredevops/v7.1/featureavailability/client.go b/azuredevops/v7/featureavailability/client.go similarity index 99% rename from azuredevops/v7.1/featureavailability/client.go rename to azuredevops/v7/featureavailability/client.go index fe95288..701b66f 100644 --- a/azuredevops/v7.1/featureavailability/client.go +++ b/azuredevops/v7/featureavailability/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/featureavailability/models.go b/azuredevops/v7/featureavailability/models.go similarity index 100% rename from azuredevops/v7.1/featureavailability/models.go rename to azuredevops/v7/featureavailability/models.go diff --git a/azuredevops/v7.1/featuremanagement/client.go b/azuredevops/v7/featuremanagement/client.go similarity index 99% rename from azuredevops/v7.1/featuremanagement/client.go rename to azuredevops/v7/featuremanagement/client.go index dc08f64..72e247d 100644 --- a/azuredevops/v7.1/featuremanagement/client.go +++ b/azuredevops/v7/featuremanagement/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" ) diff --git a/azuredevops/v7.1/featuremanagement/models.go b/azuredevops/v7/featuremanagement/models.go similarity index 100% rename from azuredevops/v7.1/featuremanagement/models.go rename to azuredevops/v7/featuremanagement/models.go diff --git a/azuredevops/v7.1/feed/client.go b/azuredevops/v7/feed/client.go similarity index 99% rename from azuredevops/v7.1/feed/client.go rename to azuredevops/v7/feed/client.go index fe8aa4d..7d77640 100644 --- a/azuredevops/v7.1/feed/client.go +++ b/azuredevops/v7/feed/client.go @@ -13,9 +13,9 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/operations" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/operations" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/feed/models.go b/azuredevops/v7/feed/models.go similarity index 99% rename from azuredevops/v7.1/feed/models.go rename to azuredevops/v7/feed/models.go index 42e94f5..6b8f13f 100644 --- a/azuredevops/v7.1/feed/models.go +++ b/azuredevops/v7/feed/models.go @@ -10,7 +10,7 @@ package feed import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" ) type BuildPackage struct { diff --git a/azuredevops/v7.1/filecontainer/client.go b/azuredevops/v7/filecontainer/client.go similarity index 99% rename from azuredevops/v7.1/filecontainer/client.go rename to azuredevops/v7/filecontainer/client.go index 0cf7842..5998388 100644 --- a/azuredevops/v7.1/filecontainer/client.go +++ b/azuredevops/v7/filecontainer/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/filecontainer/models.go b/azuredevops/v7/filecontainer/models.go similarity index 98% rename from azuredevops/v7.1/filecontainer/models.go rename to azuredevops/v7/filecontainer/models.go index 1e0fc8e..f8a8171 100644 --- a/azuredevops/v7.1/filecontainer/models.go +++ b/azuredevops/v7/filecontainer/models.go @@ -10,7 +10,7 @@ package filecontainer import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" ) // Compression type for file stored in Blobstore diff --git a/azuredevops/v7.1/forminput/models.go b/azuredevops/v7/forminput/models.go similarity index 100% rename from azuredevops/v7.1/forminput/models.go rename to azuredevops/v7/forminput/models.go diff --git a/azuredevops/v7.1/gallery/client.go b/azuredevops/v7/gallery/client.go similarity index 99% rename from azuredevops/v7.1/gallery/client.go rename to azuredevops/v7/gallery/client.go index 5f6d7ab..e87376e 100644 --- a/azuredevops/v7.1/gallery/client.go +++ b/azuredevops/v7/gallery/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/gallery/models.go b/azuredevops/v7/gallery/models.go similarity index 99% rename from azuredevops/v7.1/gallery/models.go rename to azuredevops/v7/gallery/models.go index 8d23934..b2793a3 100644 --- a/azuredevops/v7.1/gallery/models.go +++ b/azuredevops/v7/gallery/models.go @@ -10,8 +10,8 @@ package gallery import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) // How the acquisition is assigned diff --git a/azuredevops/v7.1/git/client.go b/azuredevops/v7/git/client.go similarity index 99% rename from azuredevops/v7.1/git/client.go rename to azuredevops/v7/git/client.go index 089a6d5..aaca554 100644 --- a/azuredevops/v7.1/git/client.go +++ b/azuredevops/v7/git/client.go @@ -13,10 +13,10 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/core" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/policy" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/core" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/policy" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/git/models.go b/azuredevops/v7/git/models.go similarity index 99% rename from azuredevops/v7.1/git/models.go rename to azuredevops/v7/git/models.go index 40541d0..ebc04d8 100644 --- a/azuredevops/v7.1/git/models.go +++ b/azuredevops/v7/git/models.go @@ -10,10 +10,10 @@ package git import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/core" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/policy" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/core" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/policy" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) type AdvSecEnablementStatus struct { diff --git a/azuredevops/v7/go.mod b/azuredevops/v7/go.mod new file mode 100644 index 0000000..0c3ebc6 --- /dev/null +++ b/azuredevops/v7/go.mod @@ -0,0 +1,5 @@ +module github.com/microsoft/azure-devops-go-api/azuredevops/v7 + +go 1.12 + +require github.com/google/uuid v1.1.1 diff --git a/azuredevops/v7.1/go.sum b/azuredevops/v7/go.sum similarity index 100% rename from azuredevops/v7.1/go.sum rename to azuredevops/v7/go.sum diff --git a/azuredevops/v7.1/graph/client.go b/azuredevops/v7/graph/client.go similarity index 99% rename from azuredevops/v7.1/graph/client.go rename to azuredevops/v7/graph/client.go index 5f04713..7d346d2 100644 --- a/azuredevops/v7.1/graph/client.go +++ b/azuredevops/v7/graph/client.go @@ -13,9 +13,9 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/profile" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/profile" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/graph/models.go b/azuredevops/v7/graph/models.go similarity index 99% rename from azuredevops/v7.1/graph/models.go rename to azuredevops/v7/graph/models.go index 603aacb..8119e91 100644 --- a/azuredevops/v7.1/graph/models.go +++ b/azuredevops/v7/graph/models.go @@ -10,7 +10,7 @@ package graph import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/identity" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/identity" ) type AadGraphMember struct { diff --git a/azuredevops/v7.1/identity/client.go b/azuredevops/v7/identity/client.go similarity index 99% rename from azuredevops/v7.1/identity/client.go rename to azuredevops/v7/identity/client.go index 877709c..a613e83 100644 --- a/azuredevops/v7.1/identity/client.go +++ b/azuredevops/v7/identity/client.go @@ -13,9 +13,9 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/delegatedauthorization" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/delegatedauthorization" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/identity/models.go b/azuredevops/v7/identity/models.go similarity index 100% rename from azuredevops/v7.1/identity/models.go rename to azuredevops/v7/identity/models.go diff --git a/azuredevops/v7.1/licensing/models.go b/azuredevops/v7/licensing/models.go similarity index 97% rename from azuredevops/v7.1/licensing/models.go rename to azuredevops/v7/licensing/models.go index 75b945e..49f640d 100644 --- a/azuredevops/v7.1/licensing/models.go +++ b/azuredevops/v7/licensing/models.go @@ -10,10 +10,10 @@ package licensing import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/accounts" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/commerce" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/accounts" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/commerce" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) // License assigned to a user diff --git a/azuredevops/v7.1/licensingrule/models.go b/azuredevops/v7/licensingrule/models.go similarity index 95% rename from azuredevops/v7.1/licensingrule/models.go rename to azuredevops/v7/licensingrule/models.go index 1750adf..37af074 100644 --- a/azuredevops/v7.1/licensingrule/models.go +++ b/azuredevops/v7/licensingrule/models.go @@ -9,9 +9,9 @@ package licensingrule import ( - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/licensing" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/operations" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/licensing" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/operations" ) type ApplicationStatus struct { diff --git a/azuredevops/v7.1/location/client.go b/azuredevops/v7/location/client.go similarity index 98% rename from azuredevops/v7.1/location/client.go rename to azuredevops/v7/location/client.go index 3e69daf..9211342 100644 --- a/azuredevops/v7.1/location/client.go +++ b/azuredevops/v7/location/client.go @@ -13,8 +13,8 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/location/models.go b/azuredevops/v7/location/models.go similarity index 97% rename from azuredevops/v7.1/location/models.go rename to azuredevops/v7/location/models.go index ac93bec..7451555 100644 --- a/azuredevops/v7.1/location/models.go +++ b/azuredevops/v7/location/models.go @@ -10,9 +10,9 @@ package location import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/identity" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/identity" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) type AccessMapping struct { diff --git a/azuredevops/v7.1/maven/client.go b/azuredevops/v7/maven/client.go similarity index 99% rename from azuredevops/v7.1/maven/client.go rename to azuredevops/v7/maven/client.go index 69d3566..4b16e9f 100644 --- a/azuredevops/v7.1/maven/client.go +++ b/azuredevops/v7/maven/client.go @@ -13,8 +13,8 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/packagingshared" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/packagingshared" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/maven/models.go b/azuredevops/v7/maven/models.go similarity index 98% rename from azuredevops/v7.1/maven/models.go rename to azuredevops/v7/maven/models.go index dceed87..92b7f56 100644 --- a/azuredevops/v7.1/maven/models.go +++ b/azuredevops/v7/maven/models.go @@ -9,9 +9,9 @@ package maven import ( - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/packagingshared" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/packagingshared" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) type MavenBatchOperationType string diff --git a/azuredevops/v7.1/memberentitlementmanagement/client.go b/azuredevops/v7/memberentitlementmanagement/client.go similarity index 99% rename from azuredevops/v7.1/memberentitlementmanagement/client.go rename to azuredevops/v7/memberentitlementmanagement/client.go index 0ac993b..da65646 100644 --- a/azuredevops/v7.1/memberentitlementmanagement/client.go +++ b/azuredevops/v7/memberentitlementmanagement/client.go @@ -13,9 +13,9 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/licensingrule" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/licensingrule" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/memberentitlementmanagement/models.go b/azuredevops/v7/memberentitlementmanagement/models.go similarity index 98% rename from azuredevops/v7.1/memberentitlementmanagement/models.go rename to azuredevops/v7/memberentitlementmanagement/models.go index 311d4b5..162d31a 100644 --- a/azuredevops/v7.1/memberentitlementmanagement/models.go +++ b/azuredevops/v7/memberentitlementmanagement/models.go @@ -10,12 +10,12 @@ package memberentitlementmanagement import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/commerce" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/graph" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/licensing" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/licensingrule" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/operations" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/commerce" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/graph" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/licensing" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/licensingrule" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/operations" ) type BaseOperationResult struct { diff --git a/azuredevops/v7.1/models.go b/azuredevops/v7/models.go similarity index 100% rename from azuredevops/v7.1/models.go rename to azuredevops/v7/models.go diff --git a/azuredevops/v7.1/models_test.go b/azuredevops/v7/models_test.go similarity index 100% rename from azuredevops/v7.1/models_test.go rename to azuredevops/v7/models_test.go diff --git a/azuredevops/v7.1/notification/client.go b/azuredevops/v7/notification/client.go similarity index 99% rename from azuredevops/v7.1/notification/client.go rename to azuredevops/v7/notification/client.go index febe4b5..19f9c1e 100644 --- a/azuredevops/v7.1/notification/client.go +++ b/azuredevops/v7/notification/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strings" diff --git a/azuredevops/v7.1/notification/models.go b/azuredevops/v7/notification/models.go similarity index 99% rename from azuredevops/v7.1/notification/models.go rename to azuredevops/v7/notification/models.go index 32fbfc0..7880323 100644 --- a/azuredevops/v7.1/notification/models.go +++ b/azuredevops/v7/notification/models.go @@ -10,9 +10,9 @@ package notification import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/forminput" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/forminput" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) type ActorFilter struct { diff --git a/azuredevops/v7.1/npm/client.go b/azuredevops/v7/npm/client.go similarity index 99% rename from azuredevops/v7.1/npm/client.go rename to azuredevops/v7/npm/client.go index 7159cd1..58df510 100644 --- a/azuredevops/v7.1/npm/client.go +++ b/azuredevops/v7/npm/client.go @@ -13,8 +13,8 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/packagingshared" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/packagingshared" "io" "net/http" ) diff --git a/azuredevops/v7.1/npm/models.go b/azuredevops/v7/npm/models.go similarity index 95% rename from azuredevops/v7.1/npm/models.go rename to azuredevops/v7/npm/models.go index 31acb42..2115a58 100644 --- a/azuredevops/v7.1/npm/models.go +++ b/azuredevops/v7/npm/models.go @@ -9,9 +9,9 @@ package npm import ( - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/packagingshared" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/packagingshared" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) // Data required to deprecate multiple package versions. Pass this while performing NpmBatchOperationTypes.Deprecate batch operation. diff --git a/azuredevops/v7.1/nuget/client.go b/azuredevops/v7/nuget/client.go similarity index 99% rename from azuredevops/v7.1/nuget/client.go rename to azuredevops/v7/nuget/client.go index 8a2439a..b4c492b 100644 --- a/azuredevops/v7.1/nuget/client.go +++ b/azuredevops/v7/nuget/client.go @@ -13,8 +13,8 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/packagingshared" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/packagingshared" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/nuget/models.go b/azuredevops/v7/nuget/models.go similarity index 95% rename from azuredevops/v7.1/nuget/models.go rename to azuredevops/v7/nuget/models.go index 385d604..d7cae6a 100644 --- a/azuredevops/v7.1/nuget/models.go +++ b/azuredevops/v7/nuget/models.go @@ -9,9 +9,9 @@ package nuget import ( - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/packagingshared" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/packagingshared" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) // Data required to unlist or relist multiple package versions. Pass this while performing NuGetBatchOperationTypes.List batch operation. diff --git a/azuredevops/v7.1/operations/client.go b/azuredevops/v7/operations/client.go similarity index 97% rename from azuredevops/v7.1/operations/client.go rename to azuredevops/v7/operations/client.go index b367dbb..05f6878 100644 --- a/azuredevops/v7.1/operations/client.go +++ b/azuredevops/v7/operations/client.go @@ -11,7 +11,7 @@ package operations import ( "context" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" ) diff --git a/azuredevops/v7.1/operations/models.go b/azuredevops/v7/operations/models.go similarity index 100% rename from azuredevops/v7.1/operations/models.go rename to azuredevops/v7/operations/models.go diff --git a/azuredevops/v7.1/packagingshared/models.go b/azuredevops/v7/packagingshared/models.go similarity index 99% rename from azuredevops/v7.1/packagingshared/models.go rename to azuredevops/v7/packagingshared/models.go index 930eb10..5a43e2e 100644 --- a/azuredevops/v7.1/packagingshared/models.go +++ b/azuredevops/v7/packagingshared/models.go @@ -10,7 +10,7 @@ package packagingshared import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" ) // Data required to delist or relist multiple package versions. Pass this while performing {protocol}BatchOperationTypes.List batch operation. There is another BatchListData in nuget assembly to maintain serialization compatibility. diff --git a/azuredevops/v7.1/pipelinepermissions/client.go b/azuredevops/v7/pipelinepermissions/client.go similarity index 99% rename from azuredevops/v7.1/pipelinepermissions/client.go rename to azuredevops/v7/pipelinepermissions/client.go index 44cd827..7916109 100644 --- a/azuredevops/v7.1/pipelinepermissions/client.go +++ b/azuredevops/v7/pipelinepermissions/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" ) diff --git a/azuredevops/v7.1/pipelinepermissions/models.go b/azuredevops/v7/pipelinepermissions/models.go similarity index 89% rename from azuredevops/v7.1/pipelinepermissions/models.go rename to azuredevops/v7/pipelinepermissions/models.go index ebd40cc..3aa31f3 100644 --- a/azuredevops/v7.1/pipelinepermissions/models.go +++ b/azuredevops/v7/pipelinepermissions/models.go @@ -10,9 +10,9 @@ package pipelinepermissions import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/pipelineschecks" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/pipelineschecks" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) type Permission struct { diff --git a/azuredevops/v7.1/pipelines/client.go b/azuredevops/v7/pipelines/client.go similarity index 99% rename from azuredevops/v7.1/pipelines/client.go rename to azuredevops/v7/pipelines/client.go index fe0cf38..3e5b7fb 100644 --- a/azuredevops/v7.1/pipelines/client.go +++ b/azuredevops/v7/pipelines/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/pipelines/models.go b/azuredevops/v7/pipelines/models.go similarity index 98% rename from azuredevops/v7.1/pipelines/models.go rename to azuredevops/v7/pipelines/models.go index beb064b..b8a10e5 100644 --- a/azuredevops/v7.1/pipelines/models.go +++ b/azuredevops/v7/pipelines/models.go @@ -9,8 +9,8 @@ package pipelines import ( - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) // Artifacts are collections of files produced by a pipeline. Use artifacts to share files between stages in a pipeline or between different pipelines. diff --git a/azuredevops/v7.1/pipelinesapproval/client.go b/azuredevops/v7/pipelinesapproval/client.go similarity index 98% rename from azuredevops/v7.1/pipelinesapproval/client.go rename to azuredevops/v7/pipelinesapproval/client.go index aa2840e..b3d27fe 100644 --- a/azuredevops/v7.1/pipelinesapproval/client.go +++ b/azuredevops/v7/pipelinesapproval/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strings" diff --git a/azuredevops/v7.1/pipelinesapproval/models.go b/azuredevops/v7/pipelinesapproval/models.go similarity index 98% rename from azuredevops/v7.1/pipelinesapproval/models.go rename to azuredevops/v7/pipelinesapproval/models.go index 60b9e84..36f6e6b 100644 --- a/azuredevops/v7.1/pipelinesapproval/models.go +++ b/azuredevops/v7/pipelinesapproval/models.go @@ -10,8 +10,8 @@ package pipelinesapproval import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) type Approval struct { diff --git a/azuredevops/v7.1/pipelineschecks/client.go b/azuredevops/v7/pipelineschecks/client.go similarity index 99% rename from azuredevops/v7.1/pipelineschecks/client.go rename to azuredevops/v7/pipelineschecks/client.go index 2935d47..b7ea348 100644 --- a/azuredevops/v7.1/pipelineschecks/client.go +++ b/azuredevops/v7/pipelineschecks/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/pipelineschecks/models.go b/azuredevops/v7/pipelineschecks/models.go similarity index 97% rename from azuredevops/v7.1/pipelineschecks/models.go rename to azuredevops/v7/pipelineschecks/models.go index 492f393..2972c60 100644 --- a/azuredevops/v7.1/pipelineschecks/models.go +++ b/azuredevops/v7/pipelineschecks/models.go @@ -10,10 +10,10 @@ package pipelineschecks import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/pipelinesapproval" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/pipelinestaskcheck" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/pipelinesapproval" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/pipelinestaskcheck" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) type ApprovalCheckConfiguration struct { diff --git a/azuredevops/v7.1/pipelinestaskcheck/models.go b/azuredevops/v7/pipelinestaskcheck/models.go similarity index 100% rename from azuredevops/v7.1/pipelinestaskcheck/models.go rename to azuredevops/v7/pipelinestaskcheck/models.go diff --git a/azuredevops/v7.1/policy/client.go b/azuredevops/v7/policy/client.go similarity index 99% rename from azuredevops/v7.1/policy/client.go rename to azuredevops/v7/policy/client.go index e7d0e05..33b4924 100644 --- a/azuredevops/v7.1/policy/client.go +++ b/azuredevops/v7/policy/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/policy/models.go b/azuredevops/v7/policy/models.go similarity index 97% rename from azuredevops/v7.1/policy/models.go rename to azuredevops/v7/policy/models.go index 5705083..de7700e 100644 --- a/azuredevops/v7.1/policy/models.go +++ b/azuredevops/v7/policy/models.go @@ -10,8 +10,8 @@ package policy import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) // The full policy configuration with settings. diff --git a/azuredevops/v7.1/profile/client.go b/azuredevops/v7/profile/client.go similarity index 98% rename from azuredevops/v7.1/profile/client.go rename to azuredevops/v7/profile/client.go index a5acf2f..74c54bf 100644 --- a/azuredevops/v7.1/profile/client.go +++ b/azuredevops/v7/profile/client.go @@ -11,7 +11,7 @@ package profile import ( "context" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/profile/models.go b/azuredevops/v7/profile/models.go similarity index 98% rename from azuredevops/v7.1/profile/models.go rename to azuredevops/v7/profile/models.go index 0c16e23..3bd3942 100644 --- a/azuredevops/v7.1/profile/models.go +++ b/azuredevops/v7/profile/models.go @@ -10,7 +10,7 @@ package profile import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" ) // Identifies an attribute with a name and a container. diff --git a/azuredevops/v7.1/profileregions/client.go b/azuredevops/v7/profileregions/client.go similarity index 97% rename from azuredevops/v7.1/profileregions/client.go rename to azuredevops/v7/profileregions/client.go index bbe49c4..5c4c96c 100644 --- a/azuredevops/v7.1/profileregions/client.go +++ b/azuredevops/v7/profileregions/client.go @@ -11,7 +11,7 @@ package profileregions import ( "context" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" ) diff --git a/azuredevops/v7.1/profileregions/models.go b/azuredevops/v7/profileregions/models.go similarity index 100% rename from azuredevops/v7.1/profileregions/models.go rename to azuredevops/v7/profileregions/models.go diff --git a/azuredevops/v7.1/projectanalysis/client.go b/azuredevops/v7/projectanalysis/client.go similarity index 99% rename from azuredevops/v7.1/projectanalysis/client.go rename to azuredevops/v7/projectanalysis/client.go index 68d5082..1ff1f55 100644 --- a/azuredevops/v7.1/projectanalysis/client.go +++ b/azuredevops/v7/projectanalysis/client.go @@ -11,7 +11,7 @@ package projectanalysis import ( "context" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/projectanalysis/models.go b/azuredevops/v7/projectanalysis/models.go similarity index 98% rename from azuredevops/v7.1/projectanalysis/models.go rename to azuredevops/v7/projectanalysis/models.go index 4dbf831..2124214 100644 --- a/azuredevops/v7.1/projectanalysis/models.go +++ b/azuredevops/v7/projectanalysis/models.go @@ -10,7 +10,7 @@ package projectanalysis import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" ) type AggregationType string diff --git a/azuredevops/v7.1/provenance/client.go b/azuredevops/v7/provenance/client.go similarity index 97% rename from azuredevops/v7.1/provenance/client.go rename to azuredevops/v7/provenance/client.go index 4b227d2..c0ccacd 100644 --- a/azuredevops/v7.1/provenance/client.go +++ b/azuredevops/v7/provenance/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" ) diff --git a/azuredevops/v7.1/provenance/models.go b/azuredevops/v7/provenance/models.go similarity index 100% rename from azuredevops/v7.1/provenance/models.go rename to azuredevops/v7/provenance/models.go diff --git a/azuredevops/v7.1/pypiapi/client.go b/azuredevops/v7/pypiapi/client.go similarity index 99% rename from azuredevops/v7.1/pypiapi/client.go rename to azuredevops/v7/pypiapi/client.go index 52d65bf..8808839 100644 --- a/azuredevops/v7.1/pypiapi/client.go +++ b/azuredevops/v7/pypiapi/client.go @@ -13,8 +13,8 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/packagingshared" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/packagingshared" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/pypiapi/models.go b/azuredevops/v7/pypiapi/models.go similarity index 94% rename from azuredevops/v7.1/pypiapi/models.go rename to azuredevops/v7/pypiapi/models.go index 89814ad..550b866 100644 --- a/azuredevops/v7.1/pypiapi/models.go +++ b/azuredevops/v7/pypiapi/models.go @@ -9,9 +9,9 @@ package pypiapi import ( - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/packagingshared" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/packagingshared" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) // Package version metadata for a Python package diff --git a/azuredevops/v7.1/release/client.go b/azuredevops/v7/release/client.go similarity index 99% rename from azuredevops/v7.1/release/client.go rename to azuredevops/v7/release/client.go index 2088e16..120ad28 100644 --- a/azuredevops/v7.1/release/client.go +++ b/azuredevops/v7/release/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/release/models.go b/azuredevops/v7/release/models.go similarity index 99% rename from azuredevops/v7.1/release/models.go rename to azuredevops/v7/release/models.go index acdfc85..4e2d1ad 100644 --- a/azuredevops/v7.1/release/models.go +++ b/azuredevops/v7/release/models.go @@ -10,10 +10,10 @@ package release import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/distributedtaskcommon" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/forminput" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/distributedtaskcommon" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/forminput" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) type AgentArtifactDefinition struct { diff --git a/azuredevops/v7.1/search/client.go b/azuredevops/v7/search/client.go similarity index 98% rename from azuredevops/v7.1/search/client.go rename to azuredevops/v7/search/client.go index c327ada..236d110 100644 --- a/azuredevops/v7.1/search/client.go +++ b/azuredevops/v7/search/client.go @@ -13,8 +13,8 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/searchshared" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/searchshared" "net/http" ) diff --git a/azuredevops/v7.1/search/models.go b/azuredevops/v7/search/models.go similarity index 98% rename from azuredevops/v7.1/search/models.go rename to azuredevops/v7/search/models.go index dfc966c..6f068f3 100644 --- a/azuredevops/v7.1/search/models.go +++ b/azuredevops/v7/search/models.go @@ -10,8 +10,8 @@ package search import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/searchshared" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/searchshared" ) // Defines the Board result that matched a Board search request. diff --git a/azuredevops/v7.1/searchshared/models.go b/azuredevops/v7/searchshared/models.go similarity index 100% rename from azuredevops/v7.1/searchshared/models.go rename to azuredevops/v7/searchshared/models.go diff --git a/azuredevops/v7.1/security/client.go b/azuredevops/v7/security/client.go similarity index 99% rename from azuredevops/v7.1/security/client.go rename to azuredevops/v7/security/client.go index 5dbabd6..437e213 100644 --- a/azuredevops/v7.1/security/client.go +++ b/azuredevops/v7/security/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/security/models.go b/azuredevops/v7/security/models.go similarity index 100% rename from azuredevops/v7.1/security/models.go rename to azuredevops/v7/security/models.go diff --git a/azuredevops/v7.1/serviceendpoint/client.go b/azuredevops/v7/serviceendpoint/client.go similarity index 99% rename from azuredevops/v7.1/serviceendpoint/client.go rename to azuredevops/v7/serviceendpoint/client.go index 8f515a2..63cd16c 100644 --- a/azuredevops/v7.1/serviceendpoint/client.go +++ b/azuredevops/v7/serviceendpoint/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/serviceendpoint/models.go b/azuredevops/v7/serviceendpoint/models.go similarity index 98% rename from azuredevops/v7.1/serviceendpoint/models.go rename to azuredevops/v7/serviceendpoint/models.go index 95d9c8c..a85fd98 100644 --- a/azuredevops/v7.1/serviceendpoint/models.go +++ b/azuredevops/v7/serviceendpoint/models.go @@ -10,10 +10,10 @@ package serviceendpoint import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/distributedtaskcommon" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/forminput" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/distributedtaskcommon" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/forminput" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) type AadLoginPromptOption string diff --git a/azuredevops/v7.1/servicehooks/client.go b/azuredevops/v7/servicehooks/client.go similarity index 99% rename from azuredevops/v7.1/servicehooks/client.go rename to azuredevops/v7/servicehooks/client.go index 093948b..bb6bb14 100644 --- a/azuredevops/v7.1/servicehooks/client.go +++ b/azuredevops/v7/servicehooks/client.go @@ -13,9 +13,9 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/forminput" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/notification" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/forminput" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/notification" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/servicehooks/models.go b/azuredevops/v7/servicehooks/models.go similarity index 99% rename from azuredevops/v7.1/servicehooks/models.go rename to azuredevops/v7/servicehooks/models.go index 8f74d23..2b2d90c 100644 --- a/azuredevops/v7.1/servicehooks/models.go +++ b/azuredevops/v7/servicehooks/models.go @@ -10,9 +10,9 @@ package servicehooks import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/forminput" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/forminput" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) // Enumerates consumer authentication types. diff --git a/azuredevops/v7.1/settings/client.go b/azuredevops/v7/settings/client.go similarity index 99% rename from azuredevops/v7.1/settings/client.go rename to azuredevops/v7/settings/client.go index 017aa4f..0a295a7 100644 --- a/azuredevops/v7.1/settings/client.go +++ b/azuredevops/v7/settings/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" ) diff --git a/azuredevops/v7.1/symbol/client.go b/azuredevops/v7/symbol/client.go similarity index 99% rename from azuredevops/v7.1/symbol/client.go rename to azuredevops/v7/symbol/client.go index 761172d..fbab85f 100644 --- a/azuredevops/v7.1/symbol/client.go +++ b/azuredevops/v7/symbol/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/symbol/models.go b/azuredevops/v7/symbol/models.go similarity index 98% rename from azuredevops/v7.1/symbol/models.go rename to azuredevops/v7/symbol/models.go index e02ad25..c7794ad 100644 --- a/azuredevops/v7.1/symbol/models.go +++ b/azuredevops/v7/symbol/models.go @@ -10,8 +10,8 @@ package symbol import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/symbolcommon" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/symbolcommon" ) // A dual-purpose data object, the debug entry is used by the client to publish the symbol file (with file's blob identifier, which can be calculated from VSTS hashing algorithm) or query the file (with a client key). Since the symbol server tries to return a matched symbol file with the richest information level, it may not always point to the same symbol file for different queries with same client key. diff --git a/azuredevops/v7.1/symbolcommon/models.go b/azuredevops/v7/symbolcommon/models.go similarity index 100% rename from azuredevops/v7.1/symbolcommon/models.go rename to azuredevops/v7/symbolcommon/models.go diff --git a/azuredevops/v7.1/system/models.go b/azuredevops/v7/system/models.go similarity index 100% rename from azuredevops/v7.1/system/models.go rename to azuredevops/v7/system/models.go diff --git a/azuredevops/v7.1/task/client.go b/azuredevops/v7/task/client.go similarity index 99% rename from azuredevops/v7.1/task/client.go rename to azuredevops/v7/task/client.go index d53a11a..109b362 100644 --- a/azuredevops/v7.1/task/client.go +++ b/azuredevops/v7/task/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/task/models.go b/azuredevops/v7/task/models.go similarity index 99% rename from azuredevops/v7.1/task/models.go rename to azuredevops/v7/task/models.go index 95e2152..76c790d 100644 --- a/azuredevops/v7.1/task/models.go +++ b/azuredevops/v7/task/models.go @@ -10,7 +10,7 @@ package task import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" ) // An issue (error, warning) associated with a pipeline run. diff --git a/azuredevops/v7.1/taskagent/client.go b/azuredevops/v7/taskagent/client.go similarity index 99% rename from azuredevops/v7.1/taskagent/client.go rename to azuredevops/v7/taskagent/client.go index 3ddb0e5..0b49b05 100644 --- a/azuredevops/v7.1/taskagent/client.go +++ b/azuredevops/v7/taskagent/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/taskagent/models.go b/azuredevops/v7/taskagent/models.go similarity index 99% rename from azuredevops/v7.1/taskagent/models.go rename to azuredevops/v7/taskagent/models.go index 3afa4f2..636e559 100644 --- a/azuredevops/v7.1/taskagent/models.go +++ b/azuredevops/v7/taskagent/models.go @@ -10,10 +10,10 @@ package taskagent import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/distributedtaskcommon" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/forminput" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/distributedtaskcommon" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/forminput" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) type AadLoginPromptOption string diff --git a/azuredevops/v7.1/test/client.go b/azuredevops/v7/test/client.go similarity index 99% rename from azuredevops/v7.1/test/client.go rename to azuredevops/v7/test/client.go index 31bb5a4..9f9d956 100644 --- a/azuredevops/v7.1/test/client.go +++ b/azuredevops/v7/test/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/test/models.go b/azuredevops/v7/test/models.go similarity index 99% rename from azuredevops/v7.1/test/models.go rename to azuredevops/v7/test/models.go index 0327c66..17daeda 100644 --- a/azuredevops/v7.1/test/models.go +++ b/azuredevops/v7/test/models.go @@ -10,10 +10,10 @@ package test import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/core" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/system" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/core" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/system" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) type AbortTestRunRequest struct { diff --git a/azuredevops/v7.1/testplan/client.go b/azuredevops/v7/testplan/client.go similarity index 99% rename from azuredevops/v7.1/testplan/client.go rename to azuredevops/v7/testplan/client.go index 7cb473f..5e0bf26 100644 --- a/azuredevops/v7.1/testplan/client.go +++ b/azuredevops/v7/testplan/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/testplan/models.go b/azuredevops/v7/testplan/models.go similarity index 99% rename from azuredevops/v7.1/testplan/models.go rename to azuredevops/v7/testplan/models.go index 7abf966..dfb472a 100644 --- a/azuredevops/v7.1/testplan/models.go +++ b/azuredevops/v7/testplan/models.go @@ -9,10 +9,10 @@ package testplan import ( - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/core" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/test" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/core" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/test" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) // The build definition reference resource diff --git a/azuredevops/v7.1/testresults/client.go b/azuredevops/v7/testresults/client.go similarity index 99% rename from azuredevops/v7.1/testresults/client.go rename to azuredevops/v7/testresults/client.go index 2054413..7b1990a 100644 --- a/azuredevops/v7.1/testresults/client.go +++ b/azuredevops/v7/testresults/client.go @@ -13,8 +13,8 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/test" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/test" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/testresults/models.go b/azuredevops/v7/testresults/models.go similarity index 100% rename from azuredevops/v7.1/testresults/models.go rename to azuredevops/v7/testresults/models.go diff --git a/azuredevops/v7.1/tfvc/client.go b/azuredevops/v7/tfvc/client.go similarity index 99% rename from azuredevops/v7.1/tfvc/client.go rename to azuredevops/v7/tfvc/client.go index 554fa01..43f0691 100644 --- a/azuredevops/v7.1/tfvc/client.go +++ b/azuredevops/v7/tfvc/client.go @@ -13,8 +13,8 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/git" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/git" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/tokenadmin/client.go b/azuredevops/v7/tokenadmin/client.go similarity index 98% rename from azuredevops/v7.1/tokenadmin/client.go rename to azuredevops/v7/tokenadmin/client.go index 3a8d9e6..d600b14 100644 --- a/azuredevops/v7.1/tokenadmin/client.go +++ b/azuredevops/v7/tokenadmin/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/tokenadmin/models.go b/azuredevops/v7/tokenadmin/models.go similarity index 93% rename from azuredevops/v7.1/tokenadmin/models.go rename to azuredevops/v7/tokenadmin/models.go index f56df4d..233de84 100644 --- a/azuredevops/v7.1/tokenadmin/models.go +++ b/azuredevops/v7/tokenadmin/models.go @@ -10,8 +10,8 @@ package tokenadmin import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/delegatedauthorization" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/delegatedauthorization" ) // A paginated list of session tokens. Session tokens correspond to OAuth credentials such as personal access tokens (PATs) and other OAuth authorizations. diff --git a/azuredevops/v7.1/universal/client.go b/azuredevops/v7/universal/client.go similarity index 99% rename from azuredevops/v7.1/universal/client.go rename to azuredevops/v7/universal/client.go index 7cceabf..b9cdcc5 100644 --- a/azuredevops/v7.1/universal/client.go +++ b/azuredevops/v7/universal/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/universal/models.go b/azuredevops/v7/universal/models.go similarity index 94% rename from azuredevops/v7.1/universal/models.go rename to azuredevops/v7/universal/models.go index cf02cab..07e4332 100644 --- a/azuredevops/v7.1/universal/models.go +++ b/azuredevops/v7/universal/models.go @@ -9,9 +9,9 @@ package universal import ( - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/packagingshared" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/packagingshared" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) // Package version metadata for a Universal package diff --git a/azuredevops/v7.1/upackpackaging/client.go b/azuredevops/v7/upackpackaging/client.go similarity index 98% rename from azuredevops/v7.1/upackpackaging/client.go rename to azuredevops/v7/upackpackaging/client.go index a3015f9..db0458b 100644 --- a/azuredevops/v7.1/upackpackaging/client.go +++ b/azuredevops/v7/upackpackaging/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" ) diff --git a/azuredevops/v7.1/upackpackaging/models.go b/azuredevops/v7/upackpackaging/models.go similarity index 98% rename from azuredevops/v7.1/upackpackaging/models.go rename to azuredevops/v7/upackpackaging/models.go index 85d3384..d60a433 100644 --- a/azuredevops/v7.1/upackpackaging/models.go +++ b/azuredevops/v7/upackpackaging/models.go @@ -9,7 +9,7 @@ package upackpackaging import ( - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" ) // Describes UPack batch operation types. diff --git a/azuredevops/v7.1/version.go b/azuredevops/v7/version.go similarity index 100% rename from azuredevops/v7.1/version.go rename to azuredevops/v7/version.go diff --git a/azuredevops/v7.1/versionnegotiation.go b/azuredevops/v7/versionnegotiation.go similarity index 100% rename from azuredevops/v7.1/versionnegotiation.go rename to azuredevops/v7/versionnegotiation.go diff --git a/azuredevops/v7.1/versionnegotiation_test.go b/azuredevops/v7/versionnegotiation_test.go similarity index 100% rename from azuredevops/v7.1/versionnegotiation_test.go rename to azuredevops/v7/versionnegotiation_test.go diff --git a/azuredevops/v7.1/webapi/models.go b/azuredevops/v7/webapi/models.go similarity index 99% rename from azuredevops/v7.1/webapi/models.go rename to azuredevops/v7/webapi/models.go index 8fd945a..5f7be1f 100644 --- a/azuredevops/v7.1/webapi/models.go +++ b/azuredevops/v7/webapi/models.go @@ -10,8 +10,8 @@ package webapi import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/system" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/system" ) // Information about the location of a REST API resource diff --git a/azuredevops/v7.1/wiki/client.go b/azuredevops/v7/wiki/client.go similarity index 99% rename from azuredevops/v7.1/wiki/client.go rename to azuredevops/v7/wiki/client.go index 4e0d49c..6d2dd66 100644 --- a/azuredevops/v7.1/wiki/client.go +++ b/azuredevops/v7/wiki/client.go @@ -13,8 +13,8 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/git" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/git" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/wiki/models.go b/azuredevops/v7/wiki/models.go similarity index 98% rename from azuredevops/v7.1/wiki/models.go rename to azuredevops/v7/wiki/models.go index 95ff4c9..376f74e 100644 --- a/azuredevops/v7.1/wiki/models.go +++ b/azuredevops/v7/wiki/models.go @@ -10,8 +10,8 @@ package wiki import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/git" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/git" ) // Defines a wiki repository which encapsulates the git repository backing the wiki. diff --git a/azuredevops/v7.1/work/client.go b/azuredevops/v7/work/client.go similarity index 99% rename from azuredevops/v7.1/work/client.go rename to azuredevops/v7/work/client.go index 344f94a..6871e1e 100644 --- a/azuredevops/v7.1/work/client.go +++ b/azuredevops/v7/work/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" "strconv" diff --git a/azuredevops/v7.1/work/models.go b/azuredevops/v7/work/models.go similarity index 99% rename from azuredevops/v7.1/work/models.go rename to azuredevops/v7/work/models.go index 16893b3..d49eb42 100644 --- a/azuredevops/v7.1/work/models.go +++ b/azuredevops/v7/work/models.go @@ -10,9 +10,9 @@ package work import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/workitemtracking" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/workitemtracking" ) type Activity struct { diff --git a/azuredevops/v7.1/workitemtracking/client.go b/azuredevops/v7/workitemtracking/client.go similarity index 99% rename from azuredevops/v7.1/workitemtracking/client.go rename to azuredevops/v7/workitemtracking/client.go index 6b137d8..6bfd17d 100644 --- a/azuredevops/v7.1/workitemtracking/client.go +++ b/azuredevops/v7/workitemtracking/client.go @@ -13,8 +13,8 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/workitemtracking/models.go b/azuredevops/v7/workitemtracking/models.go similarity index 99% rename from azuredevops/v7.1/workitemtracking/models.go rename to azuredevops/v7/workitemtracking/models.go index 1a8c38f..5b37794 100644 --- a/azuredevops/v7.1/workitemtracking/models.go +++ b/azuredevops/v7/workitemtracking/models.go @@ -10,8 +10,8 @@ package workitemtracking import ( "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1/webapi" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7/webapi" ) type AccountMyWorkResult struct { diff --git a/azuredevops/v7.1/workitemtrackingprocess/client.go b/azuredevops/v7/workitemtrackingprocess/client.go similarity index 99% rename from azuredevops/v7.1/workitemtrackingprocess/client.go rename to azuredevops/v7/workitemtrackingprocess/client.go index 89699d9..4007255 100644 --- a/azuredevops/v7.1/workitemtrackingprocess/client.go +++ b/azuredevops/v7/workitemtrackingprocess/client.go @@ -13,7 +13,7 @@ import ( "context" "encoding/json" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "net/http" "net/url" ) diff --git a/azuredevops/v7.1/workitemtrackingprocess/models.go b/azuredevops/v7/workitemtrackingprocess/models.go similarity index 100% rename from azuredevops/v7.1/workitemtrackingprocess/models.go rename to azuredevops/v7/workitemtrackingprocess/models.go diff --git a/azuredevops/v7.1/workitemtrackingprocesstemplate/client.go b/azuredevops/v7/workitemtrackingprocesstemplate/client.go similarity index 99% rename from azuredevops/v7.1/workitemtrackingprocesstemplate/client.go rename to azuredevops/v7/workitemtrackingprocesstemplate/client.go index beffa89..071cc96 100644 --- a/azuredevops/v7.1/workitemtrackingprocesstemplate/client.go +++ b/azuredevops/v7/workitemtrackingprocesstemplate/client.go @@ -11,7 +11,7 @@ package workitemtrackingprocesstemplate import ( "context" "github.com/google/uuid" - "github.com/microsoft/azure-devops-go-api/azuredevops/v7.1" + "github.com/microsoft/azure-devops-go-api/azuredevops/v7" "io" "net/http" "net/url" diff --git a/azuredevops/v7.1/workitemtrackingprocesstemplate/models.go b/azuredevops/v7/workitemtrackingprocesstemplate/models.go similarity index 100% rename from azuredevops/v7.1/workitemtrackingprocesstemplate/models.go rename to azuredevops/v7/workitemtrackingprocesstemplate/models.go