diff --git a/CHANGELOG.md b/CHANGELOG.md index c75dca034..6f7fe7f60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,13 @@ ## Release (2025-XX-YY) - `scf`: [v0.3.0](services/scf/CHANGELOG.md#v030) - **Feature:** Add new model `IsolationSegment` and `IsolationSegmentsList` -- `iaas`: [v1.2.4](services/iaas/CHANGELOG.md#v124) - - Bump STACKIT SDK resourcemanager module from `v0.18.1` to `v0.18.2` +- `iaas`: + - [v1.3.0](services/iaas/CHANGELOG.md#v130) + - **Feature:** Add `CreateIsolatedNetwork` functionality + - **Feature:** Add `ImageFromVolumePayload` functionality + - **Feature:** Add `SystemRoutes` to `UpdateRoutingTableOfAreaPayload` + - [v1.2.4](services/iaas/CHANGELOG.md#v124) + - Bump STACKIT SDK resourcemanager module from `v0.18.1` to `v0.18.2` - `logs`: - [v0.1.1](services/logs/CHANGELOG.md#v011) - Bump STACKIT SDK core module from `v0.20.0` to `v0.20.1` diff --git a/services/iaas/CHANGELOG.md b/services/iaas/CHANGELOG.md index 3d02acf6c..f9290cf7f 100644 --- a/services/iaas/CHANGELOG.md +++ b/services/iaas/CHANGELOG.md @@ -1,3 +1,8 @@ +## v1.3.0 +- **Feature:** Add `CreateIsolatedNetwork` functionality +- **Feature:** Add `ImageFromVolumePayload` functionality +- **Feature:** Add `SystemRoutes` to `UpdateRoutingTableOfAreaPayload` + ## v1.2.4 - Bump STACKIT SDK resourcemanager module from `v0.18.1` to `v0.18.2` diff --git a/services/iaas/VERSION b/services/iaas/VERSION index c7cd5b267..18fa8e74f 100644 --- a/services/iaas/VERSION +++ b/services/iaas/VERSION @@ -1 +1 @@ -v1.2.4 +v1.3.0 diff --git a/services/iaas/api_default.go b/services/iaas/api_default.go index 5787d74a4..8570e8531 100644 --- a/services/iaas/api_default.go +++ b/services/iaas/api_default.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. @@ -246,6 +246,26 @@ type DefaultApi interface { */ CreateImageExecute(ctx context.Context, projectId string, region string) (*ImageCreateResponse, error) + /* + CreateIsolatedNetwork Create a single isolated network. + Creates an isolated network which is not connected to other networks in this project. We recommend using this endpoint only if you are fully aware of its purpose and the consequences of its execution. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param projectId The identifier (ID) of a STACKIT Project. + @param region The STACKIT Region of the resources. + @return ApiCreateIsolatedNetworkRequest + */ + CreateIsolatedNetwork(ctx context.Context, projectId string, region string) ApiCreateIsolatedNetworkRequest + /* + CreateIsolatedNetworkExecute executes the request + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param projectId The identifier (ID) of a STACKIT Project. + @param region The STACKIT Region of the resources. + @return Network + + */ + CreateIsolatedNetworkExecute(ctx context.Context, projectId string, region string) (*Network, error) /* CreateKeyPair Import a public key. Import a new public key for the requesting user based on provided public key material. The creation will fail if an SSH keypair with the same name already exists. If a name is not provided it is autogenerated form the ssh-pubkey comment section. If that is also not present it will be the the MD5 fingerprint of the key. For autogenerated names invalid characters will be removed. @@ -284,7 +304,7 @@ type DefaultApi interface { CreateNetworkExecute(ctx context.Context, projectId string, region string) (*Network, error) /* CreateNetworkArea Create new network area in an organization. - Create a new network area in an organization. + Create a new network area in an organization. You can specify `"preview/routingtables"="true"` as a label to enable the preview routing tables feature. This feature cannot be enabled or disabled afterwards. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @@ -1495,6 +1515,28 @@ type DefaultApi interface { */ GetVolumePerformanceClassExecute(ctx context.Context, projectId string, region string, volumePerformanceClass string) (*VolumePerformanceClass, error) + /* + ImageFromVolume Create an image out of a volume. + Create an image out a a volume. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param projectId The identifier (ID) of a STACKIT Project. + @param volumeId The identifier (ID) of a STACKIT Volume. + @param region The STACKIT Region of the resources. + @return ApiImageFromVolumeRequest + */ + ImageFromVolume(ctx context.Context, projectId string, volumeId string, region string) ApiImageFromVolumeRequest + /* + ImageFromVolumeExecute executes the request + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param projectId The identifier (ID) of a STACKIT Project. + @param volumeId The identifier (ID) of a STACKIT Volume. + @param region The STACKIT Region of the resources. + @return Image + + */ + ImageFromVolumeExecute(ctx context.Context, projectId string, volumeId string, region string) (*Image, error) /* ListAffinityGroups Get the affinity groups setup for a project. Get the affinity groups created in a project. Affinity groups are an indication of locality of a server relative to another group of servers. They can be either running on the same host (affinity) or on different ones (anti-affinity). @@ -2754,6 +2796,12 @@ type ApiCreateImageRequest interface { Execute() (*ImageCreateResponse, error) } +type ApiCreateIsolatedNetworkRequest interface { + // Request a single isolated network creation. + CreateIsolatedNetworkPayload(createIsolatedNetworkPayload CreateIsolatedNetworkPayload) ApiCreateIsolatedNetworkRequest + Execute() (*Network, error) +} + type ApiCreateKeyPairRequest interface { // Request a public key import. CreateKeyPairPayload(createKeyPairPayload CreateKeyPairPayload) ApiCreateKeyPairRequest @@ -3038,6 +3086,12 @@ type ApiGetVolumePerformanceClassRequest interface { Execute() (*VolumePerformanceClass, error) } +type ApiImageFromVolumeRequest interface { + // Create an image from a volume. + ImageFromVolumePayload(imageFromVolumePayload ImageFromVolumePayload) ApiImageFromVolumeRequest + Execute() (*Image, error) +} + type ApiListAffinityGroupsRequest interface { Execute() (*AffinityGroupListResponse, error) } @@ -5690,6 +5744,216 @@ func (a *APIClient) CreateImageExecute(ctx context.Context, projectId string, re return r.Execute() } +type CreateIsolatedNetworkRequest struct { + ctx context.Context + apiService *DefaultApiService + projectId string + region string + createIsolatedNetworkPayload *CreateIsolatedNetworkPayload +} + +// Request a single isolated network creation. + +func (r CreateIsolatedNetworkRequest) CreateIsolatedNetworkPayload(createIsolatedNetworkPayload CreateIsolatedNetworkPayload) ApiCreateIsolatedNetworkRequest { + r.createIsolatedNetworkPayload = &createIsolatedNetworkPayload + return r +} + +func (r CreateIsolatedNetworkRequest) Execute() (*Network, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *Network + ) + a := r.apiService + client, ok := a.client.(*APIClient) + if !ok { + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") + } + localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.CreateIsolatedNetwork") + if err != nil { + return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} + } + + localVarPath := localBasePath + "/v2/projects/{projectId}/regions/{region}/isolated-network" + localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"region"+"}", url.PathEscape(ParameterValueToString(r.region, "region")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if strlen(r.projectId) < 36 { + return localVarReturnValue, fmt.Errorf("projectId must have at least 36 elements") + } + if strlen(r.projectId) > 36 { + return localVarReturnValue, fmt.Errorf("projectId must have less than 36 elements") + } + if r.createIsolatedNetworkPayload == nil { + return localVarReturnValue, fmt.Errorf("createIsolatedNetworkPayload is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.createIsolatedNetworkPayload + req, err := client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, err + } + + contextHTTPRequest, ok := r.ctx.Value(config.ContextHTTPRequest).(**http.Request) + if ok { + *contextHTTPRequest = req + } + + localVarHTTPResponse, err := client.callAPI(req) + contextHTTPResponse, ok := r.ctx.Value(config.ContextHTTPResponse).(**http.Response) + if ok { + *contextHTTPResponse = localVarHTTPResponse + } + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &oapierror.GenericOpenAPIError{ + StatusCode: localVarHTTPResponse.StatusCode, + Body: localVarBody, + ErrorMessage: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v Error + err = client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v Error + err = client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } + if localVarHTTPResponse.StatusCode == 404 { + var v Error + err = client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v Error + err = client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v Error + err = client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + } + return localVarReturnValue, newErr + } + + err = client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &oapierror.GenericOpenAPIError{ + StatusCode: localVarHTTPResponse.StatusCode, + Body: localVarBody, + ErrorMessage: err.Error(), + } + return localVarReturnValue, newErr + } + + return localVarReturnValue, nil +} + +/* +CreateIsolatedNetwork: Create a single isolated network. + +Creates an isolated network which is not connected to other networks in this project. We recommend using this endpoint only if you are fully aware of its purpose and the consequences of its execution. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param projectId The identifier (ID) of a STACKIT Project. + @param region The STACKIT Region of the resources. + @return ApiCreateIsolatedNetworkRequest +*/ +func (a *APIClient) CreateIsolatedNetwork(ctx context.Context, projectId string, region string) ApiCreateIsolatedNetworkRequest { + return CreateIsolatedNetworkRequest{ + apiService: a.defaultApi, + ctx: ctx, + projectId: projectId, + region: region, + } +} + +func (a *APIClient) CreateIsolatedNetworkExecute(ctx context.Context, projectId string, region string) (*Network, error) { + r := CreateIsolatedNetworkRequest{ + apiService: a.defaultApi, + ctx: ctx, + projectId: projectId, + region: region, + } + return r.Execute() +} + type CreateKeyPairRequest struct { ctx context.Context apiService *DefaultApiService @@ -6265,7 +6529,7 @@ func (r CreateNetworkAreaRequest) Execute() (*NetworkArea, error) { /* CreateNetworkArea: Create new network area in an organization. -Create a new network area in an organization. +Create a new network area in an organization. You can specify `"preview/routingtables"="true"` as a label to enable the preview routing tables feature. This feature cannot be enabled or disabled afterwards. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The identifier (ID) of a STACKIT Organization. @@ -18240,6 +18504,224 @@ func (a *APIClient) GetVolumePerformanceClassExecute(ctx context.Context, projec return r.Execute() } +type ImageFromVolumeRequest struct { + ctx context.Context + apiService *DefaultApiService + projectId string + volumeId string + region string + imageFromVolumePayload *ImageFromVolumePayload +} + +// Create an image from a volume. + +func (r ImageFromVolumeRequest) ImageFromVolumePayload(imageFromVolumePayload ImageFromVolumePayload) ApiImageFromVolumeRequest { + r.imageFromVolumePayload = &imageFromVolumePayload + return r +} + +func (r ImageFromVolumeRequest) Execute() (*Image, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *Image + ) + a := r.apiService + client, ok := a.client.(*APIClient) + if !ok { + return localVarReturnValue, fmt.Errorf("could not parse client to type APIClient") + } + localBasePath, err := client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ImageFromVolume") + if err != nil { + return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} + } + + localVarPath := localBasePath + "/v2/projects/{projectId}/regions/{region}/volumes/{volumeId}/upload" + localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"volumeId"+"}", url.PathEscape(ParameterValueToString(r.volumeId, "volumeId")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"region"+"}", url.PathEscape(ParameterValueToString(r.region, "region")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if strlen(r.projectId) < 36 { + return localVarReturnValue, fmt.Errorf("projectId must have at least 36 elements") + } + if strlen(r.projectId) > 36 { + return localVarReturnValue, fmt.Errorf("projectId must have less than 36 elements") + } + if strlen(r.volumeId) < 36 { + return localVarReturnValue, fmt.Errorf("volumeId must have at least 36 elements") + } + if strlen(r.volumeId) > 36 { + return localVarReturnValue, fmt.Errorf("volumeId must have less than 36 elements") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.imageFromVolumePayload + req, err := client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, err + } + + contextHTTPRequest, ok := r.ctx.Value(config.ContextHTTPRequest).(**http.Request) + if ok { + *contextHTTPRequest = req + } + + localVarHTTPResponse, err := client.callAPI(req) + contextHTTPResponse, ok := r.ctx.Value(config.ContextHTTPResponse).(**http.Response) + if ok { + *contextHTTPResponse = localVarHTTPResponse + } + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &oapierror.GenericOpenAPIError{ + StatusCode: localVarHTTPResponse.StatusCode, + Body: localVarBody, + ErrorMessage: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v Error + err = client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v Error + err = client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } + if localVarHTTPResponse.StatusCode == 404 { + var v Error + err = client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } + if localVarHTTPResponse.StatusCode == 409 { + var v Error + err = client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v Error + err = client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + } + return localVarReturnValue, newErr + } + + err = client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &oapierror.GenericOpenAPIError{ + StatusCode: localVarHTTPResponse.StatusCode, + Body: localVarBody, + ErrorMessage: err.Error(), + } + return localVarReturnValue, newErr + } + + return localVarReturnValue, nil +} + +/* +ImageFromVolume: Create an image out of a volume. + +Create an image out a a volume. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param projectId The identifier (ID) of a STACKIT Project. + @param volumeId The identifier (ID) of a STACKIT Volume. + @param region The STACKIT Region of the resources. + @return ApiImageFromVolumeRequest +*/ +func (a *APIClient) ImageFromVolume(ctx context.Context, projectId string, volumeId string, region string) ApiImageFromVolumeRequest { + return ImageFromVolumeRequest{ + apiService: a.defaultApi, + ctx: ctx, + projectId: projectId, + volumeId: volumeId, + region: region, + } +} + +func (a *APIClient) ImageFromVolumeExecute(ctx context.Context, projectId string, volumeId string, region string) (*Image, error) { + r := ImageFromVolumeRequest{ + apiService: a.defaultApi, + ctx: ctx, + projectId: projectId, + volumeId: volumeId, + region: region, + } + return r.Execute() +} + type ListAffinityGroupsRequest struct { ctx context.Context apiService *DefaultApiService diff --git a/services/iaas/api_default_test.go b/services/iaas/api_default_test.go index 87ea93371..9d91b13df 100644 --- a/services/iaas/api_default_test.go +++ b/services/iaas/api_default_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API Testing DefaultApiService @@ -654,6 +654,62 @@ func Test_iaas_DefaultApiService(t *testing.T) { } }) + t.Run("Test DefaultApiService CreateIsolatedNetwork", func(t *testing.T) { + _apiUrlPath := "/v2/projects/{projectId}/regions/{region}/isolated-network" + projectIdValue := randString(36) + _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) + regionValue := "region-value" + _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"region"+"}", url.PathEscape(ParameterValueToString(regionValue, "region")), -1) + + testDefaultApiServeMux := http.NewServeMux() + testDefaultApiServeMux.HandleFunc(_apiUrlPath, func(w http.ResponseWriter, req *http.Request) { + data := Network{} + w.Header().Add("Content-Type", "application/json") + json.NewEncoder(w).Encode(data) + }) + testServer := httptest.NewServer(testDefaultApiServeMux) + defer testServer.Close() + + configuration := &config.Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Region: "test_region", + Servers: config.ServerConfigurations{ + { + URL: testServer.URL, + Description: "Localhost for iaas_DefaultApi", + Variables: map[string]config.ServerVariable{ + "region": { + DefaultValue: "test_region.", + EnumValues: []string{ + "test_region.", + }, + }, + }, + }, + }, + OperationServers: map[string]config.ServerConfigurations{}, + } + apiClient, err := NewAPIClient(config.WithCustomConfiguration(configuration), config.WithoutAuthentication()) + if err != nil { + t.Fatalf("creating API client: %v", err) + } + + projectId := projectIdValue + region := regionValue + createIsolatedNetworkPayload := CreateIsolatedNetworkPayload{} + + resp, reqErr := apiClient.CreateIsolatedNetwork(context.Background(), projectId, region).CreateIsolatedNetworkPayload(createIsolatedNetworkPayload).Execute() + + if reqErr != nil { + t.Fatalf("error in call: %v", reqErr) + } + if IsNil(resp) { + t.Fatalf("response not present") + } + }) + t.Run("Test DefaultApiService CreateKeyPair", func(t *testing.T) { _apiUrlPath := "/v2/keypairs" @@ -4186,6 +4242,64 @@ func Test_iaas_DefaultApiService(t *testing.T) { } }) + t.Run("Test DefaultApiService ImageFromVolume", func(t *testing.T) { + _apiUrlPath := "/v2/projects/{projectId}/regions/{region}/volumes/{volumeId}/upload" + projectIdValue := randString(36) + _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) + volumeIdValue := randString(36) + _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"volumeId"+"}", url.PathEscape(ParameterValueToString(volumeIdValue, "volumeId")), -1) + regionValue := "region-value" + _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"region"+"}", url.PathEscape(ParameterValueToString(regionValue, "region")), -1) + + testDefaultApiServeMux := http.NewServeMux() + testDefaultApiServeMux.HandleFunc(_apiUrlPath, func(w http.ResponseWriter, req *http.Request) { + data := Image{} + w.Header().Add("Content-Type", "application/json") + json.NewEncoder(w).Encode(data) + }) + testServer := httptest.NewServer(testDefaultApiServeMux) + defer testServer.Close() + + configuration := &config.Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "OpenAPI-Generator/1.0.0/go", + Debug: false, + Region: "test_region", + Servers: config.ServerConfigurations{ + { + URL: testServer.URL, + Description: "Localhost for iaas_DefaultApi", + Variables: map[string]config.ServerVariable{ + "region": { + DefaultValue: "test_region.", + EnumValues: []string{ + "test_region.", + }, + }, + }, + }, + }, + OperationServers: map[string]config.ServerConfigurations{}, + } + apiClient, err := NewAPIClient(config.WithCustomConfiguration(configuration), config.WithoutAuthentication()) + if err != nil { + t.Fatalf("creating API client: %v", err) + } + + projectId := projectIdValue + volumeId := volumeIdValue + region := regionValue + + resp, reqErr := apiClient.ImageFromVolume(context.Background(), projectId, volumeId, region).Execute() + + if reqErr != nil { + t.Fatalf("error in call: %v", reqErr) + } + if IsNil(resp) { + t.Fatalf("response not present") + } + }) + t.Run("Test DefaultApiService ListAffinityGroups", func(t *testing.T) { _apiUrlPath := "/v2/projects/{projectId}/regions/{region}/affinity-groups" projectIdValue := randString(36) diff --git a/services/iaas/client.go b/services/iaas/client.go index 60e072679..6491278db 100644 --- a/services/iaas/client.go +++ b/services/iaas/client.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. @@ -42,7 +42,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the IaaS-API API v2 +// APIClient manages communication with the STACKIT IaaS API API v2 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *config.Configuration diff --git a/services/iaas/configuration.go b/services/iaas/configuration.go index b20c092ec..25d2f4f2d 100644 --- a/services/iaas/configuration.go +++ b/services/iaas/configuration.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_add_routes_to_routing_table_payload.go b/services/iaas/model_add_routes_to_routing_table_payload.go index 00592a7eb..7a6536f1e 100644 --- a/services/iaas/model_add_routes_to_routing_table_payload.go +++ b/services/iaas/model_add_routes_to_routing_table_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_add_routes_to_routing_table_payload_test.go b/services/iaas/model_add_routes_to_routing_table_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_add_routes_to_routing_table_payload_test.go +++ b/services/iaas/model_add_routes_to_routing_table_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_add_routing_table_to_area_payload.go b/services/iaas/model_add_routing_table_to_area_payload.go index 3564d435d..172f06058 100644 --- a/services/iaas/model_add_routing_table_to_area_payload.go +++ b/services/iaas/model_add_routing_table_to_area_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. @@ -217,7 +217,8 @@ type AddRoutingTableToAreaPayload struct { Labels AddRoutingTableToAreaPayloadGetLabelsAttributeType `json:"labels,omitempty"` // The name for a General Object. Matches Names and also UUIDs. // REQUIRED - Name AddRoutingTableToAreaPayloadGetNameAttributeType `json:"name" required:"true"` + Name AddRoutingTableToAreaPayloadGetNameAttributeType `json:"name" required:"true"` + // A config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA. SystemRoutes AddRoutingTableToAreaPayloadgetSystemRoutesAttributeType `json:"systemRoutes,omitempty"` // Date-time when resource was last updated. UpdatedAt AddRoutingTableToAreaPayloadGetUpdatedAtAttributeType `json:"updatedAt,omitempty"` diff --git a/services/iaas/model_add_routing_table_to_area_payload_test.go b/services/iaas/model_add_routing_table_to_area_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_add_routing_table_to_area_payload_test.go +++ b/services/iaas/model_add_routing_table_to_area_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_add_volume_to_server_payload.go b/services/iaas/model_add_volume_to_server_payload.go index bf313878a..7e6912c57 100644 --- a/services/iaas/model_add_volume_to_server_payload.go +++ b/services/iaas/model_add_volume_to_server_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_add_volume_to_server_payload_test.go b/services/iaas/model_add_volume_to_server_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_add_volume_to_server_payload_test.go +++ b/services/iaas/model_add_volume_to_server_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_affinity_group.go b/services/iaas/model_affinity_group.go index 9e5dac4fc..4f6603f73 100644 --- a/services/iaas/model_affinity_group.go +++ b/services/iaas/model_affinity_group.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_affinity_group_list_response.go b/services/iaas/model_affinity_group_list_response.go index 5aaa44730..d41616c35 100644 --- a/services/iaas/model_affinity_group_list_response.go +++ b/services/iaas/model_affinity_group_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_affinity_group_list_response_test.go b/services/iaas/model_affinity_group_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_affinity_group_list_response_test.go +++ b/services/iaas/model_affinity_group_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_affinity_group_test.go b/services/iaas/model_affinity_group_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_affinity_group_test.go +++ b/services/iaas/model_affinity_group_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_allowed_addresses_inner.go b/services/iaas/model_allowed_addresses_inner.go index 4646647e7..88a3f1206 100644 --- a/services/iaas/model_allowed_addresses_inner.go +++ b/services/iaas/model_allowed_addresses_inner.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_allowed_addresses_inner_test.go b/services/iaas/model_allowed_addresses_inner_test.go index fa32364f1..7925fd261 100644 --- a/services/iaas/model_allowed_addresses_inner_test.go +++ b/services/iaas/model_allowed_addresses_inner_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_area_id.go b/services/iaas/model_area_id.go index 4385d85e6..62a8537c9 100644 --- a/services/iaas/model_area_id.go +++ b/services/iaas/model_area_id.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_area_id_test.go b/services/iaas/model_area_id_test.go index 92ab3ca3d..63bff3746 100644 --- a/services/iaas/model_area_id_test.go +++ b/services/iaas/model_area_id_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_availability_zone_list_response.go b/services/iaas/model_availability_zone_list_response.go index 34146090d..7adf0be64 100644 --- a/services/iaas/model_availability_zone_list_response.go +++ b/services/iaas/model_availability_zone_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_availability_zone_list_response_test.go b/services/iaas/model_availability_zone_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_availability_zone_list_response_test.go +++ b/services/iaas/model_availability_zone_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_backup.go b/services/iaas/model_backup.go index ad0bf3a46..23286ee14 100644 --- a/services/iaas/model_backup.go +++ b/services/iaas/model_backup.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_backup_list_response.go b/services/iaas/model_backup_list_response.go index 8181daa1e..9ff60691d 100644 --- a/services/iaas/model_backup_list_response.go +++ b/services/iaas/model_backup_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_backup_list_response_test.go b/services/iaas/model_backup_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_backup_list_response_test.go +++ b/services/iaas/model_backup_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_backup_source.go b/services/iaas/model_backup_source.go index f40929932..8b1b4188d 100644 --- a/services/iaas/model_backup_source.go +++ b/services/iaas/model_backup_source.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_backup_source_test.go b/services/iaas/model_backup_source_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_backup_source_test.go +++ b/services/iaas/model_backup_source_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_backup_test.go b/services/iaas/model_backup_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_backup_test.go +++ b/services/iaas/model_backup_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_base_security_group_rule.go b/services/iaas/model_base_security_group_rule.go index fa3eb56f7..990b8db62 100644 --- a/services/iaas/model_base_security_group_rule.go +++ b/services/iaas/model_base_security_group_rule.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_base_security_group_rule_test.go b/services/iaas/model_base_security_group_rule_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_base_security_group_rule_test.go +++ b/services/iaas/model_base_security_group_rule_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_boot_volume.go b/services/iaas/model_boot_volume.go index 6f075ac0d..699936a2c 100644 --- a/services/iaas/model_boot_volume.go +++ b/services/iaas/model_boot_volume.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_boot_volume_source.go b/services/iaas/model_boot_volume_source.go index 4fb08c372..aa5051a36 100644 --- a/services/iaas/model_boot_volume_source.go +++ b/services/iaas/model_boot_volume_source.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_boot_volume_source_test.go b/services/iaas/model_boot_volume_source_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_boot_volume_source_test.go +++ b/services/iaas/model_boot_volume_source_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_boot_volume_test.go b/services/iaas/model_boot_volume_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_boot_volume_test.go +++ b/services/iaas/model_boot_volume_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_affinity_group_payload.go b/services/iaas/model_create_affinity_group_payload.go index c9af3fbf5..c44fcbaf1 100644 --- a/services/iaas/model_create_affinity_group_payload.go +++ b/services/iaas/model_create_affinity_group_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_affinity_group_payload_test.go b/services/iaas/model_create_affinity_group_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_affinity_group_payload_test.go +++ b/services/iaas/model_create_affinity_group_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_backup_payload.go b/services/iaas/model_create_backup_payload.go index 78b84a47a..a532660b4 100644 --- a/services/iaas/model_create_backup_payload.go +++ b/services/iaas/model_create_backup_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_backup_payload_test.go b/services/iaas/model_create_backup_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_backup_payload_test.go +++ b/services/iaas/model_create_backup_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_image_payload.go b/services/iaas/model_create_image_payload.go index 6a40a1e1c..1b3e0ae3d 100644 --- a/services/iaas/model_create_image_payload.go +++ b/services/iaas/model_create_image_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_image_payload_test.go b/services/iaas/model_create_image_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_image_payload_test.go +++ b/services/iaas/model_create_image_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_isolated_network_payload.go b/services/iaas/model_create_isolated_network_payload.go new file mode 100644 index 000000000..84db24978 --- /dev/null +++ b/services/iaas/model_create_isolated_network_payload.go @@ -0,0 +1,272 @@ +/* +STACKIT IaaS API + +This API allows you to create and modify IaaS resources. + +API version: 2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package iaas + +import ( + "encoding/json" +) + +// checks if the CreateIsolatedNetworkPayload type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CreateIsolatedNetworkPayload{} + +/* + types and functions for dhcp +*/ + +// isBoolean +type CreateIsolatedNetworkPayloadgetDhcpAttributeType = *bool +type CreateIsolatedNetworkPayloadgetDhcpArgType = bool +type CreateIsolatedNetworkPayloadgetDhcpRetType = bool + +func getCreateIsolatedNetworkPayloadgetDhcpAttributeTypeOk(arg CreateIsolatedNetworkPayloadgetDhcpAttributeType) (ret CreateIsolatedNetworkPayloadgetDhcpRetType, ok bool) { + if arg == nil { + return ret, false + } + return *arg, true +} + +func setCreateIsolatedNetworkPayloadgetDhcpAttributeType(arg *CreateIsolatedNetworkPayloadgetDhcpAttributeType, val CreateIsolatedNetworkPayloadgetDhcpRetType) { + *arg = &val +} + +/* + types and functions for ipv4 +*/ + +// isModel +type CreateIsolatedNetworkPayloadGetIpv4AttributeType = *CreateNetworkIPv4 +type CreateIsolatedNetworkPayloadGetIpv4ArgType = CreateNetworkIPv4 +type CreateIsolatedNetworkPayloadGetIpv4RetType = CreateNetworkIPv4 + +func getCreateIsolatedNetworkPayloadGetIpv4AttributeTypeOk(arg CreateIsolatedNetworkPayloadGetIpv4AttributeType) (ret CreateIsolatedNetworkPayloadGetIpv4RetType, ok bool) { + if arg == nil { + return ret, false + } + return *arg, true +} + +func setCreateIsolatedNetworkPayloadGetIpv4AttributeType(arg *CreateIsolatedNetworkPayloadGetIpv4AttributeType, val CreateIsolatedNetworkPayloadGetIpv4RetType) { + *arg = &val +} + +/* + types and functions for labels +*/ + +// isFreeform +type CreateIsolatedNetworkPayloadGetLabelsAttributeType = *map[string]interface{} +type CreateIsolatedNetworkPayloadGetLabelsArgType = map[string]interface{} +type CreateIsolatedNetworkPayloadGetLabelsRetType = map[string]interface{} + +func getCreateIsolatedNetworkPayloadGetLabelsAttributeTypeOk(arg CreateIsolatedNetworkPayloadGetLabelsAttributeType) (ret CreateIsolatedNetworkPayloadGetLabelsRetType, ok bool) { + if arg == nil { + return ret, false + } + return *arg, true +} + +func setCreateIsolatedNetworkPayloadGetLabelsAttributeType(arg *CreateIsolatedNetworkPayloadGetLabelsAttributeType, val CreateIsolatedNetworkPayloadGetLabelsRetType) { + *arg = &val +} + +/* + types and functions for name +*/ + +// isNotNullableString +type CreateIsolatedNetworkPayloadGetNameAttributeType = *string + +func getCreateIsolatedNetworkPayloadGetNameAttributeTypeOk(arg CreateIsolatedNetworkPayloadGetNameAttributeType) (ret CreateIsolatedNetworkPayloadGetNameRetType, ok bool) { + if arg == nil { + return ret, false + } + return *arg, true +} + +func setCreateIsolatedNetworkPayloadGetNameAttributeType(arg *CreateIsolatedNetworkPayloadGetNameAttributeType, val CreateIsolatedNetworkPayloadGetNameRetType) { + *arg = &val +} + +type CreateIsolatedNetworkPayloadGetNameArgType = string +type CreateIsolatedNetworkPayloadGetNameRetType = string + +// CreateIsolatedNetworkPayload Object that represents the request body for a single isolated network create. +type CreateIsolatedNetworkPayload struct { + // Enable or disable DHCP for a network. + Dhcp CreateIsolatedNetworkPayloadgetDhcpAttributeType `json:"dhcp,omitempty"` + Ipv4 CreateIsolatedNetworkPayloadGetIpv4AttributeType `json:"ipv4,omitempty"` + // Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. + Labels CreateIsolatedNetworkPayloadGetLabelsAttributeType `json:"labels,omitempty"` + // The name for a General Object. Matches Names and also UUIDs. + // REQUIRED + Name CreateIsolatedNetworkPayloadGetNameAttributeType `json:"name" required:"true"` +} + +type _CreateIsolatedNetworkPayload CreateIsolatedNetworkPayload + +// NewCreateIsolatedNetworkPayload instantiates a new CreateIsolatedNetworkPayload object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCreateIsolatedNetworkPayload(name CreateIsolatedNetworkPayloadGetNameArgType) *CreateIsolatedNetworkPayload { + this := CreateIsolatedNetworkPayload{} + setCreateIsolatedNetworkPayloadGetNameAttributeType(&this.Name, name) + return &this +} + +// NewCreateIsolatedNetworkPayloadWithDefaults instantiates a new CreateIsolatedNetworkPayload object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCreateIsolatedNetworkPayloadWithDefaults() *CreateIsolatedNetworkPayload { + this := CreateIsolatedNetworkPayload{} + var dhcp bool = true + this.Dhcp = &dhcp + return &this +} + +// GetDhcp returns the Dhcp field value if set, zero value otherwise. +func (o *CreateIsolatedNetworkPayload) GetDhcp() (res CreateIsolatedNetworkPayloadgetDhcpRetType) { + res, _ = o.GetDhcpOk() + return +} + +// GetDhcpOk returns a tuple with the Dhcp field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CreateIsolatedNetworkPayload) GetDhcpOk() (ret CreateIsolatedNetworkPayloadgetDhcpRetType, ok bool) { + return getCreateIsolatedNetworkPayloadgetDhcpAttributeTypeOk(o.Dhcp) +} + +// HasDhcp returns a boolean if a field has been set. +func (o *CreateIsolatedNetworkPayload) HasDhcp() bool { + _, ok := o.GetDhcpOk() + return ok +} + +// SetDhcp gets a reference to the given bool and assigns it to the Dhcp field. +func (o *CreateIsolatedNetworkPayload) SetDhcp(v CreateIsolatedNetworkPayloadgetDhcpRetType) { + setCreateIsolatedNetworkPayloadgetDhcpAttributeType(&o.Dhcp, v) +} + +// GetIpv4 returns the Ipv4 field value if set, zero value otherwise. +func (o *CreateIsolatedNetworkPayload) GetIpv4() (res CreateIsolatedNetworkPayloadGetIpv4RetType) { + res, _ = o.GetIpv4Ok() + return +} + +// GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CreateIsolatedNetworkPayload) GetIpv4Ok() (ret CreateIsolatedNetworkPayloadGetIpv4RetType, ok bool) { + return getCreateIsolatedNetworkPayloadGetIpv4AttributeTypeOk(o.Ipv4) +} + +// HasIpv4 returns a boolean if a field has been set. +func (o *CreateIsolatedNetworkPayload) HasIpv4() bool { + _, ok := o.GetIpv4Ok() + return ok +} + +// SetIpv4 gets a reference to the given CreateNetworkIPv4 and assigns it to the Ipv4 field. +func (o *CreateIsolatedNetworkPayload) SetIpv4(v CreateIsolatedNetworkPayloadGetIpv4RetType) { + setCreateIsolatedNetworkPayloadGetIpv4AttributeType(&o.Ipv4, v) +} + +// GetLabels returns the Labels field value if set, zero value otherwise. +func (o *CreateIsolatedNetworkPayload) GetLabels() (res CreateIsolatedNetworkPayloadGetLabelsRetType) { + res, _ = o.GetLabelsOk() + return +} + +// GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CreateIsolatedNetworkPayload) GetLabelsOk() (ret CreateIsolatedNetworkPayloadGetLabelsRetType, ok bool) { + return getCreateIsolatedNetworkPayloadGetLabelsAttributeTypeOk(o.Labels) +} + +// HasLabels returns a boolean if a field has been set. +func (o *CreateIsolatedNetworkPayload) HasLabels() bool { + _, ok := o.GetLabelsOk() + return ok +} + +// SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field. +func (o *CreateIsolatedNetworkPayload) SetLabels(v CreateIsolatedNetworkPayloadGetLabelsRetType) { + setCreateIsolatedNetworkPayloadGetLabelsAttributeType(&o.Labels, v) +} + +// GetName returns the Name field value +func (o *CreateIsolatedNetworkPayload) GetName() (ret CreateIsolatedNetworkPayloadGetNameRetType) { + ret, _ = o.GetNameOk() + return ret +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *CreateIsolatedNetworkPayload) GetNameOk() (ret CreateIsolatedNetworkPayloadGetNameRetType, ok bool) { + return getCreateIsolatedNetworkPayloadGetNameAttributeTypeOk(o.Name) +} + +// SetName sets field value +func (o *CreateIsolatedNetworkPayload) SetName(v CreateIsolatedNetworkPayloadGetNameRetType) { + setCreateIsolatedNetworkPayloadGetNameAttributeType(&o.Name, v) +} + +func (o CreateIsolatedNetworkPayload) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if val, ok := getCreateIsolatedNetworkPayloadgetDhcpAttributeTypeOk(o.Dhcp); ok { + toSerialize["Dhcp"] = val + } + if val, ok := getCreateIsolatedNetworkPayloadGetIpv4AttributeTypeOk(o.Ipv4); ok { + toSerialize["Ipv4"] = val + } + if val, ok := getCreateIsolatedNetworkPayloadGetLabelsAttributeTypeOk(o.Labels); ok { + toSerialize["Labels"] = val + } + if val, ok := getCreateIsolatedNetworkPayloadGetNameAttributeTypeOk(o.Name); ok { + toSerialize["Name"] = val + } + return toSerialize, nil +} + +type NullableCreateIsolatedNetworkPayload struct { + value *CreateIsolatedNetworkPayload + isSet bool +} + +func (v NullableCreateIsolatedNetworkPayload) Get() *CreateIsolatedNetworkPayload { + return v.value +} + +func (v *NullableCreateIsolatedNetworkPayload) Set(val *CreateIsolatedNetworkPayload) { + v.value = val + v.isSet = true +} + +func (v NullableCreateIsolatedNetworkPayload) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateIsolatedNetworkPayload) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateIsolatedNetworkPayload(val *CreateIsolatedNetworkPayload) *NullableCreateIsolatedNetworkPayload { + return &NullableCreateIsolatedNetworkPayload{value: val, isSet: true} +} + +func (v NullableCreateIsolatedNetworkPayload) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateIsolatedNetworkPayload) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/services/iaas/model_create_isolated_network_payload_test.go b/services/iaas/model_create_isolated_network_payload_test.go new file mode 100644 index 000000000..603b15988 --- /dev/null +++ b/services/iaas/model_create_isolated_network_payload_test.go @@ -0,0 +1,11 @@ +/* +STACKIT IaaS API + +This API allows you to create and modify IaaS resources. + +API version: 2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package iaas diff --git a/services/iaas/model_create_key_pair_payload.go b/services/iaas/model_create_key_pair_payload.go index d856e0a83..d4e5f8efe 100644 --- a/services/iaas/model_create_key_pair_payload.go +++ b/services/iaas/model_create_key_pair_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_key_pair_payload_test.go b/services/iaas/model_create_key_pair_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_key_pair_payload_test.go +++ b/services/iaas/model_create_key_pair_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_area_payload.go b/services/iaas/model_create_network_area_payload.go index 5d937aa78..8c39dff05 100644 --- a/services/iaas/model_create_network_area_payload.go +++ b/services/iaas/model_create_network_area_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_area_payload_test.go b/services/iaas/model_create_network_area_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_network_area_payload_test.go +++ b/services/iaas/model_create_network_area_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_area_range_payload.go b/services/iaas/model_create_network_area_range_payload.go index fcf47281f..9342db4ec 100644 --- a/services/iaas/model_create_network_area_range_payload.go +++ b/services/iaas/model_create_network_area_range_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_area_range_payload_test.go b/services/iaas/model_create_network_area_range_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_network_area_range_payload_test.go +++ b/services/iaas/model_create_network_area_range_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_area_region_payload.go b/services/iaas/model_create_network_area_region_payload.go index 72dd340ba..33bb3d22b 100644 --- a/services/iaas/model_create_network_area_region_payload.go +++ b/services/iaas/model_create_network_area_region_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_area_region_payload_test.go b/services/iaas/model_create_network_area_region_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_network_area_region_payload_test.go +++ b/services/iaas/model_create_network_area_region_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_area_route_payload.go b/services/iaas/model_create_network_area_route_payload.go index 8f3c3f332..d5333dab8 100644 --- a/services/iaas/model_create_network_area_route_payload.go +++ b/services/iaas/model_create_network_area_route_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_area_route_payload_test.go b/services/iaas/model_create_network_area_route_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_network_area_route_payload_test.go +++ b/services/iaas/model_create_network_area_route_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_ipv4.go b/services/iaas/model_create_network_ipv4.go index a169d5c5f..a7bbd85c9 100644 --- a/services/iaas/model_create_network_ipv4.go +++ b/services/iaas/model_create_network_ipv4.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_ipv4_test.go b/services/iaas/model_create_network_ipv4_test.go index 8fec9b19a..2db283443 100644 --- a/services/iaas/model_create_network_ipv4_test.go +++ b/services/iaas/model_create_network_ipv4_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_ipv4_with_prefix.go b/services/iaas/model_create_network_ipv4_with_prefix.go index a57491770..d7ef2a2f5 100644 --- a/services/iaas/model_create_network_ipv4_with_prefix.go +++ b/services/iaas/model_create_network_ipv4_with_prefix.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_ipv4_with_prefix_length.go b/services/iaas/model_create_network_ipv4_with_prefix_length.go index f9bc05ef5..d93475fb4 100644 --- a/services/iaas/model_create_network_ipv4_with_prefix_length.go +++ b/services/iaas/model_create_network_ipv4_with_prefix_length.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_ipv4_with_prefix_length_test.go b/services/iaas/model_create_network_ipv4_with_prefix_length_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_network_ipv4_with_prefix_length_test.go +++ b/services/iaas/model_create_network_ipv4_with_prefix_length_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_ipv4_with_prefix_test.go b/services/iaas/model_create_network_ipv4_with_prefix_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_network_ipv4_with_prefix_test.go +++ b/services/iaas/model_create_network_ipv4_with_prefix_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_ipv6.go b/services/iaas/model_create_network_ipv6.go index 18d228514..4b81c0da0 100644 --- a/services/iaas/model_create_network_ipv6.go +++ b/services/iaas/model_create_network_ipv6.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_ipv6_test.go b/services/iaas/model_create_network_ipv6_test.go index 658d198b2..b1a5a1572 100644 --- a/services/iaas/model_create_network_ipv6_test.go +++ b/services/iaas/model_create_network_ipv6_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_ipv6_with_prefix.go b/services/iaas/model_create_network_ipv6_with_prefix.go index a3328308e..7a4c37074 100644 --- a/services/iaas/model_create_network_ipv6_with_prefix.go +++ b/services/iaas/model_create_network_ipv6_with_prefix.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_ipv6_with_prefix_length.go b/services/iaas/model_create_network_ipv6_with_prefix_length.go index 8e6d55899..1c992be33 100644 --- a/services/iaas/model_create_network_ipv6_with_prefix_length.go +++ b/services/iaas/model_create_network_ipv6_with_prefix_length.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_ipv6_with_prefix_length_test.go b/services/iaas/model_create_network_ipv6_with_prefix_length_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_network_ipv6_with_prefix_length_test.go +++ b/services/iaas/model_create_network_ipv6_with_prefix_length_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_ipv6_with_prefix_test.go b/services/iaas/model_create_network_ipv6_with_prefix_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_network_ipv6_with_prefix_test.go +++ b/services/iaas/model_create_network_ipv6_with_prefix_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_payload.go b/services/iaas/model_create_network_payload.go index 1eb525e0c..caf7ec2c4 100644 --- a/services/iaas/model_create_network_payload.go +++ b/services/iaas/model_create_network_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_network_payload_test.go b/services/iaas/model_create_network_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_network_payload_test.go +++ b/services/iaas/model_create_network_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_nic_payload.go b/services/iaas/model_create_nic_payload.go index 00f4cbd12..10949dd20 100644 --- a/services/iaas/model_create_nic_payload.go +++ b/services/iaas/model_create_nic_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_nic_payload_test.go b/services/iaas/model_create_nic_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_nic_payload_test.go +++ b/services/iaas/model_create_nic_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_protocol.go b/services/iaas/model_create_protocol.go index 6b7cd6370..e70dd9ab7 100644 --- a/services/iaas/model_create_protocol.go +++ b/services/iaas/model_create_protocol.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_protocol_test.go b/services/iaas/model_create_protocol_test.go index 2bb721294..8b6faab8f 100644 --- a/services/iaas/model_create_protocol_test.go +++ b/services/iaas/model_create_protocol_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_public_ip_payload.go b/services/iaas/model_create_public_ip_payload.go index d5774528e..9eb12088d 100644 --- a/services/iaas/model_create_public_ip_payload.go +++ b/services/iaas/model_create_public_ip_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_public_ip_payload_test.go b/services/iaas/model_create_public_ip_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_public_ip_payload_test.go +++ b/services/iaas/model_create_public_ip_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_security_group_payload.go b/services/iaas/model_create_security_group_payload.go index 9016a7ad8..71c6c6bf2 100644 --- a/services/iaas/model_create_security_group_payload.go +++ b/services/iaas/model_create_security_group_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_security_group_payload_test.go b/services/iaas/model_create_security_group_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_security_group_payload_test.go +++ b/services/iaas/model_create_security_group_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_security_group_rule_payload.go b/services/iaas/model_create_security_group_rule_payload.go index 32175cb06..f2aba603c 100644 --- a/services/iaas/model_create_security_group_rule_payload.go +++ b/services/iaas/model_create_security_group_rule_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_security_group_rule_payload_test.go b/services/iaas/model_create_security_group_rule_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_security_group_rule_payload_test.go +++ b/services/iaas/model_create_security_group_rule_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_security_group_rule_protocol.go b/services/iaas/model_create_security_group_rule_protocol.go index 61cf85373..4477434ea 100644 --- a/services/iaas/model_create_security_group_rule_protocol.go +++ b/services/iaas/model_create_security_group_rule_protocol.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_security_group_rule_protocol_test.go b/services/iaas/model_create_security_group_rule_protocol_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_security_group_rule_protocol_test.go +++ b/services/iaas/model_create_security_group_rule_protocol_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_server_networking.go b/services/iaas/model_create_server_networking.go index 542e65471..fbbea4990 100644 --- a/services/iaas/model_create_server_networking.go +++ b/services/iaas/model_create_server_networking.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_server_networking_test.go b/services/iaas/model_create_server_networking_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_server_networking_test.go +++ b/services/iaas/model_create_server_networking_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_server_networking_with_nics.go b/services/iaas/model_create_server_networking_with_nics.go index adff5ea41..b617acef8 100644 --- a/services/iaas/model_create_server_networking_with_nics.go +++ b/services/iaas/model_create_server_networking_with_nics.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_server_networking_with_nics_test.go b/services/iaas/model_create_server_networking_with_nics_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_server_networking_with_nics_test.go +++ b/services/iaas/model_create_server_networking_with_nics_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_server_payload.go b/services/iaas/model_create_server_payload.go index 2e38fd194..4d631ff8c 100644 --- a/services/iaas/model_create_server_payload.go +++ b/services/iaas/model_create_server_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_server_payload_all_of.go b/services/iaas/model_create_server_payload_all_of.go index e992961b4..323f4dbf4 100644 --- a/services/iaas/model_create_server_payload_all_of.go +++ b/services/iaas/model_create_server_payload_all_of.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_server_payload_all_of_networking.go b/services/iaas/model_create_server_payload_all_of_networking.go index 25336cf8c..3316a9f3d 100644 --- a/services/iaas/model_create_server_payload_all_of_networking.go +++ b/services/iaas/model_create_server_payload_all_of_networking.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_server_payload_all_of_networking_test.go b/services/iaas/model_create_server_payload_all_of_networking_test.go index 43a55f44e..d0d485ede 100644 --- a/services/iaas/model_create_server_payload_all_of_networking_test.go +++ b/services/iaas/model_create_server_payload_all_of_networking_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_server_payload_all_of_test.go b/services/iaas/model_create_server_payload_all_of_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_server_payload_all_of_test.go +++ b/services/iaas/model_create_server_payload_all_of_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_server_payload_test.go b/services/iaas/model_create_server_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_server_payload_test.go +++ b/services/iaas/model_create_server_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_snapshot_payload.go b/services/iaas/model_create_snapshot_payload.go index 3293855dc..40ac21e12 100644 --- a/services/iaas/model_create_snapshot_payload.go +++ b/services/iaas/model_create_snapshot_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_snapshot_payload_test.go b/services/iaas/model_create_snapshot_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_snapshot_payload_test.go +++ b/services/iaas/model_create_snapshot_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_volume_payload.go b/services/iaas/model_create_volume_payload.go index 48a046db4..caaa2c126 100644 --- a/services/iaas/model_create_volume_payload.go +++ b/services/iaas/model_create_volume_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_create_volume_payload_test.go b/services/iaas/model_create_volume_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_create_volume_payload_test.go +++ b/services/iaas/model_create_volume_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_destination_cidrv4.go b/services/iaas/model_destination_cidrv4.go index a2cce9d1e..fbb8ca839 100644 --- a/services/iaas/model_destination_cidrv4.go +++ b/services/iaas/model_destination_cidrv4.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_destination_cidrv4_test.go b/services/iaas/model_destination_cidrv4_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_destination_cidrv4_test.go +++ b/services/iaas/model_destination_cidrv4_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_destination_cidrv6.go b/services/iaas/model_destination_cidrv6.go index 90fbc94a8..dc4555f7f 100644 --- a/services/iaas/model_destination_cidrv6.go +++ b/services/iaas/model_destination_cidrv6.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_destination_cidrv6_test.go b/services/iaas/model_destination_cidrv6_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_destination_cidrv6_test.go +++ b/services/iaas/model_destination_cidrv6_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_error.go b/services/iaas/model_error.go index 7c01cddf5..28ebb9044 100644 --- a/services/iaas/model_error.go +++ b/services/iaas/model_error.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_error_test.go b/services/iaas/model_error_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_error_test.go +++ b/services/iaas/model_error_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_get_server_log_200_response.go b/services/iaas/model_get_server_log_200_response.go index 5d82b69af..b185e5e27 100644 --- a/services/iaas/model_get_server_log_200_response.go +++ b/services/iaas/model_get_server_log_200_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_get_server_log_200_response_test.go b/services/iaas/model_get_server_log_200_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_get_server_log_200_response_test.go +++ b/services/iaas/model_get_server_log_200_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_icmp_parameters.go b/services/iaas/model_icmp_parameters.go index 90ebc8068..c62bff652 100644 --- a/services/iaas/model_icmp_parameters.go +++ b/services/iaas/model_icmp_parameters.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_icmp_parameters_test.go b/services/iaas/model_icmp_parameters_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_icmp_parameters_test.go +++ b/services/iaas/model_icmp_parameters_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image.go b/services/iaas/model_image.go index 18c2eeffc..1135b5e31 100644 --- a/services/iaas/model_image.go +++ b/services/iaas/model_image.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image_agent.go b/services/iaas/model_image_agent.go index 3f1ccf81a..dcd862fb6 100644 --- a/services/iaas/model_image_agent.go +++ b/services/iaas/model_image_agent.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image_agent_test.go b/services/iaas/model_image_agent_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_image_agent_test.go +++ b/services/iaas/model_image_agent_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image_checksum.go b/services/iaas/model_image_checksum.go index e08021819..ca733b5c6 100644 --- a/services/iaas/model_image_checksum.go +++ b/services/iaas/model_image_checksum.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image_checksum_test.go b/services/iaas/model_image_checksum_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_image_checksum_test.go +++ b/services/iaas/model_image_checksum_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image_config.go b/services/iaas/model_image_config.go index 9e4aca234..ad7bd89a2 100644 --- a/services/iaas/model_image_config.go +++ b/services/iaas/model_image_config.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image_config_test.go b/services/iaas/model_image_config_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_image_config_test.go +++ b/services/iaas/model_image_config_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image_create_response.go b/services/iaas/model_image_create_response.go index 066c95222..0845d7e40 100644 --- a/services/iaas/model_image_create_response.go +++ b/services/iaas/model_image_create_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image_create_response_test.go b/services/iaas/model_image_create_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_image_create_response_test.go +++ b/services/iaas/model_image_create_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image_from_volume_payload.go b/services/iaas/model_image_from_volume_payload.go new file mode 100644 index 000000000..3aa7078dc --- /dev/null +++ b/services/iaas/model_image_from_volume_payload.go @@ -0,0 +1,226 @@ +/* +STACKIT IaaS API + +This API allows you to create and modify IaaS resources. + +API version: 2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package iaas + +import ( + "encoding/json" +) + +// checks if the ImageFromVolumePayload type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ImageFromVolumePayload{} + +/* + types and functions for diskFormat +*/ + +// isNotNullableString +type ImageFromVolumePayloadGetDiskFormatAttributeType = *string + +func getImageFromVolumePayloadGetDiskFormatAttributeTypeOk(arg ImageFromVolumePayloadGetDiskFormatAttributeType) (ret ImageFromVolumePayloadGetDiskFormatRetType, ok bool) { + if arg == nil { + return ret, false + } + return *arg, true +} + +func setImageFromVolumePayloadGetDiskFormatAttributeType(arg *ImageFromVolumePayloadGetDiskFormatAttributeType, val ImageFromVolumePayloadGetDiskFormatRetType) { + *arg = &val +} + +type ImageFromVolumePayloadGetDiskFormatArgType = string +type ImageFromVolumePayloadGetDiskFormatRetType = string + +/* + types and functions for name +*/ + +// isNotNullableString +type ImageFromVolumePayloadGetNameAttributeType = *string + +func getImageFromVolumePayloadGetNameAttributeTypeOk(arg ImageFromVolumePayloadGetNameAttributeType) (ret ImageFromVolumePayloadGetNameRetType, ok bool) { + if arg == nil { + return ret, false + } + return *arg, true +} + +func setImageFromVolumePayloadGetNameAttributeType(arg *ImageFromVolumePayloadGetNameAttributeType, val ImageFromVolumePayloadGetNameRetType) { + *arg = &val +} + +type ImageFromVolumePayloadGetNameArgType = string +type ImageFromVolumePayloadGetNameRetType = string + +/* + types and functions for protected +*/ + +// isBoolean +type ImageFromVolumePayloadgetProtectedAttributeType = *bool +type ImageFromVolumePayloadgetProtectedArgType = bool +type ImageFromVolumePayloadgetProtectedRetType = bool + +func getImageFromVolumePayloadgetProtectedAttributeTypeOk(arg ImageFromVolumePayloadgetProtectedAttributeType) (ret ImageFromVolumePayloadgetProtectedRetType, ok bool) { + if arg == nil { + return ret, false + } + return *arg, true +} + +func setImageFromVolumePayloadgetProtectedAttributeType(arg *ImageFromVolumePayloadgetProtectedAttributeType, val ImageFromVolumePayloadgetProtectedRetType) { + *arg = &val +} + +// ImageFromVolumePayload Object that represents the upload request of an image to a volume. Used for creating an image from a volume. +type ImageFromVolumePayload struct { + // Object that represents a disk format. Possible values: `raw`, `qcow2`, `iso`. + DiskFormat ImageFromVolumePayloadGetDiskFormatAttributeType `json:"diskFormat,omitempty"` + // The name for a General Object. Matches Names and also UUIDs. + // REQUIRED + Name ImageFromVolumePayloadGetNameAttributeType `json:"name" required:"true"` + // When true the created image is prevented from being deleted. + Protected ImageFromVolumePayloadgetProtectedAttributeType `json:"protected,omitempty"` +} + +type _ImageFromVolumePayload ImageFromVolumePayload + +// NewImageFromVolumePayload instantiates a new ImageFromVolumePayload object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewImageFromVolumePayload(name ImageFromVolumePayloadGetNameArgType) *ImageFromVolumePayload { + this := ImageFromVolumePayload{} + setImageFromVolumePayloadGetNameAttributeType(&this.Name, name) + return &this +} + +// NewImageFromVolumePayloadWithDefaults instantiates a new ImageFromVolumePayload object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewImageFromVolumePayloadWithDefaults() *ImageFromVolumePayload { + this := ImageFromVolumePayload{} + var protected bool = false + this.Protected = &protected + return &this +} + +// GetDiskFormat returns the DiskFormat field value if set, zero value otherwise. +func (o *ImageFromVolumePayload) GetDiskFormat() (res ImageFromVolumePayloadGetDiskFormatRetType) { + res, _ = o.GetDiskFormatOk() + return +} + +// GetDiskFormatOk returns a tuple with the DiskFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ImageFromVolumePayload) GetDiskFormatOk() (ret ImageFromVolumePayloadGetDiskFormatRetType, ok bool) { + return getImageFromVolumePayloadGetDiskFormatAttributeTypeOk(o.DiskFormat) +} + +// HasDiskFormat returns a boolean if a field has been set. +func (o *ImageFromVolumePayload) HasDiskFormat() bool { + _, ok := o.GetDiskFormatOk() + return ok +} + +// SetDiskFormat gets a reference to the given string and assigns it to the DiskFormat field. +func (o *ImageFromVolumePayload) SetDiskFormat(v ImageFromVolumePayloadGetDiskFormatRetType) { + setImageFromVolumePayloadGetDiskFormatAttributeType(&o.DiskFormat, v) +} + +// GetName returns the Name field value +func (o *ImageFromVolumePayload) GetName() (ret ImageFromVolumePayloadGetNameRetType) { + ret, _ = o.GetNameOk() + return ret +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *ImageFromVolumePayload) GetNameOk() (ret ImageFromVolumePayloadGetNameRetType, ok bool) { + return getImageFromVolumePayloadGetNameAttributeTypeOk(o.Name) +} + +// SetName sets field value +func (o *ImageFromVolumePayload) SetName(v ImageFromVolumePayloadGetNameRetType) { + setImageFromVolumePayloadGetNameAttributeType(&o.Name, v) +} + +// GetProtected returns the Protected field value if set, zero value otherwise. +func (o *ImageFromVolumePayload) GetProtected() (res ImageFromVolumePayloadgetProtectedRetType) { + res, _ = o.GetProtectedOk() + return +} + +// GetProtectedOk returns a tuple with the Protected field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ImageFromVolumePayload) GetProtectedOk() (ret ImageFromVolumePayloadgetProtectedRetType, ok bool) { + return getImageFromVolumePayloadgetProtectedAttributeTypeOk(o.Protected) +} + +// HasProtected returns a boolean if a field has been set. +func (o *ImageFromVolumePayload) HasProtected() bool { + _, ok := o.GetProtectedOk() + return ok +} + +// SetProtected gets a reference to the given bool and assigns it to the Protected field. +func (o *ImageFromVolumePayload) SetProtected(v ImageFromVolumePayloadgetProtectedRetType) { + setImageFromVolumePayloadgetProtectedAttributeType(&o.Protected, v) +} + +func (o ImageFromVolumePayload) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if val, ok := getImageFromVolumePayloadGetDiskFormatAttributeTypeOk(o.DiskFormat); ok { + toSerialize["DiskFormat"] = val + } + if val, ok := getImageFromVolumePayloadGetNameAttributeTypeOk(o.Name); ok { + toSerialize["Name"] = val + } + if val, ok := getImageFromVolumePayloadgetProtectedAttributeTypeOk(o.Protected); ok { + toSerialize["Protected"] = val + } + return toSerialize, nil +} + +type NullableImageFromVolumePayload struct { + value *ImageFromVolumePayload + isSet bool +} + +func (v NullableImageFromVolumePayload) Get() *ImageFromVolumePayload { + return v.value +} + +func (v *NullableImageFromVolumePayload) Set(val *ImageFromVolumePayload) { + v.value = val + v.isSet = true +} + +func (v NullableImageFromVolumePayload) IsSet() bool { + return v.isSet +} + +func (v *NullableImageFromVolumePayload) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableImageFromVolumePayload(val *ImageFromVolumePayload) *NullableImageFromVolumePayload { + return &NullableImageFromVolumePayload{value: val, isSet: true} +} + +func (v NullableImageFromVolumePayload) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableImageFromVolumePayload) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/services/iaas/model_image_from_volume_payload_test.go b/services/iaas/model_image_from_volume_payload_test.go new file mode 100644 index 000000000..603b15988 --- /dev/null +++ b/services/iaas/model_image_from_volume_payload_test.go @@ -0,0 +1,11 @@ +/* +STACKIT IaaS API + +This API allows you to create and modify IaaS resources. + +API version: 2 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package iaas diff --git a/services/iaas/model_image_list_response.go b/services/iaas/model_image_list_response.go index b00b3cbe2..5b1b6b1da 100644 --- a/services/iaas/model_image_list_response.go +++ b/services/iaas/model_image_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image_list_response_test.go b/services/iaas/model_image_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_image_list_response_test.go +++ b/services/iaas/model_image_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image_share.go b/services/iaas/model_image_share.go index 5a0cee26f..0e6901fdd 100644 --- a/services/iaas/model_image_share.go +++ b/services/iaas/model_image_share.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image_share_consumer.go b/services/iaas/model_image_share_consumer.go index a88b88ad7..01590e648 100644 --- a/services/iaas/model_image_share_consumer.go +++ b/services/iaas/model_image_share_consumer.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image_share_consumer_test.go b/services/iaas/model_image_share_consumer_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_image_share_consumer_test.go +++ b/services/iaas/model_image_share_consumer_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image_share_test.go b/services/iaas/model_image_share_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_image_share_test.go +++ b/services/iaas/model_image_share_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_image_test.go b/services/iaas/model_image_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_image_test.go +++ b/services/iaas/model_image_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_key_pair_list_response.go b/services/iaas/model_key_pair_list_response.go index 0c268259a..0486cc794 100644 --- a/services/iaas/model_key_pair_list_response.go +++ b/services/iaas/model_key_pair_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_key_pair_list_response_test.go b/services/iaas/model_key_pair_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_key_pair_list_response_test.go +++ b/services/iaas/model_key_pair_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_keypair.go b/services/iaas/model_keypair.go index 0a9dcb65f..0ee9e25ed 100644 --- a/services/iaas/model_keypair.go +++ b/services/iaas/model_keypair.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_keypair_test.go b/services/iaas/model_keypair_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_keypair_test.go +++ b/services/iaas/model_keypair_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_machine_type.go b/services/iaas/model_machine_type.go index 111d1ac21..e28ec475d 100644 --- a/services/iaas/model_machine_type.go +++ b/services/iaas/model_machine_type.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_machine_type_list_response.go b/services/iaas/model_machine_type_list_response.go index c0d9f41a1..fa9154cca 100644 --- a/services/iaas/model_machine_type_list_response.go +++ b/services/iaas/model_machine_type_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_machine_type_list_response_test.go b/services/iaas/model_machine_type_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_machine_type_list_response_test.go +++ b/services/iaas/model_machine_type_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_machine_type_test.go b/services/iaas/model_machine_type_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_machine_type_test.go +++ b/services/iaas/model_machine_type_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network.go b/services/iaas/model_network.go index cf269411c..de1587ec6 100644 --- a/services/iaas/model_network.go +++ b/services/iaas/model_network.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network_area.go b/services/iaas/model_network_area.go index 054fcce75..ba04be3eb 100644 --- a/services/iaas/model_network_area.go +++ b/services/iaas/model_network_area.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network_area_list_response.go b/services/iaas/model_network_area_list_response.go index ba1dac04f..41efb20c9 100644 --- a/services/iaas/model_network_area_list_response.go +++ b/services/iaas/model_network_area_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network_area_list_response_test.go b/services/iaas/model_network_area_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_network_area_list_response_test.go +++ b/services/iaas/model_network_area_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network_area_test.go b/services/iaas/model_network_area_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_network_area_test.go +++ b/services/iaas/model_network_area_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network_ipv4.go b/services/iaas/model_network_ipv4.go index e7eaf8204..e29985e4d 100644 --- a/services/iaas/model_network_ipv4.go +++ b/services/iaas/model_network_ipv4.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network_ipv4_test.go b/services/iaas/model_network_ipv4_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_network_ipv4_test.go +++ b/services/iaas/model_network_ipv4_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network_ipv6.go b/services/iaas/model_network_ipv6.go index 722744622..af815c708 100644 --- a/services/iaas/model_network_ipv6.go +++ b/services/iaas/model_network_ipv6.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network_ipv6_test.go b/services/iaas/model_network_ipv6_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_network_ipv6_test.go +++ b/services/iaas/model_network_ipv6_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network_list_response.go b/services/iaas/model_network_list_response.go index 6fcec490d..c09e64f21 100644 --- a/services/iaas/model_network_list_response.go +++ b/services/iaas/model_network_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network_list_response_test.go b/services/iaas/model_network_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_network_list_response_test.go +++ b/services/iaas/model_network_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network_range.go b/services/iaas/model_network_range.go index 9f68dddb1..dac418482 100644 --- a/services/iaas/model_network_range.go +++ b/services/iaas/model_network_range.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network_range_list_response.go b/services/iaas/model_network_range_list_response.go index 1b0132fcb..723ed45d0 100644 --- a/services/iaas/model_network_range_list_response.go +++ b/services/iaas/model_network_range_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network_range_list_response_test.go b/services/iaas/model_network_range_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_network_range_list_response_test.go +++ b/services/iaas/model_network_range_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network_range_test.go b/services/iaas/model_network_range_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_network_range_test.go +++ b/services/iaas/model_network_range_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_network_test.go b/services/iaas/model_network_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_network_test.go +++ b/services/iaas/model_network_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_nexthop_blackhole.go b/services/iaas/model_nexthop_blackhole.go index 8b2954913..cd23f141f 100644 --- a/services/iaas/model_nexthop_blackhole.go +++ b/services/iaas/model_nexthop_blackhole.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_nexthop_blackhole_test.go b/services/iaas/model_nexthop_blackhole_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_nexthop_blackhole_test.go +++ b/services/iaas/model_nexthop_blackhole_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_nexthop_internet.go b/services/iaas/model_nexthop_internet.go index e4809b677..ec9502645 100644 --- a/services/iaas/model_nexthop_internet.go +++ b/services/iaas/model_nexthop_internet.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_nexthop_internet_test.go b/services/iaas/model_nexthop_internet_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_nexthop_internet_test.go +++ b/services/iaas/model_nexthop_internet_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_nexthop_ipv4.go b/services/iaas/model_nexthop_ipv4.go index dc4d69f56..4cb4ccb25 100644 --- a/services/iaas/model_nexthop_ipv4.go +++ b/services/iaas/model_nexthop_ipv4.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_nexthop_ipv4_test.go b/services/iaas/model_nexthop_ipv4_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_nexthop_ipv4_test.go +++ b/services/iaas/model_nexthop_ipv4_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_nexthop_ipv6.go b/services/iaas/model_nexthop_ipv6.go index abe97129c..48f650da0 100644 --- a/services/iaas/model_nexthop_ipv6.go +++ b/services/iaas/model_nexthop_ipv6.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_nexthop_ipv6_test.go b/services/iaas/model_nexthop_ipv6_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_nexthop_ipv6_test.go +++ b/services/iaas/model_nexthop_ipv6_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_nic.go b/services/iaas/model_nic.go index 1cb718d0a..8781804cd 100644 --- a/services/iaas/model_nic.go +++ b/services/iaas/model_nic.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_nic_list_response.go b/services/iaas/model_nic_list_response.go index 70d7cab7f..6dd5b975c 100644 --- a/services/iaas/model_nic_list_response.go +++ b/services/iaas/model_nic_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_nic_list_response_test.go b/services/iaas/model_nic_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_nic_list_response_test.go +++ b/services/iaas/model_nic_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_nic_test.go b/services/iaas/model_nic_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_nic_test.go +++ b/services/iaas/model_nic_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_partial_update_network_area_payload.go b/services/iaas/model_partial_update_network_area_payload.go index 33e2196b4..eff6e5de0 100644 --- a/services/iaas/model_partial_update_network_area_payload.go +++ b/services/iaas/model_partial_update_network_area_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_partial_update_network_area_payload_test.go b/services/iaas/model_partial_update_network_area_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_partial_update_network_area_payload_test.go +++ b/services/iaas/model_partial_update_network_area_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_partial_update_network_payload.go b/services/iaas/model_partial_update_network_payload.go index 83d5321f8..6775d6f80 100644 --- a/services/iaas/model_partial_update_network_payload.go +++ b/services/iaas/model_partial_update_network_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_partial_update_network_payload_test.go b/services/iaas/model_partial_update_network_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_partial_update_network_payload_test.go +++ b/services/iaas/model_partial_update_network_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_port_range.go b/services/iaas/model_port_range.go index ad4f233ee..c01000e6a 100644 --- a/services/iaas/model_port_range.go +++ b/services/iaas/model_port_range.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_port_range_test.go b/services/iaas/model_port_range_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_port_range_test.go +++ b/services/iaas/model_port_range_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_project.go b/services/iaas/model_project.go index e4e428702..216a17742 100644 --- a/services/iaas/model_project.go +++ b/services/iaas/model_project.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_project_list_response.go b/services/iaas/model_project_list_response.go index d4192ec02..4de8d5c93 100644 --- a/services/iaas/model_project_list_response.go +++ b/services/iaas/model_project_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_project_list_response_test.go b/services/iaas/model_project_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_project_list_response_test.go +++ b/services/iaas/model_project_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_project_test.go b/services/iaas/model_project_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_project_test.go +++ b/services/iaas/model_project_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_protocol.go b/services/iaas/model_protocol.go index ee516de57..5dff069fc 100644 --- a/services/iaas/model_protocol.go +++ b/services/iaas/model_protocol.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_protocol_test.go b/services/iaas/model_protocol_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_protocol_test.go +++ b/services/iaas/model_protocol_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_public_ip.go b/services/iaas/model_public_ip.go index 023387e5e..5a1e7c20b 100644 --- a/services/iaas/model_public_ip.go +++ b/services/iaas/model_public_ip.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_public_ip_list_response.go b/services/iaas/model_public_ip_list_response.go index f0624192f..c3c33bd32 100644 --- a/services/iaas/model_public_ip_list_response.go +++ b/services/iaas/model_public_ip_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_public_ip_list_response_test.go b/services/iaas/model_public_ip_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_public_ip_list_response_test.go +++ b/services/iaas/model_public_ip_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_public_ip_test.go b/services/iaas/model_public_ip_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_public_ip_test.go +++ b/services/iaas/model_public_ip_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_public_network.go b/services/iaas/model_public_network.go index c84b840e4..4dc0854e4 100644 --- a/services/iaas/model_public_network.go +++ b/services/iaas/model_public_network.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_public_network_list_response.go b/services/iaas/model_public_network_list_response.go index db106788f..9135187ed 100644 --- a/services/iaas/model_public_network_list_response.go +++ b/services/iaas/model_public_network_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_public_network_list_response_test.go b/services/iaas/model_public_network_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_public_network_list_response_test.go +++ b/services/iaas/model_public_network_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_public_network_test.go b/services/iaas/model_public_network_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_public_network_test.go +++ b/services/iaas/model_public_network_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota.go b/services/iaas/model_quota.go index b1b822584..01101100b 100644 --- a/services/iaas/model_quota.go +++ b/services/iaas/model_quota.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list.go b/services/iaas/model_quota_list.go index 571365b7c..eb0f7c1e0 100644 --- a/services/iaas/model_quota_list.go +++ b/services/iaas/model_quota_list.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_backup_gigabytes.go b/services/iaas/model_quota_list_backup_gigabytes.go index 724132c78..4738947af 100644 --- a/services/iaas/model_quota_list_backup_gigabytes.go +++ b/services/iaas/model_quota_list_backup_gigabytes.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_backup_gigabytes_test.go b/services/iaas/model_quota_list_backup_gigabytes_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_quota_list_backup_gigabytes_test.go +++ b/services/iaas/model_quota_list_backup_gigabytes_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_backups.go b/services/iaas/model_quota_list_backups.go index 1b6a19d72..fad464a82 100644 --- a/services/iaas/model_quota_list_backups.go +++ b/services/iaas/model_quota_list_backups.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_backups_test.go b/services/iaas/model_quota_list_backups_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_quota_list_backups_test.go +++ b/services/iaas/model_quota_list_backups_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_gigabytes.go b/services/iaas/model_quota_list_gigabytes.go index 0dd6f3807..0fab93f0b 100644 --- a/services/iaas/model_quota_list_gigabytes.go +++ b/services/iaas/model_quota_list_gigabytes.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_gigabytes_test.go b/services/iaas/model_quota_list_gigabytes_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_quota_list_gigabytes_test.go +++ b/services/iaas/model_quota_list_gigabytes_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_networks.go b/services/iaas/model_quota_list_networks.go index 718406a70..79bac556a 100644 --- a/services/iaas/model_quota_list_networks.go +++ b/services/iaas/model_quota_list_networks.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_networks_test.go b/services/iaas/model_quota_list_networks_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_quota_list_networks_test.go +++ b/services/iaas/model_quota_list_networks_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_nics.go b/services/iaas/model_quota_list_nics.go index 5de358974..3f29e59f9 100644 --- a/services/iaas/model_quota_list_nics.go +++ b/services/iaas/model_quota_list_nics.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_nics_test.go b/services/iaas/model_quota_list_nics_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_quota_list_nics_test.go +++ b/services/iaas/model_quota_list_nics_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_public_ips.go b/services/iaas/model_quota_list_public_ips.go index 40667f8b9..290c9546b 100644 --- a/services/iaas/model_quota_list_public_ips.go +++ b/services/iaas/model_quota_list_public_ips.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_public_ips_test.go b/services/iaas/model_quota_list_public_ips_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_quota_list_public_ips_test.go +++ b/services/iaas/model_quota_list_public_ips_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_ram.go b/services/iaas/model_quota_list_ram.go index 148cb016d..fce02d359 100644 --- a/services/iaas/model_quota_list_ram.go +++ b/services/iaas/model_quota_list_ram.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_ram_test.go b/services/iaas/model_quota_list_ram_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_quota_list_ram_test.go +++ b/services/iaas/model_quota_list_ram_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_response.go b/services/iaas/model_quota_list_response.go index 75a23f980..c24b2339a 100644 --- a/services/iaas/model_quota_list_response.go +++ b/services/iaas/model_quota_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_response_test.go b/services/iaas/model_quota_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_quota_list_response_test.go +++ b/services/iaas/model_quota_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_security_group_rules.go b/services/iaas/model_quota_list_security_group_rules.go index ce9732f59..eed9d1eba 100644 --- a/services/iaas/model_quota_list_security_group_rules.go +++ b/services/iaas/model_quota_list_security_group_rules.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_security_group_rules_test.go b/services/iaas/model_quota_list_security_group_rules_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_quota_list_security_group_rules_test.go +++ b/services/iaas/model_quota_list_security_group_rules_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_security_groups.go b/services/iaas/model_quota_list_security_groups.go index f2f0c324c..8665ce043 100644 --- a/services/iaas/model_quota_list_security_groups.go +++ b/services/iaas/model_quota_list_security_groups.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_security_groups_test.go b/services/iaas/model_quota_list_security_groups_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_quota_list_security_groups_test.go +++ b/services/iaas/model_quota_list_security_groups_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_snapshots.go b/services/iaas/model_quota_list_snapshots.go index a31f0c1ab..79c442f52 100644 --- a/services/iaas/model_quota_list_snapshots.go +++ b/services/iaas/model_quota_list_snapshots.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_snapshots_test.go b/services/iaas/model_quota_list_snapshots_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_quota_list_snapshots_test.go +++ b/services/iaas/model_quota_list_snapshots_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_test.go b/services/iaas/model_quota_list_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_quota_list_test.go +++ b/services/iaas/model_quota_list_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_vcpu.go b/services/iaas/model_quota_list_vcpu.go index 62a869cc5..982d488cf 100644 --- a/services/iaas/model_quota_list_vcpu.go +++ b/services/iaas/model_quota_list_vcpu.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_vcpu_test.go b/services/iaas/model_quota_list_vcpu_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_quota_list_vcpu_test.go +++ b/services/iaas/model_quota_list_vcpu_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_volumes.go b/services/iaas/model_quota_list_volumes.go index 4c5d37414..318b09247 100644 --- a/services/iaas/model_quota_list_volumes.go +++ b/services/iaas/model_quota_list_volumes.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_list_volumes_test.go b/services/iaas/model_quota_list_volumes_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_quota_list_volumes_test.go +++ b/services/iaas/model_quota_list_volumes_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_quota_test.go b/services/iaas/model_quota_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_quota_test.go +++ b/services/iaas/model_quota_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_regional_area.go b/services/iaas/model_regional_area.go index 9877fcd0d..54bc296b8 100644 --- a/services/iaas/model_regional_area.go +++ b/services/iaas/model_regional_area.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_regional_area_ipv4.go b/services/iaas/model_regional_area_ipv4.go index 2c57d0536..9443075f3 100644 --- a/services/iaas/model_regional_area_ipv4.go +++ b/services/iaas/model_regional_area_ipv4.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_regional_area_ipv4_test.go b/services/iaas/model_regional_area_ipv4_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_regional_area_ipv4_test.go +++ b/services/iaas/model_regional_area_ipv4_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_regional_area_list_response.go b/services/iaas/model_regional_area_list_response.go index 1c0121cea..af17172ec 100644 --- a/services/iaas/model_regional_area_list_response.go +++ b/services/iaas/model_regional_area_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_regional_area_list_response_test.go b/services/iaas/model_regional_area_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_regional_area_list_response_test.go +++ b/services/iaas/model_regional_area_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_regional_area_test.go b/services/iaas/model_regional_area_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_regional_area_test.go +++ b/services/iaas/model_regional_area_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_request.go b/services/iaas/model_request.go index f3ef9c0e6..794a17854 100644 --- a/services/iaas/model_request.go +++ b/services/iaas/model_request.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_request_resource.go b/services/iaas/model_request_resource.go index 585ce7933..0ac7a79b0 100644 --- a/services/iaas/model_request_resource.go +++ b/services/iaas/model_request_resource.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_request_resource_test.go b/services/iaas/model_request_resource_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_request_resource_test.go +++ b/services/iaas/model_request_resource_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_request_test.go b/services/iaas/model_request_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_request_test.go +++ b/services/iaas/model_request_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_rescue_server_payload.go b/services/iaas/model_rescue_server_payload.go index 973b22711..a3c1a0ade 100644 --- a/services/iaas/model_rescue_server_payload.go +++ b/services/iaas/model_rescue_server_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_rescue_server_payload_test.go b/services/iaas/model_rescue_server_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_rescue_server_payload_test.go +++ b/services/iaas/model_rescue_server_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_resize_server_payload.go b/services/iaas/model_resize_server_payload.go index de2742b35..43d44b431 100644 --- a/services/iaas/model_resize_server_payload.go +++ b/services/iaas/model_resize_server_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_resize_server_payload_test.go b/services/iaas/model_resize_server_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_resize_server_payload_test.go +++ b/services/iaas/model_resize_server_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_resize_volume_payload.go b/services/iaas/model_resize_volume_payload.go index 1e5e604ad..84b72bf8d 100644 --- a/services/iaas/model_resize_volume_payload.go +++ b/services/iaas/model_resize_volume_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_resize_volume_payload_test.go b/services/iaas/model_resize_volume_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_resize_volume_payload_test.go +++ b/services/iaas/model_resize_volume_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_route.go b/services/iaas/model_route.go index 76af10580..e59b9d4f6 100644 --- a/services/iaas/model_route.go +++ b/services/iaas/model_route.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_route_destination.go b/services/iaas/model_route_destination.go index 2411d3a33..2768b1ffc 100644 --- a/services/iaas/model_route_destination.go +++ b/services/iaas/model_route_destination.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_route_destination_test.go b/services/iaas/model_route_destination_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_route_destination_test.go +++ b/services/iaas/model_route_destination_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_route_list_response.go b/services/iaas/model_route_list_response.go index abcafabc3..f087154e1 100644 --- a/services/iaas/model_route_list_response.go +++ b/services/iaas/model_route_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_route_list_response_test.go b/services/iaas/model_route_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_route_list_response_test.go +++ b/services/iaas/model_route_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_route_nexthop.go b/services/iaas/model_route_nexthop.go index 9eaab5df5..b353b89b3 100644 --- a/services/iaas/model_route_nexthop.go +++ b/services/iaas/model_route_nexthop.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_route_nexthop_test.go b/services/iaas/model_route_nexthop_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_route_nexthop_test.go +++ b/services/iaas/model_route_nexthop_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_route_test.go b/services/iaas/model_route_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_route_test.go +++ b/services/iaas/model_route_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_routing_table.go b/services/iaas/model_routing_table.go index db4983a01..8b1fbcdcb 100644 --- a/services/iaas/model_routing_table.go +++ b/services/iaas/model_routing_table.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. @@ -217,7 +217,8 @@ type RoutingTable struct { Labels RoutingTableGetLabelsAttributeType `json:"labels,omitempty"` // The name for a General Object. Matches Names and also UUIDs. // REQUIRED - Name RoutingTableGetNameAttributeType `json:"name" required:"true"` + Name RoutingTableGetNameAttributeType `json:"name" required:"true"` + // A config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA. SystemRoutes RoutingTablegetSystemRoutesAttributeType `json:"systemRoutes,omitempty"` // Date-time when resource was last updated. UpdatedAt RoutingTableGetUpdatedAtAttributeType `json:"updatedAt,omitempty"` diff --git a/services/iaas/model_routing_table_list_response.go b/services/iaas/model_routing_table_list_response.go index 802c8b8c0..6f77d210e 100644 --- a/services/iaas/model_routing_table_list_response.go +++ b/services/iaas/model_routing_table_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_routing_table_list_response_test.go b/services/iaas/model_routing_table_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_routing_table_list_response_test.go +++ b/services/iaas/model_routing_table_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_routing_table_test.go b/services/iaas/model_routing_table_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_routing_table_test.go +++ b/services/iaas/model_routing_table_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_security_group.go b/services/iaas/model_security_group.go index 62fe69b8b..9710bce02 100644 --- a/services/iaas/model_security_group.go +++ b/services/iaas/model_security_group.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_security_group_list_response.go b/services/iaas/model_security_group_list_response.go index b7875d576..b2fcf2fc7 100644 --- a/services/iaas/model_security_group_list_response.go +++ b/services/iaas/model_security_group_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_security_group_list_response_test.go b/services/iaas/model_security_group_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_security_group_list_response_test.go +++ b/services/iaas/model_security_group_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_security_group_rule.go b/services/iaas/model_security_group_rule.go index ac143ec47..417b3549c 100644 --- a/services/iaas/model_security_group_rule.go +++ b/services/iaas/model_security_group_rule.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_security_group_rule_list_response.go b/services/iaas/model_security_group_rule_list_response.go index b8647242c..587bbb05e 100644 --- a/services/iaas/model_security_group_rule_list_response.go +++ b/services/iaas/model_security_group_rule_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_security_group_rule_list_response_test.go b/services/iaas/model_security_group_rule_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_security_group_rule_list_response_test.go +++ b/services/iaas/model_security_group_rule_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_security_group_rule_protocol.go b/services/iaas/model_security_group_rule_protocol.go index f2d88d02f..835740902 100644 --- a/services/iaas/model_security_group_rule_protocol.go +++ b/services/iaas/model_security_group_rule_protocol.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_security_group_rule_protocol_test.go b/services/iaas/model_security_group_rule_protocol_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_security_group_rule_protocol_test.go +++ b/services/iaas/model_security_group_rule_protocol_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_security_group_rule_test.go b/services/iaas/model_security_group_rule_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_security_group_rule_test.go +++ b/services/iaas/model_security_group_rule_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_security_group_test.go b/services/iaas/model_security_group_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_security_group_test.go +++ b/services/iaas/model_security_group_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server.go b/services/iaas/model_server.go index 2fe94bf4f..2dda5c99c 100644 --- a/services/iaas/model_server.go +++ b/services/iaas/model_server.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server_agent.go b/services/iaas/model_server_agent.go index 163ed849a..e055eba52 100644 --- a/services/iaas/model_server_agent.go +++ b/services/iaas/model_server_agent.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server_agent_test.go b/services/iaas/model_server_agent_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_server_agent_test.go +++ b/services/iaas/model_server_agent_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server_boot_volume.go b/services/iaas/model_server_boot_volume.go index 138cfbfcc..933b03dda 100644 --- a/services/iaas/model_server_boot_volume.go +++ b/services/iaas/model_server_boot_volume.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server_boot_volume_test.go b/services/iaas/model_server_boot_volume_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_server_boot_volume_test.go +++ b/services/iaas/model_server_boot_volume_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server_console_url.go b/services/iaas/model_server_console_url.go index 2e0021af2..1392501ed 100644 --- a/services/iaas/model_server_console_url.go +++ b/services/iaas/model_server_console_url.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server_console_url_test.go b/services/iaas/model_server_console_url_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_server_console_url_test.go +++ b/services/iaas/model_server_console_url_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server_list_response.go b/services/iaas/model_server_list_response.go index 1f2009fca..bd8e29740 100644 --- a/services/iaas/model_server_list_response.go +++ b/services/iaas/model_server_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server_list_response_test.go b/services/iaas/model_server_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_server_list_response_test.go +++ b/services/iaas/model_server_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server_maintenance.go b/services/iaas/model_server_maintenance.go index fb47dc2ed..e81e4483b 100644 --- a/services/iaas/model_server_maintenance.go +++ b/services/iaas/model_server_maintenance.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server_maintenance_test.go b/services/iaas/model_server_maintenance_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_server_maintenance_test.go +++ b/services/iaas/model_server_maintenance_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server_network.go b/services/iaas/model_server_network.go index ddf221393..ebd610ba6 100644 --- a/services/iaas/model_server_network.go +++ b/services/iaas/model_server_network.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server_network_test.go b/services/iaas/model_server_network_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_server_network_test.go +++ b/services/iaas/model_server_network_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server_networking.go b/services/iaas/model_server_networking.go index 358eb5969..afad48268 100644 --- a/services/iaas/model_server_networking.go +++ b/services/iaas/model_server_networking.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server_networking_test.go b/services/iaas/model_server_networking_test.go index bd8a787ef..1b1c28c4f 100644 --- a/services/iaas/model_server_networking_test.go +++ b/services/iaas/model_server_networking_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_server_test.go b/services/iaas/model_server_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_server_test.go +++ b/services/iaas/model_server_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_service_account_mail_list_response.go b/services/iaas/model_service_account_mail_list_response.go index d22791fdb..3435a06c8 100644 --- a/services/iaas/model_service_account_mail_list_response.go +++ b/services/iaas/model_service_account_mail_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_service_account_mail_list_response_test.go b/services/iaas/model_service_account_mail_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_service_account_mail_list_response_test.go +++ b/services/iaas/model_service_account_mail_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_set_image_share_payload.go b/services/iaas/model_set_image_share_payload.go index ee7fc82e4..be6bd32e4 100644 --- a/services/iaas/model_set_image_share_payload.go +++ b/services/iaas/model_set_image_share_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_set_image_share_payload_test.go b/services/iaas/model_set_image_share_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_set_image_share_payload_test.go +++ b/services/iaas/model_set_image_share_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_snapshot.go b/services/iaas/model_snapshot.go index 29057c6cc..3acdf08bf 100644 --- a/services/iaas/model_snapshot.go +++ b/services/iaas/model_snapshot.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_snapshot_list_response.go b/services/iaas/model_snapshot_list_response.go index 53fa85e0a..a19b34b18 100644 --- a/services/iaas/model_snapshot_list_response.go +++ b/services/iaas/model_snapshot_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_snapshot_list_response_test.go b/services/iaas/model_snapshot_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_snapshot_list_response_test.go +++ b/services/iaas/model_snapshot_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_snapshot_test.go b/services/iaas/model_snapshot_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_snapshot_test.go +++ b/services/iaas/model_snapshot_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_static_area_id.go b/services/iaas/model_static_area_id.go index 9960b3d3b..b7fccaa8d 100644 --- a/services/iaas/model_static_area_id.go +++ b/services/iaas/model_static_area_id.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_static_area_id_test.go b/services/iaas/model_static_area_id_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_static_area_id_test.go +++ b/services/iaas/model_static_area_id_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_attached_volume_payload.go b/services/iaas/model_update_attached_volume_payload.go index 5254e10af..456ac1a74 100644 --- a/services/iaas/model_update_attached_volume_payload.go +++ b/services/iaas/model_update_attached_volume_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_attached_volume_payload_test.go b/services/iaas/model_update_attached_volume_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_attached_volume_payload_test.go +++ b/services/iaas/model_update_attached_volume_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_backup_payload.go b/services/iaas/model_update_backup_payload.go index e819da9e9..983e139f3 100644 --- a/services/iaas/model_update_backup_payload.go +++ b/services/iaas/model_update_backup_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_backup_payload_test.go b/services/iaas/model_update_backup_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_backup_payload_test.go +++ b/services/iaas/model_update_backup_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_image_payload.go b/services/iaas/model_update_image_payload.go index 482038237..2b724c802 100644 --- a/services/iaas/model_update_image_payload.go +++ b/services/iaas/model_update_image_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_image_payload_test.go b/services/iaas/model_update_image_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_image_payload_test.go +++ b/services/iaas/model_update_image_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_image_share_payload.go b/services/iaas/model_update_image_share_payload.go index 50947eb1f..e2b7e03bb 100644 --- a/services/iaas/model_update_image_share_payload.go +++ b/services/iaas/model_update_image_share_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_image_share_payload_test.go b/services/iaas/model_update_image_share_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_image_share_payload_test.go +++ b/services/iaas/model_update_image_share_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_key_pair_payload.go b/services/iaas/model_update_key_pair_payload.go index 92bf21c12..d9ba64346 100644 --- a/services/iaas/model_update_key_pair_payload.go +++ b/services/iaas/model_update_key_pair_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_key_pair_payload_test.go b/services/iaas/model_update_key_pair_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_key_pair_payload_test.go +++ b/services/iaas/model_update_key_pair_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_network_area_region_payload.go b/services/iaas/model_update_network_area_region_payload.go index a019ccf31..2173fc6f3 100644 --- a/services/iaas/model_update_network_area_region_payload.go +++ b/services/iaas/model_update_network_area_region_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_network_area_region_payload_test.go b/services/iaas/model_update_network_area_region_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_network_area_region_payload_test.go +++ b/services/iaas/model_update_network_area_region_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_network_area_route_payload.go b/services/iaas/model_update_network_area_route_payload.go index 0629a15ab..ca41496bb 100644 --- a/services/iaas/model_update_network_area_route_payload.go +++ b/services/iaas/model_update_network_area_route_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_network_area_route_payload_test.go b/services/iaas/model_update_network_area_route_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_network_area_route_payload_test.go +++ b/services/iaas/model_update_network_area_route_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_network_ipv4_body.go b/services/iaas/model_update_network_ipv4_body.go index 1687f535a..314eb7c2b 100644 --- a/services/iaas/model_update_network_ipv4_body.go +++ b/services/iaas/model_update_network_ipv4_body.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_network_ipv4_body_test.go b/services/iaas/model_update_network_ipv4_body_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_network_ipv4_body_test.go +++ b/services/iaas/model_update_network_ipv4_body_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_network_ipv6_body.go b/services/iaas/model_update_network_ipv6_body.go index 59d0d8052..dc6e004a8 100644 --- a/services/iaas/model_update_network_ipv6_body.go +++ b/services/iaas/model_update_network_ipv6_body.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_network_ipv6_body_test.go b/services/iaas/model_update_network_ipv6_body_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_network_ipv6_body_test.go +++ b/services/iaas/model_update_network_ipv6_body_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_nic_payload.go b/services/iaas/model_update_nic_payload.go index 4de966179..e13607838 100644 --- a/services/iaas/model_update_nic_payload.go +++ b/services/iaas/model_update_nic_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_nic_payload_test.go b/services/iaas/model_update_nic_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_nic_payload_test.go +++ b/services/iaas/model_update_nic_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_public_ip_payload.go b/services/iaas/model_update_public_ip_payload.go index afe67b7fe..efdc3e9c1 100644 --- a/services/iaas/model_update_public_ip_payload.go +++ b/services/iaas/model_update_public_ip_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_public_ip_payload_test.go b/services/iaas/model_update_public_ip_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_public_ip_payload_test.go +++ b/services/iaas/model_update_public_ip_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_regional_area_ipv4.go b/services/iaas/model_update_regional_area_ipv4.go index e4437a5d9..05d22f94a 100644 --- a/services/iaas/model_update_regional_area_ipv4.go +++ b/services/iaas/model_update_regional_area_ipv4.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_regional_area_ipv4_test.go b/services/iaas/model_update_regional_area_ipv4_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_regional_area_ipv4_test.go +++ b/services/iaas/model_update_regional_area_ipv4_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_route_of_routing_table_payload.go b/services/iaas/model_update_route_of_routing_table_payload.go index 9d7431571..210b684d5 100644 --- a/services/iaas/model_update_route_of_routing_table_payload.go +++ b/services/iaas/model_update_route_of_routing_table_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_route_of_routing_table_payload_test.go b/services/iaas/model_update_route_of_routing_table_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_route_of_routing_table_payload_test.go +++ b/services/iaas/model_update_route_of_routing_table_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_routing_table_of_area_payload.go b/services/iaas/model_update_routing_table_of_area_payload.go index 8ef54bd19..5a5c9978c 100644 --- a/services/iaas/model_update_routing_table_of_area_payload.go +++ b/services/iaas/model_update_routing_table_of_area_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. @@ -99,16 +99,38 @@ func setUpdateRoutingTableOfAreaPayloadGetNameAttributeType(arg *UpdateRoutingTa type UpdateRoutingTableOfAreaPayloadGetNameArgType = string type UpdateRoutingTableOfAreaPayloadGetNameRetType = string +/* + types and functions for systemRoutes +*/ + +// isBoolean +type UpdateRoutingTableOfAreaPayloadgetSystemRoutesAttributeType = *bool +type UpdateRoutingTableOfAreaPayloadgetSystemRoutesArgType = bool +type UpdateRoutingTableOfAreaPayloadgetSystemRoutesRetType = bool + +func getUpdateRoutingTableOfAreaPayloadgetSystemRoutesAttributeTypeOk(arg UpdateRoutingTableOfAreaPayloadgetSystemRoutesAttributeType) (ret UpdateRoutingTableOfAreaPayloadgetSystemRoutesRetType, ok bool) { + if arg == nil { + return ret, false + } + return *arg, true +} + +func setUpdateRoutingTableOfAreaPayloadgetSystemRoutesAttributeType(arg *UpdateRoutingTableOfAreaPayloadgetSystemRoutesAttributeType, val UpdateRoutingTableOfAreaPayloadgetSystemRoutesRetType) { + *arg = &val +} + // UpdateRoutingTableOfAreaPayload Object that represents the request body for a routing table update. type UpdateRoutingTableOfAreaPayload struct { // Description Object. Allows string up to 255 Characters. Description UpdateRoutingTableOfAreaPayloadGetDescriptionAttributeType `json:"description,omitempty"` - // A config setting for a routing table which allows propagation of dynamic routes to this routing table. + // The update config setting for a routing table which allows propagation of dynamic routes to this routing table. DynamicRoutes UpdateRoutingTableOfAreaPayloadgetDynamicRoutesAttributeType `json:"dynamicRoutes,omitempty"` // Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key. Labels UpdateRoutingTableOfAreaPayloadGetLabelsAttributeType `json:"labels,omitempty"` // The name for a General Object. Matches Names and also UUIDs. Name UpdateRoutingTableOfAreaPayloadGetNameAttributeType `json:"name,omitempty"` + // The update config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA. + SystemRoutes UpdateRoutingTableOfAreaPayloadgetSystemRoutesAttributeType `json:"systemRoutes,omitempty"` } // NewUpdateRoutingTableOfAreaPayload instantiates a new UpdateRoutingTableOfAreaPayload object @@ -125,8 +147,6 @@ func NewUpdateRoutingTableOfAreaPayload() *UpdateRoutingTableOfAreaPayload { // but it doesn't guarantee that properties required by API are set func NewUpdateRoutingTableOfAreaPayloadWithDefaults() *UpdateRoutingTableOfAreaPayload { this := UpdateRoutingTableOfAreaPayload{} - var dynamicRoutes bool = true - this.DynamicRoutes = &dynamicRoutes return &this } @@ -222,6 +242,29 @@ func (o *UpdateRoutingTableOfAreaPayload) SetName(v UpdateRoutingTableOfAreaPayl setUpdateRoutingTableOfAreaPayloadGetNameAttributeType(&o.Name, v) } +// GetSystemRoutes returns the SystemRoutes field value if set, zero value otherwise. +func (o *UpdateRoutingTableOfAreaPayload) GetSystemRoutes() (res UpdateRoutingTableOfAreaPayloadgetSystemRoutesRetType) { + res, _ = o.GetSystemRoutesOk() + return +} + +// GetSystemRoutesOk returns a tuple with the SystemRoutes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UpdateRoutingTableOfAreaPayload) GetSystemRoutesOk() (ret UpdateRoutingTableOfAreaPayloadgetSystemRoutesRetType, ok bool) { + return getUpdateRoutingTableOfAreaPayloadgetSystemRoutesAttributeTypeOk(o.SystemRoutes) +} + +// HasSystemRoutes returns a boolean if a field has been set. +func (o *UpdateRoutingTableOfAreaPayload) HasSystemRoutes() bool { + _, ok := o.GetSystemRoutesOk() + return ok +} + +// SetSystemRoutes gets a reference to the given bool and assigns it to the SystemRoutes field. +func (o *UpdateRoutingTableOfAreaPayload) SetSystemRoutes(v UpdateRoutingTableOfAreaPayloadgetSystemRoutesRetType) { + setUpdateRoutingTableOfAreaPayloadgetSystemRoutesAttributeType(&o.SystemRoutes, v) +} + func (o UpdateRoutingTableOfAreaPayload) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} if val, ok := getUpdateRoutingTableOfAreaPayloadGetDescriptionAttributeTypeOk(o.Description); ok { @@ -236,6 +279,9 @@ func (o UpdateRoutingTableOfAreaPayload) ToMap() (map[string]interface{}, error) if val, ok := getUpdateRoutingTableOfAreaPayloadGetNameAttributeTypeOk(o.Name); ok { toSerialize["Name"] = val } + if val, ok := getUpdateRoutingTableOfAreaPayloadgetSystemRoutesAttributeTypeOk(o.SystemRoutes); ok { + toSerialize["SystemRoutes"] = val + } return toSerialize, nil } diff --git a/services/iaas/model_update_routing_table_of_area_payload_test.go b/services/iaas/model_update_routing_table_of_area_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_routing_table_of_area_payload_test.go +++ b/services/iaas/model_update_routing_table_of_area_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_security_group_payload.go b/services/iaas/model_update_security_group_payload.go index 8bc1db9e9..8ba1f5131 100644 --- a/services/iaas/model_update_security_group_payload.go +++ b/services/iaas/model_update_security_group_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_security_group_payload_test.go b/services/iaas/model_update_security_group_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_security_group_payload_test.go +++ b/services/iaas/model_update_security_group_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_server_payload.go b/services/iaas/model_update_server_payload.go index 9362cbcec..41024fa9d 100644 --- a/services/iaas/model_update_server_payload.go +++ b/services/iaas/model_update_server_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_server_payload_test.go b/services/iaas/model_update_server_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_server_payload_test.go +++ b/services/iaas/model_update_server_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_snapshot_payload.go b/services/iaas/model_update_snapshot_payload.go index d758b4dd0..dff31d71c 100644 --- a/services/iaas/model_update_snapshot_payload.go +++ b/services/iaas/model_update_snapshot_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_snapshot_payload_test.go b/services/iaas/model_update_snapshot_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_snapshot_payload_test.go +++ b/services/iaas/model_update_snapshot_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_volume_payload.go b/services/iaas/model_update_volume_payload.go index cdd6183f5..55afc7701 100644 --- a/services/iaas/model_update_volume_payload.go +++ b/services/iaas/model_update_volume_payload.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_update_volume_payload_test.go b/services/iaas/model_update_volume_payload_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_update_volume_payload_test.go +++ b/services/iaas/model_update_volume_payload_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume.go b/services/iaas/model_volume.go index db82e0648..107cb9f09 100644 --- a/services/iaas/model_volume.go +++ b/services/iaas/model_volume.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume_attachment.go b/services/iaas/model_volume_attachment.go index 85a5881a3..dcd52a91d 100644 --- a/services/iaas/model_volume_attachment.go +++ b/services/iaas/model_volume_attachment.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume_attachment_list_response.go b/services/iaas/model_volume_attachment_list_response.go index 43cd0a0a2..db6794f38 100644 --- a/services/iaas/model_volume_attachment_list_response.go +++ b/services/iaas/model_volume_attachment_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume_attachment_list_response_test.go b/services/iaas/model_volume_attachment_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_volume_attachment_list_response_test.go +++ b/services/iaas/model_volume_attachment_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume_attachment_test.go b/services/iaas/model_volume_attachment_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_volume_attachment_test.go +++ b/services/iaas/model_volume_attachment_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume_encryption_parameter.go b/services/iaas/model_volume_encryption_parameter.go index c927a707f..2cbed9e35 100644 --- a/services/iaas/model_volume_encryption_parameter.go +++ b/services/iaas/model_volume_encryption_parameter.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume_encryption_parameter_test.go b/services/iaas/model_volume_encryption_parameter_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_volume_encryption_parameter_test.go +++ b/services/iaas/model_volume_encryption_parameter_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume_list_response.go b/services/iaas/model_volume_list_response.go index 7a34e7078..69e6e753a 100644 --- a/services/iaas/model_volume_list_response.go +++ b/services/iaas/model_volume_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume_list_response_test.go b/services/iaas/model_volume_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_volume_list_response_test.go +++ b/services/iaas/model_volume_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume_performance_class.go b/services/iaas/model_volume_performance_class.go index 2e9b2f8c3..4dcf5669a 100644 --- a/services/iaas/model_volume_performance_class.go +++ b/services/iaas/model_volume_performance_class.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume_performance_class_list_response.go b/services/iaas/model_volume_performance_class_list_response.go index 99832f5c2..42dff3807 100644 --- a/services/iaas/model_volume_performance_class_list_response.go +++ b/services/iaas/model_volume_performance_class_list_response.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume_performance_class_list_response_test.go b/services/iaas/model_volume_performance_class_list_response_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_volume_performance_class_list_response_test.go +++ b/services/iaas/model_volume_performance_class_list_response_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume_performance_class_test.go b/services/iaas/model_volume_performance_class_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_volume_performance_class_test.go +++ b/services/iaas/model_volume_performance_class_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume_source.go b/services/iaas/model_volume_source.go index ff9c0b5f6..a7c082392 100644 --- a/services/iaas/model_volume_source.go +++ b/services/iaas/model_volume_source.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume_source_test.go b/services/iaas/model_volume_source_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_volume_source_test.go +++ b/services/iaas/model_volume_source_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/model_volume_test.go b/services/iaas/model_volume_test.go index d0aed2f37..603b15988 100644 --- a/services/iaas/model_volume_test.go +++ b/services/iaas/model_volume_test.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources. diff --git a/services/iaas/utils.go b/services/iaas/utils.go index eabdf254c..beafc9945 100644 --- a/services/iaas/utils.go +++ b/services/iaas/utils.go @@ -1,5 +1,5 @@ /* -IaaS-API +STACKIT IaaS API This API allows you to create and modify IaaS resources.