diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_registry_request.go b/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_registry_request.go deleted file mode 100644 index 0c7c1150..00000000 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_registry_request.go +++ /dev/null @@ -1,117 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - "context" - - "github.com/go-openapi/errors" - "github.com/go-openapi/strfmt" - "github.com/go-openapi/swag" - cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" -) - -// HashicorpCloudVagrant20220930CreateRegistryRequest hashicorp cloud vagrant 20220930 create registry request -// -// swagger:model hashicorp.cloud.vagrant_20220930.CreateRegistryRequest -type HashicorpCloudVagrant20220930CreateRegistryRequest struct { - - // The Location to create the Registry in. - Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` - - // The name of the Registry. This is a user-settable, globally-unique name, - // and forms the first segment of a Box, ie: the "hashicorp" in - // "hashicorp/vagrant". No two registries can have the same name, regardless - // of the Organization they are in, or specific Project within that - // Organization. - Name string `json:"name,omitempty"` -} - -// Validate validates this hashicorp cloud vagrant 20220930 create registry request -func (m *HashicorpCloudVagrant20220930CreateRegistryRequest) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateLocation(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *HashicorpCloudVagrant20220930CreateRegistryRequest) validateLocation(formats strfmt.Registry) error { - if swag.IsZero(m.Location) { // not required - return nil - } - - if m.Location != nil { - if err := m.Location.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("location") - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("location") - } - return err - } - } - - return nil -} - -// ContextValidate validate this hashicorp cloud vagrant 20220930 create registry request based on the context it is used -func (m *HashicorpCloudVagrant20220930CreateRegistryRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error { - var res []error - - if err := m.contextValidateLocation(ctx, formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *HashicorpCloudVagrant20220930CreateRegistryRequest) contextValidateLocation(ctx context.Context, formats strfmt.Registry) error { - - if m.Location != nil { - - if swag.IsZero(m.Location) { // not required - return nil - } - - if err := m.Location.ContextValidate(ctx, formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("location") - } else if ce, ok := err.(*errors.CompositeError); ok { - return ce.ValidateName("location") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *HashicorpCloudVagrant20220930CreateRegistryRequest) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *HashicorpCloudVagrant20220930CreateRegistryRequest) UnmarshalBinary(b []byte) error { - var res HashicorpCloudVagrant20220930CreateRegistryRequest - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/cloud_vagrant_box_registry_client.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/cloud_vagrant_box_registry_client.go similarity index 98% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/cloud_vagrant_box_registry_client.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/cloud_vagrant_box_registry_client.go index 0c41aad5..d04f63ea 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/cloud_vagrant_box_registry_client.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/cloud_vagrant_box_registry_client.go @@ -10,7 +10,7 @@ import ( httptransport "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service" ) // Default cloud vagrant box registry HTTP client. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/activate_registry_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/activate_registry_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/activate_registry_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/activate_registry_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/activate_registry_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/activate_registry_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/activate_registry_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/activate_registry_responses.go index 11fffd59..5226b1fd 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/activate_registry_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/activate_registry_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // ActivateRegistryReader is a Reader for the ActivateRegistry structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/complete_direct_upload_box_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/complete_direct_upload_box_parameters.go similarity index 78% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/complete_direct_upload_box_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/complete_direct_upload_box_parameters.go index c2aee2ef..77c77052 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/complete_direct_upload_box_parameters.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/complete_direct_upload_box_parameters.go @@ -14,7 +14,6 @@ import ( "github.com/go-openapi/runtime" cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-openapi/swag" ) // NewCompleteDirectUploadBoxParams creates a new CompleteDirectUploadBoxParams object, @@ -75,20 +74,6 @@ type CompleteDirectUploadBoxParams struct { */ Box string - /* Bytes. - - Size of the artifact uploaded. - - Format: uint64 - */ - Bytes *string - - /* Key. - - Storage key of the upload. - */ - Key *string - /* Object. Object identifier. @@ -108,12 +93,6 @@ type CompleteDirectUploadBoxParams struct { */ Registry string - /* Success. - - Success status of the upload. - */ - Success *bool - /* Version. The name of the Version for the Provider. @@ -195,28 +174,6 @@ func (o *CompleteDirectUploadBoxParams) SetBox(box string) { o.Box = box } -// WithBytes adds the bytes to the complete direct upload box params -func (o *CompleteDirectUploadBoxParams) WithBytes(bytes *string) *CompleteDirectUploadBoxParams { - o.SetBytes(bytes) - return o -} - -// SetBytes adds the bytes to the complete direct upload box params -func (o *CompleteDirectUploadBoxParams) SetBytes(bytes *string) { - o.Bytes = bytes -} - -// WithKey adds the key to the complete direct upload box params -func (o *CompleteDirectUploadBoxParams) WithKey(key *string) *CompleteDirectUploadBoxParams { - o.SetKey(key) - return o -} - -// SetKey adds the key to the complete direct upload box params -func (o *CompleteDirectUploadBoxParams) SetKey(key *string) { - o.Key = key -} - // WithObject adds the object to the complete direct upload box params func (o *CompleteDirectUploadBoxParams) WithObject(object string) *CompleteDirectUploadBoxParams { o.SetObject(object) @@ -250,17 +207,6 @@ func (o *CompleteDirectUploadBoxParams) SetRegistry(registry string) { o.Registry = registry } -// WithSuccess adds the success to the complete direct upload box params -func (o *CompleteDirectUploadBoxParams) WithSuccess(success *bool) *CompleteDirectUploadBoxParams { - o.SetSuccess(success) - return o -} - -// SetSuccess adds the success to the complete direct upload box params -func (o *CompleteDirectUploadBoxParams) SetSuccess(success *bool) { - o.Success = success -} - // WithVersion adds the version to the complete direct upload box params func (o *CompleteDirectUploadBoxParams) WithVersion(version string) *CompleteDirectUploadBoxParams { o.SetVersion(version) @@ -290,40 +236,6 @@ func (o *CompleteDirectUploadBoxParams) WriteToRequest(r runtime.ClientRequest, return err } - if o.Bytes != nil { - - // query param bytes - var qrBytes string - - if o.Bytes != nil { - qrBytes = *o.Bytes - } - qBytes := qrBytes - if qBytes != "" { - - if err := r.SetQueryParam("bytes", qBytes); err != nil { - return err - } - } - } - - if o.Key != nil { - - // query param key - var qrKey string - - if o.Key != nil { - qrKey = *o.Key - } - qKey := qrKey - if qKey != "" { - - if err := r.SetQueryParam("key", qKey); err != nil { - return err - } - } - } - // path param object if err := r.SetPathParam("object", o.Object); err != nil { return err @@ -339,23 +251,6 @@ func (o *CompleteDirectUploadBoxParams) WriteToRequest(r runtime.ClientRequest, return err } - if o.Success != nil { - - // query param success - var qrSuccess bool - - if o.Success != nil { - qrSuccess = *o.Success - } - qSuccess := swag.FormatBool(qrSuccess) - if qSuccess != "" { - - if err := r.SetQueryParam("success", qSuccess); err != nil { - return err - } - } - } - // path param version if err := r.SetPathParam("version", o.Version); err != nil { return err diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/complete_direct_upload_box_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/complete_direct_upload_box_responses.go similarity index 97% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/complete_direct_upload_box_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/complete_direct_upload_box_responses.go index 48c4c1e1..6bd54e5f 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/complete_direct_upload_box_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/complete_direct_upload_box_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // CompleteDirectUploadBoxReader is a Reader for the CompleteDirectUploadBox structure. @@ -53,7 +53,7 @@ CompleteDirectUploadBoxOK describes a response with status code 200, with defaul A successful response. */ type CompleteDirectUploadBoxOK struct { - Payload models.HashicorpCloudVagrant20220930CompleteUploadBoxResponse + Payload models.HashicorpCloudVagrant20220930CompleteDirectUploadBoxResponse } // IsSuccess returns true when this complete direct upload box o k response has a 2xx status code @@ -94,7 +94,7 @@ func (o *CompleteDirectUploadBoxOK) String() string { return fmt.Sprintf("[PUT /vagrant/2022-09-30/registry/{registry}/box/{box}/version/{version}/provider/{provider}/architecture/{architecture}/direct/complete/{object}][%d] completeDirectUploadBoxOK %+v", 200, o.Payload) } -func (o *CompleteDirectUploadBoxOK) GetPayload() models.HashicorpCloudVagrant20220930CompleteUploadBoxResponse { +func (o *CompleteDirectUploadBoxOK) GetPayload() models.HashicorpCloudVagrant20220930CompleteDirectUploadBoxResponse { return o.Payload } diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/complete_upload_box_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/complete_upload_box_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/complete_upload_box_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/complete_upload_box_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/complete_upload_box_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/complete_upload_box_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/complete_upload_box_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/complete_upload_box_responses.go index b3df8a23..89257780 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/complete_upload_box_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/complete_upload_box_responses.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/swag" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // CompleteUploadBoxReader is a Reader for the CompleteUploadBox structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_architecture_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_architecture_parameters.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_architecture_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_architecture_parameters.go index 1d6bf82f..efa70aad 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_architecture_parameters.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_architecture_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // NewCreateArchitectureParams creates a new CreateArchitectureParams object, diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_architecture_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_architecture_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_architecture_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_architecture_responses.go index eb489ead..651df501 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_architecture_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_architecture_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // CreateArchitectureReader is a Reader for the CreateArchitecture structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_box_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_box_parameters.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_box_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_box_parameters.go index 0718c497..2a143c89 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_box_parameters.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_box_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // NewCreateBoxParams creates a new CreateBoxParams object, diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_box_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_box_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_box_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_box_responses.go index 6ceb88c8..762e8b18 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_box_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_box_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // CreateBoxReader is a Reader for the CreateBox structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_provider_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_provider_parameters.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_provider_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_provider_parameters.go index 070d0a38..1bffbf1c 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_provider_parameters.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_provider_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // NewCreateProviderParams creates a new CreateProviderParams object, diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_provider_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_provider_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_provider_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_provider_responses.go index b69ee41d..057d1f49 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_provider_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_provider_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // CreateProviderReader is a Reader for the CreateProvider structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_registry_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_registry_parameters.go similarity index 86% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_registry_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_registry_parameters.go index 80574156..0ce57283 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_registry_parameters.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_registry_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // NewCreateRegistryParams creates a new CreateRegistryParams object, @@ -63,8 +63,12 @@ CreateRegistryParams contains all the parameters to send to the API endpoint */ type CreateRegistryParams struct { - // Body. - Body *models.HashicorpCloudVagrant20220930CreateRegistryRequest + /* Data. + + Details of the Registry to create. Note that some fields are ignored + on input and should not be set. + */ + Data *models.HashicorpCloudVagrant20220930Registry timeout time.Duration Context context.Context @@ -119,15 +123,15 @@ func (o *CreateRegistryParams) SetHTTPClient(client *http.Client) { o.HTTPClient = client } -// WithBody adds the body to the create registry params -func (o *CreateRegistryParams) WithBody(body *models.HashicorpCloudVagrant20220930CreateRegistryRequest) *CreateRegistryParams { - o.SetBody(body) +// WithData adds the data to the create registry params +func (o *CreateRegistryParams) WithData(data *models.HashicorpCloudVagrant20220930Registry) *CreateRegistryParams { + o.SetData(data) return o } -// SetBody adds the body to the create registry params -func (o *CreateRegistryParams) SetBody(body *models.HashicorpCloudVagrant20220930CreateRegistryRequest) { - o.Body = body +// SetData adds the data to the create registry params +func (o *CreateRegistryParams) SetData(data *models.HashicorpCloudVagrant20220930Registry) { + o.Data = data } // WriteToRequest writes these params to a swagger request @@ -137,8 +141,8 @@ func (o *CreateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfm return err } var res []error - if o.Body != nil { - if err := r.SetBodyParam(o.Body); err != nil { + if o.Data != nil { + if err := r.SetBodyParam(o.Data); err != nil { return err } } diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_registry_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_registry_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_registry_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_registry_responses.go index 6748b684..ef1c0003 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_registry_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_registry_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // CreateRegistryReader is a Reader for the CreateRegistry structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_version_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_version_parameters.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_version_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_version_parameters.go index 54d2cd5d..ffbfa3da 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_version_parameters.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_version_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // NewCreateVersionParams creates a new CreateVersionParams object, diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_version_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_version_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_version_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_version_responses.go index 53b7c953..07d70c89 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/create_version_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/create_version_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // CreateVersionReader is a Reader for the CreateVersion structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/deactivate_registry_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/deactivate_registry_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/deactivate_registry_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/deactivate_registry_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/deactivate_registry_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/deactivate_registry_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/deactivate_registry_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/deactivate_registry_responses.go index 674bb8e9..dfd77989 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/deactivate_registry_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/deactivate_registry_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // DeactivateRegistryReader is a Reader for the DeactivateRegistry structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_architecture_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_architecture_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_architecture_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_architecture_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_architecture_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_architecture_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_architecture_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_architecture_responses.go index fd062d7f..e427814d 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_architecture_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_architecture_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // DeleteArchitectureReader is a Reader for the DeleteArchitecture structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_box_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_box_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_box_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_box_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_box_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_box_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_box_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_box_responses.go index 46c820a6..197203de 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_box_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_box_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // DeleteBoxReader is a Reader for the DeleteBox structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_provider_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_provider_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_provider_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_provider_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_provider_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_provider_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_provider_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_provider_responses.go index 11e3af36..113134f0 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_provider_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_provider_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // DeleteProviderReader is a Reader for the DeleteProvider structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_registry_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_registry_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_registry_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_registry_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_registry_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_registry_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_registry_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_registry_responses.go index d362c9a5..322de970 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_registry_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_registry_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // DeleteRegistryReader is a Reader for the DeleteRegistry structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_version_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_version_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_version_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_version_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_version_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_version_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_version_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_version_responses.go index 585577bb..9fdb2b0a 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/delete_version_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/delete_version_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // DeleteVersionReader is a Reader for the DeleteVersion structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/direct_upload_box_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/direct_upload_box_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/direct_upload_box_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/direct_upload_box_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/direct_upload_box_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/direct_upload_box_responses.go similarity index 96% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/direct_upload_box_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/direct_upload_box_responses.go index 6f281c7c..cde6f5fd 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/direct_upload_box_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/direct_upload_box_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // DirectUploadBoxReader is a Reader for the DirectUploadBox structure. @@ -53,7 +53,7 @@ DirectUploadBoxOK describes a response with status code 200, with default header A successful response. */ type DirectUploadBoxOK struct { - Payload *models.HashicorpCloudVagrant20220930UploadBoxResponse + Payload *models.HashicorpCloudVagrant20220930DirectUploadBoxResponse } // IsSuccess returns true when this direct upload box o k response has a 2xx status code @@ -94,13 +94,13 @@ func (o *DirectUploadBoxOK) String() string { return fmt.Sprintf("[GET /vagrant/2022-09-30/registry/{registry}/box/{box}/version/{version}/provider/{provider}/architecture/{architecture}/direct/upload][%d] directUploadBoxOK %+v", 200, o.Payload) } -func (o *DirectUploadBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930UploadBoxResponse { +func (o *DirectUploadBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930DirectUploadBoxResponse { return o.Payload } func (o *DirectUploadBoxOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { - o.Payload = new(models.HashicorpCloudVagrant20220930UploadBoxResponse) + o.Payload = new(models.HashicorpCloudVagrant20220930DirectUploadBoxResponse) // response payload if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/download_box_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/download_box_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/download_box_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/download_box_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/download_box_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/download_box_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/download_box_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/download_box_responses.go index 79af063f..f6335c0c 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/download_box_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/download_box_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // DownloadBoxReader is a Reader for the DownloadBox structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_architectures_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_architectures_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_architectures_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_architectures_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_architectures_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_architectures_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_architectures_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_architectures_responses.go index 6a2521fc..7d08e336 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_architectures_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_architectures_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // ListArchitecturesReader is a Reader for the ListArchitectures structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_boxes_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_boxes_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_boxes_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_boxes_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_boxes_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_boxes_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_boxes_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_boxes_responses.go index f246eb34..97d7ece0 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_boxes_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_boxes_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // ListBoxesReader is a Reader for the ListBoxes structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_providers_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_providers_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_providers_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_providers_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_providers_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_providers_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_providers_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_providers_responses.go index 31dbd991..30837949 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_providers_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_providers_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // ListProvidersReader is a Reader for the ListProviders structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_registries_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_registries_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_registries_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_registries_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_registries_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_registries_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_registries_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_registries_responses.go index b79a014c..5bc0b4b5 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_registries_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_registries_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // ListRegistriesReader is a Reader for the ListRegistries structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_versions_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_versions_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_versions_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_versions_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_versions_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_versions_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_versions_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_versions_responses.go index 196cc2aa..57baa605 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/list_versions_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/list_versions_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // ListVersionsReader is a Reader for the ListVersions structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_architecture_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_architecture_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_architecture_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_architecture_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_architecture_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_architecture_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_architecture_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_architecture_responses.go index 58f2ebdd..7cfed13c 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_architecture_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_architecture_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // ReadArchitectureReader is a Reader for the ReadArchitecture structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_box_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_box_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_box_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_box_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_box_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_box_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_box_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_box_responses.go index 079458f2..40094623 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_box_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_box_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // ReadBoxReader is a Reader for the ReadBox structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_provider_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_provider_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_provider_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_provider_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_provider_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_provider_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_provider_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_provider_responses.go index 96b75d71..f4caee44 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_provider_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_provider_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // ReadProviderReader is a Reader for the ReadProvider structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_registry_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_registry_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_registry_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_registry_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_registry_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_registry_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_registry_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_registry_responses.go index b8666cc6..6f2e9d3c 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_registry_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_registry_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // ReadRegistryReader is a Reader for the ReadRegistry structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_version_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_version_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_version_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_version_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_version_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_version_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_version_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_version_responses.go index f1a07343..8f4b8c67 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/read_version_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/read_version_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // ReadVersionReader is a Reader for the ReadVersion structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/registry_service_client.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/registry_service_client.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/registry_service_client.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/registry_service_client.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/release_version_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/release_version_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/release_version_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/release_version_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/release_version_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/release_version_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/release_version_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/release_version_responses.go index 0771b831..0cbe817b 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/release_version_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/release_version_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // ReleaseVersionReader is a Reader for the ReleaseVersion structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/revoke_version_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/revoke_version_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/revoke_version_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/revoke_version_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/revoke_version_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/revoke_version_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/revoke_version_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/revoke_version_responses.go index f64877c0..80f9abbe 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/revoke_version_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/revoke_version_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // RevokeVersionReader is a Reader for the RevokeVersion structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/search_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/search_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/search_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/search_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/search_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/search_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/search_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/search_responses.go index c53c1445..4d565a27 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/search_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/search_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // SearchReader is a Reader for the Search structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_architecture_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_architecture_parameters.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_architecture_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_architecture_parameters.go index 233e2074..e8bdd520 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_architecture_parameters.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_architecture_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // NewUpdateArchitectureParams creates a new UpdateArchitectureParams object, diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_architecture_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_architecture_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_architecture_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_architecture_responses.go index e611e294..fb973a31 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_architecture_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_architecture_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // UpdateArchitectureReader is a Reader for the UpdateArchitecture structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_box_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_box_parameters.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_box_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_box_parameters.go index f8bf6b0c..96e2be31 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_box_parameters.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_box_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // NewUpdateBoxParams creates a new UpdateBoxParams object, diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_box_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_box_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_box_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_box_responses.go index e6d79a36..c9c0913e 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_box_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_box_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // UpdateBoxReader is a Reader for the UpdateBox structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_provider_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_provider_parameters.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_provider_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_provider_parameters.go index 9cb6efbf..e881a56c 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_provider_parameters.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_provider_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // NewUpdateProviderParams creates a new UpdateProviderParams object, diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_provider_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_provider_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_provider_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_provider_responses.go index c8d8601a..67e5a82a 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_provider_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_provider_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // UpdateProviderReader is a Reader for the UpdateProvider structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_version_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_version_parameters.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_version_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_version_parameters.go index 3a77a516..80b45ead 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_version_parameters.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_version_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // NewUpdateVersionParams creates a new UpdateVersionParams object, diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_version_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_version_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_version_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_version_responses.go index 85ca3d82..7eedea24 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/update_version_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/update_version_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // UpdateVersionReader is a Reader for the UpdateVersion structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/upload_box_parameters.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/upload_box_parameters.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/upload_box_parameters.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/upload_box_parameters.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/upload_box_responses.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/upload_box_responses.go similarity index 99% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/upload_box_responses.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/upload_box_responses.go index 89aa0cbf..54eb50c5 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/client/registry_service/upload_box_responses.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/client/registry_service/upload_box_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" - "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/preview/2022-09-30/models" + "github.com/hashicorp/hcp-sdk-go/clients/cloud-vagrant-box-registry/stable/2022-09-30/models" ) // UploadBoxReader is a Reader for the UploadBox structure. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_activate_registry_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_activate_registry_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_activate_registry_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_activate_registry_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_architecture.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_architecture.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_architecture.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_architecture.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_box.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_box.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_box.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_box.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_box_data.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_box_data.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_box_data.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_box_data.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_box_state.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_box_state.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_box_state.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_box_state.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_box_summary.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_box_summary.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_box_summary.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_box_summary.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_checksum_type.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_checksum_type.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_checksum_type.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_checksum_type.go diff --git a/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_complete_direct_upload_box_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_complete_direct_upload_box_response.go new file mode 100644 index 00000000..edd52b36 --- /dev/null +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_complete_direct_upload_box_response.go @@ -0,0 +1,11 @@ +// Code generated by go-swagger; DO NOT EDIT. + +package models + +// This file was generated by the swagger tool. +// Editing this file might prove futile when you re-run the swagger generate command + +// HashicorpCloudVagrant20220930CompleteDirectUploadBoxResponse hashicorp cloud vagrant 20220930 complete direct upload box response +// +// swagger:model hashicorp.cloud.vagrant_20220930.CompleteDirectUploadBoxResponse +type HashicorpCloudVagrant20220930CompleteDirectUploadBoxResponse interface{} diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_complete_upload_box_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_complete_upload_box_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_complete_upload_box_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_complete_upload_box_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_architecture_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_architecture_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_architecture_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_architecture_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_box_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_box_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_box_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_box_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_provider_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_provider_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_provider_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_provider_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_registry_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_registry_response.go similarity index 66% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_registry_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_registry_response.go index 00d8e8ca..97565ce2 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_registry_response.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_registry_response.go @@ -11,6 +11,7 @@ import ( "github.com/go-openapi/errors" "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" + cloud "github.com/hashicorp/hcp-sdk-go/clients/cloud-shared/v1/models" ) // HashicorpCloudVagrant20220930CreateRegistryResponse hashicorp cloud vagrant 20220930 create registry response @@ -18,6 +19,11 @@ import ( // swagger:model hashicorp.cloud.vagrant_20220930.CreateRegistryResponse type HashicorpCloudVagrant20220930CreateRegistryResponse struct { + // The operation associated with the registry creation. This can be used to + // monitor the progress of background tasks related to the creation of this + // registry. + Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` + // The created Registry. Registry *HashicorpCloudVagrant20220930Registry `json:"registry,omitempty"` } @@ -26,6 +32,10 @@ type HashicorpCloudVagrant20220930CreateRegistryResponse struct { func (m *HashicorpCloudVagrant20220930CreateRegistryResponse) Validate(formats strfmt.Registry) error { var res []error + if err := m.validateOperation(formats); err != nil { + res = append(res, err) + } + if err := m.validateRegistry(formats); err != nil { res = append(res, err) } @@ -36,6 +46,25 @@ func (m *HashicorpCloudVagrant20220930CreateRegistryResponse) Validate(formats s return nil } +func (m *HashicorpCloudVagrant20220930CreateRegistryResponse) validateOperation(formats strfmt.Registry) error { + if swag.IsZero(m.Operation) { // not required + return nil + } + + if m.Operation != nil { + if err := m.Operation.Validate(formats); err != nil { + if ve, ok := err.(*errors.Validation); ok { + return ve.ValidateName("operation") + } else if ce, ok := err.(*errors.CompositeError); ok { + return ce.ValidateName("operation") + } + return err + } + } + + return nil +} + func (m *HashicorpCloudVagrant20220930CreateRegistryResponse) validateRegistry(formats strfmt.Registry) error { if swag.IsZero(m.Registry) { // not required return nil @@ -59,6 +88,10 @@ func (m *HashicorpCloudVagrant20220930CreateRegistryResponse) validateRegistry(f func (m *HashicorpCloudVagrant20220930CreateRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error { var res []error + if err := m.contextValidateOperation(ctx, formats); err != nil { + res = append(res, err) + } + if err := m.contextValidateRegistry(ctx, formats); err != nil { res = append(res, err) } @@ -69,6 +102,27 @@ func (m *HashicorpCloudVagrant20220930CreateRegistryResponse) ContextValidate(ct return nil } +func (m *HashicorpCloudVagrant20220930CreateRegistryResponse) contextValidateOperation(ctx context.Context, formats strfmt.Registry) error { + + if m.Operation != nil { + + if swag.IsZero(m.Operation) { // not required + return nil + } + + if err := m.Operation.ContextValidate(ctx, formats); err != nil { + if ve, ok := err.(*errors.Validation); ok { + return ve.ValidateName("operation") + } else if ce, ok := err.(*errors.CompositeError); ok { + return ce.ValidateName("operation") + } + return err + } + } + + return nil +} + func (m *HashicorpCloudVagrant20220930CreateRegistryResponse) contextValidateRegistry(ctx context.Context, formats strfmt.Registry) error { if m.Registry != nil { diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_version_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_version_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_version_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_create_version_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_deactivate_registry_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_deactivate_registry_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_deactivate_registry_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_deactivate_registry_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_architecture_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_architecture_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_architecture_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_architecture_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_box_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_box_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_box_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_box_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_provider_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_provider_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_provider_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_provider_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_registry_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_registry_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_registry_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_registry_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_version_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_version_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_version_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_delete_version_response.go diff --git a/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_direct_upload_box_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_direct_upload_box_response.go new file mode 100644 index 00000000..d3089ec0 --- /dev/null +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_direct_upload_box_response.go @@ -0,0 +1,56 @@ +// Code generated by go-swagger; DO NOT EDIT. + +package models + +// This file was generated by the swagger tool. +// Editing this file might prove futile when you re-run the swagger generate command + +import ( + "context" + + "github.com/go-openapi/strfmt" + "github.com/go-openapi/swag" +) + +// HashicorpCloudVagrant20220930DirectUploadBoxResponse hashicorp cloud vagrant 20220930 direct upload box response +// +// swagger:model hashicorp.cloud.vagrant_20220930.DirectUploadBoxResponse +type HashicorpCloudVagrant20220930DirectUploadBoxResponse struct { + + // A callback URL to confirm upload completion. + Callback string `json:"callback,omitempty"` + + // Upload identifier used when completing the upload. + Object string `json:"object,omitempty"` + + // A pre-signed URL to upload the Architecture to. + URL string `json:"url,omitempty"` +} + +// Validate validates this hashicorp cloud vagrant 20220930 direct upload box response +func (m *HashicorpCloudVagrant20220930DirectUploadBoxResponse) Validate(formats strfmt.Registry) error { + return nil +} + +// ContextValidate validates this hashicorp cloud vagrant 20220930 direct upload box response based on context it is used +func (m *HashicorpCloudVagrant20220930DirectUploadBoxResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error { + return nil +} + +// MarshalBinary interface implementation +func (m *HashicorpCloudVagrant20220930DirectUploadBoxResponse) MarshalBinary() ([]byte, error) { + if m == nil { + return nil, nil + } + return swag.WriteJSON(m) +} + +// UnmarshalBinary interface implementation +func (m *HashicorpCloudVagrant20220930DirectUploadBoxResponse) UnmarshalBinary(b []byte) error { + var res HashicorpCloudVagrant20220930DirectUploadBoxResponse + if err := swag.ReadJSON(b, &res); err != nil { + return err + } + *m = res + return nil +} diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_download_box_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_download_box_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_download_box_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_download_box_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_index.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_index.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_index.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_index.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_architectures_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_architectures_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_architectures_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_architectures_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_boxes_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_boxes_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_boxes_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_boxes_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_providers_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_providers_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_providers_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_providers_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_registries_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_registries_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_registries_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_registries_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_versions_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_versions_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_versions_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_list_versions_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_provider.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_provider.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_provider.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_provider.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_provider_summary.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_provider_summary.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_provider_summary.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_provider_summary.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_architecture_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_architecture_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_architecture_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_architecture_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_box_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_box_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_box_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_box_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_provider_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_provider_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_provider_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_provider_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_registry_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_registry_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_registry_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_registry_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_version_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_version_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_version_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_read_version_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_registry.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_registry.go similarity index 96% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_registry.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_registry.go index c69a2b7a..90793f8f 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_registry.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_registry.go @@ -20,7 +20,7 @@ import ( // swagger:model hashicorp.cloud.vagrant_20220930.Registry type HashicorpCloudVagrant20220930Registry struct { - // Whether or not the Registry is currently activated. + // Whether or not the Registry is currently activated, ignored on input. Activated bool `json:"activated,omitempty"` // The date the record was created. @@ -30,10 +30,10 @@ type HashicorpCloudVagrant20220930Registry struct { // The description of the registry, if it exists Description string `json:"description,omitempty"` - // The HTML rendered description + // The HTML rendered description, ignored on input DescriptionHTML string `json:"description_html,omitempty"` - // The gravatar used for this registry + // The gravatar used for this registry, ignored on input GravatarURL string `json:"gravatar_url,omitempty"` // The Location that the Registry resides in. diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_release_version_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_release_version_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_release_version_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_release_version_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_revoke_version_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_revoke_version_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_revoke_version_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_revoke_version_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_search_index_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_search_index_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_search_index_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_search_index_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_architecture_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_architecture_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_architecture_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_architecture_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_box_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_box_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_box_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_box_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_provider_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_provider_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_provider_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_provider_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_version_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_version_response.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_version_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_update_version_response.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_upload_box_response.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_upload_box_response.go similarity index 94% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_upload_box_response.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_upload_box_response.go index 4241beff..7c754695 100644 --- a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_upload_box_response.go +++ b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_upload_box_response.go @@ -17,9 +17,6 @@ import ( // swagger:model hashicorp.cloud.vagrant_20220930.UploadBoxResponse type HashicorpCloudVagrant20220930UploadBoxResponse struct { - // A callback URL to confirm upload completion - Callback string `json:"callback,omitempty"` - // A pre-signed URL to upload the Architecture to. URL string `json:"url,omitempty"` } diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_version.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_version.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_version.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_version.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_version_state.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_version_state.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_version_state.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_version_state.go diff --git a/clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_version_summary.go b/clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_version_summary.go similarity index 100% rename from clients/cloud-vagrant-box-registry/preview/2022-09-30/models/hashicorp_cloud_vagrant20220930_version_summary.go rename to clients/cloud-vagrant-box-registry/stable/2022-09-30/models/hashicorp_cloud_vagrant20220930_version_summary.go