From 165cd90800ed04ac0a29c9dc37b1085f9ea10d6d Mon Sep 17 00:00:00 2001 From: unasra Date: Mon, 9 Sep 2024 14:52:37 +0530 Subject: [PATCH 1/5] Update IPAM go-client --- ipam/api_config_profile.go | 765 +++++++++++++++ ipam/api_mac_address_item.go | 890 ++++++++++++++++++ ipam/api_service.go | 339 +++++++ .../AssociateConfigProfileToObjectsRequest.md | 98 ++ .../AssociateObjectToConfigProfilesRequest.md | 98 ++ ipam/docs/AssociatedHost.md | 134 +++ ipam/docs/BulkCreateMacAddressItemResponse.md | 56 ++ ipam/docs/BulkMacAddressItem.md | 72 ++ ipam/docs/CPSubnet.md | 264 ++++++ ipam/docs/CidrBlock.md | 186 ++++ ipam/docs/ConfigProfileAPI.md | 412 ++++++++ ipam/docs/CreateMacAddressItemResponse.md | 56 ++ ipam/docs/DHCPServiceInstance.md | 212 +++++ ...ssociateConfigProfileFromObjectsRequest.md | 98 ++ ...ssociateObjectFromConfigProfilesRequest.md | 98 ++ ipam/docs/ListAncestorResponse.md | 56 ++ ipam/docs/ListCPSubnetResponse.md | 56 ++ ipam/docs/ListConfigProfileResponse.md | 56 ++ ipam/docs/ListDHCPServiceInstanceResponse.md | 56 ++ ipam/docs/ListMacAddressItemResponse.md | 56 ++ ipam/docs/MacAddressItem.md | 103 ++ ipam/docs/MacAddressItemAPI.md | 491 ++++++++++ ipam/docs/MacAddressItemUpload.md | 98 ++ ipam/docs/MacAddressItemUploadResponse.md | 108 +++ ipam/docs/ProtobufFieldMask.md | 56 ++ ipam/docs/ReadDHCPServiceInstanceResponse.md | 56 ++ ipam/docs/ReadMacAddressItemResponse.md | 56 ++ ipam/docs/RealmsConflict.md | 134 +++ ipam/docs/RealmsConflictResponse.md | 56 ++ ipam/docs/ServiceAPI.md | 152 +++ ipam/docs/UpdateMacAddressItemResponse.md | 56 ++ ...ciate_config_profile_to_objects_request.go | 234 +++++ ...ciate_object_to_config_profiles_request.go | 234 +++++ ipam/model_associated_host.go | 268 ++++++ ...l_bulk_create_mac_address_item_response.go | 154 +++ ipam/model_bulk_mac_address_item.go | 197 ++++ ipam/model_cidr_block.go | 344 +++++++ ipam/model_cp_subnet.go | 452 +++++++++ .../model_create_mac_address_item_response.go | 154 +++ ipam/model_dhcp_service_instance.go | 380 ++++++++ ...ate_config_profile_from_objects_request.go | 234 +++++ ...ate_object_from_config_profiles_request.go | 234 +++++ ipam/model_list_ancestor_response.go | 154 +++ ipam/model_list_config_profile_response.go | 154 +++ ipam/model_list_cp_subnet_response.go | 153 +++ ...del_list_dhcp_service_instance_response.go | 154 +++ ipam/model_list_mac_address_item_response.go | 154 +++ ipam/model_mac_address_item.go | 243 +++++ ipam/model_mac_address_item_upload.go | 235 +++++ .../model_mac_address_item_upload_response.go | 230 +++++ ipam/model_protobuf_field_mask.go | 154 +++ ...del_read_dhcp_service_instance_response.go | 154 +++ ipam/model_read_mac_address_item_response.go | 154 +++ ipam/model_realms_conflict.go | 266 ++++++ ipam/model_realms_conflict_response.go | 154 +++ .../model_update_mac_address_item_response.go | 154 +++ ipam/test/api_config_profile_test.go | 98 ++ ipam/test/api_mac_address_item_test.go | 115 +++ ipam/test/api_service_test.go | 52 + 59 files changed, 11087 insertions(+) create mode 100644 ipam/api_config_profile.go create mode 100644 ipam/api_mac_address_item.go create mode 100644 ipam/api_service.go create mode 100644 ipam/docs/AssociateConfigProfileToObjectsRequest.md create mode 100644 ipam/docs/AssociateObjectToConfigProfilesRequest.md create mode 100644 ipam/docs/AssociatedHost.md create mode 100644 ipam/docs/BulkCreateMacAddressItemResponse.md create mode 100644 ipam/docs/BulkMacAddressItem.md create mode 100644 ipam/docs/CPSubnet.md create mode 100644 ipam/docs/CidrBlock.md create mode 100644 ipam/docs/ConfigProfileAPI.md create mode 100644 ipam/docs/CreateMacAddressItemResponse.md create mode 100644 ipam/docs/DHCPServiceInstance.md create mode 100644 ipam/docs/DisassociateConfigProfileFromObjectsRequest.md create mode 100644 ipam/docs/DisassociateObjectFromConfigProfilesRequest.md create mode 100644 ipam/docs/ListAncestorResponse.md create mode 100644 ipam/docs/ListCPSubnetResponse.md create mode 100644 ipam/docs/ListConfigProfileResponse.md create mode 100644 ipam/docs/ListDHCPServiceInstanceResponse.md create mode 100644 ipam/docs/ListMacAddressItemResponse.md create mode 100644 ipam/docs/MacAddressItem.md create mode 100644 ipam/docs/MacAddressItemAPI.md create mode 100644 ipam/docs/MacAddressItemUpload.md create mode 100644 ipam/docs/MacAddressItemUploadResponse.md create mode 100644 ipam/docs/ProtobufFieldMask.md create mode 100644 ipam/docs/ReadDHCPServiceInstanceResponse.md create mode 100644 ipam/docs/ReadMacAddressItemResponse.md create mode 100644 ipam/docs/RealmsConflict.md create mode 100644 ipam/docs/RealmsConflictResponse.md create mode 100644 ipam/docs/ServiceAPI.md create mode 100644 ipam/docs/UpdateMacAddressItemResponse.md create mode 100644 ipam/model_associate_config_profile_to_objects_request.go create mode 100644 ipam/model_associate_object_to_config_profiles_request.go create mode 100644 ipam/model_associated_host.go create mode 100644 ipam/model_bulk_create_mac_address_item_response.go create mode 100644 ipam/model_bulk_mac_address_item.go create mode 100644 ipam/model_cidr_block.go create mode 100644 ipam/model_cp_subnet.go create mode 100644 ipam/model_create_mac_address_item_response.go create mode 100644 ipam/model_dhcp_service_instance.go create mode 100644 ipam/model_disassociate_config_profile_from_objects_request.go create mode 100644 ipam/model_disassociate_object_from_config_profiles_request.go create mode 100644 ipam/model_list_ancestor_response.go create mode 100644 ipam/model_list_config_profile_response.go create mode 100644 ipam/model_list_cp_subnet_response.go create mode 100644 ipam/model_list_dhcp_service_instance_response.go create mode 100644 ipam/model_list_mac_address_item_response.go create mode 100644 ipam/model_mac_address_item.go create mode 100644 ipam/model_mac_address_item_upload.go create mode 100644 ipam/model_mac_address_item_upload_response.go create mode 100644 ipam/model_protobuf_field_mask.go create mode 100644 ipam/model_read_dhcp_service_instance_response.go create mode 100644 ipam/model_read_mac_address_item_response.go create mode 100644 ipam/model_realms_conflict.go create mode 100644 ipam/model_realms_conflict_response.go create mode 100644 ipam/model_update_mac_address_item_response.go create mode 100644 ipam/test/api_config_profile_test.go create mode 100644 ipam/test/api_mac_address_item_test.go create mode 100644 ipam/test/api_service_test.go diff --git a/ipam/api_config_profile.go b/ipam/api_config_profile.go new file mode 100644 index 0000000..16e8c5a --- /dev/null +++ b/ipam/api_config_profile.go @@ -0,0 +1,765 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + + "github.com/infobloxopen/bloxone-go-client/internal" +) + +type ConfigProfileAPI interface { + /* + AssociateConfigProfileToObjects Associate a config profile to objects. + + Use this method to associate a __ConfigProfile__ with an object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ConfigProfileAPIAssociateConfigProfileToObjectsRequest + */ + AssociateConfigProfileToObjects(ctx context.Context) ConfigProfileAPIAssociateConfigProfileToObjectsRequest + + // AssociateConfigProfileToObjectsExecute executes the request + // @return map[string]interface{} + AssociateConfigProfileToObjectsExecute(r ConfigProfileAPIAssociateConfigProfileToObjectsRequest) (map[string]interface{}, *http.Response, error) + /* + AssociateObjectToConfigProfiles Associate an object to config profiles. + + Use this method to associate an object with a __ConfigProfile__. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ConfigProfileAPIAssociateObjectToConfigProfilesRequest + */ + AssociateObjectToConfigProfiles(ctx context.Context) ConfigProfileAPIAssociateObjectToConfigProfilesRequest + + // AssociateObjectToConfigProfilesExecute executes the request + // @return map[string]interface{} + AssociateObjectToConfigProfilesExecute(r ConfigProfileAPIAssociateObjectToConfigProfilesRequest) (map[string]interface{}, *http.Response, error) + /* + DisassociateConfigProfileFromObjects Disassociate a config profile from objects. + + Use this method to disassociate a __ConfigProfile__ from an object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ConfigProfileAPIDisassociateConfigProfileFromObjectsRequest + */ + DisassociateConfigProfileFromObjects(ctx context.Context) ConfigProfileAPIDisassociateConfigProfileFromObjectsRequest + + // DisassociateConfigProfileFromObjectsExecute executes the request + // @return map[string]interface{} + DisassociateConfigProfileFromObjectsExecute(r ConfigProfileAPIDisassociateConfigProfileFromObjectsRequest) (map[string]interface{}, *http.Response, error) + /* + DisassociateObjectFromConfigProfiles Disassociate an object from a config profile. + + Use this method to disassociate an object from a __ConfigProfile__. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ConfigProfileAPIDisassociateObjectFromConfigProfilesRequest + */ + DisassociateObjectFromConfigProfiles(ctx context.Context) ConfigProfileAPIDisassociateObjectFromConfigProfilesRequest + + // DisassociateObjectFromConfigProfilesExecute executes the request + // @return map[string]interface{} + DisassociateObjectFromConfigProfilesExecute(r ConfigProfileAPIDisassociateObjectFromConfigProfilesRequest) (map[string]interface{}, *http.Response, error) + /* + ListConfigProfiles Retrieve config profiles. + + Use this method to retrieve __ConfigProfile__ objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ConfigProfileAPIListConfigProfilesRequest + */ + ListConfigProfiles(ctx context.Context) ConfigProfileAPIListConfigProfilesRequest + + // ListConfigProfilesExecute executes the request + // @return ListConfigProfileResponse + ListConfigProfilesExecute(r ConfigProfileAPIListConfigProfilesRequest) (*ListConfigProfileResponse, *http.Response, error) + /* + ListSubnets Retrieve subnets associated with a config profile. + + Use this method to retrieve __Subnet__ objects associated with a __ConfigProfile__. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ConfigProfileAPIListSubnetsRequest + */ + ListSubnets(ctx context.Context) ConfigProfileAPIListSubnetsRequest + + // ListSubnetsExecute executes the request + // @return ListCPSubnetResponse + ListSubnetsExecute(r ConfigProfileAPIListSubnetsRequest) (*ListCPSubnetResponse, *http.Response, error) +} + +// ConfigProfileAPIService ConfigProfileAPI service +type ConfigProfileAPIService internal.Service + +type ConfigProfileAPIAssociateConfigProfileToObjectsRequest struct { + ctx context.Context + ApiService ConfigProfileAPI + body *AssociateConfigProfileToObjectsRequest +} + +func (r ConfigProfileAPIAssociateConfigProfileToObjectsRequest) Body(body AssociateConfigProfileToObjectsRequest) ConfigProfileAPIAssociateConfigProfileToObjectsRequest { + r.body = &body + return r +} + +func (r ConfigProfileAPIAssociateConfigProfileToObjectsRequest) Execute() (map[string]interface{}, *http.Response, error) { + return r.ApiService.AssociateConfigProfileToObjectsExecute(r) +} + +/* +AssociateConfigProfileToObjects Associate a config profile to objects. + +Use this method to associate a __ConfigProfile__ with an object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ConfigProfileAPIAssociateConfigProfileToObjectsRequest +*/ +func (a *ConfigProfileAPIService) AssociateConfigProfileToObjects(ctx context.Context) ConfigProfileAPIAssociateConfigProfileToObjectsRequest { + return ConfigProfileAPIAssociateConfigProfileToObjectsRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return map[string]interface{} +func (a *ConfigProfileAPIService) AssociateConfigProfileToObjectsExecute(r ConfigProfileAPIAssociateConfigProfileToObjectsRequest) (map[string]interface{}, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue map[string]interface{} + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "ConfigProfileAPIService.AssociateConfigProfileToObjects") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/dhcp/config_profile/link_profile" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.body == nil { + return localVarReturnValue, nil, internal.ReportError("body is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.body + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ConfigProfileAPIAssociateObjectToConfigProfilesRequest struct { + ctx context.Context + ApiService ConfigProfileAPI + body *AssociateObjectToConfigProfilesRequest +} + +func (r ConfigProfileAPIAssociateObjectToConfigProfilesRequest) Body(body AssociateObjectToConfigProfilesRequest) ConfigProfileAPIAssociateObjectToConfigProfilesRequest { + r.body = &body + return r +} + +func (r ConfigProfileAPIAssociateObjectToConfigProfilesRequest) Execute() (map[string]interface{}, *http.Response, error) { + return r.ApiService.AssociateObjectToConfigProfilesExecute(r) +} + +/* +AssociateObjectToConfigProfiles Associate an object to config profiles. + +Use this method to associate an object with a __ConfigProfile__. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ConfigProfileAPIAssociateObjectToConfigProfilesRequest +*/ +func (a *ConfigProfileAPIService) AssociateObjectToConfigProfiles(ctx context.Context) ConfigProfileAPIAssociateObjectToConfigProfilesRequest { + return ConfigProfileAPIAssociateObjectToConfigProfilesRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return map[string]interface{} +func (a *ConfigProfileAPIService) AssociateObjectToConfigProfilesExecute(r ConfigProfileAPIAssociateObjectToConfigProfilesRequest) (map[string]interface{}, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue map[string]interface{} + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "ConfigProfileAPIService.AssociateObjectToConfigProfiles") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/dhcp/config_profile/link_object" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.body == nil { + return localVarReturnValue, nil, internal.ReportError("body is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.body + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ConfigProfileAPIDisassociateConfigProfileFromObjectsRequest struct { + ctx context.Context + ApiService ConfigProfileAPI + body *DisassociateConfigProfileFromObjectsRequest +} + +func (r ConfigProfileAPIDisassociateConfigProfileFromObjectsRequest) Body(body DisassociateConfigProfileFromObjectsRequest) ConfigProfileAPIDisassociateConfigProfileFromObjectsRequest { + r.body = &body + return r +} + +func (r ConfigProfileAPIDisassociateConfigProfileFromObjectsRequest) Execute() (map[string]interface{}, *http.Response, error) { + return r.ApiService.DisassociateConfigProfileFromObjectsExecute(r) +} + +/* +DisassociateConfigProfileFromObjects Disassociate a config profile from objects. + +Use this method to disassociate a __ConfigProfile__ from an object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ConfigProfileAPIDisassociateConfigProfileFromObjectsRequest +*/ +func (a *ConfigProfileAPIService) DisassociateConfigProfileFromObjects(ctx context.Context) ConfigProfileAPIDisassociateConfigProfileFromObjectsRequest { + return ConfigProfileAPIDisassociateConfigProfileFromObjectsRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return map[string]interface{} +func (a *ConfigProfileAPIService) DisassociateConfigProfileFromObjectsExecute(r ConfigProfileAPIDisassociateConfigProfileFromObjectsRequest) (map[string]interface{}, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue map[string]interface{} + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "ConfigProfileAPIService.DisassociateConfigProfileFromObjects") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/dhcp/config_profile/delink_profile" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.body == nil { + return localVarReturnValue, nil, internal.ReportError("body is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.body + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ConfigProfileAPIDisassociateObjectFromConfigProfilesRequest struct { + ctx context.Context + ApiService ConfigProfileAPI + body *DisassociateObjectFromConfigProfilesRequest +} + +func (r ConfigProfileAPIDisassociateObjectFromConfigProfilesRequest) Body(body DisassociateObjectFromConfigProfilesRequest) ConfigProfileAPIDisassociateObjectFromConfigProfilesRequest { + r.body = &body + return r +} + +func (r ConfigProfileAPIDisassociateObjectFromConfigProfilesRequest) Execute() (map[string]interface{}, *http.Response, error) { + return r.ApiService.DisassociateObjectFromConfigProfilesExecute(r) +} + +/* +DisassociateObjectFromConfigProfiles Disassociate an object from a config profile. + +Use this method to disassociate an object from a __ConfigProfile__. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ConfigProfileAPIDisassociateObjectFromConfigProfilesRequest +*/ +func (a *ConfigProfileAPIService) DisassociateObjectFromConfigProfiles(ctx context.Context) ConfigProfileAPIDisassociateObjectFromConfigProfilesRequest { + return ConfigProfileAPIDisassociateObjectFromConfigProfilesRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return map[string]interface{} +func (a *ConfigProfileAPIService) DisassociateObjectFromConfigProfilesExecute(r ConfigProfileAPIDisassociateObjectFromConfigProfilesRequest) (map[string]interface{}, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue map[string]interface{} + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "ConfigProfileAPIService.DisassociateObjectFromConfigProfiles") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/dhcp/config_profile/delink_object" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.body == nil { + return localVarReturnValue, nil, internal.ReportError("body is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.body + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ConfigProfileAPIListConfigProfilesRequest struct { + ctx context.Context + ApiService ConfigProfileAPI + objectId *string +} + +func (r ConfigProfileAPIListConfigProfilesRequest) ObjectId(objectId string) ConfigProfileAPIListConfigProfilesRequest { + r.objectId = &objectId + return r +} + +func (r ConfigProfileAPIListConfigProfilesRequest) Execute() (*ListConfigProfileResponse, *http.Response, error) { + return r.ApiService.ListConfigProfilesExecute(r) +} + +/* +ListConfigProfiles Retrieve config profiles. + +Use this method to retrieve __ConfigProfile__ objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ConfigProfileAPIListConfigProfilesRequest +*/ +func (a *ConfigProfileAPIService) ListConfigProfiles(ctx context.Context) ConfigProfileAPIListConfigProfilesRequest { + return ConfigProfileAPIListConfigProfilesRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return ListConfigProfileResponse +func (a *ConfigProfileAPIService) ListConfigProfilesExecute(r ConfigProfileAPIListConfigProfilesRequest) (*ListConfigProfileResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue *ListConfigProfileResponse + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "ConfigProfileAPIService.ListConfigProfiles") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/dhcp/config_profile/profiles" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.objectId != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "object_id", r.objectId, "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ConfigProfileAPIListSubnetsRequest struct { + ctx context.Context + ApiService ConfigProfileAPI + configProfileId *string + orderBy *string + offset *int32 + limit *int32 + pageToken *string +} + +func (r ConfigProfileAPIListSubnetsRequest) ConfigProfileId(configProfileId string) ConfigProfileAPIListSubnetsRequest { + r.configProfileId = &configProfileId + return r +} + +// A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order. +func (r ConfigProfileAPIListSubnetsRequest) OrderBy(orderBy string) ConfigProfileAPIListSubnetsRequest { + r.orderBy = &orderBy + return r +} + +// The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'. +func (r ConfigProfileAPIListSubnetsRequest) Offset(offset int32) ConfigProfileAPIListSubnetsRequest { + r.offset = &offset + return r +} + +// The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value. +func (r ConfigProfileAPIListSubnetsRequest) Limit(limit int32) ConfigProfileAPIListSubnetsRequest { + r.limit = &limit + return r +} + +// The service-defined string used to identify a page of resources. A null value indicates the first page. +func (r ConfigProfileAPIListSubnetsRequest) PageToken(pageToken string) ConfigProfileAPIListSubnetsRequest { + r.pageToken = &pageToken + return r +} + +func (r ConfigProfileAPIListSubnetsRequest) Execute() (*ListCPSubnetResponse, *http.Response, error) { + return r.ApiService.ListSubnetsExecute(r) +} + +/* +ListSubnets Retrieve subnets associated with a config profile. + +Use this method to retrieve __Subnet__ objects associated with a __ConfigProfile__. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ConfigProfileAPIListSubnetsRequest +*/ +func (a *ConfigProfileAPIService) ListSubnets(ctx context.Context) ConfigProfileAPIListSubnetsRequest { + return ConfigProfileAPIListSubnetsRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return ListCPSubnetResponse +func (a *ConfigProfileAPIService) ListSubnetsExecute(r ConfigProfileAPIListSubnetsRequest) (*ListCPSubnetResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue *ListCPSubnetResponse + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "ConfigProfileAPIService.ListSubnets") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/dhcp/config_profile/subnets" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.configProfileId != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "config_profile_id", r.configProfileId, "") + } + if r.orderBy != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_order_by", r.orderBy, "") + } + if r.offset != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_offset", r.offset, "") + } + if r.limit != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_limit", r.limit, "") + } + if r.pageToken != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_page_token", r.pageToken, "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/ipam/api_mac_address_item.go b/ipam/api_mac_address_item.go new file mode 100644 index 0000000..bcdb7c8 --- /dev/null +++ b/ipam/api_mac_address_item.go @@ -0,0 +1,890 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" + + "github.com/infobloxopen/bloxone-go-client/internal" +) + +type MacAddressItemAPI interface { + /* + BulkCreate Bulk create the mac address items. + + Use this method to bulk create __MacAddressItem__ objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return MacAddressItemAPIBulkCreateRequest + */ + BulkCreate(ctx context.Context) MacAddressItemAPIBulkCreateRequest + + // BulkCreateExecute executes the request + // @return BulkCreateMacAddressItemResponse + BulkCreateExecute(r MacAddressItemAPIBulkCreateRequest) (*BulkCreateMacAddressItemResponse, *http.Response, error) + /* + Create Create the mac address item. + + Use this method to create a __MacAddressItem__ object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return MacAddressItemAPICreateRequest + */ + Create(ctx context.Context) MacAddressItemAPICreateRequest + + // CreateExecute executes the request + // @return CreateMacAddressItemResponse + CreateExecute(r MacAddressItemAPICreateRequest) (*CreateMacAddressItemResponse, *http.Response, error) + /* + Delete Delete the mac address item. + + Use this method to delete a __MacAddressItem__ object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id An application specific resource identity of a resource + @return MacAddressItemAPIDeleteRequest + */ + Delete(ctx context.Context, id string) MacAddressItemAPIDeleteRequest + + // DeleteExecute executes the request + DeleteExecute(r MacAddressItemAPIDeleteRequest) (*http.Response, error) + /* + List Retrieve mac address items. + + Use this method to retrieve __MacAddressItem__ objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return MacAddressItemAPIListRequest + */ + List(ctx context.Context) MacAddressItemAPIListRequest + + // ListExecute executes the request + // @return ListMacAddressItemResponse + ListExecute(r MacAddressItemAPIListRequest) (*ListMacAddressItemResponse, *http.Response, error) + /* + Read Retrieve the mac address item. + + Use this method to retrieve a __MacAddressItem__ object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id An application specific resource identity of a resource + @return MacAddressItemAPIReadRequest + */ + Read(ctx context.Context, id string) MacAddressItemAPIReadRequest + + // ReadExecute executes the request + // @return ReadMacAddressItemResponse + ReadExecute(r MacAddressItemAPIReadRequest) (*ReadMacAddressItemResponse, *http.Response, error) + /* + Update Update the mac address item. + + Use this method to update a __MacAddressItem__ object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id An application specific resource identity of a resource + @return MacAddressItemAPIUpdateRequest + */ + Update(ctx context.Context, id string) MacAddressItemAPIUpdateRequest + + // UpdateExecute executes the request + // @return UpdateMacAddressItemResponse + UpdateExecute(r MacAddressItemAPIUpdateRequest) (*UpdateMacAddressItemResponse, *http.Response, error) + /* + Upload Upload mac addresses to a large scale hardware filter. + + Use this method to upload specified mac addresses to large scale filter. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return MacAddressItemAPIUploadRequest + */ + Upload(ctx context.Context) MacAddressItemAPIUploadRequest + + // UploadExecute executes the request + // @return MacAddressItemUploadResponse + UploadExecute(r MacAddressItemAPIUploadRequest) (*MacAddressItemUploadResponse, *http.Response, error) +} + +// MacAddressItemAPIService MacAddressItemAPI service +type MacAddressItemAPIService internal.Service + +type MacAddressItemAPIBulkCreateRequest struct { + ctx context.Context + ApiService MacAddressItemAPI + body *BulkMacAddressItem +} + +func (r MacAddressItemAPIBulkCreateRequest) Body(body BulkMacAddressItem) MacAddressItemAPIBulkCreateRequest { + r.body = &body + return r +} + +func (r MacAddressItemAPIBulkCreateRequest) Execute() (*BulkCreateMacAddressItemResponse, *http.Response, error) { + return r.ApiService.BulkCreateExecute(r) +} + +/* +BulkCreate Bulk create the mac address items. + +Use this method to bulk create __MacAddressItem__ objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return MacAddressItemAPIBulkCreateRequest +*/ +func (a *MacAddressItemAPIService) BulkCreate(ctx context.Context) MacAddressItemAPIBulkCreateRequest { + return MacAddressItemAPIBulkCreateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return BulkCreateMacAddressItemResponse +func (a *MacAddressItemAPIService) BulkCreateExecute(r MacAddressItemAPIBulkCreateRequest) (*BulkCreateMacAddressItemResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue *BulkCreateMacAddressItemResponse + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "MacAddressItemAPIService.BulkCreate") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/dhcp/mac_address_item/bulk_create" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.body == nil { + return localVarReturnValue, nil, internal.ReportError("body is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.body + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} + +type MacAddressItemAPICreateRequest struct { + ctx context.Context + ApiService MacAddressItemAPI + body *MacAddressItem +} + +func (r MacAddressItemAPICreateRequest) Body(body MacAddressItem) MacAddressItemAPICreateRequest { + r.body = &body + return r +} + +func (r MacAddressItemAPICreateRequest) Execute() (*CreateMacAddressItemResponse, *http.Response, error) { + return r.ApiService.CreateExecute(r) +} + +/* +Create Create the mac address item. + +Use this method to create a __MacAddressItem__ object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return MacAddressItemAPICreateRequest +*/ +func (a *MacAddressItemAPIService) Create(ctx context.Context) MacAddressItemAPICreateRequest { + return MacAddressItemAPICreateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return CreateMacAddressItemResponse +func (a *MacAddressItemAPIService) CreateExecute(r MacAddressItemAPICreateRequest) (*CreateMacAddressItemResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue *CreateMacAddressItemResponse + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "MacAddressItemAPIService.Create") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/dhcp/mac_address_item" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.body == nil { + return localVarReturnValue, nil, internal.ReportError("body is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.body + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} + +type MacAddressItemAPIDeleteRequest struct { + ctx context.Context + ApiService MacAddressItemAPI + id string +} + +func (r MacAddressItemAPIDeleteRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteExecute(r) +} + +/* +Delete Delete the mac address item. + +Use this method to delete a __MacAddressItem__ object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id An application specific resource identity of a resource + @return MacAddressItemAPIDeleteRequest +*/ +func (a *MacAddressItemAPIService) Delete(ctx context.Context, id string) MacAddressItemAPIDeleteRequest { + return MacAddressItemAPIDeleteRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *MacAddressItemAPIService) DeleteExecute(r MacAddressItemAPIDeleteRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []internal.FormFile + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "MacAddressItemAPIService.Delete") + if err != nil { + return nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/dhcp/mac_address_item/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(internal.ParameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type MacAddressItemAPIListRequest struct { + ctx context.Context + ApiService MacAddressItemAPI + filter *string + orderBy *string + fields *string + offset *int32 + limit *int32 + pageToken *string +} + +// A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators | +func (r MacAddressItemAPIListRequest) Filter(filter string) MacAddressItemAPIListRequest { + r.filter = &filter + return r +} + +// A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order. +func (r MacAddressItemAPIListRequest) OrderBy(orderBy string) MacAddressItemAPIListRequest { + r.orderBy = &orderBy + return r +} + +// A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. +func (r MacAddressItemAPIListRequest) Fields(fields string) MacAddressItemAPIListRequest { + r.fields = &fields + return r +} + +// The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'. +func (r MacAddressItemAPIListRequest) Offset(offset int32) MacAddressItemAPIListRequest { + r.offset = &offset + return r +} + +// The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value. +func (r MacAddressItemAPIListRequest) Limit(limit int32) MacAddressItemAPIListRequest { + r.limit = &limit + return r +} + +// The service-defined string used to identify a page of resources. A null value indicates the first page. +func (r MacAddressItemAPIListRequest) PageToken(pageToken string) MacAddressItemAPIListRequest { + r.pageToken = &pageToken + return r +} + +func (r MacAddressItemAPIListRequest) Execute() (*ListMacAddressItemResponse, *http.Response, error) { + return r.ApiService.ListExecute(r) +} + +/* +List Retrieve mac address items. + +Use this method to retrieve __MacAddressItem__ objects. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return MacAddressItemAPIListRequest +*/ +func (a *MacAddressItemAPIService) List(ctx context.Context) MacAddressItemAPIListRequest { + return MacAddressItemAPIListRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return ListMacAddressItemResponse +func (a *MacAddressItemAPIService) ListExecute(r MacAddressItemAPIListRequest) (*ListMacAddressItemResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue *ListMacAddressItemResponse + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "MacAddressItemAPIService.List") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/dhcp/mac_address_item" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.filter != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_filter", r.filter, "") + } + if r.orderBy != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_order_by", r.orderBy, "") + } + if r.fields != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_fields", r.fields, "") + } + if r.offset != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_offset", r.offset, "") + } + if r.limit != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_limit", r.limit, "") + } + if r.pageToken != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_page_token", r.pageToken, "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} + +type MacAddressItemAPIReadRequest struct { + ctx context.Context + ApiService MacAddressItemAPI + id string + fields *string +} + +// A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. +func (r MacAddressItemAPIReadRequest) Fields(fields string) MacAddressItemAPIReadRequest { + r.fields = &fields + return r +} + +func (r MacAddressItemAPIReadRequest) Execute() (*ReadMacAddressItemResponse, *http.Response, error) { + return r.ApiService.ReadExecute(r) +} + +/* +Read Retrieve the mac address item. + +Use this method to retrieve a __MacAddressItem__ object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id An application specific resource identity of a resource + @return MacAddressItemAPIReadRequest +*/ +func (a *MacAddressItemAPIService) Read(ctx context.Context, id string) MacAddressItemAPIReadRequest { + return MacAddressItemAPIReadRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return ReadMacAddressItemResponse +func (a *MacAddressItemAPIService) ReadExecute(r MacAddressItemAPIReadRequest) (*ReadMacAddressItemResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue *ReadMacAddressItemResponse + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "MacAddressItemAPIService.Read") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/dhcp/mac_address_item/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(internal.ParameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.fields != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_fields", r.fields, "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} + +type MacAddressItemAPIUpdateRequest struct { + ctx context.Context + ApiService MacAddressItemAPI + id string + body *MacAddressItem +} + +func (r MacAddressItemAPIUpdateRequest) Body(body MacAddressItem) MacAddressItemAPIUpdateRequest { + r.body = &body + return r +} + +func (r MacAddressItemAPIUpdateRequest) Execute() (*UpdateMacAddressItemResponse, *http.Response, error) { + return r.ApiService.UpdateExecute(r) +} + +/* +Update Update the mac address item. + +Use this method to update a __MacAddressItem__ object. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id An application specific resource identity of a resource + @return MacAddressItemAPIUpdateRequest +*/ +func (a *MacAddressItemAPIService) Update(ctx context.Context, id string) MacAddressItemAPIUpdateRequest { + return MacAddressItemAPIUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return UpdateMacAddressItemResponse +func (a *MacAddressItemAPIService) UpdateExecute(r MacAddressItemAPIUpdateRequest) (*UpdateMacAddressItemResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue *UpdateMacAddressItemResponse + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "MacAddressItemAPIService.Update") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/dhcp/mac_address_item/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(internal.ParameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.body == nil { + return localVarReturnValue, nil, internal.ReportError("body is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.body + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} + +type MacAddressItemAPIUploadRequest struct { + ctx context.Context + ApiService MacAddressItemAPI + body *MacAddressItemUpload +} + +func (r MacAddressItemAPIUploadRequest) Body(body MacAddressItemUpload) MacAddressItemAPIUploadRequest { + r.body = &body + return r +} + +func (r MacAddressItemAPIUploadRequest) Execute() (*MacAddressItemUploadResponse, *http.Response, error) { + return r.ApiService.UploadExecute(r) +} + +/* +Upload Upload mac addresses to a large scale hardware filter. + +Use this method to upload specified mac addresses to large scale filter. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return MacAddressItemAPIUploadRequest +*/ +func (a *MacAddressItemAPIService) Upload(ctx context.Context) MacAddressItemAPIUploadRequest { + return MacAddressItemAPIUploadRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return MacAddressItemUploadResponse +func (a *MacAddressItemAPIService) UploadExecute(r MacAddressItemAPIUploadRequest) (*MacAddressItemUploadResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue *MacAddressItemUploadResponse + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "MacAddressItemAPIService.Upload") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/dhcp/mac_address_item/upload" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.body == nil { + return localVarReturnValue, nil, internal.ReportError("body is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.body + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/ipam/api_service.go b/ipam/api_service.go new file mode 100644 index 0000000..9c5a608 --- /dev/null +++ b/ipam/api_service.go @@ -0,0 +1,339 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" + + "github.com/infobloxopen/bloxone-go-client/internal" +) + +type ServiceAPI interface { + /* + List List DHCP service instance objects. + + Use this method to list DHCP service instance objects. + A DHCP Service Instance object associates DHCP configuration with DHCP service. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ServiceAPIListRequest + */ + List(ctx context.Context) ServiceAPIListRequest + + // ListExecute executes the request + // @return ListDHCPServiceInstanceResponse + ListExecute(r ServiceAPIListRequest) (*ListDHCPServiceInstanceResponse, *http.Response, error) + /* + Read Read the DHCP service instance object. + + Use this method to read a DHCP Service Instance object. + A DHCP Service Instance object associates DHCP configuration with DHCP service. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id An application specific resource identity of a resource + @return ServiceAPIReadRequest + */ + Read(ctx context.Context, id string) ServiceAPIReadRequest + + // ReadExecute executes the request + // @return ReadDHCPServiceInstanceResponse + ReadExecute(r ServiceAPIReadRequest) (*ReadDHCPServiceInstanceResponse, *http.Response, error) +} + +// ServiceAPIService ServiceAPI service +type ServiceAPIService internal.Service + +type ServiceAPIListRequest struct { + ctx context.Context + ApiService ServiceAPI + fields *string + filter *string + offset *int32 + limit *int32 + pageToken *string + orderBy *string + tfilter *string + torderBy *string +} + +// A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. +func (r ServiceAPIListRequest) Fields(fields string) ServiceAPIListRequest { + r.fields = &fields + return r +} + +// A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators | +func (r ServiceAPIListRequest) Filter(filter string) ServiceAPIListRequest { + r.filter = &filter + return r +} + +// The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'. +func (r ServiceAPIListRequest) Offset(offset int32) ServiceAPIListRequest { + r.offset = &offset + return r +} + +// The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value. +func (r ServiceAPIListRequest) Limit(limit int32) ServiceAPIListRequest { + r.limit = &limit + return r +} + +// The service-defined string used to identify a page of resources. A null value indicates the first page. +func (r ServiceAPIListRequest) PageToken(pageToken string) ServiceAPIListRequest { + r.pageToken = &pageToken + return r +} + +// A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order. +func (r ServiceAPIListRequest) OrderBy(orderBy string) ServiceAPIListRequest { + r.orderBy = &orderBy + return r +} + +// This parameter is used for filtering by tags. +func (r ServiceAPIListRequest) Tfilter(tfilter string) ServiceAPIListRequest { + r.tfilter = &tfilter + return r +} + +// This parameter is used for sorting by tags. +func (r ServiceAPIListRequest) TorderBy(torderBy string) ServiceAPIListRequest { + r.torderBy = &torderBy + return r +} + +func (r ServiceAPIListRequest) Execute() (*ListDHCPServiceInstanceResponse, *http.Response, error) { + return r.ApiService.ListExecute(r) +} + +/* +List List DHCP service instance objects. + +Use this method to list DHCP service instance objects. +A DHCP Service Instance object associates DHCP configuration with DHCP service. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ServiceAPIListRequest +*/ +func (a *ServiceAPIService) List(ctx context.Context) ServiceAPIListRequest { + return ServiceAPIListRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return ListDHCPServiceInstanceResponse +func (a *ServiceAPIService) ListExecute(r ServiceAPIListRequest) (*ListDHCPServiceInstanceResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue *ListDHCPServiceInstanceResponse + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "ServiceAPIService.List") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/dhcp/service" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.fields != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_fields", r.fields, "") + } + if r.filter != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_filter", r.filter, "") + } + if r.offset != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_offset", r.offset, "") + } + if r.limit != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_limit", r.limit, "") + } + if r.pageToken != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_page_token", r.pageToken, "") + } + if r.orderBy != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_order_by", r.orderBy, "") + } + if r.tfilter != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_tfilter", r.tfilter, "") + } + if r.torderBy != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_torder_by", r.torderBy, "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ServiceAPIReadRequest struct { + ctx context.Context + ApiService ServiceAPI + id string + fields *string +} + +// A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. +func (r ServiceAPIReadRequest) Fields(fields string) ServiceAPIReadRequest { + r.fields = &fields + return r +} + +func (r ServiceAPIReadRequest) Execute() (*ReadDHCPServiceInstanceResponse, *http.Response, error) { + return r.ApiService.ReadExecute(r) +} + +/* +Read Read the DHCP service instance object. + +Use this method to read a DHCP Service Instance object. +A DHCP Service Instance object associates DHCP configuration with DHCP service. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id An application specific resource identity of a resource + @return ServiceAPIReadRequest +*/ +func (a *ServiceAPIService) Read(ctx context.Context, id string) ServiceAPIReadRequest { + return ServiceAPIReadRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return ReadDHCPServiceInstanceResponse +func (a *ServiceAPIService) ReadExecute(r ServiceAPIReadRequest) (*ReadDHCPServiceInstanceResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue *ReadDHCPServiceInstanceResponse + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "ServiceAPIService.Read") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/dhcp/service/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(internal.ParameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.fields != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_fields", r.fields, "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/ipam/docs/AssociateConfigProfileToObjectsRequest.md b/ipam/docs/AssociateConfigProfileToObjectsRequest.md new file mode 100644 index 0000000..00d0507 --- /dev/null +++ b/ipam/docs/AssociateConfigProfileToObjectsRequest.md @@ -0,0 +1,98 @@ +# AssociateConfigProfileToObjectsRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ConfigProfileId** | **string** | The resource identifier. | +**Fields** | Pointer to [**ProtobufFieldMask**](ProtobufFieldMask.md) | | [optional] +**ObjectIds** | **[]string** | The resource identifier. | + +## Methods + +### NewAssociateConfigProfileToObjectsRequest + +`func NewAssociateConfigProfileToObjectsRequest(configProfileId string, objectIds []string, ) *AssociateConfigProfileToObjectsRequest` + +NewAssociateConfigProfileToObjectsRequest instantiates a new AssociateConfigProfileToObjectsRequest 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 + +### NewAssociateConfigProfileToObjectsRequestWithDefaults + +`func NewAssociateConfigProfileToObjectsRequestWithDefaults() *AssociateConfigProfileToObjectsRequest` + +NewAssociateConfigProfileToObjectsRequestWithDefaults instantiates a new AssociateConfigProfileToObjectsRequest 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 + +### GetConfigProfileId + +`func (o *AssociateConfigProfileToObjectsRequest) GetConfigProfileId() string` + +GetConfigProfileId returns the ConfigProfileId field if non-nil, zero value otherwise. + +### GetConfigProfileIdOk + +`func (o *AssociateConfigProfileToObjectsRequest) GetConfigProfileIdOk() (*string, bool)` + +GetConfigProfileIdOk returns a tuple with the ConfigProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfigProfileId + +`func (o *AssociateConfigProfileToObjectsRequest) SetConfigProfileId(v string)` + +SetConfigProfileId sets ConfigProfileId field to given value. + + +### GetFields + +`func (o *AssociateConfigProfileToObjectsRequest) GetFields() ProtobufFieldMask` + +GetFields returns the Fields field if non-nil, zero value otherwise. + +### GetFieldsOk + +`func (o *AssociateConfigProfileToObjectsRequest) GetFieldsOk() (*ProtobufFieldMask, bool)` + +GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFields + +`func (o *AssociateConfigProfileToObjectsRequest) SetFields(v ProtobufFieldMask)` + +SetFields sets Fields field to given value. + +### HasFields + +`func (o *AssociateConfigProfileToObjectsRequest) HasFields() bool` + +HasFields returns a boolean if a field has been set. + +### GetObjectIds + +`func (o *AssociateConfigProfileToObjectsRequest) GetObjectIds() []string` + +GetObjectIds returns the ObjectIds field if non-nil, zero value otherwise. + +### GetObjectIdsOk + +`func (o *AssociateConfigProfileToObjectsRequest) GetObjectIdsOk() (*[]string, bool)` + +GetObjectIdsOk returns a tuple with the ObjectIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetObjectIds + +`func (o *AssociateConfigProfileToObjectsRequest) SetObjectIds(v []string)` + +SetObjectIds sets ObjectIds field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/AssociateObjectToConfigProfilesRequest.md b/ipam/docs/AssociateObjectToConfigProfilesRequest.md new file mode 100644 index 0000000..6e18ea2 --- /dev/null +++ b/ipam/docs/AssociateObjectToConfigProfilesRequest.md @@ -0,0 +1,98 @@ +# AssociateObjectToConfigProfilesRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ConfigProfileIds** | **[]string** | The resource identifier. | +**Fields** | Pointer to [**ProtobufFieldMask**](ProtobufFieldMask.md) | | [optional] +**ObjectId** | **string** | The resource identifier. | + +## Methods + +### NewAssociateObjectToConfigProfilesRequest + +`func NewAssociateObjectToConfigProfilesRequest(configProfileIds []string, objectId string, ) *AssociateObjectToConfigProfilesRequest` + +NewAssociateObjectToConfigProfilesRequest instantiates a new AssociateObjectToConfigProfilesRequest 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 + +### NewAssociateObjectToConfigProfilesRequestWithDefaults + +`func NewAssociateObjectToConfigProfilesRequestWithDefaults() *AssociateObjectToConfigProfilesRequest` + +NewAssociateObjectToConfigProfilesRequestWithDefaults instantiates a new AssociateObjectToConfigProfilesRequest 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 + +### GetConfigProfileIds + +`func (o *AssociateObjectToConfigProfilesRequest) GetConfigProfileIds() []string` + +GetConfigProfileIds returns the ConfigProfileIds field if non-nil, zero value otherwise. + +### GetConfigProfileIdsOk + +`func (o *AssociateObjectToConfigProfilesRequest) GetConfigProfileIdsOk() (*[]string, bool)` + +GetConfigProfileIdsOk returns a tuple with the ConfigProfileIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfigProfileIds + +`func (o *AssociateObjectToConfigProfilesRequest) SetConfigProfileIds(v []string)` + +SetConfigProfileIds sets ConfigProfileIds field to given value. + + +### GetFields + +`func (o *AssociateObjectToConfigProfilesRequest) GetFields() ProtobufFieldMask` + +GetFields returns the Fields field if non-nil, zero value otherwise. + +### GetFieldsOk + +`func (o *AssociateObjectToConfigProfilesRequest) GetFieldsOk() (*ProtobufFieldMask, bool)` + +GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFields + +`func (o *AssociateObjectToConfigProfilesRequest) SetFields(v ProtobufFieldMask)` + +SetFields sets Fields field to given value. + +### HasFields + +`func (o *AssociateObjectToConfigProfilesRequest) HasFields() bool` + +HasFields returns a boolean if a field has been set. + +### GetObjectId + +`func (o *AssociateObjectToConfigProfilesRequest) GetObjectId() string` + +GetObjectId returns the ObjectId field if non-nil, zero value otherwise. + +### GetObjectIdOk + +`func (o *AssociateObjectToConfigProfilesRequest) GetObjectIdOk() (*string, bool)` + +GetObjectIdOk returns a tuple with the ObjectId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetObjectId + +`func (o *AssociateObjectToConfigProfilesRequest) SetObjectId(v string)` + +SetObjectId sets ObjectId field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/AssociatedHost.md b/ipam/docs/AssociatedHost.md new file mode 100644 index 0000000..28e9250 --- /dev/null +++ b/ipam/docs/AssociatedHost.md @@ -0,0 +1,134 @@ +# AssociatedHost + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | Pointer to **string** | The primary IP address of the on-prem host. | [optional] [readonly] +**Id** | Pointer to **string** | The resource identifier. | [optional] [readonly] +**Name** | Pointer to **string** | The DHCP host name. | [optional] [readonly] +**Ophid** | Pointer to **string** | The on-prem host ID. | [optional] [readonly] + +## Methods + +### NewAssociatedHost + +`func NewAssociatedHost() *AssociatedHost` + +NewAssociatedHost instantiates a new AssociatedHost 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 + +### NewAssociatedHostWithDefaults + +`func NewAssociatedHostWithDefaults() *AssociatedHost` + +NewAssociatedHostWithDefaults instantiates a new AssociatedHost 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 + +### GetAddress + +`func (o *AssociatedHost) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *AssociatedHost) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *AssociatedHost) SetAddress(v string)` + +SetAddress sets Address field to given value. + +### HasAddress + +`func (o *AssociatedHost) HasAddress() bool` + +HasAddress returns a boolean if a field has been set. + +### GetId + +`func (o *AssociatedHost) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *AssociatedHost) GetIdOk() (*string, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *AssociatedHost) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *AssociatedHost) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *AssociatedHost) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *AssociatedHost) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *AssociatedHost) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *AssociatedHost) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetOphid + +`func (o *AssociatedHost) GetOphid() string` + +GetOphid returns the Ophid field if non-nil, zero value otherwise. + +### GetOphidOk + +`func (o *AssociatedHost) GetOphidOk() (*string, bool)` + +GetOphidOk returns a tuple with the Ophid field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOphid + +`func (o *AssociatedHost) SetOphid(v string)` + +SetOphid sets Ophid field to given value. + +### HasOphid + +`func (o *AssociatedHost) HasOphid() bool` + +HasOphid returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/BulkCreateMacAddressItemResponse.md b/ipam/docs/BulkCreateMacAddressItemResponse.md new file mode 100644 index 0000000..bdfd974 --- /dev/null +++ b/ipam/docs/BulkCreateMacAddressItemResponse.md @@ -0,0 +1,56 @@ +# BulkCreateMacAddressItemResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Results** | Pointer to [**[]MacAddressItem**](MacAddressItem.md) | The created __MacAddressItem__ objects. | [optional] + +## Methods + +### NewBulkCreateMacAddressItemResponse + +`func NewBulkCreateMacAddressItemResponse() *BulkCreateMacAddressItemResponse` + +NewBulkCreateMacAddressItemResponse instantiates a new BulkCreateMacAddressItemResponse 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 + +### NewBulkCreateMacAddressItemResponseWithDefaults + +`func NewBulkCreateMacAddressItemResponseWithDefaults() *BulkCreateMacAddressItemResponse` + +NewBulkCreateMacAddressItemResponseWithDefaults instantiates a new BulkCreateMacAddressItemResponse 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 + +### GetResults + +`func (o *BulkCreateMacAddressItemResponse) GetResults() []MacAddressItem` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *BulkCreateMacAddressItemResponse) GetResultsOk() (*[]MacAddressItem, bool)` + +GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResults + +`func (o *BulkCreateMacAddressItemResponse) SetResults(v []MacAddressItem)` + +SetResults sets Results field to given value. + +### HasResults + +`func (o *BulkCreateMacAddressItemResponse) HasResults() bool` + +HasResults returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/BulkMacAddressItem.md b/ipam/docs/BulkMacAddressItem.md new file mode 100644 index 0000000..8938d72 --- /dev/null +++ b/ipam/docs/BulkMacAddressItem.md @@ -0,0 +1,72 @@ +# BulkMacAddressItem + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Addresses** | **[]string** | The addresses to match for the hardware filter. | +**HardwareFilterId** | **string** | The resource identifier. | + +## Methods + +### NewBulkMacAddressItem + +`func NewBulkMacAddressItem(addresses []string, hardwareFilterId string, ) *BulkMacAddressItem` + +NewBulkMacAddressItem instantiates a new BulkMacAddressItem 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 + +### NewBulkMacAddressItemWithDefaults + +`func NewBulkMacAddressItemWithDefaults() *BulkMacAddressItem` + +NewBulkMacAddressItemWithDefaults instantiates a new BulkMacAddressItem 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 + +### GetAddresses + +`func (o *BulkMacAddressItem) GetAddresses() []string` + +GetAddresses returns the Addresses field if non-nil, zero value otherwise. + +### GetAddressesOk + +`func (o *BulkMacAddressItem) GetAddressesOk() (*[]string, bool)` + +GetAddressesOk returns a tuple with the Addresses field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddresses + +`func (o *BulkMacAddressItem) SetAddresses(v []string)` + +SetAddresses sets Addresses field to given value. + + +### GetHardwareFilterId + +`func (o *BulkMacAddressItem) GetHardwareFilterId() string` + +GetHardwareFilterId returns the HardwareFilterId field if non-nil, zero value otherwise. + +### GetHardwareFilterIdOk + +`func (o *BulkMacAddressItem) GetHardwareFilterIdOk() (*string, bool)` + +GetHardwareFilterIdOk returns a tuple with the HardwareFilterId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHardwareFilterId + +`func (o *BulkMacAddressItem) SetHardwareFilterId(v string)` + +SetHardwareFilterId sets HardwareFilterId field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/CPSubnet.md b/ipam/docs/CPSubnet.md new file mode 100644 index 0000000..cff9fd5 --- /dev/null +++ b/ipam/docs/CPSubnet.md @@ -0,0 +1,264 @@ +# CPSubnet + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | Pointer to **string** | | [optional] +**Cidr** | Pointer to **int64** | | [optional] +**Comment** | Pointer to **string** | | [optional] +**Id** | Pointer to **string** | The resource identifier. | [optional] [readonly] +**IpSpaceName** | Pointer to **string** | | [optional] +**IpSpaceRef** | Pointer to **string** | The resource identifier. | [optional] +**Name** | Pointer to **string** | | [optional] +**Parent** | Pointer to **string** | The resource identifier. | [optional] +**Protocol** | Pointer to **string** | | [optional] + +## Methods + +### NewCPSubnet + +`func NewCPSubnet() *CPSubnet` + +NewCPSubnet instantiates a new CPSubnet 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 + +### NewCPSubnetWithDefaults + +`func NewCPSubnetWithDefaults() *CPSubnet` + +NewCPSubnetWithDefaults instantiates a new CPSubnet 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 + +### GetAddress + +`func (o *CPSubnet) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *CPSubnet) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *CPSubnet) SetAddress(v string)` + +SetAddress sets Address field to given value. + +### HasAddress + +`func (o *CPSubnet) HasAddress() bool` + +HasAddress returns a boolean if a field has been set. + +### GetCidr + +`func (o *CPSubnet) GetCidr() int64` + +GetCidr returns the Cidr field if non-nil, zero value otherwise. + +### GetCidrOk + +`func (o *CPSubnet) GetCidrOk() (*int64, bool)` + +GetCidrOk returns a tuple with the Cidr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCidr + +`func (o *CPSubnet) SetCidr(v int64)` + +SetCidr sets Cidr field to given value. + +### HasCidr + +`func (o *CPSubnet) HasCidr() bool` + +HasCidr returns a boolean if a field has been set. + +### GetComment + +`func (o *CPSubnet) GetComment() string` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *CPSubnet) GetCommentOk() (*string, bool)` + +GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComment + +`func (o *CPSubnet) SetComment(v string)` + +SetComment sets Comment field to given value. + +### HasComment + +`func (o *CPSubnet) HasComment() bool` + +HasComment returns a boolean if a field has been set. + +### GetId + +`func (o *CPSubnet) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *CPSubnet) GetIdOk() (*string, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *CPSubnet) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *CPSubnet) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetIpSpaceName + +`func (o *CPSubnet) GetIpSpaceName() string` + +GetIpSpaceName returns the IpSpaceName field if non-nil, zero value otherwise. + +### GetIpSpaceNameOk + +`func (o *CPSubnet) GetIpSpaceNameOk() (*string, bool)` + +GetIpSpaceNameOk returns a tuple with the IpSpaceName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIpSpaceName + +`func (o *CPSubnet) SetIpSpaceName(v string)` + +SetIpSpaceName sets IpSpaceName field to given value. + +### HasIpSpaceName + +`func (o *CPSubnet) HasIpSpaceName() bool` + +HasIpSpaceName returns a boolean if a field has been set. + +### GetIpSpaceRef + +`func (o *CPSubnet) GetIpSpaceRef() string` + +GetIpSpaceRef returns the IpSpaceRef field if non-nil, zero value otherwise. + +### GetIpSpaceRefOk + +`func (o *CPSubnet) GetIpSpaceRefOk() (*string, bool)` + +GetIpSpaceRefOk returns a tuple with the IpSpaceRef field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIpSpaceRef + +`func (o *CPSubnet) SetIpSpaceRef(v string)` + +SetIpSpaceRef sets IpSpaceRef field to given value. + +### HasIpSpaceRef + +`func (o *CPSubnet) HasIpSpaceRef() bool` + +HasIpSpaceRef returns a boolean if a field has been set. + +### GetName + +`func (o *CPSubnet) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *CPSubnet) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *CPSubnet) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *CPSubnet) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetParent + +`func (o *CPSubnet) GetParent() string` + +GetParent returns the Parent field if non-nil, zero value otherwise. + +### GetParentOk + +`func (o *CPSubnet) GetParentOk() (*string, bool)` + +GetParentOk returns a tuple with the Parent field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetParent + +`func (o *CPSubnet) SetParent(v string)` + +SetParent sets Parent field to given value. + +### HasParent + +`func (o *CPSubnet) HasParent() bool` + +HasParent returns a boolean if a field has been set. + +### GetProtocol + +`func (o *CPSubnet) GetProtocol() string` + +GetProtocol returns the Protocol field if non-nil, zero value otherwise. + +### GetProtocolOk + +`func (o *CPSubnet) GetProtocolOk() (*string, bool)` + +GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProtocol + +`func (o *CPSubnet) SetProtocol(v string)` + +SetProtocol sets Protocol field to given value. + +### HasProtocol + +`func (o *CPSubnet) HasProtocol() bool` + +HasProtocol returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/CidrBlock.md b/ipam/docs/CidrBlock.md new file mode 100644 index 0000000..57aba90 --- /dev/null +++ b/ipam/docs/CidrBlock.md @@ -0,0 +1,186 @@ +# CidrBlock + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | Pointer to **string** | The address part of the CidrBlock. | [optional] [readonly] +**Cidr** | Pointer to **int64** | The CIDR part of the CidrBlock. | [optional] [readonly] +**FederatedRealms** | Pointer to **[]string** | Reserved for future use. | [optional] [readonly] +**Id** | Pointer to **string** | The resource identifier. | [optional] [readonly] +**Parent** | Pointer to **string** | The resource identifier. | [optional] +**Space** | Pointer to **string** | The resource identifier. | [optional] + +## Methods + +### NewCidrBlock + +`func NewCidrBlock() *CidrBlock` + +NewCidrBlock instantiates a new CidrBlock 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 + +### NewCidrBlockWithDefaults + +`func NewCidrBlockWithDefaults() *CidrBlock` + +NewCidrBlockWithDefaults instantiates a new CidrBlock 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 + +### GetAddress + +`func (o *CidrBlock) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *CidrBlock) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *CidrBlock) SetAddress(v string)` + +SetAddress sets Address field to given value. + +### HasAddress + +`func (o *CidrBlock) HasAddress() bool` + +HasAddress returns a boolean if a field has been set. + +### GetCidr + +`func (o *CidrBlock) GetCidr() int64` + +GetCidr returns the Cidr field if non-nil, zero value otherwise. + +### GetCidrOk + +`func (o *CidrBlock) GetCidrOk() (*int64, bool)` + +GetCidrOk returns a tuple with the Cidr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCidr + +`func (o *CidrBlock) SetCidr(v int64)` + +SetCidr sets Cidr field to given value. + +### HasCidr + +`func (o *CidrBlock) HasCidr() bool` + +HasCidr returns a boolean if a field has been set. + +### GetFederatedRealms + +`func (o *CidrBlock) GetFederatedRealms() []string` + +GetFederatedRealms returns the FederatedRealms field if non-nil, zero value otherwise. + +### GetFederatedRealmsOk + +`func (o *CidrBlock) GetFederatedRealmsOk() (*[]string, bool)` + +GetFederatedRealmsOk returns a tuple with the FederatedRealms field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFederatedRealms + +`func (o *CidrBlock) SetFederatedRealms(v []string)` + +SetFederatedRealms sets FederatedRealms field to given value. + +### HasFederatedRealms + +`func (o *CidrBlock) HasFederatedRealms() bool` + +HasFederatedRealms returns a boolean if a field has been set. + +### GetId + +`func (o *CidrBlock) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *CidrBlock) GetIdOk() (*string, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *CidrBlock) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *CidrBlock) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetParent + +`func (o *CidrBlock) GetParent() string` + +GetParent returns the Parent field if non-nil, zero value otherwise. + +### GetParentOk + +`func (o *CidrBlock) GetParentOk() (*string, bool)` + +GetParentOk returns a tuple with the Parent field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetParent + +`func (o *CidrBlock) SetParent(v string)` + +SetParent sets Parent field to given value. + +### HasParent + +`func (o *CidrBlock) HasParent() bool` + +HasParent returns a boolean if a field has been set. + +### GetSpace + +`func (o *CidrBlock) GetSpace() string` + +GetSpace returns the Space field if non-nil, zero value otherwise. + +### GetSpaceOk + +`func (o *CidrBlock) GetSpaceOk() (*string, bool)` + +GetSpaceOk returns a tuple with the Space field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSpace + +`func (o *CidrBlock) SetSpace(v string)` + +SetSpace sets Space field to given value. + +### HasSpace + +`func (o *CidrBlock) HasSpace() bool` + +HasSpace returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/ConfigProfileAPI.md b/ipam/docs/ConfigProfileAPI.md new file mode 100644 index 0000000..f2b63e9 --- /dev/null +++ b/ipam/docs/ConfigProfileAPI.md @@ -0,0 +1,412 @@ +# ConfigProfileAPI + +All URIs are relative to *http://csp.infoblox.com/api/ddi/v1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**AssociateConfigProfileToObjects**](ConfigProfileAPI.md#AssociateConfigProfileToObjects) | **Post** /dhcp/config_profile/link_profile | Associate a config profile to objects. +[**AssociateObjectToConfigProfiles**](ConfigProfileAPI.md#AssociateObjectToConfigProfiles) | **Post** /dhcp/config_profile/link_object | Associate an object to config profiles. +[**DisassociateConfigProfileFromObjects**](ConfigProfileAPI.md#DisassociateConfigProfileFromObjects) | **Post** /dhcp/config_profile/delink_profile | Disassociate a config profile from objects. +[**DisassociateObjectFromConfigProfiles**](ConfigProfileAPI.md#DisassociateObjectFromConfigProfiles) | **Post** /dhcp/config_profile/delink_object | Disassociate an object from a config profile. +[**ListConfigProfiles**](ConfigProfileAPI.md#ListConfigProfiles) | **Get** /dhcp/config_profile/profiles | Retrieve config profiles. +[**ListSubnets**](ConfigProfileAPI.md#ListSubnets) | **Get** /dhcp/config_profile/subnets | Retrieve subnets associated with a config profile. + + + +## AssociateConfigProfileToObjects + +> map[string]interface{} AssociateConfigProfileToObjects(ctx).Body(body).Execute() + +Associate a config profile to objects. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + body := *ipam.NewAssociateConfigProfileToObjectsRequest("ConfigProfileId_example", []string{"ObjectIds_example"}) // AssociateConfigProfileToObjectsRequest | + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.ConfigProfileAPI.AssociateConfigProfileToObjects(context.Background()).Body(body).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ConfigProfileAPI.AssociateConfigProfileToObjects``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `AssociateConfigProfileToObjects`: map[string]interface{} + fmt.Fprintf(os.Stdout, "Response from `ConfigProfileAPI.AssociateConfigProfileToObjects`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a `ConfigProfileAPIAssociateConfigProfileToObjectsRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**body** | [**AssociateConfigProfileToObjectsRequest**](AssociateConfigProfileToObjectsRequest.md) | | + +### Return type + +**map[string]interface{}** + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AssociateObjectToConfigProfiles + +> map[string]interface{} AssociateObjectToConfigProfiles(ctx).Body(body).Execute() + +Associate an object to config profiles. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + body := *ipam.NewAssociateObjectToConfigProfilesRequest([]string{"ConfigProfileIds_example"}, "ObjectId_example") // AssociateObjectToConfigProfilesRequest | + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.ConfigProfileAPI.AssociateObjectToConfigProfiles(context.Background()).Body(body).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ConfigProfileAPI.AssociateObjectToConfigProfiles``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `AssociateObjectToConfigProfiles`: map[string]interface{} + fmt.Fprintf(os.Stdout, "Response from `ConfigProfileAPI.AssociateObjectToConfigProfiles`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a `ConfigProfileAPIAssociateObjectToConfigProfilesRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**body** | [**AssociateObjectToConfigProfilesRequest**](AssociateObjectToConfigProfilesRequest.md) | | + +### Return type + +**map[string]interface{}** + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DisassociateConfigProfileFromObjects + +> map[string]interface{} DisassociateConfigProfileFromObjects(ctx).Body(body).Execute() + +Disassociate a config profile from objects. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + body := *ipam.NewDisassociateConfigProfileFromObjectsRequest("ConfigProfileId_example", []string{"ObjectIds_example"}) // DisassociateConfigProfileFromObjectsRequest | + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.ConfigProfileAPI.DisassociateConfigProfileFromObjects(context.Background()).Body(body).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ConfigProfileAPI.DisassociateConfigProfileFromObjects``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `DisassociateConfigProfileFromObjects`: map[string]interface{} + fmt.Fprintf(os.Stdout, "Response from `ConfigProfileAPI.DisassociateConfigProfileFromObjects`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a `ConfigProfileAPIDisassociateConfigProfileFromObjectsRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**body** | [**DisassociateConfigProfileFromObjectsRequest**](DisassociateConfigProfileFromObjectsRequest.md) | | + +### Return type + +**map[string]interface{}** + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DisassociateObjectFromConfigProfiles + +> map[string]interface{} DisassociateObjectFromConfigProfiles(ctx).Body(body).Execute() + +Disassociate an object from a config profile. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + body := *ipam.NewDisassociateObjectFromConfigProfilesRequest([]string{"ConfigProfileIds_example"}, "ObjectId_example") // DisassociateObjectFromConfigProfilesRequest | + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.ConfigProfileAPI.DisassociateObjectFromConfigProfiles(context.Background()).Body(body).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ConfigProfileAPI.DisassociateObjectFromConfigProfiles``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `DisassociateObjectFromConfigProfiles`: map[string]interface{} + fmt.Fprintf(os.Stdout, "Response from `ConfigProfileAPI.DisassociateObjectFromConfigProfiles`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a `ConfigProfileAPIDisassociateObjectFromConfigProfilesRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**body** | [**DisassociateObjectFromConfigProfilesRequest**](DisassociateObjectFromConfigProfilesRequest.md) | | + +### Return type + +**map[string]interface{}** + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListConfigProfiles + +> ListConfigProfileResponse ListConfigProfiles(ctx).ObjectId(objectId).Execute() + +Retrieve config profiles. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.ConfigProfileAPI.ListConfigProfiles(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ConfigProfileAPI.ListConfigProfiles``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListConfigProfiles`: ListConfigProfileResponse + fmt.Fprintf(os.Stdout, "Response from `ConfigProfileAPI.ListConfigProfiles`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a `ConfigProfileAPIListConfigProfilesRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**objectId** | **string** | | + +### Return type + +[**ListConfigProfileResponse**](ListConfigProfileResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListSubnets + +> ListCPSubnetResponse ListSubnets(ctx).ConfigProfileId(configProfileId).OrderBy(orderBy).Offset(offset).Limit(limit).PageToken(pageToken).Execute() + +Retrieve subnets associated with a config profile. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.ConfigProfileAPI.ListSubnets(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ConfigProfileAPI.ListSubnets``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListSubnets`: ListCPSubnetResponse + fmt.Fprintf(os.Stdout, "Response from `ConfigProfileAPI.ListSubnets`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a `ConfigProfileAPIListSubnetsRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**configProfileId** | **string** | | +**orderBy** | **string** | A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order. | +**offset** | **int32** | The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'. | +**limit** | **int32** | The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value. | +**pageToken** | **string** | The service-defined string used to identify a page of resources. A null value indicates the first page. | + +### Return type + +[**ListCPSubnetResponse**](ListCPSubnetResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/ipam/docs/CreateMacAddressItemResponse.md b/ipam/docs/CreateMacAddressItemResponse.md new file mode 100644 index 0000000..de35933 --- /dev/null +++ b/ipam/docs/CreateMacAddressItemResponse.md @@ -0,0 +1,56 @@ +# CreateMacAddressItemResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Result** | Pointer to [**MacAddressItem**](MacAddressItem.md) | The created __MacAddressItem__ object. | [optional] + +## Methods + +### NewCreateMacAddressItemResponse + +`func NewCreateMacAddressItemResponse() *CreateMacAddressItemResponse` + +NewCreateMacAddressItemResponse instantiates a new CreateMacAddressItemResponse 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 + +### NewCreateMacAddressItemResponseWithDefaults + +`func NewCreateMacAddressItemResponseWithDefaults() *CreateMacAddressItemResponse` + +NewCreateMacAddressItemResponseWithDefaults instantiates a new CreateMacAddressItemResponse 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 + +### GetResult + +`func (o *CreateMacAddressItemResponse) GetResult() MacAddressItem` + +GetResult returns the Result field if non-nil, zero value otherwise. + +### GetResultOk + +`func (o *CreateMacAddressItemResponse) GetResultOk() (*MacAddressItem, bool)` + +GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResult + +`func (o *CreateMacAddressItemResponse) SetResult(v MacAddressItem)` + +SetResult sets Result field to given value. + +### HasResult + +`func (o *CreateMacAddressItemResponse) HasResult() bool` + +HasResult returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/DHCPServiceInstance.md b/ipam/docs/DHCPServiceInstance.md new file mode 100644 index 0000000..800c740 --- /dev/null +++ b/ipam/docs/DHCPServiceInstance.md @@ -0,0 +1,212 @@ +# DHCPServiceInstance + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AssociatedHosts** | Pointer to [**[]AssociatedHost**](AssociatedHost.md) | | [optional] +**AssociatedServer** | Pointer to [**HostAssociatedServer**](HostAssociatedServer.md) | | [optional] +**Comment** | Pointer to **string** | The comment for the service. | [optional] [readonly] +**Id** | Pointer to **string** | The resource identifier. | [optional] [readonly] +**IpSpace** | Pointer to **string** | The resource identifier. | [optional] +**Name** | Pointer to **string** | The display name of the service. | [optional] [readonly] +**Tags** | Pointer to **map[string]interface{}** | The tags of the service host in JSON format. | [optional] + +## Methods + +### NewDHCPServiceInstance + +`func NewDHCPServiceInstance() *DHCPServiceInstance` + +NewDHCPServiceInstance instantiates a new DHCPServiceInstance 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 + +### NewDHCPServiceInstanceWithDefaults + +`func NewDHCPServiceInstanceWithDefaults() *DHCPServiceInstance` + +NewDHCPServiceInstanceWithDefaults instantiates a new DHCPServiceInstance 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 + +### GetAssociatedHosts + +`func (o *DHCPServiceInstance) GetAssociatedHosts() []AssociatedHost` + +GetAssociatedHosts returns the AssociatedHosts field if non-nil, zero value otherwise. + +### GetAssociatedHostsOk + +`func (o *DHCPServiceInstance) GetAssociatedHostsOk() (*[]AssociatedHost, bool)` + +GetAssociatedHostsOk returns a tuple with the AssociatedHosts field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssociatedHosts + +`func (o *DHCPServiceInstance) SetAssociatedHosts(v []AssociatedHost)` + +SetAssociatedHosts sets AssociatedHosts field to given value. + +### HasAssociatedHosts + +`func (o *DHCPServiceInstance) HasAssociatedHosts() bool` + +HasAssociatedHosts returns a boolean if a field has been set. + +### GetAssociatedServer + +`func (o *DHCPServiceInstance) GetAssociatedServer() HostAssociatedServer` + +GetAssociatedServer returns the AssociatedServer field if non-nil, zero value otherwise. + +### GetAssociatedServerOk + +`func (o *DHCPServiceInstance) GetAssociatedServerOk() (*HostAssociatedServer, bool)` + +GetAssociatedServerOk returns a tuple with the AssociatedServer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAssociatedServer + +`func (o *DHCPServiceInstance) SetAssociatedServer(v HostAssociatedServer)` + +SetAssociatedServer sets AssociatedServer field to given value. + +### HasAssociatedServer + +`func (o *DHCPServiceInstance) HasAssociatedServer() bool` + +HasAssociatedServer returns a boolean if a field has been set. + +### GetComment + +`func (o *DHCPServiceInstance) GetComment() string` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *DHCPServiceInstance) GetCommentOk() (*string, bool)` + +GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComment + +`func (o *DHCPServiceInstance) SetComment(v string)` + +SetComment sets Comment field to given value. + +### HasComment + +`func (o *DHCPServiceInstance) HasComment() bool` + +HasComment returns a boolean if a field has been set. + +### GetId + +`func (o *DHCPServiceInstance) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *DHCPServiceInstance) GetIdOk() (*string, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *DHCPServiceInstance) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *DHCPServiceInstance) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetIpSpace + +`func (o *DHCPServiceInstance) GetIpSpace() string` + +GetIpSpace returns the IpSpace field if non-nil, zero value otherwise. + +### GetIpSpaceOk + +`func (o *DHCPServiceInstance) GetIpSpaceOk() (*string, bool)` + +GetIpSpaceOk returns a tuple with the IpSpace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIpSpace + +`func (o *DHCPServiceInstance) SetIpSpace(v string)` + +SetIpSpace sets IpSpace field to given value. + +### HasIpSpace + +`func (o *DHCPServiceInstance) HasIpSpace() bool` + +HasIpSpace returns a boolean if a field has been set. + +### GetName + +`func (o *DHCPServiceInstance) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *DHCPServiceInstance) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *DHCPServiceInstance) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *DHCPServiceInstance) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetTags + +`func (o *DHCPServiceInstance) GetTags() map[string]interface{}` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *DHCPServiceInstance) GetTagsOk() (*map[string]interface{}, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *DHCPServiceInstance) SetTags(v map[string]interface{})` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *DHCPServiceInstance) HasTags() bool` + +HasTags returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/DisassociateConfigProfileFromObjectsRequest.md b/ipam/docs/DisassociateConfigProfileFromObjectsRequest.md new file mode 100644 index 0000000..5f79183 --- /dev/null +++ b/ipam/docs/DisassociateConfigProfileFromObjectsRequest.md @@ -0,0 +1,98 @@ +# DisassociateConfigProfileFromObjectsRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ConfigProfileId** | **string** | The resource identifier. | +**Fields** | Pointer to [**ProtobufFieldMask**](ProtobufFieldMask.md) | | [optional] +**ObjectIds** | **[]string** | The resource identifier. | + +## Methods + +### NewDisassociateConfigProfileFromObjectsRequest + +`func NewDisassociateConfigProfileFromObjectsRequest(configProfileId string, objectIds []string, ) *DisassociateConfigProfileFromObjectsRequest` + +NewDisassociateConfigProfileFromObjectsRequest instantiates a new DisassociateConfigProfileFromObjectsRequest 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 + +### NewDisassociateConfigProfileFromObjectsRequestWithDefaults + +`func NewDisassociateConfigProfileFromObjectsRequestWithDefaults() *DisassociateConfigProfileFromObjectsRequest` + +NewDisassociateConfigProfileFromObjectsRequestWithDefaults instantiates a new DisassociateConfigProfileFromObjectsRequest 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 + +### GetConfigProfileId + +`func (o *DisassociateConfigProfileFromObjectsRequest) GetConfigProfileId() string` + +GetConfigProfileId returns the ConfigProfileId field if non-nil, zero value otherwise. + +### GetConfigProfileIdOk + +`func (o *DisassociateConfigProfileFromObjectsRequest) GetConfigProfileIdOk() (*string, bool)` + +GetConfigProfileIdOk returns a tuple with the ConfigProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfigProfileId + +`func (o *DisassociateConfigProfileFromObjectsRequest) SetConfigProfileId(v string)` + +SetConfigProfileId sets ConfigProfileId field to given value. + + +### GetFields + +`func (o *DisassociateConfigProfileFromObjectsRequest) GetFields() ProtobufFieldMask` + +GetFields returns the Fields field if non-nil, zero value otherwise. + +### GetFieldsOk + +`func (o *DisassociateConfigProfileFromObjectsRequest) GetFieldsOk() (*ProtobufFieldMask, bool)` + +GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFields + +`func (o *DisassociateConfigProfileFromObjectsRequest) SetFields(v ProtobufFieldMask)` + +SetFields sets Fields field to given value. + +### HasFields + +`func (o *DisassociateConfigProfileFromObjectsRequest) HasFields() bool` + +HasFields returns a boolean if a field has been set. + +### GetObjectIds + +`func (o *DisassociateConfigProfileFromObjectsRequest) GetObjectIds() []string` + +GetObjectIds returns the ObjectIds field if non-nil, zero value otherwise. + +### GetObjectIdsOk + +`func (o *DisassociateConfigProfileFromObjectsRequest) GetObjectIdsOk() (*[]string, bool)` + +GetObjectIdsOk returns a tuple with the ObjectIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetObjectIds + +`func (o *DisassociateConfigProfileFromObjectsRequest) SetObjectIds(v []string)` + +SetObjectIds sets ObjectIds field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/DisassociateObjectFromConfigProfilesRequest.md b/ipam/docs/DisassociateObjectFromConfigProfilesRequest.md new file mode 100644 index 0000000..8169737 --- /dev/null +++ b/ipam/docs/DisassociateObjectFromConfigProfilesRequest.md @@ -0,0 +1,98 @@ +# DisassociateObjectFromConfigProfilesRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ConfigProfileIds** | **[]string** | The resource identifier. | +**Fields** | Pointer to [**ProtobufFieldMask**](ProtobufFieldMask.md) | | [optional] +**ObjectId** | **string** | The resource identifier. | + +## Methods + +### NewDisassociateObjectFromConfigProfilesRequest + +`func NewDisassociateObjectFromConfigProfilesRequest(configProfileIds []string, objectId string, ) *DisassociateObjectFromConfigProfilesRequest` + +NewDisassociateObjectFromConfigProfilesRequest instantiates a new DisassociateObjectFromConfigProfilesRequest 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 + +### NewDisassociateObjectFromConfigProfilesRequestWithDefaults + +`func NewDisassociateObjectFromConfigProfilesRequestWithDefaults() *DisassociateObjectFromConfigProfilesRequest` + +NewDisassociateObjectFromConfigProfilesRequestWithDefaults instantiates a new DisassociateObjectFromConfigProfilesRequest 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 + +### GetConfigProfileIds + +`func (o *DisassociateObjectFromConfigProfilesRequest) GetConfigProfileIds() []string` + +GetConfigProfileIds returns the ConfigProfileIds field if non-nil, zero value otherwise. + +### GetConfigProfileIdsOk + +`func (o *DisassociateObjectFromConfigProfilesRequest) GetConfigProfileIdsOk() (*[]string, bool)` + +GetConfigProfileIdsOk returns a tuple with the ConfigProfileIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfigProfileIds + +`func (o *DisassociateObjectFromConfigProfilesRequest) SetConfigProfileIds(v []string)` + +SetConfigProfileIds sets ConfigProfileIds field to given value. + + +### GetFields + +`func (o *DisassociateObjectFromConfigProfilesRequest) GetFields() ProtobufFieldMask` + +GetFields returns the Fields field if non-nil, zero value otherwise. + +### GetFieldsOk + +`func (o *DisassociateObjectFromConfigProfilesRequest) GetFieldsOk() (*ProtobufFieldMask, bool)` + +GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFields + +`func (o *DisassociateObjectFromConfigProfilesRequest) SetFields(v ProtobufFieldMask)` + +SetFields sets Fields field to given value. + +### HasFields + +`func (o *DisassociateObjectFromConfigProfilesRequest) HasFields() bool` + +HasFields returns a boolean if a field has been set. + +### GetObjectId + +`func (o *DisassociateObjectFromConfigProfilesRequest) GetObjectId() string` + +GetObjectId returns the ObjectId field if non-nil, zero value otherwise. + +### GetObjectIdOk + +`func (o *DisassociateObjectFromConfigProfilesRequest) GetObjectIdOk() (*string, bool)` + +GetObjectIdOk returns a tuple with the ObjectId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetObjectId + +`func (o *DisassociateObjectFromConfigProfilesRequest) SetObjectId(v string)` + +SetObjectId sets ObjectId field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/ListAncestorResponse.md b/ipam/docs/ListAncestorResponse.md new file mode 100644 index 0000000..7c87579 --- /dev/null +++ b/ipam/docs/ListAncestorResponse.md @@ -0,0 +1,56 @@ +# ListAncestorResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Results** | Pointer to [**[]CidrBlock**](CidrBlock.md) | The list of the ancestors of the CidrBlock. | [optional] + +## Methods + +### NewListAncestorResponse + +`func NewListAncestorResponse() *ListAncestorResponse` + +NewListAncestorResponse instantiates a new ListAncestorResponse 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 + +### NewListAncestorResponseWithDefaults + +`func NewListAncestorResponseWithDefaults() *ListAncestorResponse` + +NewListAncestorResponseWithDefaults instantiates a new ListAncestorResponse 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 + +### GetResults + +`func (o *ListAncestorResponse) GetResults() []CidrBlock` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *ListAncestorResponse) GetResultsOk() (*[]CidrBlock, bool)` + +GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResults + +`func (o *ListAncestorResponse) SetResults(v []CidrBlock)` + +SetResults sets Results field to given value. + +### HasResults + +`func (o *ListAncestorResponse) HasResults() bool` + +HasResults returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/ListCPSubnetResponse.md b/ipam/docs/ListCPSubnetResponse.md new file mode 100644 index 0000000..1f3308b --- /dev/null +++ b/ipam/docs/ListCPSubnetResponse.md @@ -0,0 +1,56 @@ +# ListCPSubnetResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Results** | Pointer to [**[]CPSubnet**](CPSubnet.md) | | [optional] + +## Methods + +### NewListCPSubnetResponse + +`func NewListCPSubnetResponse() *ListCPSubnetResponse` + +NewListCPSubnetResponse instantiates a new ListCPSubnetResponse 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 + +### NewListCPSubnetResponseWithDefaults + +`func NewListCPSubnetResponseWithDefaults() *ListCPSubnetResponse` + +NewListCPSubnetResponseWithDefaults instantiates a new ListCPSubnetResponse 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 + +### GetResults + +`func (o *ListCPSubnetResponse) GetResults() []CPSubnet` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *ListCPSubnetResponse) GetResultsOk() (*[]CPSubnet, bool)` + +GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResults + +`func (o *ListCPSubnetResponse) SetResults(v []CPSubnet)` + +SetResults sets Results field to given value. + +### HasResults + +`func (o *ListCPSubnetResponse) HasResults() bool` + +HasResults returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/ListConfigProfileResponse.md b/ipam/docs/ListConfigProfileResponse.md new file mode 100644 index 0000000..2dc711f --- /dev/null +++ b/ipam/docs/ListConfigProfileResponse.md @@ -0,0 +1,56 @@ +# ListConfigProfileResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Results** | Pointer to [**[]Server**](Server.md) | Contains result-set depending on the type. | [optional] + +## Methods + +### NewListConfigProfileResponse + +`func NewListConfigProfileResponse() *ListConfigProfileResponse` + +NewListConfigProfileResponse instantiates a new ListConfigProfileResponse 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 + +### NewListConfigProfileResponseWithDefaults + +`func NewListConfigProfileResponseWithDefaults() *ListConfigProfileResponse` + +NewListConfigProfileResponseWithDefaults instantiates a new ListConfigProfileResponse 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 + +### GetResults + +`func (o *ListConfigProfileResponse) GetResults() []Server` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *ListConfigProfileResponse) GetResultsOk() (*[]Server, bool)` + +GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResults + +`func (o *ListConfigProfileResponse) SetResults(v []Server)` + +SetResults sets Results field to given value. + +### HasResults + +`func (o *ListConfigProfileResponse) HasResults() bool` + +HasResults returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/ListDHCPServiceInstanceResponse.md b/ipam/docs/ListDHCPServiceInstanceResponse.md new file mode 100644 index 0000000..a204ebe --- /dev/null +++ b/ipam/docs/ListDHCPServiceInstanceResponse.md @@ -0,0 +1,56 @@ +# ListDHCPServiceInstanceResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Results** | Pointer to [**[]DHCPServiceInstance**](DHCPServiceInstance.md) | The list of DHCP Service objects. | [optional] + +## Methods + +### NewListDHCPServiceInstanceResponse + +`func NewListDHCPServiceInstanceResponse() *ListDHCPServiceInstanceResponse` + +NewListDHCPServiceInstanceResponse instantiates a new ListDHCPServiceInstanceResponse 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 + +### NewListDHCPServiceInstanceResponseWithDefaults + +`func NewListDHCPServiceInstanceResponseWithDefaults() *ListDHCPServiceInstanceResponse` + +NewListDHCPServiceInstanceResponseWithDefaults instantiates a new ListDHCPServiceInstanceResponse 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 + +### GetResults + +`func (o *ListDHCPServiceInstanceResponse) GetResults() []DHCPServiceInstance` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *ListDHCPServiceInstanceResponse) GetResultsOk() (*[]DHCPServiceInstance, bool)` + +GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResults + +`func (o *ListDHCPServiceInstanceResponse) SetResults(v []DHCPServiceInstance)` + +SetResults sets Results field to given value. + +### HasResults + +`func (o *ListDHCPServiceInstanceResponse) HasResults() bool` + +HasResults returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/ListMacAddressItemResponse.md b/ipam/docs/ListMacAddressItemResponse.md new file mode 100644 index 0000000..62e1226 --- /dev/null +++ b/ipam/docs/ListMacAddressItemResponse.md @@ -0,0 +1,56 @@ +# ListMacAddressItemResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Results** | Pointer to [**[]MacAddressItem**](MacAddressItem.md) | The list of __MacAddressItem__ objects. | [optional] + +## Methods + +### NewListMacAddressItemResponse + +`func NewListMacAddressItemResponse() *ListMacAddressItemResponse` + +NewListMacAddressItemResponse instantiates a new ListMacAddressItemResponse 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 + +### NewListMacAddressItemResponseWithDefaults + +`func NewListMacAddressItemResponseWithDefaults() *ListMacAddressItemResponse` + +NewListMacAddressItemResponseWithDefaults instantiates a new ListMacAddressItemResponse 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 + +### GetResults + +`func (o *ListMacAddressItemResponse) GetResults() []MacAddressItem` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *ListMacAddressItemResponse) GetResultsOk() (*[]MacAddressItem, bool)` + +GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResults + +`func (o *ListMacAddressItemResponse) SetResults(v []MacAddressItem)` + +SetResults sets Results field to given value. + +### HasResults + +`func (o *ListMacAddressItemResponse) HasResults() bool` + +HasResults returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/MacAddressItem.md b/ipam/docs/MacAddressItem.md new file mode 100644 index 0000000..0a76c67 --- /dev/null +++ b/ipam/docs/MacAddressItem.md @@ -0,0 +1,103 @@ +# MacAddressItem + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | **string** | The address to match for the hardware filter. | +**HardwareFilterId** | Pointer to **string** | The resource identifier. | [optional] +**Id** | Pointer to **string** | The resource identifier. | [optional] [readonly] + +## Methods + +### NewMacAddressItem + +`func NewMacAddressItem(address string, ) *MacAddressItem` + +NewMacAddressItem instantiates a new MacAddressItem 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 + +### NewMacAddressItemWithDefaults + +`func NewMacAddressItemWithDefaults() *MacAddressItem` + +NewMacAddressItemWithDefaults instantiates a new MacAddressItem 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 + +### GetAddress + +`func (o *MacAddressItem) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *MacAddressItem) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *MacAddressItem) SetAddress(v string)` + +SetAddress sets Address field to given value. + + +### GetHardwareFilterId + +`func (o *MacAddressItem) GetHardwareFilterId() string` + +GetHardwareFilterId returns the HardwareFilterId field if non-nil, zero value otherwise. + +### GetHardwareFilterIdOk + +`func (o *MacAddressItem) GetHardwareFilterIdOk() (*string, bool)` + +GetHardwareFilterIdOk returns a tuple with the HardwareFilterId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHardwareFilterId + +`func (o *MacAddressItem) SetHardwareFilterId(v string)` + +SetHardwareFilterId sets HardwareFilterId field to given value. + +### HasHardwareFilterId + +`func (o *MacAddressItem) HasHardwareFilterId() bool` + +HasHardwareFilterId returns a boolean if a field has been set. + +### GetId + +`func (o *MacAddressItem) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *MacAddressItem) GetIdOk() (*string, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *MacAddressItem) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *MacAddressItem) HasId() bool` + +HasId returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/MacAddressItemAPI.md b/ipam/docs/MacAddressItemAPI.md new file mode 100644 index 0000000..f511dc3 --- /dev/null +++ b/ipam/docs/MacAddressItemAPI.md @@ -0,0 +1,491 @@ +# MacAddressItemAPI + +All URIs are relative to *http://csp.infoblox.com/api/ddi/v1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**BulkCreate**](MacAddressItemAPI.md#BulkCreate) | **Post** /dhcp/mac_address_item/bulk_create | Bulk create the mac address items. +[**Create**](MacAddressItemAPI.md#Create) | **Post** /dhcp/mac_address_item | Create the mac address item. +[**Delete**](MacAddressItemAPI.md#Delete) | **Delete** /dhcp/mac_address_item/{id} | Delete the mac address item. +[**List**](MacAddressItemAPI.md#List) | **Get** /dhcp/mac_address_item | Retrieve mac address items. +[**Read**](MacAddressItemAPI.md#Read) | **Get** /dhcp/mac_address_item/{id} | Retrieve the mac address item. +[**Update**](MacAddressItemAPI.md#Update) | **Patch** /dhcp/mac_address_item/{id} | Update the mac address item. +[**Upload**](MacAddressItemAPI.md#Upload) | **Post** /dhcp/mac_address_item/upload | Upload mac addresses to a large scale hardware filter. + + + +## BulkCreate + +> BulkCreateMacAddressItemResponse BulkCreate(ctx).Body(body).Execute() + +Bulk create the mac address items. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + body := *ipam.NewBulkMacAddressItem([]string{"Addresses_example"}, "HardwareFilterId_example") // BulkMacAddressItem | + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.MacAddressItemAPI.BulkCreate(context.Background()).Body(body).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MacAddressItemAPI.BulkCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `BulkCreate`: BulkCreateMacAddressItemResponse + fmt.Fprintf(os.Stdout, "Response from `MacAddressItemAPI.BulkCreate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a `MacAddressItemAPIBulkCreateRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**body** | [**BulkMacAddressItem**](BulkMacAddressItem.md) | | + +### Return type + +[**BulkCreateMacAddressItemResponse**](BulkCreateMacAddressItemResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## Create + +> CreateMacAddressItemResponse Create(ctx).Body(body).Execute() + +Create the mac address item. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + body := *ipam.NewMacAddressItem("Address_example") // MacAddressItem | + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.MacAddressItemAPI.Create(context.Background()).Body(body).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MacAddressItemAPI.Create``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `Create`: CreateMacAddressItemResponse + fmt.Fprintf(os.Stdout, "Response from `MacAddressItemAPI.Create`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a `MacAddressItemAPICreateRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**body** | [**MacAddressItem**](MacAddressItem.md) | | + +### Return type + +[**CreateMacAddressItemResponse**](CreateMacAddressItemResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## Delete + +> Delete(ctx, id).Execute() + +Delete the mac address item. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + id := "a5183192-1e00-475f-b334-38e1f0bb1bc7" // string | An application specific resource identity of a resource + + apiClient := ipam.NewAPIClient() + r, err := apiClient.MacAddressItemAPI.Delete(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MacAddressItemAPI.Delete``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | An application specific resource identity of a resource | + +### Other Parameters + +Other parameters are passed through a pointer to a `MacAddressItemAPIDeleteRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + +### Return type + + (empty response body) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## List + +> ListMacAddressItemResponse List(ctx).Filter(filter).OrderBy(orderBy).Fields(fields).Offset(offset).Limit(limit).PageToken(pageToken).Execute() + +Retrieve mac address items. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.MacAddressItemAPI.List(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MacAddressItemAPI.List``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `List`: ListMacAddressItemResponse + fmt.Fprintf(os.Stdout, "Response from `MacAddressItemAPI.List`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a `MacAddressItemAPIListRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**filter** | **string** | A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators | | +**orderBy** | **string** | A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order. | +**fields** | **string** | A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. | +**offset** | **int32** | The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'. | +**limit** | **int32** | The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value. | +**pageToken** | **string** | The service-defined string used to identify a page of resources. A null value indicates the first page. | + +### Return type + +[**ListMacAddressItemResponse**](ListMacAddressItemResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## Read + +> ReadMacAddressItemResponse Read(ctx, id).Fields(fields).Execute() + +Retrieve the mac address item. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + id := "a5183192-1e00-475f-b334-38e1f0bb1bc7" // string | An application specific resource identity of a resource + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.MacAddressItemAPI.Read(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MacAddressItemAPI.Read``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `Read`: ReadMacAddressItemResponse + fmt.Fprintf(os.Stdout, "Response from `MacAddressItemAPI.Read`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | An application specific resource identity of a resource | + +### Other Parameters + +Other parameters are passed through a pointer to a `MacAddressItemAPIReadRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**fields** | **string** | A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. | + +### Return type + +[**ReadMacAddressItemResponse**](ReadMacAddressItemResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## Update + +> UpdateMacAddressItemResponse Update(ctx, id).Body(body).Execute() + +Update the mac address item. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + id := "a5183192-1e00-475f-b334-38e1f0bb1bc7" // string | An application specific resource identity of a resource + body := *ipam.NewMacAddressItem("Address_example") // MacAddressItem | + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.MacAddressItemAPI.Update(context.Background(), id).Body(body).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MacAddressItemAPI.Update``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `Update`: UpdateMacAddressItemResponse + fmt.Fprintf(os.Stdout, "Response from `MacAddressItemAPI.Update`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | An application specific resource identity of a resource | + +### Other Parameters + +Other parameters are passed through a pointer to a `MacAddressItemAPIUpdateRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**body** | [**MacAddressItem**](MacAddressItem.md) | | + +### Return type + +[**UpdateMacAddressItemResponse**](UpdateMacAddressItemResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## Upload + +> MacAddressItemUploadResponse Upload(ctx).Body(body).Execute() + +Upload mac addresses to a large scale hardware filter. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + body := *ipam.NewMacAddressItemUpload("Content_example", "HardwareFilterId_example") // MacAddressItemUpload | + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.MacAddressItemAPI.Upload(context.Background()).Body(body).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MacAddressItemAPI.Upload``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `Upload`: MacAddressItemUploadResponse + fmt.Fprintf(os.Stdout, "Response from `MacAddressItemAPI.Upload`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a `MacAddressItemAPIUploadRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**body** | [**MacAddressItemUpload**](MacAddressItemUpload.md) | | + +### Return type + +[**MacAddressItemUploadResponse**](MacAddressItemUploadResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/ipam/docs/MacAddressItemUpload.md b/ipam/docs/MacAddressItemUpload.md new file mode 100644 index 0000000..4882184 --- /dev/null +++ b/ipam/docs/MacAddressItemUpload.md @@ -0,0 +1,98 @@ +# MacAddressItemUpload + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Append** | Pointer to **bool** | If data needs to be appended or overwritten. Defaults to _true_. | [optional] +**Content** | **string** | The content in plain text of the mac addresses to be uploaded to a large scale hardware filter. | +**HardwareFilterId** | **string** | The resource identifier. | + +## Methods + +### NewMacAddressItemUpload + +`func NewMacAddressItemUpload(content string, hardwareFilterId string, ) *MacAddressItemUpload` + +NewMacAddressItemUpload instantiates a new MacAddressItemUpload 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 + +### NewMacAddressItemUploadWithDefaults + +`func NewMacAddressItemUploadWithDefaults() *MacAddressItemUpload` + +NewMacAddressItemUploadWithDefaults instantiates a new MacAddressItemUpload 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 + +### GetAppend + +`func (o *MacAddressItemUpload) GetAppend() bool` + +GetAppend returns the Append field if non-nil, zero value otherwise. + +### GetAppendOk + +`func (o *MacAddressItemUpload) GetAppendOk() (*bool, bool)` + +GetAppendOk returns a tuple with the Append field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAppend + +`func (o *MacAddressItemUpload) SetAppend(v bool)` + +SetAppend sets Append field to given value. + +### HasAppend + +`func (o *MacAddressItemUpload) HasAppend() bool` + +HasAppend returns a boolean if a field has been set. + +### GetContent + +`func (o *MacAddressItemUpload) GetContent() string` + +GetContent returns the Content field if non-nil, zero value otherwise. + +### GetContentOk + +`func (o *MacAddressItemUpload) GetContentOk() (*string, bool)` + +GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContent + +`func (o *MacAddressItemUpload) SetContent(v string)` + +SetContent sets Content field to given value. + + +### GetHardwareFilterId + +`func (o *MacAddressItemUpload) GetHardwareFilterId() string` + +GetHardwareFilterId returns the HardwareFilterId field if non-nil, zero value otherwise. + +### GetHardwareFilterIdOk + +`func (o *MacAddressItemUpload) GetHardwareFilterIdOk() (*string, bool)` + +GetHardwareFilterIdOk returns a tuple with the HardwareFilterId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHardwareFilterId + +`func (o *MacAddressItemUpload) SetHardwareFilterId(v string)` + +SetHardwareFilterId sets HardwareFilterId field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/MacAddressItemUploadResponse.md b/ipam/docs/MacAddressItemUploadResponse.md new file mode 100644 index 0000000..fd8a24a --- /dev/null +++ b/ipam/docs/MacAddressItemUploadResponse.md @@ -0,0 +1,108 @@ +# MacAddressItemUploadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Description** | Pointer to **string** | The description of the resource that was requested to be uploaded. | [optional] +**HardwareFilterId** | Pointer to **string** | The resource identifier. | [optional] +**JobId** | Pointer to **string** | An Unique Id to identify upload operation. | [optional] + +## Methods + +### NewMacAddressItemUploadResponse + +`func NewMacAddressItemUploadResponse() *MacAddressItemUploadResponse` + +NewMacAddressItemUploadResponse instantiates a new MacAddressItemUploadResponse 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 + +### NewMacAddressItemUploadResponseWithDefaults + +`func NewMacAddressItemUploadResponseWithDefaults() *MacAddressItemUploadResponse` + +NewMacAddressItemUploadResponseWithDefaults instantiates a new MacAddressItemUploadResponse 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 + +### GetDescription + +`func (o *MacAddressItemUploadResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *MacAddressItemUploadResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *MacAddressItemUploadResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *MacAddressItemUploadResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetHardwareFilterId + +`func (o *MacAddressItemUploadResponse) GetHardwareFilterId() string` + +GetHardwareFilterId returns the HardwareFilterId field if non-nil, zero value otherwise. + +### GetHardwareFilterIdOk + +`func (o *MacAddressItemUploadResponse) GetHardwareFilterIdOk() (*string, bool)` + +GetHardwareFilterIdOk returns a tuple with the HardwareFilterId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHardwareFilterId + +`func (o *MacAddressItemUploadResponse) SetHardwareFilterId(v string)` + +SetHardwareFilterId sets HardwareFilterId field to given value. + +### HasHardwareFilterId + +`func (o *MacAddressItemUploadResponse) HasHardwareFilterId() bool` + +HasHardwareFilterId returns a boolean if a field has been set. + +### GetJobId + +`func (o *MacAddressItemUploadResponse) GetJobId() string` + +GetJobId returns the JobId field if non-nil, zero value otherwise. + +### GetJobIdOk + +`func (o *MacAddressItemUploadResponse) GetJobIdOk() (*string, bool)` + +GetJobIdOk returns a tuple with the JobId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobId + +`func (o *MacAddressItemUploadResponse) SetJobId(v string)` + +SetJobId sets JobId field to given value. + +### HasJobId + +`func (o *MacAddressItemUploadResponse) HasJobId() bool` + +HasJobId returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/ProtobufFieldMask.md b/ipam/docs/ProtobufFieldMask.md new file mode 100644 index 0000000..770b011 --- /dev/null +++ b/ipam/docs/ProtobufFieldMask.md @@ -0,0 +1,56 @@ +# ProtobufFieldMask + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Paths** | Pointer to **[]string** | The set of field mask paths. | [optional] + +## Methods + +### NewProtobufFieldMask + +`func NewProtobufFieldMask() *ProtobufFieldMask` + +NewProtobufFieldMask instantiates a new ProtobufFieldMask 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 + +### NewProtobufFieldMaskWithDefaults + +`func NewProtobufFieldMaskWithDefaults() *ProtobufFieldMask` + +NewProtobufFieldMaskWithDefaults instantiates a new ProtobufFieldMask 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 + +### GetPaths + +`func (o *ProtobufFieldMask) GetPaths() []string` + +GetPaths returns the Paths field if non-nil, zero value otherwise. + +### GetPathsOk + +`func (o *ProtobufFieldMask) GetPathsOk() (*[]string, bool)` + +GetPathsOk returns a tuple with the Paths field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaths + +`func (o *ProtobufFieldMask) SetPaths(v []string)` + +SetPaths sets Paths field to given value. + +### HasPaths + +`func (o *ProtobufFieldMask) HasPaths() bool` + +HasPaths returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/ReadDHCPServiceInstanceResponse.md b/ipam/docs/ReadDHCPServiceInstanceResponse.md new file mode 100644 index 0000000..d290a9a --- /dev/null +++ b/ipam/docs/ReadDHCPServiceInstanceResponse.md @@ -0,0 +1,56 @@ +# ReadDHCPServiceInstanceResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Result** | Pointer to [**DHCPServiceInstance**](DHCPServiceInstance.md) | The DHCP Service object. | [optional] + +## Methods + +### NewReadDHCPServiceInstanceResponse + +`func NewReadDHCPServiceInstanceResponse() *ReadDHCPServiceInstanceResponse` + +NewReadDHCPServiceInstanceResponse instantiates a new ReadDHCPServiceInstanceResponse 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 + +### NewReadDHCPServiceInstanceResponseWithDefaults + +`func NewReadDHCPServiceInstanceResponseWithDefaults() *ReadDHCPServiceInstanceResponse` + +NewReadDHCPServiceInstanceResponseWithDefaults instantiates a new ReadDHCPServiceInstanceResponse 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 + +### GetResult + +`func (o *ReadDHCPServiceInstanceResponse) GetResult() DHCPServiceInstance` + +GetResult returns the Result field if non-nil, zero value otherwise. + +### GetResultOk + +`func (o *ReadDHCPServiceInstanceResponse) GetResultOk() (*DHCPServiceInstance, bool)` + +GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResult + +`func (o *ReadDHCPServiceInstanceResponse) SetResult(v DHCPServiceInstance)` + +SetResult sets Result field to given value. + +### HasResult + +`func (o *ReadDHCPServiceInstanceResponse) HasResult() bool` + +HasResult returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/ReadMacAddressItemResponse.md b/ipam/docs/ReadMacAddressItemResponse.md new file mode 100644 index 0000000..5e66a37 --- /dev/null +++ b/ipam/docs/ReadMacAddressItemResponse.md @@ -0,0 +1,56 @@ +# ReadMacAddressItemResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Result** | Pointer to [**MacAddressItem**](MacAddressItem.md) | The __MacAddressItem__ object. | [optional] + +## Methods + +### NewReadMacAddressItemResponse + +`func NewReadMacAddressItemResponse() *ReadMacAddressItemResponse` + +NewReadMacAddressItemResponse instantiates a new ReadMacAddressItemResponse 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 + +### NewReadMacAddressItemResponseWithDefaults + +`func NewReadMacAddressItemResponseWithDefaults() *ReadMacAddressItemResponse` + +NewReadMacAddressItemResponseWithDefaults instantiates a new ReadMacAddressItemResponse 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 + +### GetResult + +`func (o *ReadMacAddressItemResponse) GetResult() MacAddressItem` + +GetResult returns the Result field if non-nil, zero value otherwise. + +### GetResultOk + +`func (o *ReadMacAddressItemResponse) GetResultOk() (*MacAddressItem, bool)` + +GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResult + +`func (o *ReadMacAddressItemResponse) SetResult(v MacAddressItem)` + +SetResult sets Result field to given value. + +### HasResult + +`func (o *ReadMacAddressItemResponse) HasResult() bool` + +HasResult returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/RealmsConflict.md b/ipam/docs/RealmsConflict.md new file mode 100644 index 0000000..e29be10 --- /dev/null +++ b/ipam/docs/RealmsConflict.md @@ -0,0 +1,134 @@ +# RealmsConflict + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Address** | Pointer to **string** | | [optional] +**FederatedRealms** | Pointer to **[]string** | List of __FederatedRealm__ object ids. | [optional] +**IpSpace** | Pointer to **string** | The resource identifier. | [optional] +**Type** | Pointer to **string** | | [optional] + +## Methods + +### NewRealmsConflict + +`func NewRealmsConflict() *RealmsConflict` + +NewRealmsConflict instantiates a new RealmsConflict 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 + +### NewRealmsConflictWithDefaults + +`func NewRealmsConflictWithDefaults() *RealmsConflict` + +NewRealmsConflictWithDefaults instantiates a new RealmsConflict 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 + +### GetAddress + +`func (o *RealmsConflict) GetAddress() string` + +GetAddress returns the Address field if non-nil, zero value otherwise. + +### GetAddressOk + +`func (o *RealmsConflict) GetAddressOk() (*string, bool)` + +GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddress + +`func (o *RealmsConflict) SetAddress(v string)` + +SetAddress sets Address field to given value. + +### HasAddress + +`func (o *RealmsConflict) HasAddress() bool` + +HasAddress returns a boolean if a field has been set. + +### GetFederatedRealms + +`func (o *RealmsConflict) GetFederatedRealms() []string` + +GetFederatedRealms returns the FederatedRealms field if non-nil, zero value otherwise. + +### GetFederatedRealmsOk + +`func (o *RealmsConflict) GetFederatedRealmsOk() (*[]string, bool)` + +GetFederatedRealmsOk returns a tuple with the FederatedRealms field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFederatedRealms + +`func (o *RealmsConflict) SetFederatedRealms(v []string)` + +SetFederatedRealms sets FederatedRealms field to given value. + +### HasFederatedRealms + +`func (o *RealmsConflict) HasFederatedRealms() bool` + +HasFederatedRealms returns a boolean if a field has been set. + +### GetIpSpace + +`func (o *RealmsConflict) GetIpSpace() string` + +GetIpSpace returns the IpSpace field if non-nil, zero value otherwise. + +### GetIpSpaceOk + +`func (o *RealmsConflict) GetIpSpaceOk() (*string, bool)` + +GetIpSpaceOk returns a tuple with the IpSpace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIpSpace + +`func (o *RealmsConflict) SetIpSpace(v string)` + +SetIpSpace sets IpSpace field to given value. + +### HasIpSpace + +`func (o *RealmsConflict) HasIpSpace() bool` + +HasIpSpace returns a boolean if a field has been set. + +### GetType + +`func (o *RealmsConflict) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *RealmsConflict) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *RealmsConflict) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *RealmsConflict) HasType() bool` + +HasType returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/RealmsConflictResponse.md b/ipam/docs/RealmsConflictResponse.md new file mode 100644 index 0000000..f157ec1 --- /dev/null +++ b/ipam/docs/RealmsConflictResponse.md @@ -0,0 +1,56 @@ +# RealmsConflictResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Results** | Pointer to [**[]RealmsConflict**](RealmsConflict.md) | List of conflicts across _ipam/ip_space_ objects. | [optional] + +## Methods + +### NewRealmsConflictResponse + +`func NewRealmsConflictResponse() *RealmsConflictResponse` + +NewRealmsConflictResponse instantiates a new RealmsConflictResponse 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 + +### NewRealmsConflictResponseWithDefaults + +`func NewRealmsConflictResponseWithDefaults() *RealmsConflictResponse` + +NewRealmsConflictResponseWithDefaults instantiates a new RealmsConflictResponse 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 + +### GetResults + +`func (o *RealmsConflictResponse) GetResults() []RealmsConflict` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *RealmsConflictResponse) GetResultsOk() (*[]RealmsConflict, bool)` + +GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResults + +`func (o *RealmsConflictResponse) SetResults(v []RealmsConflict)` + +SetResults sets Results field to given value. + +### HasResults + +`func (o *RealmsConflictResponse) HasResults() bool` + +HasResults returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/docs/ServiceAPI.md b/ipam/docs/ServiceAPI.md new file mode 100644 index 0000000..f92205e --- /dev/null +++ b/ipam/docs/ServiceAPI.md @@ -0,0 +1,152 @@ +# ServiceAPI + +All URIs are relative to *http://csp.infoblox.com/api/ddi/v1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**List**](ServiceAPI.md#List) | **Get** /dhcp/service | List DHCP service instance objects. +[**Read**](ServiceAPI.md#Read) | **Get** /dhcp/service/{id} | Read the DHCP service instance object. + + + +## List + +> ListDHCPServiceInstanceResponse List(ctx).Fields(fields).Filter(filter).Offset(offset).Limit(limit).PageToken(pageToken).OrderBy(orderBy).Tfilter(tfilter).TorderBy(torderBy).Execute() + +List DHCP service instance objects. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.ServiceAPI.List(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ServiceAPI.List``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `List`: ListDHCPServiceInstanceResponse + fmt.Fprintf(os.Stdout, "Response from `ServiceAPI.List`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a `ServiceAPIListRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**fields** | **string** | A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. | +**filter** | **string** | A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators | | +**offset** | **int32** | The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'. | +**limit** | **int32** | The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value. | +**pageToken** | **string** | The service-defined string used to identify a page of resources. A null value indicates the first page. | +**orderBy** | **string** | A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order. | +**tfilter** | **string** | This parameter is used for filtering by tags. | +**torderBy** | **string** | This parameter is used for sorting by tags. | + +### Return type + +[**ListDHCPServiceInstanceResponse**](ListDHCPServiceInstanceResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## Read + +> ReadDHCPServiceInstanceResponse Read(ctx, id).Fields(fields).Execute() + +Read the DHCP service instance object. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + id := "a5183192-1e00-475f-b334-38e1f0bb1bc7" // string | An application specific resource identity of a resource + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.ServiceAPI.Read(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ServiceAPI.Read``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `Read`: ReadDHCPServiceInstanceResponse + fmt.Fprintf(os.Stdout, "Response from `ServiceAPI.Read`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | An application specific resource identity of a resource | + +### Other Parameters + +Other parameters are passed through a pointer to a `ServiceAPIReadRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**fields** | **string** | A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. | + +### Return type + +[**ReadDHCPServiceInstanceResponse**](ReadDHCPServiceInstanceResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/ipam/docs/UpdateMacAddressItemResponse.md b/ipam/docs/UpdateMacAddressItemResponse.md new file mode 100644 index 0000000..afc0bf6 --- /dev/null +++ b/ipam/docs/UpdateMacAddressItemResponse.md @@ -0,0 +1,56 @@ +# UpdateMacAddressItemResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Result** | Pointer to [**MacAddressItem**](MacAddressItem.md) | The __MacAddressItem__ object. | [optional] + +## Methods + +### NewUpdateMacAddressItemResponse + +`func NewUpdateMacAddressItemResponse() *UpdateMacAddressItemResponse` + +NewUpdateMacAddressItemResponse instantiates a new UpdateMacAddressItemResponse 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 + +### NewUpdateMacAddressItemResponseWithDefaults + +`func NewUpdateMacAddressItemResponseWithDefaults() *UpdateMacAddressItemResponse` + +NewUpdateMacAddressItemResponseWithDefaults instantiates a new UpdateMacAddressItemResponse 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 + +### GetResult + +`func (o *UpdateMacAddressItemResponse) GetResult() MacAddressItem` + +GetResult returns the Result field if non-nil, zero value otherwise. + +### GetResultOk + +`func (o *UpdateMacAddressItemResponse) GetResultOk() (*MacAddressItem, bool)` + +GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResult + +`func (o *UpdateMacAddressItemResponse) SetResult(v MacAddressItem)` + +SetResult sets Result field to given value. + +### HasResult + +`func (o *UpdateMacAddressItemResponse) HasResult() bool` + +HasResult returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/ipam/model_associate_config_profile_to_objects_request.go b/ipam/model_associate_config_profile_to_objects_request.go new file mode 100644 index 0000000..2995219 --- /dev/null +++ b/ipam/model_associate_config_profile_to_objects_request.go @@ -0,0 +1,234 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" + "fmt" +) + +// checks if the AssociateConfigProfileToObjectsRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AssociateConfigProfileToObjectsRequest{} + +// AssociateConfigProfileToObjectsRequest AssociateConfigProfileToObjects associates a config profile to its objects. +type AssociateConfigProfileToObjectsRequest struct { + // The resource identifier. + ConfigProfileId string `json:"config_profile_id"` + Fields *ProtobufFieldMask `json:"fields,omitempty"` + // The resource identifier. + ObjectIds []string `json:"object_ids"` + AdditionalProperties map[string]interface{} +} + +type _AssociateConfigProfileToObjectsRequest AssociateConfigProfileToObjectsRequest + +// NewAssociateConfigProfileToObjectsRequest instantiates a new AssociateConfigProfileToObjectsRequest 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 NewAssociateConfigProfileToObjectsRequest(configProfileId string, objectIds []string) *AssociateConfigProfileToObjectsRequest { + this := AssociateConfigProfileToObjectsRequest{} + this.ConfigProfileId = configProfileId + this.ObjectIds = objectIds + return &this +} + +// NewAssociateConfigProfileToObjectsRequestWithDefaults instantiates a new AssociateConfigProfileToObjectsRequest 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 NewAssociateConfigProfileToObjectsRequestWithDefaults() *AssociateConfigProfileToObjectsRequest { + this := AssociateConfigProfileToObjectsRequest{} + return &this +} + +// GetConfigProfileId returns the ConfigProfileId field value +func (o *AssociateConfigProfileToObjectsRequest) GetConfigProfileId() string { + if o == nil { + var ret string + return ret + } + + return o.ConfigProfileId +} + +// GetConfigProfileIdOk returns a tuple with the ConfigProfileId field value +// and a boolean to check if the value has been set. +func (o *AssociateConfigProfileToObjectsRequest) GetConfigProfileIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConfigProfileId, true +} + +// SetConfigProfileId sets field value +func (o *AssociateConfigProfileToObjectsRequest) SetConfigProfileId(v string) { + o.ConfigProfileId = v +} + +// GetFields returns the Fields field value if set, zero value otherwise. +func (o *AssociateConfigProfileToObjectsRequest) GetFields() ProtobufFieldMask { + if o == nil || IsNil(o.Fields) { + var ret ProtobufFieldMask + return ret + } + return *o.Fields +} + +// GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssociateConfigProfileToObjectsRequest) GetFieldsOk() (*ProtobufFieldMask, bool) { + if o == nil || IsNil(o.Fields) { + return nil, false + } + return o.Fields, true +} + +// HasFields returns a boolean if a field has been set. +func (o *AssociateConfigProfileToObjectsRequest) HasFields() bool { + if o != nil && !IsNil(o.Fields) { + return true + } + + return false +} + +// SetFields gets a reference to the given ProtobufFieldMask and assigns it to the Fields field. +func (o *AssociateConfigProfileToObjectsRequest) SetFields(v ProtobufFieldMask) { + o.Fields = &v +} + +// GetObjectIds returns the ObjectIds field value +func (o *AssociateConfigProfileToObjectsRequest) GetObjectIds() []string { + if o == nil { + var ret []string + return ret + } + + return o.ObjectIds +} + +// GetObjectIdsOk returns a tuple with the ObjectIds field value +// and a boolean to check if the value has been set. +func (o *AssociateConfigProfileToObjectsRequest) GetObjectIdsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.ObjectIds, true +} + +// SetObjectIds sets field value +func (o *AssociateConfigProfileToObjectsRequest) SetObjectIds(v []string) { + o.ObjectIds = v +} + +func (o AssociateConfigProfileToObjectsRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AssociateConfigProfileToObjectsRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["config_profile_id"] = o.ConfigProfileId + if !IsNil(o.Fields) { + toSerialize["fields"] = o.Fields + } + toSerialize["object_ids"] = o.ObjectIds + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AssociateConfigProfileToObjectsRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "config_profile_id", + "object_ids", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varAssociateConfigProfileToObjectsRequest := _AssociateConfigProfileToObjectsRequest{} + + err = json.Unmarshal(data, &varAssociateConfigProfileToObjectsRequest) + + if err != nil { + return err + } + + *o = AssociateConfigProfileToObjectsRequest(varAssociateConfigProfileToObjectsRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "config_profile_id") + delete(additionalProperties, "fields") + delete(additionalProperties, "object_ids") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAssociateConfigProfileToObjectsRequest struct { + value *AssociateConfigProfileToObjectsRequest + isSet bool +} + +func (v NullableAssociateConfigProfileToObjectsRequest) Get() *AssociateConfigProfileToObjectsRequest { + return v.value +} + +func (v *NullableAssociateConfigProfileToObjectsRequest) Set(val *AssociateConfigProfileToObjectsRequest) { + v.value = val + v.isSet = true +} + +func (v NullableAssociateConfigProfileToObjectsRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableAssociateConfigProfileToObjectsRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAssociateConfigProfileToObjectsRequest(val *AssociateConfigProfileToObjectsRequest) *NullableAssociateConfigProfileToObjectsRequest { + return &NullableAssociateConfigProfileToObjectsRequest{value: val, isSet: true} +} + +func (v NullableAssociateConfigProfileToObjectsRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAssociateConfigProfileToObjectsRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_associate_object_to_config_profiles_request.go b/ipam/model_associate_object_to_config_profiles_request.go new file mode 100644 index 0000000..5c683d7 --- /dev/null +++ b/ipam/model_associate_object_to_config_profiles_request.go @@ -0,0 +1,234 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" + "fmt" +) + +// checks if the AssociateObjectToConfigProfilesRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AssociateObjectToConfigProfilesRequest{} + +// AssociateObjectToConfigProfilesRequest AssociateObjectToConfigProfiles associates an object to config profiles. +type AssociateObjectToConfigProfilesRequest struct { + // The resource identifier. + ConfigProfileIds []string `json:"config_profile_ids"` + Fields *ProtobufFieldMask `json:"fields,omitempty"` + // The resource identifier. + ObjectId string `json:"object_id"` + AdditionalProperties map[string]interface{} +} + +type _AssociateObjectToConfigProfilesRequest AssociateObjectToConfigProfilesRequest + +// NewAssociateObjectToConfigProfilesRequest instantiates a new AssociateObjectToConfigProfilesRequest 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 NewAssociateObjectToConfigProfilesRequest(configProfileIds []string, objectId string) *AssociateObjectToConfigProfilesRequest { + this := AssociateObjectToConfigProfilesRequest{} + this.ConfigProfileIds = configProfileIds + this.ObjectId = objectId + return &this +} + +// NewAssociateObjectToConfigProfilesRequestWithDefaults instantiates a new AssociateObjectToConfigProfilesRequest 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 NewAssociateObjectToConfigProfilesRequestWithDefaults() *AssociateObjectToConfigProfilesRequest { + this := AssociateObjectToConfigProfilesRequest{} + return &this +} + +// GetConfigProfileIds returns the ConfigProfileIds field value +func (o *AssociateObjectToConfigProfilesRequest) GetConfigProfileIds() []string { + if o == nil { + var ret []string + return ret + } + + return o.ConfigProfileIds +} + +// GetConfigProfileIdsOk returns a tuple with the ConfigProfileIds field value +// and a boolean to check if the value has been set. +func (o *AssociateObjectToConfigProfilesRequest) GetConfigProfileIdsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.ConfigProfileIds, true +} + +// SetConfigProfileIds sets field value +func (o *AssociateObjectToConfigProfilesRequest) SetConfigProfileIds(v []string) { + o.ConfigProfileIds = v +} + +// GetFields returns the Fields field value if set, zero value otherwise. +func (o *AssociateObjectToConfigProfilesRequest) GetFields() ProtobufFieldMask { + if o == nil || IsNil(o.Fields) { + var ret ProtobufFieldMask + return ret + } + return *o.Fields +} + +// GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssociateObjectToConfigProfilesRequest) GetFieldsOk() (*ProtobufFieldMask, bool) { + if o == nil || IsNil(o.Fields) { + return nil, false + } + return o.Fields, true +} + +// HasFields returns a boolean if a field has been set. +func (o *AssociateObjectToConfigProfilesRequest) HasFields() bool { + if o != nil && !IsNil(o.Fields) { + return true + } + + return false +} + +// SetFields gets a reference to the given ProtobufFieldMask and assigns it to the Fields field. +func (o *AssociateObjectToConfigProfilesRequest) SetFields(v ProtobufFieldMask) { + o.Fields = &v +} + +// GetObjectId returns the ObjectId field value +func (o *AssociateObjectToConfigProfilesRequest) GetObjectId() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectId +} + +// GetObjectIdOk returns a tuple with the ObjectId field value +// and a boolean to check if the value has been set. +func (o *AssociateObjectToConfigProfilesRequest) GetObjectIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectId, true +} + +// SetObjectId sets field value +func (o *AssociateObjectToConfigProfilesRequest) SetObjectId(v string) { + o.ObjectId = v +} + +func (o AssociateObjectToConfigProfilesRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AssociateObjectToConfigProfilesRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["config_profile_ids"] = o.ConfigProfileIds + if !IsNil(o.Fields) { + toSerialize["fields"] = o.Fields + } + toSerialize["object_id"] = o.ObjectId + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AssociateObjectToConfigProfilesRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "config_profile_ids", + "object_id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varAssociateObjectToConfigProfilesRequest := _AssociateObjectToConfigProfilesRequest{} + + err = json.Unmarshal(data, &varAssociateObjectToConfigProfilesRequest) + + if err != nil { + return err + } + + *o = AssociateObjectToConfigProfilesRequest(varAssociateObjectToConfigProfilesRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "config_profile_ids") + delete(additionalProperties, "fields") + delete(additionalProperties, "object_id") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAssociateObjectToConfigProfilesRequest struct { + value *AssociateObjectToConfigProfilesRequest + isSet bool +} + +func (v NullableAssociateObjectToConfigProfilesRequest) Get() *AssociateObjectToConfigProfilesRequest { + return v.value +} + +func (v *NullableAssociateObjectToConfigProfilesRequest) Set(val *AssociateObjectToConfigProfilesRequest) { + v.value = val + v.isSet = true +} + +func (v NullableAssociateObjectToConfigProfilesRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableAssociateObjectToConfigProfilesRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAssociateObjectToConfigProfilesRequest(val *AssociateObjectToConfigProfilesRequest) *NullableAssociateObjectToConfigProfilesRequest { + return &NullableAssociateObjectToConfigProfilesRequest{value: val, isSet: true} +} + +func (v NullableAssociateObjectToConfigProfilesRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAssociateObjectToConfigProfilesRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_associated_host.go b/ipam/model_associated_host.go new file mode 100644 index 0000000..873950e --- /dev/null +++ b/ipam/model_associated_host.go @@ -0,0 +1,268 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the AssociatedHost type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AssociatedHost{} + +// AssociatedHost A DHCP Host (_dhcp/host_) object associates DHCP configuraton with hosts. Automatically created and destroyed based on the hosts known to the platform. +type AssociatedHost struct { + // The primary IP address of the on-prem host. + Address *string `json:"address,omitempty"` + // The resource identifier. + Id *string `json:"id,omitempty"` + // The DHCP host name. + Name *string `json:"name,omitempty"` + // The on-prem host ID. + Ophid *string `json:"ophid,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _AssociatedHost AssociatedHost + +// NewAssociatedHost instantiates a new AssociatedHost 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 NewAssociatedHost() *AssociatedHost { + this := AssociatedHost{} + return &this +} + +// NewAssociatedHostWithDefaults instantiates a new AssociatedHost 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 NewAssociatedHostWithDefaults() *AssociatedHost { + this := AssociatedHost{} + return &this +} + +// GetAddress returns the Address field value if set, zero value otherwise. +func (o *AssociatedHost) GetAddress() string { + if o == nil || IsNil(o.Address) { + var ret string + return ret + } + return *o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssociatedHost) GetAddressOk() (*string, bool) { + if o == nil || IsNil(o.Address) { + return nil, false + } + return o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *AssociatedHost) HasAddress() bool { + if o != nil && !IsNil(o.Address) { + return true + } + + return false +} + +// SetAddress gets a reference to the given string and assigns it to the Address field. +func (o *AssociatedHost) SetAddress(v string) { + o.Address = &v +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *AssociatedHost) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssociatedHost) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *AssociatedHost) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *AssociatedHost) SetId(v string) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *AssociatedHost) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssociatedHost) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *AssociatedHost) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *AssociatedHost) SetName(v string) { + o.Name = &v +} + +// GetOphid returns the Ophid field value if set, zero value otherwise. +func (o *AssociatedHost) GetOphid() string { + if o == nil || IsNil(o.Ophid) { + var ret string + return ret + } + return *o.Ophid +} + +// GetOphidOk returns a tuple with the Ophid field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AssociatedHost) GetOphidOk() (*string, bool) { + if o == nil || IsNil(o.Ophid) { + return nil, false + } + return o.Ophid, true +} + +// HasOphid returns a boolean if a field has been set. +func (o *AssociatedHost) HasOphid() bool { + if o != nil && !IsNil(o.Ophid) { + return true + } + + return false +} + +// SetOphid gets a reference to the given string and assigns it to the Ophid field. +func (o *AssociatedHost) SetOphid(v string) { + o.Ophid = &v +} + +func (o AssociatedHost) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AssociatedHost) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Address) { + toSerialize["address"] = o.Address + } + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Ophid) { + toSerialize["ophid"] = o.Ophid + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AssociatedHost) UnmarshalJSON(data []byte) (err error) { + varAssociatedHost := _AssociatedHost{} + + err = json.Unmarshal(data, &varAssociatedHost) + + if err != nil { + return err + } + + *o = AssociatedHost(varAssociatedHost) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "address") + delete(additionalProperties, "id") + delete(additionalProperties, "name") + delete(additionalProperties, "ophid") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAssociatedHost struct { + value *AssociatedHost + isSet bool +} + +func (v NullableAssociatedHost) Get() *AssociatedHost { + return v.value +} + +func (v *NullableAssociatedHost) Set(val *AssociatedHost) { + v.value = val + v.isSet = true +} + +func (v NullableAssociatedHost) IsSet() bool { + return v.isSet +} + +func (v *NullableAssociatedHost) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAssociatedHost(val *AssociatedHost) *NullableAssociatedHost { + return &NullableAssociatedHost{value: val, isSet: true} +} + +func (v NullableAssociatedHost) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAssociatedHost) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_bulk_create_mac_address_item_response.go b/ipam/model_bulk_create_mac_address_item_response.go new file mode 100644 index 0000000..879718f --- /dev/null +++ b/ipam/model_bulk_create_mac_address_item_response.go @@ -0,0 +1,154 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the BulkCreateMacAddressItemResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkCreateMacAddressItemResponse{} + +// BulkCreateMacAddressItemResponse The response format to bulk create the __MacAddressItem__ objects. +type BulkCreateMacAddressItemResponse struct { + // The created __MacAddressItem__ objects. + Results []MacAddressItem `json:"results,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _BulkCreateMacAddressItemResponse BulkCreateMacAddressItemResponse + +// NewBulkCreateMacAddressItemResponse instantiates a new BulkCreateMacAddressItemResponse 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 NewBulkCreateMacAddressItemResponse() *BulkCreateMacAddressItemResponse { + this := BulkCreateMacAddressItemResponse{} + return &this +} + +// NewBulkCreateMacAddressItemResponseWithDefaults instantiates a new BulkCreateMacAddressItemResponse 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 NewBulkCreateMacAddressItemResponseWithDefaults() *BulkCreateMacAddressItemResponse { + this := BulkCreateMacAddressItemResponse{} + return &this +} + +// GetResults returns the Results field value if set, zero value otherwise. +func (o *BulkCreateMacAddressItemResponse) GetResults() []MacAddressItem { + if o == nil || IsNil(o.Results) { + var ret []MacAddressItem + return ret + } + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkCreateMacAddressItemResponse) GetResultsOk() ([]MacAddressItem, bool) { + if o == nil || IsNil(o.Results) { + return nil, false + } + return o.Results, true +} + +// HasResults returns a boolean if a field has been set. +func (o *BulkCreateMacAddressItemResponse) HasResults() bool { + if o != nil && !IsNil(o.Results) { + return true + } + + return false +} + +// SetResults gets a reference to the given []MacAddressItem and assigns it to the Results field. +func (o *BulkCreateMacAddressItemResponse) SetResults(v []MacAddressItem) { + o.Results = v +} + +func (o BulkCreateMacAddressItemResponse) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkCreateMacAddressItemResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Results) { + toSerialize["results"] = o.Results + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkCreateMacAddressItemResponse) UnmarshalJSON(data []byte) (err error) { + varBulkCreateMacAddressItemResponse := _BulkCreateMacAddressItemResponse{} + + err = json.Unmarshal(data, &varBulkCreateMacAddressItemResponse) + + if err != nil { + return err + } + + *o = BulkCreateMacAddressItemResponse(varBulkCreateMacAddressItemResponse) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkCreateMacAddressItemResponse struct { + value *BulkCreateMacAddressItemResponse + isSet bool +} + +func (v NullableBulkCreateMacAddressItemResponse) Get() *BulkCreateMacAddressItemResponse { + return v.value +} + +func (v *NullableBulkCreateMacAddressItemResponse) Set(val *BulkCreateMacAddressItemResponse) { + v.value = val + v.isSet = true +} + +func (v NullableBulkCreateMacAddressItemResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkCreateMacAddressItemResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkCreateMacAddressItemResponse(val *BulkCreateMacAddressItemResponse) *NullableBulkCreateMacAddressItemResponse { + return &NullableBulkCreateMacAddressItemResponse{value: val, isSet: true} +} + +func (v NullableBulkCreateMacAddressItemResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkCreateMacAddressItemResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_bulk_mac_address_item.go b/ipam/model_bulk_mac_address_item.go new file mode 100644 index 0000000..b46dfc9 --- /dev/null +++ b/ipam/model_bulk_mac_address_item.go @@ -0,0 +1,197 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" + "fmt" +) + +// checks if the BulkMacAddressItem type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BulkMacAddressItem{} + +// BulkMacAddressItem A __BulkMacAddressItem__ object creates mac address items in bulk. +type BulkMacAddressItem struct { + // The addresses to match for the hardware filter. + Addresses []string `json:"addresses"` + // The resource identifier. + HardwareFilterId string `json:"hardware_filter_id"` + AdditionalProperties map[string]interface{} +} + +type _BulkMacAddressItem BulkMacAddressItem + +// NewBulkMacAddressItem instantiates a new BulkMacAddressItem 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 NewBulkMacAddressItem(addresses []string, hardwareFilterId string) *BulkMacAddressItem { + this := BulkMacAddressItem{} + this.Addresses = addresses + this.HardwareFilterId = hardwareFilterId + return &this +} + +// NewBulkMacAddressItemWithDefaults instantiates a new BulkMacAddressItem 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 NewBulkMacAddressItemWithDefaults() *BulkMacAddressItem { + this := BulkMacAddressItem{} + return &this +} + +// GetAddresses returns the Addresses field value +func (o *BulkMacAddressItem) GetAddresses() []string { + if o == nil { + var ret []string + return ret + } + + return o.Addresses +} + +// GetAddressesOk returns a tuple with the Addresses field value +// and a boolean to check if the value has been set. +func (o *BulkMacAddressItem) GetAddressesOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.Addresses, true +} + +// SetAddresses sets field value +func (o *BulkMacAddressItem) SetAddresses(v []string) { + o.Addresses = v +} + +// GetHardwareFilterId returns the HardwareFilterId field value +func (o *BulkMacAddressItem) GetHardwareFilterId() string { + if o == nil { + var ret string + return ret + } + + return o.HardwareFilterId +} + +// GetHardwareFilterIdOk returns a tuple with the HardwareFilterId field value +// and a boolean to check if the value has been set. +func (o *BulkMacAddressItem) GetHardwareFilterIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HardwareFilterId, true +} + +// SetHardwareFilterId sets field value +func (o *BulkMacAddressItem) SetHardwareFilterId(v string) { + o.HardwareFilterId = v +} + +func (o BulkMacAddressItem) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BulkMacAddressItem) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["addresses"] = o.Addresses + toSerialize["hardware_filter_id"] = o.HardwareFilterId + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *BulkMacAddressItem) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "addresses", + "hardware_filter_id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varBulkMacAddressItem := _BulkMacAddressItem{} + + err = json.Unmarshal(data, &varBulkMacAddressItem) + + if err != nil { + return err + } + + *o = BulkMacAddressItem(varBulkMacAddressItem) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "addresses") + delete(additionalProperties, "hardware_filter_id") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableBulkMacAddressItem struct { + value *BulkMacAddressItem + isSet bool +} + +func (v NullableBulkMacAddressItem) Get() *BulkMacAddressItem { + return v.value +} + +func (v *NullableBulkMacAddressItem) Set(val *BulkMacAddressItem) { + v.value = val + v.isSet = true +} + +func (v NullableBulkMacAddressItem) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkMacAddressItem) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkMacAddressItem(val *BulkMacAddressItem) *NullableBulkMacAddressItem { + return &NullableBulkMacAddressItem{value: val, isSet: true} +} + +func (v NullableBulkMacAddressItem) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkMacAddressItem) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_cidr_block.go b/ipam/model_cidr_block.go new file mode 100644 index 0000000..39e72c2 --- /dev/null +++ b/ipam/model_cidr_block.go @@ -0,0 +1,344 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the CidrBlock type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CidrBlock{} + +// CidrBlock struct for CidrBlock +type CidrBlock struct { + // The address part of the CidrBlock. + Address *string `json:"address,omitempty"` + // The CIDR part of the CidrBlock. + Cidr *int64 `json:"cidr,omitempty"` + // Reserved for future use. + FederatedRealms []string `json:"federated_realms,omitempty"` + // The resource identifier. + Id *string `json:"id,omitempty"` + // The resource identifier. + Parent *string `json:"parent,omitempty"` + // The resource identifier. + Space *string `json:"space,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _CidrBlock CidrBlock + +// NewCidrBlock instantiates a new CidrBlock 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 NewCidrBlock() *CidrBlock { + this := CidrBlock{} + return &this +} + +// NewCidrBlockWithDefaults instantiates a new CidrBlock 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 NewCidrBlockWithDefaults() *CidrBlock { + this := CidrBlock{} + return &this +} + +// GetAddress returns the Address field value if set, zero value otherwise. +func (o *CidrBlock) GetAddress() string { + if o == nil || IsNil(o.Address) { + var ret string + return ret + } + return *o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CidrBlock) GetAddressOk() (*string, bool) { + if o == nil || IsNil(o.Address) { + return nil, false + } + return o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *CidrBlock) HasAddress() bool { + if o != nil && !IsNil(o.Address) { + return true + } + + return false +} + +// SetAddress gets a reference to the given string and assigns it to the Address field. +func (o *CidrBlock) SetAddress(v string) { + o.Address = &v +} + +// GetCidr returns the Cidr field value if set, zero value otherwise. +func (o *CidrBlock) GetCidr() int64 { + if o == nil || IsNil(o.Cidr) { + var ret int64 + return ret + } + return *o.Cidr +} + +// GetCidrOk returns a tuple with the Cidr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CidrBlock) GetCidrOk() (*int64, bool) { + if o == nil || IsNil(o.Cidr) { + return nil, false + } + return o.Cidr, true +} + +// HasCidr returns a boolean if a field has been set. +func (o *CidrBlock) HasCidr() bool { + if o != nil && !IsNil(o.Cidr) { + return true + } + + return false +} + +// SetCidr gets a reference to the given int64 and assigns it to the Cidr field. +func (o *CidrBlock) SetCidr(v int64) { + o.Cidr = &v +} + +// GetFederatedRealms returns the FederatedRealms field value if set, zero value otherwise. +func (o *CidrBlock) GetFederatedRealms() []string { + if o == nil || IsNil(o.FederatedRealms) { + var ret []string + return ret + } + return o.FederatedRealms +} + +// GetFederatedRealmsOk returns a tuple with the FederatedRealms field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CidrBlock) GetFederatedRealmsOk() ([]string, bool) { + if o == nil || IsNil(o.FederatedRealms) { + return nil, false + } + return o.FederatedRealms, true +} + +// HasFederatedRealms returns a boolean if a field has been set. +func (o *CidrBlock) HasFederatedRealms() bool { + if o != nil && !IsNil(o.FederatedRealms) { + return true + } + + return false +} + +// SetFederatedRealms gets a reference to the given []string and assigns it to the FederatedRealms field. +func (o *CidrBlock) SetFederatedRealms(v []string) { + o.FederatedRealms = v +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *CidrBlock) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CidrBlock) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CidrBlock) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *CidrBlock) SetId(v string) { + o.Id = &v +} + +// GetParent returns the Parent field value if set, zero value otherwise. +func (o *CidrBlock) GetParent() string { + if o == nil || IsNil(o.Parent) { + var ret string + return ret + } + return *o.Parent +} + +// GetParentOk returns a tuple with the Parent field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CidrBlock) GetParentOk() (*string, bool) { + if o == nil || IsNil(o.Parent) { + return nil, false + } + return o.Parent, true +} + +// HasParent returns a boolean if a field has been set. +func (o *CidrBlock) HasParent() bool { + if o != nil && !IsNil(o.Parent) { + return true + } + + return false +} + +// SetParent gets a reference to the given string and assigns it to the Parent field. +func (o *CidrBlock) SetParent(v string) { + o.Parent = &v +} + +// GetSpace returns the Space field value if set, zero value otherwise. +func (o *CidrBlock) GetSpace() string { + if o == nil || IsNil(o.Space) { + var ret string + return ret + } + return *o.Space +} + +// GetSpaceOk returns a tuple with the Space field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CidrBlock) GetSpaceOk() (*string, bool) { + if o == nil || IsNil(o.Space) { + return nil, false + } + return o.Space, true +} + +// HasSpace returns a boolean if a field has been set. +func (o *CidrBlock) HasSpace() bool { + if o != nil && !IsNil(o.Space) { + return true + } + + return false +} + +// SetSpace gets a reference to the given string and assigns it to the Space field. +func (o *CidrBlock) SetSpace(v string) { + o.Space = &v +} + +func (o CidrBlock) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CidrBlock) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Address) { + toSerialize["address"] = o.Address + } + if !IsNil(o.Cidr) { + toSerialize["cidr"] = o.Cidr + } + if !IsNil(o.FederatedRealms) { + toSerialize["federated_realms"] = o.FederatedRealms + } + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.Parent) { + toSerialize["parent"] = o.Parent + } + if !IsNil(o.Space) { + toSerialize["space"] = o.Space + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *CidrBlock) UnmarshalJSON(data []byte) (err error) { + varCidrBlock := _CidrBlock{} + + err = json.Unmarshal(data, &varCidrBlock) + + if err != nil { + return err + } + + *o = CidrBlock(varCidrBlock) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "address") + delete(additionalProperties, "cidr") + delete(additionalProperties, "federated_realms") + delete(additionalProperties, "id") + delete(additionalProperties, "parent") + delete(additionalProperties, "space") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableCidrBlock struct { + value *CidrBlock + isSet bool +} + +func (v NullableCidrBlock) Get() *CidrBlock { + return v.value +} + +func (v *NullableCidrBlock) Set(val *CidrBlock) { + v.value = val + v.isSet = true +} + +func (v NullableCidrBlock) IsSet() bool { + return v.isSet +} + +func (v *NullableCidrBlock) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCidrBlock(val *CidrBlock) *NullableCidrBlock { + return &NullableCidrBlock{value: val, isSet: true} +} + +func (v NullableCidrBlock) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCidrBlock) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_cp_subnet.go b/ipam/model_cp_subnet.go new file mode 100644 index 0000000..6227152 --- /dev/null +++ b/ipam/model_cp_subnet.go @@ -0,0 +1,452 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the CPSubnet type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CPSubnet{} + +// CPSubnet struct for CPSubnet +type CPSubnet struct { + Address *string `json:"address,omitempty"` + Cidr *int64 `json:"cidr,omitempty"` + Comment *string `json:"comment,omitempty"` + // The resource identifier. + Id *string `json:"id,omitempty"` + IpSpaceName *string `json:"ip_space_name,omitempty"` + // The resource identifier. + IpSpaceRef *string `json:"ip_space_ref,omitempty"` + Name *string `json:"name,omitempty"` + // The resource identifier. + Parent *string `json:"parent,omitempty"` + Protocol *string `json:"protocol,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _CPSubnet CPSubnet + +// NewCPSubnet instantiates a new CPSubnet 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 NewCPSubnet() *CPSubnet { + this := CPSubnet{} + return &this +} + +// NewCPSubnetWithDefaults instantiates a new CPSubnet 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 NewCPSubnetWithDefaults() *CPSubnet { + this := CPSubnet{} + return &this +} + +// GetAddress returns the Address field value if set, zero value otherwise. +func (o *CPSubnet) GetAddress() string { + if o == nil || IsNil(o.Address) { + var ret string + return ret + } + return *o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CPSubnet) GetAddressOk() (*string, bool) { + if o == nil || IsNil(o.Address) { + return nil, false + } + return o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *CPSubnet) HasAddress() bool { + if o != nil && !IsNil(o.Address) { + return true + } + + return false +} + +// SetAddress gets a reference to the given string and assigns it to the Address field. +func (o *CPSubnet) SetAddress(v string) { + o.Address = &v +} + +// GetCidr returns the Cidr field value if set, zero value otherwise. +func (o *CPSubnet) GetCidr() int64 { + if o == nil || IsNil(o.Cidr) { + var ret int64 + return ret + } + return *o.Cidr +} + +// GetCidrOk returns a tuple with the Cidr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CPSubnet) GetCidrOk() (*int64, bool) { + if o == nil || IsNil(o.Cidr) { + return nil, false + } + return o.Cidr, true +} + +// HasCidr returns a boolean if a field has been set. +func (o *CPSubnet) HasCidr() bool { + if o != nil && !IsNil(o.Cidr) { + return true + } + + return false +} + +// SetCidr gets a reference to the given int64 and assigns it to the Cidr field. +func (o *CPSubnet) SetCidr(v int64) { + o.Cidr = &v +} + +// GetComment returns the Comment field value if set, zero value otherwise. +func (o *CPSubnet) GetComment() string { + if o == nil || IsNil(o.Comment) { + var ret string + return ret + } + return *o.Comment +} + +// GetCommentOk returns a tuple with the Comment field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CPSubnet) GetCommentOk() (*string, bool) { + if o == nil || IsNil(o.Comment) { + return nil, false + } + return o.Comment, true +} + +// HasComment returns a boolean if a field has been set. +func (o *CPSubnet) HasComment() bool { + if o != nil && !IsNil(o.Comment) { + return true + } + + return false +} + +// SetComment gets a reference to the given string and assigns it to the Comment field. +func (o *CPSubnet) SetComment(v string) { + o.Comment = &v +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *CPSubnet) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CPSubnet) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CPSubnet) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *CPSubnet) SetId(v string) { + o.Id = &v +} + +// GetIpSpaceName returns the IpSpaceName field value if set, zero value otherwise. +func (o *CPSubnet) GetIpSpaceName() string { + if o == nil || IsNil(o.IpSpaceName) { + var ret string + return ret + } + return *o.IpSpaceName +} + +// GetIpSpaceNameOk returns a tuple with the IpSpaceName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CPSubnet) GetIpSpaceNameOk() (*string, bool) { + if o == nil || IsNil(o.IpSpaceName) { + return nil, false + } + return o.IpSpaceName, true +} + +// HasIpSpaceName returns a boolean if a field has been set. +func (o *CPSubnet) HasIpSpaceName() bool { + if o != nil && !IsNil(o.IpSpaceName) { + return true + } + + return false +} + +// SetIpSpaceName gets a reference to the given string and assigns it to the IpSpaceName field. +func (o *CPSubnet) SetIpSpaceName(v string) { + o.IpSpaceName = &v +} + +// GetIpSpaceRef returns the IpSpaceRef field value if set, zero value otherwise. +func (o *CPSubnet) GetIpSpaceRef() string { + if o == nil || IsNil(o.IpSpaceRef) { + var ret string + return ret + } + return *o.IpSpaceRef +} + +// GetIpSpaceRefOk returns a tuple with the IpSpaceRef field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CPSubnet) GetIpSpaceRefOk() (*string, bool) { + if o == nil || IsNil(o.IpSpaceRef) { + return nil, false + } + return o.IpSpaceRef, true +} + +// HasIpSpaceRef returns a boolean if a field has been set. +func (o *CPSubnet) HasIpSpaceRef() bool { + if o != nil && !IsNil(o.IpSpaceRef) { + return true + } + + return false +} + +// SetIpSpaceRef gets a reference to the given string and assigns it to the IpSpaceRef field. +func (o *CPSubnet) SetIpSpaceRef(v string) { + o.IpSpaceRef = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *CPSubnet) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CPSubnet) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *CPSubnet) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *CPSubnet) SetName(v string) { + o.Name = &v +} + +// GetParent returns the Parent field value if set, zero value otherwise. +func (o *CPSubnet) GetParent() string { + if o == nil || IsNil(o.Parent) { + var ret string + return ret + } + return *o.Parent +} + +// GetParentOk returns a tuple with the Parent field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CPSubnet) GetParentOk() (*string, bool) { + if o == nil || IsNil(o.Parent) { + return nil, false + } + return o.Parent, true +} + +// HasParent returns a boolean if a field has been set. +func (o *CPSubnet) HasParent() bool { + if o != nil && !IsNil(o.Parent) { + return true + } + + return false +} + +// SetParent gets a reference to the given string and assigns it to the Parent field. +func (o *CPSubnet) SetParent(v string) { + o.Parent = &v +} + +// GetProtocol returns the Protocol field value if set, zero value otherwise. +func (o *CPSubnet) GetProtocol() string { + if o == nil || IsNil(o.Protocol) { + var ret string + return ret + } + return *o.Protocol +} + +// GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CPSubnet) GetProtocolOk() (*string, bool) { + if o == nil || IsNil(o.Protocol) { + return nil, false + } + return o.Protocol, true +} + +// HasProtocol returns a boolean if a field has been set. +func (o *CPSubnet) HasProtocol() bool { + if o != nil && !IsNil(o.Protocol) { + return true + } + + return false +} + +// SetProtocol gets a reference to the given string and assigns it to the Protocol field. +func (o *CPSubnet) SetProtocol(v string) { + o.Protocol = &v +} + +func (o CPSubnet) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CPSubnet) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Address) { + toSerialize["address"] = o.Address + } + if !IsNil(o.Cidr) { + toSerialize["cidr"] = o.Cidr + } + if !IsNil(o.Comment) { + toSerialize["comment"] = o.Comment + } + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.IpSpaceName) { + toSerialize["ip_space_name"] = o.IpSpaceName + } + if !IsNil(o.IpSpaceRef) { + toSerialize["ip_space_ref"] = o.IpSpaceRef + } + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Parent) { + toSerialize["parent"] = o.Parent + } + if !IsNil(o.Protocol) { + toSerialize["protocol"] = o.Protocol + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *CPSubnet) UnmarshalJSON(data []byte) (err error) { + varCPSubnet := _CPSubnet{} + + err = json.Unmarshal(data, &varCPSubnet) + + if err != nil { + return err + } + + *o = CPSubnet(varCPSubnet) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "address") + delete(additionalProperties, "cidr") + delete(additionalProperties, "comment") + delete(additionalProperties, "id") + delete(additionalProperties, "ip_space_name") + delete(additionalProperties, "ip_space_ref") + delete(additionalProperties, "name") + delete(additionalProperties, "parent") + delete(additionalProperties, "protocol") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableCPSubnet struct { + value *CPSubnet + isSet bool +} + +func (v NullableCPSubnet) Get() *CPSubnet { + return v.value +} + +func (v *NullableCPSubnet) Set(val *CPSubnet) { + v.value = val + v.isSet = true +} + +func (v NullableCPSubnet) IsSet() bool { + return v.isSet +} + +func (v *NullableCPSubnet) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCPSubnet(val *CPSubnet) *NullableCPSubnet { + return &NullableCPSubnet{value: val, isSet: true} +} + +func (v NullableCPSubnet) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCPSubnet) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_create_mac_address_item_response.go b/ipam/model_create_mac_address_item_response.go new file mode 100644 index 0000000..5335735 --- /dev/null +++ b/ipam/model_create_mac_address_item_response.go @@ -0,0 +1,154 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the CreateMacAddressItemResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CreateMacAddressItemResponse{} + +// CreateMacAddressItemResponse The response format to create the __MacAddressItem__ object. +type CreateMacAddressItemResponse struct { + // The created __MacAddressItem__ object. + Result *MacAddressItem `json:"result,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _CreateMacAddressItemResponse CreateMacAddressItemResponse + +// NewCreateMacAddressItemResponse instantiates a new CreateMacAddressItemResponse 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 NewCreateMacAddressItemResponse() *CreateMacAddressItemResponse { + this := CreateMacAddressItemResponse{} + return &this +} + +// NewCreateMacAddressItemResponseWithDefaults instantiates a new CreateMacAddressItemResponse 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 NewCreateMacAddressItemResponseWithDefaults() *CreateMacAddressItemResponse { + this := CreateMacAddressItemResponse{} + return &this +} + +// GetResult returns the Result field value if set, zero value otherwise. +func (o *CreateMacAddressItemResponse) GetResult() MacAddressItem { + if o == nil || IsNil(o.Result) { + var ret MacAddressItem + return ret + } + return *o.Result +} + +// GetResultOk returns a tuple with the Result field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CreateMacAddressItemResponse) GetResultOk() (*MacAddressItem, bool) { + if o == nil || IsNil(o.Result) { + return nil, false + } + return o.Result, true +} + +// HasResult returns a boolean if a field has been set. +func (o *CreateMacAddressItemResponse) HasResult() bool { + if o != nil && !IsNil(o.Result) { + return true + } + + return false +} + +// SetResult gets a reference to the given MacAddressItem and assigns it to the Result field. +func (o *CreateMacAddressItemResponse) SetResult(v MacAddressItem) { + o.Result = &v +} + +func (o CreateMacAddressItemResponse) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CreateMacAddressItemResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Result) { + toSerialize["result"] = o.Result + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *CreateMacAddressItemResponse) UnmarshalJSON(data []byte) (err error) { + varCreateMacAddressItemResponse := _CreateMacAddressItemResponse{} + + err = json.Unmarshal(data, &varCreateMacAddressItemResponse) + + if err != nil { + return err + } + + *o = CreateMacAddressItemResponse(varCreateMacAddressItemResponse) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "result") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableCreateMacAddressItemResponse struct { + value *CreateMacAddressItemResponse + isSet bool +} + +func (v NullableCreateMacAddressItemResponse) Get() *CreateMacAddressItemResponse { + return v.value +} + +func (v *NullableCreateMacAddressItemResponse) Set(val *CreateMacAddressItemResponse) { + v.value = val + v.isSet = true +} + +func (v NullableCreateMacAddressItemResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateMacAddressItemResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateMacAddressItemResponse(val *CreateMacAddressItemResponse) *NullableCreateMacAddressItemResponse { + return &NullableCreateMacAddressItemResponse{value: val, isSet: true} +} + +func (v NullableCreateMacAddressItemResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateMacAddressItemResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_dhcp_service_instance.go b/ipam/model_dhcp_service_instance.go new file mode 100644 index 0000000..371bbeb --- /dev/null +++ b/ipam/model_dhcp_service_instance.go @@ -0,0 +1,380 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the DHCPServiceInstance type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DHCPServiceInstance{} + +// DHCPServiceInstance A DHCP Service (_dhcp/service_) object associates DHCP configuration with the DHCP host services. Automatically created and destroyed based on the hosts known to the platform. +type DHCPServiceInstance struct { + AssociatedHosts []AssociatedHost `json:"associated_hosts,omitempty"` + AssociatedServer *HostAssociatedServer `json:"associated_server,omitempty"` + // The comment for the service. + Comment *string `json:"comment,omitempty"` + // The resource identifier. + Id *string `json:"id,omitempty"` + // The resource identifier. + IpSpace *string `json:"ip_space,omitempty"` + // The display name of the service. + Name *string `json:"name,omitempty"` + // The tags of the service host in JSON format. + Tags map[string]interface{} `json:"tags,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _DHCPServiceInstance DHCPServiceInstance + +// NewDHCPServiceInstance instantiates a new DHCPServiceInstance 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 NewDHCPServiceInstance() *DHCPServiceInstance { + this := DHCPServiceInstance{} + return &this +} + +// NewDHCPServiceInstanceWithDefaults instantiates a new DHCPServiceInstance 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 NewDHCPServiceInstanceWithDefaults() *DHCPServiceInstance { + this := DHCPServiceInstance{} + return &this +} + +// GetAssociatedHosts returns the AssociatedHosts field value if set, zero value otherwise. +func (o *DHCPServiceInstance) GetAssociatedHosts() []AssociatedHost { + if o == nil || IsNil(o.AssociatedHosts) { + var ret []AssociatedHost + return ret + } + return o.AssociatedHosts +} + +// GetAssociatedHostsOk returns a tuple with the AssociatedHosts field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DHCPServiceInstance) GetAssociatedHostsOk() ([]AssociatedHost, bool) { + if o == nil || IsNil(o.AssociatedHosts) { + return nil, false + } + return o.AssociatedHosts, true +} + +// HasAssociatedHosts returns a boolean if a field has been set. +func (o *DHCPServiceInstance) HasAssociatedHosts() bool { + if o != nil && !IsNil(o.AssociatedHosts) { + return true + } + + return false +} + +// SetAssociatedHosts gets a reference to the given []AssociatedHost and assigns it to the AssociatedHosts field. +func (o *DHCPServiceInstance) SetAssociatedHosts(v []AssociatedHost) { + o.AssociatedHosts = v +} + +// GetAssociatedServer returns the AssociatedServer field value if set, zero value otherwise. +func (o *DHCPServiceInstance) GetAssociatedServer() HostAssociatedServer { + if o == nil || IsNil(o.AssociatedServer) { + var ret HostAssociatedServer + return ret + } + return *o.AssociatedServer +} + +// GetAssociatedServerOk returns a tuple with the AssociatedServer field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DHCPServiceInstance) GetAssociatedServerOk() (*HostAssociatedServer, bool) { + if o == nil || IsNil(o.AssociatedServer) { + return nil, false + } + return o.AssociatedServer, true +} + +// HasAssociatedServer returns a boolean if a field has been set. +func (o *DHCPServiceInstance) HasAssociatedServer() bool { + if o != nil && !IsNil(o.AssociatedServer) { + return true + } + + return false +} + +// SetAssociatedServer gets a reference to the given HostAssociatedServer and assigns it to the AssociatedServer field. +func (o *DHCPServiceInstance) SetAssociatedServer(v HostAssociatedServer) { + o.AssociatedServer = &v +} + +// GetComment returns the Comment field value if set, zero value otherwise. +func (o *DHCPServiceInstance) GetComment() string { + if o == nil || IsNil(o.Comment) { + var ret string + return ret + } + return *o.Comment +} + +// GetCommentOk returns a tuple with the Comment field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DHCPServiceInstance) GetCommentOk() (*string, bool) { + if o == nil || IsNil(o.Comment) { + return nil, false + } + return o.Comment, true +} + +// HasComment returns a boolean if a field has been set. +func (o *DHCPServiceInstance) HasComment() bool { + if o != nil && !IsNil(o.Comment) { + return true + } + + return false +} + +// SetComment gets a reference to the given string and assigns it to the Comment field. +func (o *DHCPServiceInstance) SetComment(v string) { + o.Comment = &v +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *DHCPServiceInstance) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DHCPServiceInstance) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DHCPServiceInstance) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *DHCPServiceInstance) SetId(v string) { + o.Id = &v +} + +// GetIpSpace returns the IpSpace field value if set, zero value otherwise. +func (o *DHCPServiceInstance) GetIpSpace() string { + if o == nil || IsNil(o.IpSpace) { + var ret string + return ret + } + return *o.IpSpace +} + +// GetIpSpaceOk returns a tuple with the IpSpace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DHCPServiceInstance) GetIpSpaceOk() (*string, bool) { + if o == nil || IsNil(o.IpSpace) { + return nil, false + } + return o.IpSpace, true +} + +// HasIpSpace returns a boolean if a field has been set. +func (o *DHCPServiceInstance) HasIpSpace() bool { + if o != nil && !IsNil(o.IpSpace) { + return true + } + + return false +} + +// SetIpSpace gets a reference to the given string and assigns it to the IpSpace field. +func (o *DHCPServiceInstance) SetIpSpace(v string) { + o.IpSpace = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *DHCPServiceInstance) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DHCPServiceInstance) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *DHCPServiceInstance) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *DHCPServiceInstance) SetName(v string) { + o.Name = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *DHCPServiceInstance) GetTags() map[string]interface{} { + if o == nil || IsNil(o.Tags) { + var ret map[string]interface{} + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DHCPServiceInstance) GetTagsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Tags) { + return map[string]interface{}{}, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *DHCPServiceInstance) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags field. +func (o *DHCPServiceInstance) SetTags(v map[string]interface{}) { + o.Tags = v +} + +func (o DHCPServiceInstance) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DHCPServiceInstance) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.AssociatedHosts) { + toSerialize["associated_hosts"] = o.AssociatedHosts + } + if !IsNil(o.AssociatedServer) { + toSerialize["associated_server"] = o.AssociatedServer + } + if !IsNil(o.Comment) { + toSerialize["comment"] = o.Comment + } + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.IpSpace) { + toSerialize["ip_space"] = o.IpSpace + } + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *DHCPServiceInstance) UnmarshalJSON(data []byte) (err error) { + varDHCPServiceInstance := _DHCPServiceInstance{} + + err = json.Unmarshal(data, &varDHCPServiceInstance) + + if err != nil { + return err + } + + *o = DHCPServiceInstance(varDHCPServiceInstance) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "associated_hosts") + delete(additionalProperties, "associated_server") + delete(additionalProperties, "comment") + delete(additionalProperties, "id") + delete(additionalProperties, "ip_space") + delete(additionalProperties, "name") + delete(additionalProperties, "tags") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableDHCPServiceInstance struct { + value *DHCPServiceInstance + isSet bool +} + +func (v NullableDHCPServiceInstance) Get() *DHCPServiceInstance { + return v.value +} + +func (v *NullableDHCPServiceInstance) Set(val *DHCPServiceInstance) { + v.value = val + v.isSet = true +} + +func (v NullableDHCPServiceInstance) IsSet() bool { + return v.isSet +} + +func (v *NullableDHCPServiceInstance) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDHCPServiceInstance(val *DHCPServiceInstance) *NullableDHCPServiceInstance { + return &NullableDHCPServiceInstance{value: val, isSet: true} +} + +func (v NullableDHCPServiceInstance) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDHCPServiceInstance) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_disassociate_config_profile_from_objects_request.go b/ipam/model_disassociate_config_profile_from_objects_request.go new file mode 100644 index 0000000..ed9e3dd --- /dev/null +++ b/ipam/model_disassociate_config_profile_from_objects_request.go @@ -0,0 +1,234 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" + "fmt" +) + +// checks if the DisassociateConfigProfileFromObjectsRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DisassociateConfigProfileFromObjectsRequest{} + +// DisassociateConfigProfileFromObjectsRequest DisassociateConfigProfileToObjects disassociates an object to config profiles. +type DisassociateConfigProfileFromObjectsRequest struct { + // The resource identifier. + ConfigProfileId string `json:"config_profile_id"` + Fields *ProtobufFieldMask `json:"fields,omitempty"` + // The resource identifier. + ObjectIds []string `json:"object_ids"` + AdditionalProperties map[string]interface{} +} + +type _DisassociateConfigProfileFromObjectsRequest DisassociateConfigProfileFromObjectsRequest + +// NewDisassociateConfigProfileFromObjectsRequest instantiates a new DisassociateConfigProfileFromObjectsRequest 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 NewDisassociateConfigProfileFromObjectsRequest(configProfileId string, objectIds []string) *DisassociateConfigProfileFromObjectsRequest { + this := DisassociateConfigProfileFromObjectsRequest{} + this.ConfigProfileId = configProfileId + this.ObjectIds = objectIds + return &this +} + +// NewDisassociateConfigProfileFromObjectsRequestWithDefaults instantiates a new DisassociateConfigProfileFromObjectsRequest 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 NewDisassociateConfigProfileFromObjectsRequestWithDefaults() *DisassociateConfigProfileFromObjectsRequest { + this := DisassociateConfigProfileFromObjectsRequest{} + return &this +} + +// GetConfigProfileId returns the ConfigProfileId field value +func (o *DisassociateConfigProfileFromObjectsRequest) GetConfigProfileId() string { + if o == nil { + var ret string + return ret + } + + return o.ConfigProfileId +} + +// GetConfigProfileIdOk returns a tuple with the ConfigProfileId field value +// and a boolean to check if the value has been set. +func (o *DisassociateConfigProfileFromObjectsRequest) GetConfigProfileIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ConfigProfileId, true +} + +// SetConfigProfileId sets field value +func (o *DisassociateConfigProfileFromObjectsRequest) SetConfigProfileId(v string) { + o.ConfigProfileId = v +} + +// GetFields returns the Fields field value if set, zero value otherwise. +func (o *DisassociateConfigProfileFromObjectsRequest) GetFields() ProtobufFieldMask { + if o == nil || IsNil(o.Fields) { + var ret ProtobufFieldMask + return ret + } + return *o.Fields +} + +// GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DisassociateConfigProfileFromObjectsRequest) GetFieldsOk() (*ProtobufFieldMask, bool) { + if o == nil || IsNil(o.Fields) { + return nil, false + } + return o.Fields, true +} + +// HasFields returns a boolean if a field has been set. +func (o *DisassociateConfigProfileFromObjectsRequest) HasFields() bool { + if o != nil && !IsNil(o.Fields) { + return true + } + + return false +} + +// SetFields gets a reference to the given ProtobufFieldMask and assigns it to the Fields field. +func (o *DisassociateConfigProfileFromObjectsRequest) SetFields(v ProtobufFieldMask) { + o.Fields = &v +} + +// GetObjectIds returns the ObjectIds field value +func (o *DisassociateConfigProfileFromObjectsRequest) GetObjectIds() []string { + if o == nil { + var ret []string + return ret + } + + return o.ObjectIds +} + +// GetObjectIdsOk returns a tuple with the ObjectIds field value +// and a boolean to check if the value has been set. +func (o *DisassociateConfigProfileFromObjectsRequest) GetObjectIdsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.ObjectIds, true +} + +// SetObjectIds sets field value +func (o *DisassociateConfigProfileFromObjectsRequest) SetObjectIds(v []string) { + o.ObjectIds = v +} + +func (o DisassociateConfigProfileFromObjectsRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DisassociateConfigProfileFromObjectsRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["config_profile_id"] = o.ConfigProfileId + if !IsNil(o.Fields) { + toSerialize["fields"] = o.Fields + } + toSerialize["object_ids"] = o.ObjectIds + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *DisassociateConfigProfileFromObjectsRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "config_profile_id", + "object_ids", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varDisassociateConfigProfileFromObjectsRequest := _DisassociateConfigProfileFromObjectsRequest{} + + err = json.Unmarshal(data, &varDisassociateConfigProfileFromObjectsRequest) + + if err != nil { + return err + } + + *o = DisassociateConfigProfileFromObjectsRequest(varDisassociateConfigProfileFromObjectsRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "config_profile_id") + delete(additionalProperties, "fields") + delete(additionalProperties, "object_ids") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableDisassociateConfigProfileFromObjectsRequest struct { + value *DisassociateConfigProfileFromObjectsRequest + isSet bool +} + +func (v NullableDisassociateConfigProfileFromObjectsRequest) Get() *DisassociateConfigProfileFromObjectsRequest { + return v.value +} + +func (v *NullableDisassociateConfigProfileFromObjectsRequest) Set(val *DisassociateConfigProfileFromObjectsRequest) { + v.value = val + v.isSet = true +} + +func (v NullableDisassociateConfigProfileFromObjectsRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableDisassociateConfigProfileFromObjectsRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDisassociateConfigProfileFromObjectsRequest(val *DisassociateConfigProfileFromObjectsRequest) *NullableDisassociateConfigProfileFromObjectsRequest { + return &NullableDisassociateConfigProfileFromObjectsRequest{value: val, isSet: true} +} + +func (v NullableDisassociateConfigProfileFromObjectsRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDisassociateConfigProfileFromObjectsRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_disassociate_object_from_config_profiles_request.go b/ipam/model_disassociate_object_from_config_profiles_request.go new file mode 100644 index 0000000..554c962 --- /dev/null +++ b/ipam/model_disassociate_object_from_config_profiles_request.go @@ -0,0 +1,234 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" + "fmt" +) + +// checks if the DisassociateObjectFromConfigProfilesRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DisassociateObjectFromConfigProfilesRequest{} + +// DisassociateObjectFromConfigProfilesRequest DisassociateObjectToConfigProfiles disassociates an object to config profiles. +type DisassociateObjectFromConfigProfilesRequest struct { + // The resource identifier. + ConfigProfileIds []string `json:"config_profile_ids"` + Fields *ProtobufFieldMask `json:"fields,omitempty"` + // The resource identifier. + ObjectId string `json:"object_id"` + AdditionalProperties map[string]interface{} +} + +type _DisassociateObjectFromConfigProfilesRequest DisassociateObjectFromConfigProfilesRequest + +// NewDisassociateObjectFromConfigProfilesRequest instantiates a new DisassociateObjectFromConfigProfilesRequest 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 NewDisassociateObjectFromConfigProfilesRequest(configProfileIds []string, objectId string) *DisassociateObjectFromConfigProfilesRequest { + this := DisassociateObjectFromConfigProfilesRequest{} + this.ConfigProfileIds = configProfileIds + this.ObjectId = objectId + return &this +} + +// NewDisassociateObjectFromConfigProfilesRequestWithDefaults instantiates a new DisassociateObjectFromConfigProfilesRequest 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 NewDisassociateObjectFromConfigProfilesRequestWithDefaults() *DisassociateObjectFromConfigProfilesRequest { + this := DisassociateObjectFromConfigProfilesRequest{} + return &this +} + +// GetConfigProfileIds returns the ConfigProfileIds field value +func (o *DisassociateObjectFromConfigProfilesRequest) GetConfigProfileIds() []string { + if o == nil { + var ret []string + return ret + } + + return o.ConfigProfileIds +} + +// GetConfigProfileIdsOk returns a tuple with the ConfigProfileIds field value +// and a boolean to check if the value has been set. +func (o *DisassociateObjectFromConfigProfilesRequest) GetConfigProfileIdsOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.ConfigProfileIds, true +} + +// SetConfigProfileIds sets field value +func (o *DisassociateObjectFromConfigProfilesRequest) SetConfigProfileIds(v []string) { + o.ConfigProfileIds = v +} + +// GetFields returns the Fields field value if set, zero value otherwise. +func (o *DisassociateObjectFromConfigProfilesRequest) GetFields() ProtobufFieldMask { + if o == nil || IsNil(o.Fields) { + var ret ProtobufFieldMask + return ret + } + return *o.Fields +} + +// GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DisassociateObjectFromConfigProfilesRequest) GetFieldsOk() (*ProtobufFieldMask, bool) { + if o == nil || IsNil(o.Fields) { + return nil, false + } + return o.Fields, true +} + +// HasFields returns a boolean if a field has been set. +func (o *DisassociateObjectFromConfigProfilesRequest) HasFields() bool { + if o != nil && !IsNil(o.Fields) { + return true + } + + return false +} + +// SetFields gets a reference to the given ProtobufFieldMask and assigns it to the Fields field. +func (o *DisassociateObjectFromConfigProfilesRequest) SetFields(v ProtobufFieldMask) { + o.Fields = &v +} + +// GetObjectId returns the ObjectId field value +func (o *DisassociateObjectFromConfigProfilesRequest) GetObjectId() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectId +} + +// GetObjectIdOk returns a tuple with the ObjectId field value +// and a boolean to check if the value has been set. +func (o *DisassociateObjectFromConfigProfilesRequest) GetObjectIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectId, true +} + +// SetObjectId sets field value +func (o *DisassociateObjectFromConfigProfilesRequest) SetObjectId(v string) { + o.ObjectId = v +} + +func (o DisassociateObjectFromConfigProfilesRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DisassociateObjectFromConfigProfilesRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["config_profile_ids"] = o.ConfigProfileIds + if !IsNil(o.Fields) { + toSerialize["fields"] = o.Fields + } + toSerialize["object_id"] = o.ObjectId + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *DisassociateObjectFromConfigProfilesRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "config_profile_ids", + "object_id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varDisassociateObjectFromConfigProfilesRequest := _DisassociateObjectFromConfigProfilesRequest{} + + err = json.Unmarshal(data, &varDisassociateObjectFromConfigProfilesRequest) + + if err != nil { + return err + } + + *o = DisassociateObjectFromConfigProfilesRequest(varDisassociateObjectFromConfigProfilesRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "config_profile_ids") + delete(additionalProperties, "fields") + delete(additionalProperties, "object_id") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableDisassociateObjectFromConfigProfilesRequest struct { + value *DisassociateObjectFromConfigProfilesRequest + isSet bool +} + +func (v NullableDisassociateObjectFromConfigProfilesRequest) Get() *DisassociateObjectFromConfigProfilesRequest { + return v.value +} + +func (v *NullableDisassociateObjectFromConfigProfilesRequest) Set(val *DisassociateObjectFromConfigProfilesRequest) { + v.value = val + v.isSet = true +} + +func (v NullableDisassociateObjectFromConfigProfilesRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableDisassociateObjectFromConfigProfilesRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDisassociateObjectFromConfigProfilesRequest(val *DisassociateObjectFromConfigProfilesRequest) *NullableDisassociateObjectFromConfigProfilesRequest { + return &NullableDisassociateObjectFromConfigProfilesRequest{value: val, isSet: true} +} + +func (v NullableDisassociateObjectFromConfigProfilesRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDisassociateObjectFromConfigProfilesRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_list_ancestor_response.go b/ipam/model_list_ancestor_response.go new file mode 100644 index 0000000..e48d027 --- /dev/null +++ b/ipam/model_list_ancestor_response.go @@ -0,0 +1,154 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the ListAncestorResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ListAncestorResponse{} + +// ListAncestorResponse The response format to retrieve the __AddressBlock__ objects that are ancestors of the __AddressBlock__ or __subnet__ object. +type ListAncestorResponse struct { + // The list of the ancestors of the CidrBlock. + Results []CidrBlock `json:"results,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ListAncestorResponse ListAncestorResponse + +// NewListAncestorResponse instantiates a new ListAncestorResponse 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 NewListAncestorResponse() *ListAncestorResponse { + this := ListAncestorResponse{} + return &this +} + +// NewListAncestorResponseWithDefaults instantiates a new ListAncestorResponse 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 NewListAncestorResponseWithDefaults() *ListAncestorResponse { + this := ListAncestorResponse{} + return &this +} + +// GetResults returns the Results field value if set, zero value otherwise. +func (o *ListAncestorResponse) GetResults() []CidrBlock { + if o == nil || IsNil(o.Results) { + var ret []CidrBlock + return ret + } + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListAncestorResponse) GetResultsOk() ([]CidrBlock, bool) { + if o == nil || IsNil(o.Results) { + return nil, false + } + return o.Results, true +} + +// HasResults returns a boolean if a field has been set. +func (o *ListAncestorResponse) HasResults() bool { + if o != nil && !IsNil(o.Results) { + return true + } + + return false +} + +// SetResults gets a reference to the given []CidrBlock and assigns it to the Results field. +func (o *ListAncestorResponse) SetResults(v []CidrBlock) { + o.Results = v +} + +func (o ListAncestorResponse) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ListAncestorResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Results) { + toSerialize["results"] = o.Results + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ListAncestorResponse) UnmarshalJSON(data []byte) (err error) { + varListAncestorResponse := _ListAncestorResponse{} + + err = json.Unmarshal(data, &varListAncestorResponse) + + if err != nil { + return err + } + + *o = ListAncestorResponse(varListAncestorResponse) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableListAncestorResponse struct { + value *ListAncestorResponse + isSet bool +} + +func (v NullableListAncestorResponse) Get() *ListAncestorResponse { + return v.value +} + +func (v *NullableListAncestorResponse) Set(val *ListAncestorResponse) { + v.value = val + v.isSet = true +} + +func (v NullableListAncestorResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableListAncestorResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListAncestorResponse(val *ListAncestorResponse) *NullableListAncestorResponse { + return &NullableListAncestorResponse{value: val, isSet: true} +} + +func (v NullableListAncestorResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListAncestorResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_list_config_profile_response.go b/ipam/model_list_config_profile_response.go new file mode 100644 index 0000000..278710e --- /dev/null +++ b/ipam/model_list_config_profile_response.go @@ -0,0 +1,154 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the ListConfigProfileResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ListConfigProfileResponse{} + +// ListConfigProfileResponse The response format to retrieve config profiles. +type ListConfigProfileResponse struct { + // Contains result-set depending on the type. + Results []Server `json:"results,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ListConfigProfileResponse ListConfigProfileResponse + +// NewListConfigProfileResponse instantiates a new ListConfigProfileResponse 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 NewListConfigProfileResponse() *ListConfigProfileResponse { + this := ListConfigProfileResponse{} + return &this +} + +// NewListConfigProfileResponseWithDefaults instantiates a new ListConfigProfileResponse 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 NewListConfigProfileResponseWithDefaults() *ListConfigProfileResponse { + this := ListConfigProfileResponse{} + return &this +} + +// GetResults returns the Results field value if set, zero value otherwise. +func (o *ListConfigProfileResponse) GetResults() []Server { + if o == nil || IsNil(o.Results) { + var ret []Server + return ret + } + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListConfigProfileResponse) GetResultsOk() ([]Server, bool) { + if o == nil || IsNil(o.Results) { + return nil, false + } + return o.Results, true +} + +// HasResults returns a boolean if a field has been set. +func (o *ListConfigProfileResponse) HasResults() bool { + if o != nil && !IsNil(o.Results) { + return true + } + + return false +} + +// SetResults gets a reference to the given []Server and assigns it to the Results field. +func (o *ListConfigProfileResponse) SetResults(v []Server) { + o.Results = v +} + +func (o ListConfigProfileResponse) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ListConfigProfileResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Results) { + toSerialize["results"] = o.Results + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ListConfigProfileResponse) UnmarshalJSON(data []byte) (err error) { + varListConfigProfileResponse := _ListConfigProfileResponse{} + + err = json.Unmarshal(data, &varListConfigProfileResponse) + + if err != nil { + return err + } + + *o = ListConfigProfileResponse(varListConfigProfileResponse) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableListConfigProfileResponse struct { + value *ListConfigProfileResponse + isSet bool +} + +func (v NullableListConfigProfileResponse) Get() *ListConfigProfileResponse { + return v.value +} + +func (v *NullableListConfigProfileResponse) Set(val *ListConfigProfileResponse) { + v.value = val + v.isSet = true +} + +func (v NullableListConfigProfileResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableListConfigProfileResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListConfigProfileResponse(val *ListConfigProfileResponse) *NullableListConfigProfileResponse { + return &NullableListConfigProfileResponse{value: val, isSet: true} +} + +func (v NullableListConfigProfileResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListConfigProfileResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_list_cp_subnet_response.go b/ipam/model_list_cp_subnet_response.go new file mode 100644 index 0000000..187fa24 --- /dev/null +++ b/ipam/model_list_cp_subnet_response.go @@ -0,0 +1,153 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the ListCPSubnetResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ListCPSubnetResponse{} + +// ListCPSubnetResponse The response format to retrieve subnets associated with config profile. +type ListCPSubnetResponse struct { + Results []CPSubnet `json:"results,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ListCPSubnetResponse ListCPSubnetResponse + +// NewListCPSubnetResponse instantiates a new ListCPSubnetResponse 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 NewListCPSubnetResponse() *ListCPSubnetResponse { + this := ListCPSubnetResponse{} + return &this +} + +// NewListCPSubnetResponseWithDefaults instantiates a new ListCPSubnetResponse 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 NewListCPSubnetResponseWithDefaults() *ListCPSubnetResponse { + this := ListCPSubnetResponse{} + return &this +} + +// GetResults returns the Results field value if set, zero value otherwise. +func (o *ListCPSubnetResponse) GetResults() []CPSubnet { + if o == nil || IsNil(o.Results) { + var ret []CPSubnet + return ret + } + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListCPSubnetResponse) GetResultsOk() ([]CPSubnet, bool) { + if o == nil || IsNil(o.Results) { + return nil, false + } + return o.Results, true +} + +// HasResults returns a boolean if a field has been set. +func (o *ListCPSubnetResponse) HasResults() bool { + if o != nil && !IsNil(o.Results) { + return true + } + + return false +} + +// SetResults gets a reference to the given []CPSubnet and assigns it to the Results field. +func (o *ListCPSubnetResponse) SetResults(v []CPSubnet) { + o.Results = v +} + +func (o ListCPSubnetResponse) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ListCPSubnetResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Results) { + toSerialize["results"] = o.Results + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ListCPSubnetResponse) UnmarshalJSON(data []byte) (err error) { + varListCPSubnetResponse := _ListCPSubnetResponse{} + + err = json.Unmarshal(data, &varListCPSubnetResponse) + + if err != nil { + return err + } + + *o = ListCPSubnetResponse(varListCPSubnetResponse) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableListCPSubnetResponse struct { + value *ListCPSubnetResponse + isSet bool +} + +func (v NullableListCPSubnetResponse) Get() *ListCPSubnetResponse { + return v.value +} + +func (v *NullableListCPSubnetResponse) Set(val *ListCPSubnetResponse) { + v.value = val + v.isSet = true +} + +func (v NullableListCPSubnetResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableListCPSubnetResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListCPSubnetResponse(val *ListCPSubnetResponse) *NullableListCPSubnetResponse { + return &NullableListCPSubnetResponse{value: val, isSet: true} +} + +func (v NullableListCPSubnetResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListCPSubnetResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_list_dhcp_service_instance_response.go b/ipam/model_list_dhcp_service_instance_response.go new file mode 100644 index 0000000..4b3e330 --- /dev/null +++ b/ipam/model_list_dhcp_service_instance_response.go @@ -0,0 +1,154 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the ListDHCPServiceInstanceResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ListDHCPServiceInstanceResponse{} + +// ListDHCPServiceInstanceResponse The response format to retrieve DHCP __Service__ objects. +type ListDHCPServiceInstanceResponse struct { + // The list of DHCP Service objects. + Results []DHCPServiceInstance `json:"results,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ListDHCPServiceInstanceResponse ListDHCPServiceInstanceResponse + +// NewListDHCPServiceInstanceResponse instantiates a new ListDHCPServiceInstanceResponse 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 NewListDHCPServiceInstanceResponse() *ListDHCPServiceInstanceResponse { + this := ListDHCPServiceInstanceResponse{} + return &this +} + +// NewListDHCPServiceInstanceResponseWithDefaults instantiates a new ListDHCPServiceInstanceResponse 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 NewListDHCPServiceInstanceResponseWithDefaults() *ListDHCPServiceInstanceResponse { + this := ListDHCPServiceInstanceResponse{} + return &this +} + +// GetResults returns the Results field value if set, zero value otherwise. +func (o *ListDHCPServiceInstanceResponse) GetResults() []DHCPServiceInstance { + if o == nil || IsNil(o.Results) { + var ret []DHCPServiceInstance + return ret + } + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListDHCPServiceInstanceResponse) GetResultsOk() ([]DHCPServiceInstance, bool) { + if o == nil || IsNil(o.Results) { + return nil, false + } + return o.Results, true +} + +// HasResults returns a boolean if a field has been set. +func (o *ListDHCPServiceInstanceResponse) HasResults() bool { + if o != nil && !IsNil(o.Results) { + return true + } + + return false +} + +// SetResults gets a reference to the given []DHCPServiceInstance and assigns it to the Results field. +func (o *ListDHCPServiceInstanceResponse) SetResults(v []DHCPServiceInstance) { + o.Results = v +} + +func (o ListDHCPServiceInstanceResponse) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ListDHCPServiceInstanceResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Results) { + toSerialize["results"] = o.Results + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ListDHCPServiceInstanceResponse) UnmarshalJSON(data []byte) (err error) { + varListDHCPServiceInstanceResponse := _ListDHCPServiceInstanceResponse{} + + err = json.Unmarshal(data, &varListDHCPServiceInstanceResponse) + + if err != nil { + return err + } + + *o = ListDHCPServiceInstanceResponse(varListDHCPServiceInstanceResponse) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableListDHCPServiceInstanceResponse struct { + value *ListDHCPServiceInstanceResponse + isSet bool +} + +func (v NullableListDHCPServiceInstanceResponse) Get() *ListDHCPServiceInstanceResponse { + return v.value +} + +func (v *NullableListDHCPServiceInstanceResponse) Set(val *ListDHCPServiceInstanceResponse) { + v.value = val + v.isSet = true +} + +func (v NullableListDHCPServiceInstanceResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableListDHCPServiceInstanceResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListDHCPServiceInstanceResponse(val *ListDHCPServiceInstanceResponse) *NullableListDHCPServiceInstanceResponse { + return &NullableListDHCPServiceInstanceResponse{value: val, isSet: true} +} + +func (v NullableListDHCPServiceInstanceResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListDHCPServiceInstanceResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_list_mac_address_item_response.go b/ipam/model_list_mac_address_item_response.go new file mode 100644 index 0000000..dafa929 --- /dev/null +++ b/ipam/model_list_mac_address_item_response.go @@ -0,0 +1,154 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the ListMacAddressItemResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ListMacAddressItemResponse{} + +// ListMacAddressItemResponse The response format to retrieve __MacAddressItem__ objects. +type ListMacAddressItemResponse struct { + // The list of __MacAddressItem__ objects. + Results []MacAddressItem `json:"results,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ListMacAddressItemResponse ListMacAddressItemResponse + +// NewListMacAddressItemResponse instantiates a new ListMacAddressItemResponse 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 NewListMacAddressItemResponse() *ListMacAddressItemResponse { + this := ListMacAddressItemResponse{} + return &this +} + +// NewListMacAddressItemResponseWithDefaults instantiates a new ListMacAddressItemResponse 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 NewListMacAddressItemResponseWithDefaults() *ListMacAddressItemResponse { + this := ListMacAddressItemResponse{} + return &this +} + +// GetResults returns the Results field value if set, zero value otherwise. +func (o *ListMacAddressItemResponse) GetResults() []MacAddressItem { + if o == nil || IsNil(o.Results) { + var ret []MacAddressItem + return ret + } + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ListMacAddressItemResponse) GetResultsOk() ([]MacAddressItem, bool) { + if o == nil || IsNil(o.Results) { + return nil, false + } + return o.Results, true +} + +// HasResults returns a boolean if a field has been set. +func (o *ListMacAddressItemResponse) HasResults() bool { + if o != nil && !IsNil(o.Results) { + return true + } + + return false +} + +// SetResults gets a reference to the given []MacAddressItem and assigns it to the Results field. +func (o *ListMacAddressItemResponse) SetResults(v []MacAddressItem) { + o.Results = v +} + +func (o ListMacAddressItemResponse) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ListMacAddressItemResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Results) { + toSerialize["results"] = o.Results + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ListMacAddressItemResponse) UnmarshalJSON(data []byte) (err error) { + varListMacAddressItemResponse := _ListMacAddressItemResponse{} + + err = json.Unmarshal(data, &varListMacAddressItemResponse) + + if err != nil { + return err + } + + *o = ListMacAddressItemResponse(varListMacAddressItemResponse) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableListMacAddressItemResponse struct { + value *ListMacAddressItemResponse + isSet bool +} + +func (v NullableListMacAddressItemResponse) Get() *ListMacAddressItemResponse { + return v.value +} + +func (v *NullableListMacAddressItemResponse) Set(val *ListMacAddressItemResponse) { + v.value = val + v.isSet = true +} + +func (v NullableListMacAddressItemResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableListMacAddressItemResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableListMacAddressItemResponse(val *ListMacAddressItemResponse) *NullableListMacAddressItemResponse { + return &NullableListMacAddressItemResponse{value: val, isSet: true} +} + +func (v NullableListMacAddressItemResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableListMacAddressItemResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_mac_address_item.go b/ipam/model_mac_address_item.go new file mode 100644 index 0000000..b518081 --- /dev/null +++ b/ipam/model_mac_address_item.go @@ -0,0 +1,243 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" + "fmt" +) + +// checks if the MacAddressItem type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &MacAddressItem{} + +// MacAddressItem A __MacAddressItem__ object (_dhcp/mac_address_item_) represents a mac address item. +type MacAddressItem struct { + // The address to match for the hardware filter. + Address string `json:"address"` + // The resource identifier. + HardwareFilterId *string `json:"hardware_filter_id,omitempty"` + // The resource identifier. + Id *string `json:"id,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _MacAddressItem MacAddressItem + +// NewMacAddressItem instantiates a new MacAddressItem 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 NewMacAddressItem(address string) *MacAddressItem { + this := MacAddressItem{} + this.Address = address + return &this +} + +// NewMacAddressItemWithDefaults instantiates a new MacAddressItem 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 NewMacAddressItemWithDefaults() *MacAddressItem { + this := MacAddressItem{} + return &this +} + +// GetAddress returns the Address field value +func (o *MacAddressItem) GetAddress() string { + if o == nil { + var ret string + return ret + } + + return o.Address +} + +// GetAddressOk returns a tuple with the Address field value +// and a boolean to check if the value has been set. +func (o *MacAddressItem) GetAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Address, true +} + +// SetAddress sets field value +func (o *MacAddressItem) SetAddress(v string) { + o.Address = v +} + +// GetHardwareFilterId returns the HardwareFilterId field value if set, zero value otherwise. +func (o *MacAddressItem) GetHardwareFilterId() string { + if o == nil || IsNil(o.HardwareFilterId) { + var ret string + return ret + } + return *o.HardwareFilterId +} + +// GetHardwareFilterIdOk returns a tuple with the HardwareFilterId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MacAddressItem) GetHardwareFilterIdOk() (*string, bool) { + if o == nil || IsNil(o.HardwareFilterId) { + return nil, false + } + return o.HardwareFilterId, true +} + +// HasHardwareFilterId returns a boolean if a field has been set. +func (o *MacAddressItem) HasHardwareFilterId() bool { + if o != nil && !IsNil(o.HardwareFilterId) { + return true + } + + return false +} + +// SetHardwareFilterId gets a reference to the given string and assigns it to the HardwareFilterId field. +func (o *MacAddressItem) SetHardwareFilterId(v string) { + o.HardwareFilterId = &v +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *MacAddressItem) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MacAddressItem) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *MacAddressItem) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *MacAddressItem) SetId(v string) { + o.Id = &v +} + +func (o MacAddressItem) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o MacAddressItem) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["address"] = o.Address + if !IsNil(o.HardwareFilterId) { + toSerialize["hardware_filter_id"] = o.HardwareFilterId + } + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *MacAddressItem) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "address", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varMacAddressItem := _MacAddressItem{} + + err = json.Unmarshal(data, &varMacAddressItem) + + if err != nil { + return err + } + + *o = MacAddressItem(varMacAddressItem) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "address") + delete(additionalProperties, "hardware_filter_id") + delete(additionalProperties, "id") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableMacAddressItem struct { + value *MacAddressItem + isSet bool +} + +func (v NullableMacAddressItem) Get() *MacAddressItem { + return v.value +} + +func (v *NullableMacAddressItem) Set(val *MacAddressItem) { + v.value = val + v.isSet = true +} + +func (v NullableMacAddressItem) IsSet() bool { + return v.isSet +} + +func (v *NullableMacAddressItem) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMacAddressItem(val *MacAddressItem) *NullableMacAddressItem { + return &NullableMacAddressItem{value: val, isSet: true} +} + +func (v NullableMacAddressItem) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMacAddressItem) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_mac_address_item_upload.go b/ipam/model_mac_address_item_upload.go new file mode 100644 index 0000000..081f040 --- /dev/null +++ b/ipam/model_mac_address_item_upload.go @@ -0,0 +1,235 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" + "fmt" +) + +// checks if the MacAddressItemUpload type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &MacAddressItemUpload{} + +// MacAddressItemUpload A __MacAddressItemUpload__ object uploads mac addresses to a large scale hardware filter. +type MacAddressItemUpload struct { + // If data needs to be appended or overwritten. Defaults to _true_. + Append *bool `json:"append,omitempty"` + // The content in plain text of the mac addresses to be uploaded to a large scale hardware filter. + Content string `json:"content"` + // The resource identifier. + HardwareFilterId string `json:"hardware_filter_id"` + AdditionalProperties map[string]interface{} +} + +type _MacAddressItemUpload MacAddressItemUpload + +// NewMacAddressItemUpload instantiates a new MacAddressItemUpload 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 NewMacAddressItemUpload(content string, hardwareFilterId string) *MacAddressItemUpload { + this := MacAddressItemUpload{} + this.Content = content + this.HardwareFilterId = hardwareFilterId + return &this +} + +// NewMacAddressItemUploadWithDefaults instantiates a new MacAddressItemUpload 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 NewMacAddressItemUploadWithDefaults() *MacAddressItemUpload { + this := MacAddressItemUpload{} + return &this +} + +// GetAppend returns the Append field value if set, zero value otherwise. +func (o *MacAddressItemUpload) GetAppend() bool { + if o == nil || IsNil(o.Append) { + var ret bool + return ret + } + return *o.Append +} + +// GetAppendOk returns a tuple with the Append field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MacAddressItemUpload) GetAppendOk() (*bool, bool) { + if o == nil || IsNil(o.Append) { + return nil, false + } + return o.Append, true +} + +// HasAppend returns a boolean if a field has been set. +func (o *MacAddressItemUpload) HasAppend() bool { + if o != nil && !IsNil(o.Append) { + return true + } + + return false +} + +// SetAppend gets a reference to the given bool and assigns it to the Append field. +func (o *MacAddressItemUpload) SetAppend(v bool) { + o.Append = &v +} + +// GetContent returns the Content field value +func (o *MacAddressItemUpload) GetContent() string { + if o == nil { + var ret string + return ret + } + + return o.Content +} + +// GetContentOk returns a tuple with the Content field value +// and a boolean to check if the value has been set. +func (o *MacAddressItemUpload) GetContentOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Content, true +} + +// SetContent sets field value +func (o *MacAddressItemUpload) SetContent(v string) { + o.Content = v +} + +// GetHardwareFilterId returns the HardwareFilterId field value +func (o *MacAddressItemUpload) GetHardwareFilterId() string { + if o == nil { + var ret string + return ret + } + + return o.HardwareFilterId +} + +// GetHardwareFilterIdOk returns a tuple with the HardwareFilterId field value +// and a boolean to check if the value has been set. +func (o *MacAddressItemUpload) GetHardwareFilterIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.HardwareFilterId, true +} + +// SetHardwareFilterId sets field value +func (o *MacAddressItemUpload) SetHardwareFilterId(v string) { + o.HardwareFilterId = v +} + +func (o MacAddressItemUpload) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o MacAddressItemUpload) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Append) { + toSerialize["append"] = o.Append + } + toSerialize["content"] = o.Content + toSerialize["hardware_filter_id"] = o.HardwareFilterId + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *MacAddressItemUpload) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "content", + "hardware_filter_id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varMacAddressItemUpload := _MacAddressItemUpload{} + + err = json.Unmarshal(data, &varMacAddressItemUpload) + + if err != nil { + return err + } + + *o = MacAddressItemUpload(varMacAddressItemUpload) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "append") + delete(additionalProperties, "content") + delete(additionalProperties, "hardware_filter_id") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableMacAddressItemUpload struct { + value *MacAddressItemUpload + isSet bool +} + +func (v NullableMacAddressItemUpload) Get() *MacAddressItemUpload { + return v.value +} + +func (v *NullableMacAddressItemUpload) Set(val *MacAddressItemUpload) { + v.value = val + v.isSet = true +} + +func (v NullableMacAddressItemUpload) IsSet() bool { + return v.isSet +} + +func (v *NullableMacAddressItemUpload) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMacAddressItemUpload(val *MacAddressItemUpload) *NullableMacAddressItemUpload { + return &NullableMacAddressItemUpload{value: val, isSet: true} +} + +func (v NullableMacAddressItemUpload) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMacAddressItemUpload) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_mac_address_item_upload_response.go b/ipam/model_mac_address_item_upload_response.go new file mode 100644 index 0000000..e294cb4 --- /dev/null +++ b/ipam/model_mac_address_item_upload_response.go @@ -0,0 +1,230 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the MacAddressItemUploadResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &MacAddressItemUploadResponse{} + +// MacAddressItemUploadResponse struct for MacAddressItemUploadResponse +type MacAddressItemUploadResponse struct { + // The description of the resource that was requested to be uploaded. + Description *string `json:"description,omitempty"` + // The resource identifier. + HardwareFilterId *string `json:"hardware_filter_id,omitempty"` + // An Unique Id to identify upload operation. + JobId *string `json:"job_id,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _MacAddressItemUploadResponse MacAddressItemUploadResponse + +// NewMacAddressItemUploadResponse instantiates a new MacAddressItemUploadResponse 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 NewMacAddressItemUploadResponse() *MacAddressItemUploadResponse { + this := MacAddressItemUploadResponse{} + return &this +} + +// NewMacAddressItemUploadResponseWithDefaults instantiates a new MacAddressItemUploadResponse 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 NewMacAddressItemUploadResponseWithDefaults() *MacAddressItemUploadResponse { + this := MacAddressItemUploadResponse{} + return &this +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *MacAddressItemUploadResponse) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MacAddressItemUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *MacAddressItemUploadResponse) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *MacAddressItemUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetHardwareFilterId returns the HardwareFilterId field value if set, zero value otherwise. +func (o *MacAddressItemUploadResponse) GetHardwareFilterId() string { + if o == nil || IsNil(o.HardwareFilterId) { + var ret string + return ret + } + return *o.HardwareFilterId +} + +// GetHardwareFilterIdOk returns a tuple with the HardwareFilterId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MacAddressItemUploadResponse) GetHardwareFilterIdOk() (*string, bool) { + if o == nil || IsNil(o.HardwareFilterId) { + return nil, false + } + return o.HardwareFilterId, true +} + +// HasHardwareFilterId returns a boolean if a field has been set. +func (o *MacAddressItemUploadResponse) HasHardwareFilterId() bool { + if o != nil && !IsNil(o.HardwareFilterId) { + return true + } + + return false +} + +// SetHardwareFilterId gets a reference to the given string and assigns it to the HardwareFilterId field. +func (o *MacAddressItemUploadResponse) SetHardwareFilterId(v string) { + o.HardwareFilterId = &v +} + +// GetJobId returns the JobId field value if set, zero value otherwise. +func (o *MacAddressItemUploadResponse) GetJobId() string { + if o == nil || IsNil(o.JobId) { + var ret string + return ret + } + return *o.JobId +} + +// GetJobIdOk returns a tuple with the JobId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MacAddressItemUploadResponse) GetJobIdOk() (*string, bool) { + if o == nil || IsNil(o.JobId) { + return nil, false + } + return o.JobId, true +} + +// HasJobId returns a boolean if a field has been set. +func (o *MacAddressItemUploadResponse) HasJobId() bool { + if o != nil && !IsNil(o.JobId) { + return true + } + + return false +} + +// SetJobId gets a reference to the given string and assigns it to the JobId field. +func (o *MacAddressItemUploadResponse) SetJobId(v string) { + o.JobId = &v +} + +func (o MacAddressItemUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o MacAddressItemUploadResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Description) { + toSerialize["description"] = o.Description + } + if !IsNil(o.HardwareFilterId) { + toSerialize["hardware_filter_id"] = o.HardwareFilterId + } + if !IsNil(o.JobId) { + toSerialize["job_id"] = o.JobId + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *MacAddressItemUploadResponse) UnmarshalJSON(data []byte) (err error) { + varMacAddressItemUploadResponse := _MacAddressItemUploadResponse{} + + err = json.Unmarshal(data, &varMacAddressItemUploadResponse) + + if err != nil { + return err + } + + *o = MacAddressItemUploadResponse(varMacAddressItemUploadResponse) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "description") + delete(additionalProperties, "hardware_filter_id") + delete(additionalProperties, "job_id") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableMacAddressItemUploadResponse struct { + value *MacAddressItemUploadResponse + isSet bool +} + +func (v NullableMacAddressItemUploadResponse) Get() *MacAddressItemUploadResponse { + return v.value +} + +func (v *NullableMacAddressItemUploadResponse) Set(val *MacAddressItemUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableMacAddressItemUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableMacAddressItemUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMacAddressItemUploadResponse(val *MacAddressItemUploadResponse) *NullableMacAddressItemUploadResponse { + return &NullableMacAddressItemUploadResponse{value: val, isSet: true} +} + +func (v NullableMacAddressItemUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMacAddressItemUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_protobuf_field_mask.go b/ipam/model_protobuf_field_mask.go new file mode 100644 index 0000000..3ec9877 --- /dev/null +++ b/ipam/model_protobuf_field_mask.go @@ -0,0 +1,154 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the ProtobufFieldMask type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ProtobufFieldMask{} + +// ProtobufFieldMask paths: \"f.a\" paths: \"f.b.d\" Here `f` represents a field in some root message, `a` and `b` fields in the message found in `f`, and `d` a field found in the message in `f.b`. Field masks are used to specify a subset of fields that should be returned by a get operation or modified by an update operation. Field masks also have a custom JSON encoding (see below). # Field Masks in Projections When used in the context of a projection, a response message or sub-message is filtered by the API to only contain those fields as specified in the mask. For example, if the mask in the previous example is applied to a response message as follows: f { a : 22 b { d : 1 x : 2 } y : 13 } z: 8 The result will not contain specific values for fields x,y and z (their value will be set to the default, and omitted in proto text output): f { a : 22 b { d : 1 } } A repeated field is not allowed except at the last position of a paths string. If a FieldMask object is not present in a get operation, the operation applies to all fields (as if a FieldMask of all fields had been specified). Note that a field mask does not necessarily apply to the top-level response message. In case of a REST get operation, the field mask applies directly to the response, but in case of a REST list operation, the mask instead applies to each individual message in the returned resource list. In case of a REST custom method, other definitions may be used. Where the mask applies will be clearly documented together with its declaration in the API. In any case, the effect on the returned resource/resources is required behavior for APIs. # Field Masks in Update Operations A field mask in update operations specifies which fields of the targeted resource are going to be updated. The API is required to only change the values of the fields as specified in the mask and leave the others untouched. If a resource is passed in to describe the updated values, the API ignores the values of all fields not covered by the mask. If a repeated field is specified for an update operation, the existing repeated values in the target resource will be overwritten by the new values. Note that a repeated field is only allowed in the last position of a `paths` string. If a sub-message is specified in the last position of the field mask for an update operation, then the existing sub-message in the target resource is overwritten. Given the target message: f { b { d : 1 x : 2 } c : 1 } And an update message: f { b { d : 10 } } then if the field mask is: paths: \"f.b\" then the result will be: f { b { d : 10 } c : 1 } However, if the update mask was: paths: \"f.b.d\" then the result would be: f { b { d : 10 x : 2 } c : 1 } In order to reset a field's value to the default, the field must be in the mask and set to the default value in the provided resource. Hence, in order to reset all fields of a resource, provide a default instance of the resource and set all fields in the mask, or do not provide a mask as described below. If a field mask is not present on update, the operation applies to all fields (as if a field mask of all fields has been specified). Note that in the presence of schema evolution, this may mean that fields the client does not know and has therefore not filled into the request will be reset to their default. If this is unwanted behavior, a specific service may require a client to always specify a field mask, producing an error if not. As with get operations, the location of the resource which describes the updated values in the request message depends on the operation kind. In any case, the effect of the field mask is required to be honored by the API. ## Considerations for HTTP REST The HTTP kind of an update operation which uses a field mask must be set to PATCH instead of PUT in order to satisfy HTTP semantics (PUT must only be used for full updates). # JSON Encoding of Field Masks In JSON, a field mask is encoded as a single string where paths are separated by a comma. Fields name in each path are converted to/from lower-camel naming conventions. As an example, consider the following message declarations: message Profile { User user = 1; Photo photo = 2; } message User { string display_name = 1; string address = 2; } In proto a field mask for `Profile` may look as such: mask { paths: \"user.display_name\" paths: \"photo\" } In JSON, the same mask is represented as below: { mask: \"user.displayName,photo\" } # Field Masks and Oneof Fields Field masks treat fields in oneofs just as regular fields. Consider the following message: message SampleMessage { oneof test_oneof { string name = 4; SubMessage sub_message = 9; } } The field mask can be: mask { paths: \"name\" } Or: mask { paths: \"sub_message\" } Note that oneof type names (\"test_oneof\" in this case) cannot be used in paths. ## Field Mask Verification The implementation of the all the API methods, which have any FieldMask type field in the request, should verify the included field paths, and return `INVALID_ARGUMENT` error if any path is duplicated or unmappable. +type ProtobufFieldMask struct { + // The set of field mask paths. + Paths []string `json:"paths,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ProtobufFieldMask ProtobufFieldMask + +// NewProtobufFieldMask instantiates a new ProtobufFieldMask 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 NewProtobufFieldMask() *ProtobufFieldMask { + this := ProtobufFieldMask{} + return &this +} + +// NewProtobufFieldMaskWithDefaults instantiates a new ProtobufFieldMask 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 NewProtobufFieldMaskWithDefaults() *ProtobufFieldMask { + this := ProtobufFieldMask{} + return &this +} + +// GetPaths returns the Paths field value if set, zero value otherwise. +func (o *ProtobufFieldMask) GetPaths() []string { + if o == nil || IsNil(o.Paths) { + var ret []string + return ret + } + return o.Paths +} + +// GetPathsOk returns a tuple with the Paths field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProtobufFieldMask) GetPathsOk() ([]string, bool) { + if o == nil || IsNil(o.Paths) { + return nil, false + } + return o.Paths, true +} + +// HasPaths returns a boolean if a field has been set. +func (o *ProtobufFieldMask) HasPaths() bool { + if o != nil && !IsNil(o.Paths) { + return true + } + + return false +} + +// SetPaths gets a reference to the given []string and assigns it to the Paths field. +func (o *ProtobufFieldMask) SetPaths(v []string) { + o.Paths = v +} + +func (o ProtobufFieldMask) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ProtobufFieldMask) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Paths) { + toSerialize["paths"] = o.Paths + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ProtobufFieldMask) UnmarshalJSON(data []byte) (err error) { + varProtobufFieldMask := _ProtobufFieldMask{} + + err = json.Unmarshal(data, &varProtobufFieldMask) + + if err != nil { + return err + } + + *o = ProtobufFieldMask(varProtobufFieldMask) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "paths") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableProtobufFieldMask struct { + value *ProtobufFieldMask + isSet bool +} + +func (v NullableProtobufFieldMask) Get() *ProtobufFieldMask { + return v.value +} + +func (v *NullableProtobufFieldMask) Set(val *ProtobufFieldMask) { + v.value = val + v.isSet = true +} + +func (v NullableProtobufFieldMask) IsSet() bool { + return v.isSet +} + +func (v *NullableProtobufFieldMask) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableProtobufFieldMask(val *ProtobufFieldMask) *NullableProtobufFieldMask { + return &NullableProtobufFieldMask{value: val, isSet: true} +} + +func (v NullableProtobufFieldMask) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableProtobufFieldMask) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_read_dhcp_service_instance_response.go b/ipam/model_read_dhcp_service_instance_response.go new file mode 100644 index 0000000..d74e589 --- /dev/null +++ b/ipam/model_read_dhcp_service_instance_response.go @@ -0,0 +1,154 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the ReadDHCPServiceInstanceResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ReadDHCPServiceInstanceResponse{} + +// ReadDHCPServiceInstanceResponse The response format to retrieve the DHCP __Service__ object. +type ReadDHCPServiceInstanceResponse struct { + // The DHCP Service object. + Result *DHCPServiceInstance `json:"result,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ReadDHCPServiceInstanceResponse ReadDHCPServiceInstanceResponse + +// NewReadDHCPServiceInstanceResponse instantiates a new ReadDHCPServiceInstanceResponse 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 NewReadDHCPServiceInstanceResponse() *ReadDHCPServiceInstanceResponse { + this := ReadDHCPServiceInstanceResponse{} + return &this +} + +// NewReadDHCPServiceInstanceResponseWithDefaults instantiates a new ReadDHCPServiceInstanceResponse 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 NewReadDHCPServiceInstanceResponseWithDefaults() *ReadDHCPServiceInstanceResponse { + this := ReadDHCPServiceInstanceResponse{} + return &this +} + +// GetResult returns the Result field value if set, zero value otherwise. +func (o *ReadDHCPServiceInstanceResponse) GetResult() DHCPServiceInstance { + if o == nil || IsNil(o.Result) { + var ret DHCPServiceInstance + return ret + } + return *o.Result +} + +// GetResultOk returns a tuple with the Result field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReadDHCPServiceInstanceResponse) GetResultOk() (*DHCPServiceInstance, bool) { + if o == nil || IsNil(o.Result) { + return nil, false + } + return o.Result, true +} + +// HasResult returns a boolean if a field has been set. +func (o *ReadDHCPServiceInstanceResponse) HasResult() bool { + if o != nil && !IsNil(o.Result) { + return true + } + + return false +} + +// SetResult gets a reference to the given DHCPServiceInstance and assigns it to the Result field. +func (o *ReadDHCPServiceInstanceResponse) SetResult(v DHCPServiceInstance) { + o.Result = &v +} + +func (o ReadDHCPServiceInstanceResponse) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ReadDHCPServiceInstanceResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Result) { + toSerialize["result"] = o.Result + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ReadDHCPServiceInstanceResponse) UnmarshalJSON(data []byte) (err error) { + varReadDHCPServiceInstanceResponse := _ReadDHCPServiceInstanceResponse{} + + err = json.Unmarshal(data, &varReadDHCPServiceInstanceResponse) + + if err != nil { + return err + } + + *o = ReadDHCPServiceInstanceResponse(varReadDHCPServiceInstanceResponse) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "result") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableReadDHCPServiceInstanceResponse struct { + value *ReadDHCPServiceInstanceResponse + isSet bool +} + +func (v NullableReadDHCPServiceInstanceResponse) Get() *ReadDHCPServiceInstanceResponse { + return v.value +} + +func (v *NullableReadDHCPServiceInstanceResponse) Set(val *ReadDHCPServiceInstanceResponse) { + v.value = val + v.isSet = true +} + +func (v NullableReadDHCPServiceInstanceResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableReadDHCPServiceInstanceResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableReadDHCPServiceInstanceResponse(val *ReadDHCPServiceInstanceResponse) *NullableReadDHCPServiceInstanceResponse { + return &NullableReadDHCPServiceInstanceResponse{value: val, isSet: true} +} + +func (v NullableReadDHCPServiceInstanceResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableReadDHCPServiceInstanceResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_read_mac_address_item_response.go b/ipam/model_read_mac_address_item_response.go new file mode 100644 index 0000000..f6223fa --- /dev/null +++ b/ipam/model_read_mac_address_item_response.go @@ -0,0 +1,154 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the ReadMacAddressItemResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ReadMacAddressItemResponse{} + +// ReadMacAddressItemResponse The response format to retrieve the __MacAddressItem__ object. +type ReadMacAddressItemResponse struct { + // The __MacAddressItem__ object. + Result *MacAddressItem `json:"result,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ReadMacAddressItemResponse ReadMacAddressItemResponse + +// NewReadMacAddressItemResponse instantiates a new ReadMacAddressItemResponse 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 NewReadMacAddressItemResponse() *ReadMacAddressItemResponse { + this := ReadMacAddressItemResponse{} + return &this +} + +// NewReadMacAddressItemResponseWithDefaults instantiates a new ReadMacAddressItemResponse 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 NewReadMacAddressItemResponseWithDefaults() *ReadMacAddressItemResponse { + this := ReadMacAddressItemResponse{} + return &this +} + +// GetResult returns the Result field value if set, zero value otherwise. +func (o *ReadMacAddressItemResponse) GetResult() MacAddressItem { + if o == nil || IsNil(o.Result) { + var ret MacAddressItem + return ret + } + return *o.Result +} + +// GetResultOk returns a tuple with the Result field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReadMacAddressItemResponse) GetResultOk() (*MacAddressItem, bool) { + if o == nil || IsNil(o.Result) { + return nil, false + } + return o.Result, true +} + +// HasResult returns a boolean if a field has been set. +func (o *ReadMacAddressItemResponse) HasResult() bool { + if o != nil && !IsNil(o.Result) { + return true + } + + return false +} + +// SetResult gets a reference to the given MacAddressItem and assigns it to the Result field. +func (o *ReadMacAddressItemResponse) SetResult(v MacAddressItem) { + o.Result = &v +} + +func (o ReadMacAddressItemResponse) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ReadMacAddressItemResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Result) { + toSerialize["result"] = o.Result + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ReadMacAddressItemResponse) UnmarshalJSON(data []byte) (err error) { + varReadMacAddressItemResponse := _ReadMacAddressItemResponse{} + + err = json.Unmarshal(data, &varReadMacAddressItemResponse) + + if err != nil { + return err + } + + *o = ReadMacAddressItemResponse(varReadMacAddressItemResponse) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "result") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableReadMacAddressItemResponse struct { + value *ReadMacAddressItemResponse + isSet bool +} + +func (v NullableReadMacAddressItemResponse) Get() *ReadMacAddressItemResponse { + return v.value +} + +func (v *NullableReadMacAddressItemResponse) Set(val *ReadMacAddressItemResponse) { + v.value = val + v.isSet = true +} + +func (v NullableReadMacAddressItemResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableReadMacAddressItemResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableReadMacAddressItemResponse(val *ReadMacAddressItemResponse) *NullableReadMacAddressItemResponse { + return &NullableReadMacAddressItemResponse{value: val, isSet: true} +} + +func (v NullableReadMacAddressItemResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableReadMacAddressItemResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_realms_conflict.go b/ipam/model_realms_conflict.go new file mode 100644 index 0000000..ffb6094 --- /dev/null +++ b/ipam/model_realms_conflict.go @@ -0,0 +1,266 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the RealmsConflict type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RealmsConflict{} + +// RealmsConflict struct for RealmsConflict +type RealmsConflict struct { + Address *string `json:"address,omitempty"` + // List of __FederatedRealm__ object ids. + FederatedRealms []string `json:"federated_realms,omitempty"` + // The resource identifier. + IpSpace *string `json:"ip_space,omitempty"` + Type *string `json:"type,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _RealmsConflict RealmsConflict + +// NewRealmsConflict instantiates a new RealmsConflict 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 NewRealmsConflict() *RealmsConflict { + this := RealmsConflict{} + return &this +} + +// NewRealmsConflictWithDefaults instantiates a new RealmsConflict 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 NewRealmsConflictWithDefaults() *RealmsConflict { + this := RealmsConflict{} + return &this +} + +// GetAddress returns the Address field value if set, zero value otherwise. +func (o *RealmsConflict) GetAddress() string { + if o == nil || IsNil(o.Address) { + var ret string + return ret + } + return *o.Address +} + +// GetAddressOk returns a tuple with the Address field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RealmsConflict) GetAddressOk() (*string, bool) { + if o == nil || IsNil(o.Address) { + return nil, false + } + return o.Address, true +} + +// HasAddress returns a boolean if a field has been set. +func (o *RealmsConflict) HasAddress() bool { + if o != nil && !IsNil(o.Address) { + return true + } + + return false +} + +// SetAddress gets a reference to the given string and assigns it to the Address field. +func (o *RealmsConflict) SetAddress(v string) { + o.Address = &v +} + +// GetFederatedRealms returns the FederatedRealms field value if set, zero value otherwise. +func (o *RealmsConflict) GetFederatedRealms() []string { + if o == nil || IsNil(o.FederatedRealms) { + var ret []string + return ret + } + return o.FederatedRealms +} + +// GetFederatedRealmsOk returns a tuple with the FederatedRealms field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RealmsConflict) GetFederatedRealmsOk() ([]string, bool) { + if o == nil || IsNil(o.FederatedRealms) { + return nil, false + } + return o.FederatedRealms, true +} + +// HasFederatedRealms returns a boolean if a field has been set. +func (o *RealmsConflict) HasFederatedRealms() bool { + if o != nil && !IsNil(o.FederatedRealms) { + return true + } + + return false +} + +// SetFederatedRealms gets a reference to the given []string and assigns it to the FederatedRealms field. +func (o *RealmsConflict) SetFederatedRealms(v []string) { + o.FederatedRealms = v +} + +// GetIpSpace returns the IpSpace field value if set, zero value otherwise. +func (o *RealmsConflict) GetIpSpace() string { + if o == nil || IsNil(o.IpSpace) { + var ret string + return ret + } + return *o.IpSpace +} + +// GetIpSpaceOk returns a tuple with the IpSpace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RealmsConflict) GetIpSpaceOk() (*string, bool) { + if o == nil || IsNil(o.IpSpace) { + return nil, false + } + return o.IpSpace, true +} + +// HasIpSpace returns a boolean if a field has been set. +func (o *RealmsConflict) HasIpSpace() bool { + if o != nil && !IsNil(o.IpSpace) { + return true + } + + return false +} + +// SetIpSpace gets a reference to the given string and assigns it to the IpSpace field. +func (o *RealmsConflict) SetIpSpace(v string) { + o.IpSpace = &v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *RealmsConflict) GetType() string { + if o == nil || IsNil(o.Type) { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RealmsConflict) GetTypeOk() (*string, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *RealmsConflict) HasType() bool { + if o != nil && !IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *RealmsConflict) SetType(v string) { + o.Type = &v +} + +func (o RealmsConflict) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RealmsConflict) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Address) { + toSerialize["address"] = o.Address + } + if !IsNil(o.FederatedRealms) { + toSerialize["federated_realms"] = o.FederatedRealms + } + if !IsNil(o.IpSpace) { + toSerialize["ip_space"] = o.IpSpace + } + if !IsNil(o.Type) { + toSerialize["type"] = o.Type + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *RealmsConflict) UnmarshalJSON(data []byte) (err error) { + varRealmsConflict := _RealmsConflict{} + + err = json.Unmarshal(data, &varRealmsConflict) + + if err != nil { + return err + } + + *o = RealmsConflict(varRealmsConflict) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "address") + delete(additionalProperties, "federated_realms") + delete(additionalProperties, "ip_space") + delete(additionalProperties, "type") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableRealmsConflict struct { + value *RealmsConflict + isSet bool +} + +func (v NullableRealmsConflict) Get() *RealmsConflict { + return v.value +} + +func (v *NullableRealmsConflict) Set(val *RealmsConflict) { + v.value = val + v.isSet = true +} + +func (v NullableRealmsConflict) IsSet() bool { + return v.isSet +} + +func (v *NullableRealmsConflict) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRealmsConflict(val *RealmsConflict) *NullableRealmsConflict { + return &NullableRealmsConflict{value: val, isSet: true} +} + +func (v NullableRealmsConflict) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRealmsConflict) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_realms_conflict_response.go b/ipam/model_realms_conflict_response.go new file mode 100644 index 0000000..30f83b3 --- /dev/null +++ b/ipam/model_realms_conflict_response.go @@ -0,0 +1,154 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the RealmsConflictResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RealmsConflictResponse{} + +// RealmsConflictResponse The response format to retrieve Realms Conflict objects. +type RealmsConflictResponse struct { + // List of conflicts across _ipam/ip_space_ objects. + Results []RealmsConflict `json:"results,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _RealmsConflictResponse RealmsConflictResponse + +// NewRealmsConflictResponse instantiates a new RealmsConflictResponse 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 NewRealmsConflictResponse() *RealmsConflictResponse { + this := RealmsConflictResponse{} + return &this +} + +// NewRealmsConflictResponseWithDefaults instantiates a new RealmsConflictResponse 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 NewRealmsConflictResponseWithDefaults() *RealmsConflictResponse { + this := RealmsConflictResponse{} + return &this +} + +// GetResults returns the Results field value if set, zero value otherwise. +func (o *RealmsConflictResponse) GetResults() []RealmsConflict { + if o == nil || IsNil(o.Results) { + var ret []RealmsConflict + return ret + } + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RealmsConflictResponse) GetResultsOk() ([]RealmsConflict, bool) { + if o == nil || IsNil(o.Results) { + return nil, false + } + return o.Results, true +} + +// HasResults returns a boolean if a field has been set. +func (o *RealmsConflictResponse) HasResults() bool { + if o != nil && !IsNil(o.Results) { + return true + } + + return false +} + +// SetResults gets a reference to the given []RealmsConflict and assigns it to the Results field. +func (o *RealmsConflictResponse) SetResults(v []RealmsConflict) { + o.Results = v +} + +func (o RealmsConflictResponse) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RealmsConflictResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Results) { + toSerialize["results"] = o.Results + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *RealmsConflictResponse) UnmarshalJSON(data []byte) (err error) { + varRealmsConflictResponse := _RealmsConflictResponse{} + + err = json.Unmarshal(data, &varRealmsConflictResponse) + + if err != nil { + return err + } + + *o = RealmsConflictResponse(varRealmsConflictResponse) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableRealmsConflictResponse struct { + value *RealmsConflictResponse + isSet bool +} + +func (v NullableRealmsConflictResponse) Get() *RealmsConflictResponse { + return v.value +} + +func (v *NullableRealmsConflictResponse) Set(val *RealmsConflictResponse) { + v.value = val + v.isSet = true +} + +func (v NullableRealmsConflictResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableRealmsConflictResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRealmsConflictResponse(val *RealmsConflictResponse) *NullableRealmsConflictResponse { + return &NullableRealmsConflictResponse{value: val, isSet: true} +} + +func (v NullableRealmsConflictResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRealmsConflictResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/model_update_mac_address_item_response.go b/ipam/model_update_mac_address_item_response.go new file mode 100644 index 0000000..eb17756 --- /dev/null +++ b/ipam/model_update_mac_address_item_response.go @@ -0,0 +1,154 @@ +/* +IP Address Management API + +The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastructures, and integration with DNS and DHCP protocols. The DHCP component provides DHCP protocol configuration service with on-prem host serving DHCP protocol. It is part of the full-featured, DDI cloud solution that enables customers to deploy large numbers of protocol servers to deliver DNS and DHCP throughout their enterprise network. + +API version: v1 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package ipam + +import ( + "encoding/json" +) + +// checks if the UpdateMacAddressItemResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &UpdateMacAddressItemResponse{} + +// UpdateMacAddressItemResponse The response format to update the __MacAddressItem__ object. +type UpdateMacAddressItemResponse struct { + // The __MacAddressItem__ object. + Result *MacAddressItem `json:"result,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _UpdateMacAddressItemResponse UpdateMacAddressItemResponse + +// NewUpdateMacAddressItemResponse instantiates a new UpdateMacAddressItemResponse 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 NewUpdateMacAddressItemResponse() *UpdateMacAddressItemResponse { + this := UpdateMacAddressItemResponse{} + return &this +} + +// NewUpdateMacAddressItemResponseWithDefaults instantiates a new UpdateMacAddressItemResponse 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 NewUpdateMacAddressItemResponseWithDefaults() *UpdateMacAddressItemResponse { + this := UpdateMacAddressItemResponse{} + return &this +} + +// GetResult returns the Result field value if set, zero value otherwise. +func (o *UpdateMacAddressItemResponse) GetResult() MacAddressItem { + if o == nil || IsNil(o.Result) { + var ret MacAddressItem + return ret + } + return *o.Result +} + +// GetResultOk returns a tuple with the Result field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UpdateMacAddressItemResponse) GetResultOk() (*MacAddressItem, bool) { + if o == nil || IsNil(o.Result) { + return nil, false + } + return o.Result, true +} + +// HasResult returns a boolean if a field has been set. +func (o *UpdateMacAddressItemResponse) HasResult() bool { + if o != nil && !IsNil(o.Result) { + return true + } + + return false +} + +// SetResult gets a reference to the given MacAddressItem and assigns it to the Result field. +func (o *UpdateMacAddressItemResponse) SetResult(v MacAddressItem) { + o.Result = &v +} + +func (o UpdateMacAddressItemResponse) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o UpdateMacAddressItemResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Result) { + toSerialize["result"] = o.Result + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *UpdateMacAddressItemResponse) UnmarshalJSON(data []byte) (err error) { + varUpdateMacAddressItemResponse := _UpdateMacAddressItemResponse{} + + err = json.Unmarshal(data, &varUpdateMacAddressItemResponse) + + if err != nil { + return err + } + + *o = UpdateMacAddressItemResponse(varUpdateMacAddressItemResponse) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "result") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableUpdateMacAddressItemResponse struct { + value *UpdateMacAddressItemResponse + isSet bool +} + +func (v NullableUpdateMacAddressItemResponse) Get() *UpdateMacAddressItemResponse { + return v.value +} + +func (v *NullableUpdateMacAddressItemResponse) Set(val *UpdateMacAddressItemResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateMacAddressItemResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateMacAddressItemResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateMacAddressItemResponse(val *UpdateMacAddressItemResponse) *NullableUpdateMacAddressItemResponse { + return &NullableUpdateMacAddressItemResponse{value: val, isSet: true} +} + +func (v NullableUpdateMacAddressItemResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateMacAddressItemResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/ipam/test/api_config_profile_test.go b/ipam/test/api_config_profile_test.go new file mode 100644 index 0000000..575c03c --- /dev/null +++ b/ipam/test/api_config_profile_test.go @@ -0,0 +1,98 @@ +/* +IP Address Management API + +Testing ConfigProfileAPIService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package ipam + +import ( + "context" + "testing" + + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func TestConfigProfileAPIService(t *testing.T) { + + apiClient := ipam.NewAPIClient() + + t.Run("Test ConfigProfileAPIService AssociateConfigProfileToObjects", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ConfigProfileAPI.AssociateConfigProfileToObjects(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ConfigProfileAPIService AssociateObjectToConfigProfiles", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ConfigProfileAPI.AssociateObjectToConfigProfiles(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ConfigProfileAPIService DisassociateConfigProfileFromObjects", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ConfigProfileAPI.DisassociateConfigProfileFromObjects(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ConfigProfileAPIService DisassociateObjectFromConfigProfiles", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ConfigProfileAPI.DisassociateObjectFromConfigProfiles(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ConfigProfileAPIService ListConfigProfiles", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ConfigProfileAPI.ListConfigProfiles(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ConfigProfileAPIService ListSubnets", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ConfigProfileAPI.ListSubnets(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/ipam/test/api_mac_address_item_test.go b/ipam/test/api_mac_address_item_test.go new file mode 100644 index 0000000..9709ed9 --- /dev/null +++ b/ipam/test/api_mac_address_item_test.go @@ -0,0 +1,115 @@ +/* +IP Address Management API + +Testing MacAddressItemAPIService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package ipam + +import ( + "context" + "testing" + + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func TestMacAddressItemAPIService(t *testing.T) { + + apiClient := ipam.NewAPIClient() + + t.Run("Test MacAddressItemAPIService BulkCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.MacAddressItemAPI.BulkCreate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test MacAddressItemAPIService Create", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.MacAddressItemAPI.Create(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test MacAddressItemAPIService Delete", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + httpRes, err := apiClient.MacAddressItemAPI.Delete(context.Background(), id).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test MacAddressItemAPIService List", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.MacAddressItemAPI.List(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test MacAddressItemAPIService Read", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.MacAddressItemAPI.Read(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test MacAddressItemAPIService Update", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.MacAddressItemAPI.Update(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test MacAddressItemAPIService Upload", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.MacAddressItemAPI.Upload(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/ipam/test/api_service_test.go b/ipam/test/api_service_test.go new file mode 100644 index 0000000..154d945 --- /dev/null +++ b/ipam/test/api_service_test.go @@ -0,0 +1,52 @@ +/* +IP Address Management API + +Testing ServiceAPIService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package ipam + +import ( + "context" + "testing" + + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func TestServiceAPIService(t *testing.T) { + + apiClient := ipam.NewAPIClient() + + t.Run("Test ServiceAPIService List", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ServiceAPI.List(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ServiceAPIService Read", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.ServiceAPI.Read(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} From b1af6450aeffc2056bbb2b3b7b30c13c0167bfa3 Mon Sep 17 00:00:00 2001 From: unasra Date: Mon, 9 Sep 2024 14:58:28 +0530 Subject: [PATCH 2/5] Added changes to existing objects --- ipam/.openapi-generator/FILES | 56 + ipam/README.md | 43 + ipam/api/openapi.yaml | 5943 +++++++++++++++++++-------- ipam/api_address_block.go | 169 +- ipam/api_ip_space.go | 123 + ipam/api_subnet.go | 123 + ipam/client.go | 6 + ipam/docs/Address.md | 52 + ipam/docs/AddressBlock.md | 104 + ipam/docs/AddressBlockAPI.md | 77 +- ipam/docs/BulkCopyIPSpace.md | 26 + ipam/docs/DHCPConfig.md | 26 + ipam/docs/FixedAddress.md | 26 + ipam/docs/HAGroup.md | 26 + ipam/docs/HAGroupHeartbeats.md | 26 + ipam/docs/HAGroupHost.md | 52 + ipam/docs/IPSpace.md | 54 +- ipam/docs/IpSpaceAPI.md | 71 + ipam/docs/Range.md | 52 + ipam/docs/Server.md | 26 + ipam/docs/Subnet.md | 130 + ipam/docs/SubnetAPI.md | 71 + ipam/model_address.go | 76 + ipam/model_address_block.go | 152 + ipam/model_bulk_copy_ip_space.go | 38 + ipam/model_dhcp_config.go | 38 + ipam/model_fixed_address.go | 38 + ipam/model_ha_group.go | 38 + ipam/model_ha_group_heartbeats.go | 42 +- ipam/model_ha_group_host.go | 78 +- ipam/model_ip_space.go | 80 +- ipam/model_range.go | 76 + ipam/model_server.go | 38 + ipam/model_subnet.go | 190 + ipam/test/api_address_block_test.go | 14 + ipam/test/api_ip_space_test.go | 14 + ipam/test/api_subnet_test.go | 14 + 37 files changed, 6564 insertions(+), 1644 deletions(-) diff --git a/ipam/.openapi-generator/FILES b/ipam/.openapi-generator/FILES index 00b9817..5bf3d43 100644 --- a/ipam/.openapi-generator/FILES +++ b/ipam/.openapi-generator/FILES @@ -3,6 +3,7 @@ api/openapi.yaml api_address.go api_address_block.go api_asm.go +api_config_profile.go api_dhcp_host.go api_dns_usage.go api_filter.go @@ -13,12 +14,14 @@ api_hardware_filter.go api_ip_space.go api_ipam_host.go api_leases_command.go +api_mac_address_item.go api_option_code.go api_option_filter.go api_option_group.go api_option_space.go api_range.go api_server.go +api_service.go api_subnet.go client.go docs/ASM.md @@ -31,9 +34,17 @@ docs/AddressBlockAPI.md docs/AsmAPI.md docs/AsmEnableBlock.md docs/AsmGrowthBlock.md +docs/AssociateConfigProfileToObjectsRequest.md +docs/AssociateObjectToConfigProfilesRequest.md +docs/AssociatedHost.md docs/BulkCopyError.md docs/BulkCopyIPSpace.md docs/BulkCopyIPSpaceResponse.md +docs/BulkCreateMacAddressItemResponse.md +docs/BulkMacAddressItem.md +docs/CPSubnet.md +docs/CidrBlock.md +docs/ConfigProfileAPI.md docs/CopyAddressBlock.md docs/CopyAddressBlockResponse.md docs/CopyIPSpace.md @@ -50,6 +61,7 @@ docs/CreateHardwareFilterResponse.md docs/CreateIPSpaceResponse.md docs/CreateIpamHostResponse.md docs/CreateLeasesCommandResponse.md +docs/CreateMacAddressItemResponse.md docs/CreateNextAvailableABResponse.md docs/CreateNextAvailableIPResponse.md docs/CreateNextAvailableSubnetResponse.md @@ -69,10 +81,13 @@ docs/DHCPInfo.md docs/DHCPInheritance.md docs/DHCPOptionsInheritance.md docs/DHCPPacketStats.md +docs/DHCPServiceInstance.md docs/DHCPUtilization.md docs/DHCPUtilizationThreshold.md docs/DNSUsage.md docs/DhcpHostAPI.md +docs/DisassociateConfigProfileFromObjectsRequest.md +docs/DisassociateObjectFromConfigProfilesRequest.md docs/DnsUsageAPI.md docs/ExclusionRange.md docs/Filter.md @@ -128,6 +143,10 @@ docs/LeasesCommandAPI.md docs/ListASMResponse.md docs/ListAddressBlockResponse.md docs/ListAddressResponse.md +docs/ListAncestorResponse.md +docs/ListCPSubnetResponse.md +docs/ListConfigProfileResponse.md +docs/ListDHCPServiceInstanceResponse.md docs/ListDNSUsageResponse.md docs/ListFilterResponse.md docs/ListFixedAddressResponse.md @@ -136,6 +155,7 @@ docs/ListHardwareFilterResponse.md docs/ListHostResponse.md docs/ListIPSpaceResponse.md docs/ListIpamHostResponse.md +docs/ListMacAddressItemResponse.md docs/ListOptionCodeResponse.md docs/ListOptionFilterResponse.md docs/ListOptionGroupResponse.md @@ -143,6 +163,10 @@ docs/ListOptionSpaceResponse.md docs/ListRangeResponse.md docs/ListServerResponse.md docs/ListSubnetResponse.md +docs/MacAddressItem.md +docs/MacAddressItemAPI.md +docs/MacAddressItemUpload.md +docs/MacAddressItemUploadResponse.md docs/Name.md docs/Nameserver.md docs/NextAvailableABResponse.md @@ -159,11 +183,13 @@ docs/OptionGroupAPI.md docs/OptionItem.md docs/OptionSpace.md docs/OptionSpaceAPI.md +docs/ProtobufFieldMask.md docs/Range.md docs/RangeAPI.md docs/ReadASMResponse.md docs/ReadAddressBlockResponse.md docs/ReadAddressResponse.md +docs/ReadDHCPServiceInstanceResponse.md docs/ReadDNSUsageResponse.md docs/ReadFixedAddressResponse.md docs/ReadGlobalResponse.md @@ -172,6 +198,7 @@ docs/ReadHardwareFilterResponse.md docs/ReadHostResponse.md docs/ReadIPSpaceResponse.md docs/ReadIpamHostResponse.md +docs/ReadMacAddressItemResponse.md docs/ReadOptionCodeResponse.md docs/ReadOptionFilterResponse.md docs/ReadOptionGroupResponse.md @@ -179,9 +206,12 @@ docs/ReadOptionSpaceResponse.md docs/ReadRangeResponse.md docs/ReadServerResponse.md docs/ReadSubnetResponse.md +docs/RealmsConflict.md +docs/RealmsConflictResponse.md docs/Server.md docs/ServerAPI.md docs/ServerInheritance.md +docs/ServiceAPI.md docs/Subnet.md docs/SubnetAPI.md docs/TSIGKey.md @@ -194,6 +224,7 @@ docs/UpdateHardwareFilterResponse.md docs/UpdateHostResponse.md docs/UpdateIPSpaceResponse.md docs/UpdateIpamHostResponse.md +docs/UpdateMacAddressItemResponse.md docs/UpdateOptionCodeResponse.md docs/UpdateOptionFilterResponse.md docs/UpdateOptionGroupResponse.md @@ -211,9 +242,15 @@ model_asm.go model_asm_config.go model_asm_enable_block.go model_asm_growth_block.go +model_associate_config_profile_to_objects_request.go +model_associate_object_to_config_profiles_request.go +model_associated_host.go model_bulk_copy_error.go model_bulk_copy_ip_space.go model_bulk_copy_ip_space_response.go +model_bulk_create_mac_address_item_response.go +model_bulk_mac_address_item.go +model_cidr_block.go model_copy_address_block.go model_copy_address_block_response.go model_copy_ip_space.go @@ -221,6 +258,7 @@ model_copy_ip_space_response.go model_copy_response.go model_copy_subnet.go model_copy_subnet_response.go +model_cp_subnet.go model_create_address_block_response.go model_create_address_response.go model_create_asm_response.go @@ -230,6 +268,7 @@ model_create_hardware_filter_response.go model_create_ip_space_response.go model_create_ipam_host_response.go model_create_leases_command_response.go +model_create_mac_address_item_response.go model_create_next_available_ab_response.go model_create_next_available_ip_response.go model_create_next_available_subnet_response.go @@ -249,8 +288,11 @@ model_dhcp_info.go model_dhcp_inheritance.go model_dhcp_options_inheritance.go model_dhcp_packet_stats.go +model_dhcp_service_instance.go model_dhcp_utilization.go model_dhcp_utilization_threshold.go +model_disassociate_config_profile_from_objects_request.go +model_disassociate_object_from_config_profiles_request.go model_dns_usage.go model_exclusion_range.go model_filter.go @@ -297,7 +339,11 @@ model_lease_subnet.go model_leases_command.go model_list_address_block_response.go model_list_address_response.go +model_list_ancestor_response.go model_list_asm_response.go +model_list_config_profile_response.go +model_list_cp_subnet_response.go +model_list_dhcp_service_instance_response.go model_list_dns_usage_response.go model_list_filter_response.go model_list_fixed_address_response.go @@ -306,6 +352,7 @@ model_list_hardware_filter_response.go model_list_host_response.go model_list_ip_space_response.go model_list_ipam_host_response.go +model_list_mac_address_item_response.go model_list_option_code_response.go model_list_option_filter_response.go model_list_option_group_response.go @@ -313,6 +360,9 @@ model_list_option_space_response.go model_list_range_response.go model_list_server_response.go model_list_subnet_response.go +model_mac_address_item.go +model_mac_address_item_upload.go +model_mac_address_item_upload_response.go model_name.go model_nameserver.go model_next_available_ab_response.go @@ -325,10 +375,12 @@ model_option_filter_rule_list.go model_option_group.go model_option_item.go model_option_space.go +model_protobuf_field_mask.go model_range.go model_read_address_block_response.go model_read_address_response.go model_read_asm_response.go +model_read_dhcp_service_instance_response.go model_read_dns_usage_response.go model_read_fixed_address_response.go model_read_global_response.go @@ -337,6 +389,7 @@ model_read_hardware_filter_response.go model_read_host_response.go model_read_ip_space_response.go model_read_ipam_host_response.go +model_read_mac_address_item_response.go model_read_option_code_response.go model_read_option_filter_response.go model_read_option_group_response.go @@ -344,6 +397,8 @@ model_read_option_space_response.go model_read_range_response.go model_read_server_response.go model_read_subnet_response.go +model_realms_conflict.go +model_realms_conflict_response.go model_server.go model_server_inheritance.go model_subnet.go @@ -357,6 +412,7 @@ model_update_hardware_filter_response.go model_update_host_response.go model_update_ip_space_response.go model_update_ipam_host_response.go +model_update_mac_address_item_response.go model_update_option_code_response.go model_update_option_filter_response.go model_update_option_group_response.go diff --git a/ipam/README.md b/ipam/README.md index 74efea8..753499d 100644 --- a/ipam/README.md +++ b/ipam/README.md @@ -97,6 +97,7 @@ Class | Method | HTTP request | Description *AddressBlockAPI* | [**CreateNextAvailableSubnet**](docs/AddressBlockAPI.md#createnextavailablesubnet) | **Post** /ipam/address_block/{id}/nextavailablesubnet | Create the Next Available Subnet object. *AddressBlockAPI* | [**Delete**](docs/AddressBlockAPI.md#delete) | **Delete** /ipam/address_block/{id} | Move the address block to the recycle bin. *AddressBlockAPI* | [**List**](docs/AddressBlockAPI.md#list) | **Get** /ipam/address_block | Retrieve the address blocks. +*AddressBlockAPI* | [**ListAncestor**](docs/AddressBlockAPI.md#listancestor) | **Get** /ipam/address_block/{id}/ancestor | Retrieve address block ancestors. *AddressBlockAPI* | [**ListNextAvailableAB**](docs/AddressBlockAPI.md#listnextavailableab) | **Get** /ipam/address_block/{id}/nextavailableaddressblock | List Next Available Address Block objects. *AddressBlockAPI* | [**ListNextAvailableIP**](docs/AddressBlockAPI.md#listnextavailableip) | **Get** /ipam/address_block/{id}/nextavailableip | Retrieve the next available IP address. *AddressBlockAPI* | [**ListNextAvailableSubnet**](docs/AddressBlockAPI.md#listnextavailablesubnet) | **Get** /ipam/address_block/{id}/nextavailablesubnet | List Next Available Subnet objects. @@ -105,6 +106,12 @@ Class | Method | HTTP request | Description *AsmAPI* | [**Create**](docs/AsmAPI.md#create) | **Post** /ipam/asm | Update subnet and ranges for Automated Scope Management. *AsmAPI* | [**List**](docs/AsmAPI.md#list) | **Get** /ipam/asm | Retrieve suggested updates for Automated Scope Management. *AsmAPI* | [**Read**](docs/AsmAPI.md#read) | **Get** /ipam/asm/{id} | Retrieve the suggested update for Automated Scope Management. +*ConfigProfileAPI* | [**AssociateConfigProfileToObjects**](docs/ConfigProfileAPI.md#associateconfigprofiletoobjects) | **Post** /dhcp/config_profile/link_profile | Associate a config profile to objects. +*ConfigProfileAPI* | [**AssociateObjectToConfigProfiles**](docs/ConfigProfileAPI.md#associateobjecttoconfigprofiles) | **Post** /dhcp/config_profile/link_object | Associate an object to config profiles. +*ConfigProfileAPI* | [**DisassociateConfigProfileFromObjects**](docs/ConfigProfileAPI.md#disassociateconfigprofilefromobjects) | **Post** /dhcp/config_profile/delink_profile | Disassociate a config profile from objects. +*ConfigProfileAPI* | [**DisassociateObjectFromConfigProfiles**](docs/ConfigProfileAPI.md#disassociateobjectfromconfigprofiles) | **Post** /dhcp/config_profile/delink_object | Disassociate an object from a config profile. +*ConfigProfileAPI* | [**ListConfigProfiles**](docs/ConfigProfileAPI.md#listconfigprofiles) | **Get** /dhcp/config_profile/profiles | Retrieve config profiles. +*ConfigProfileAPI* | [**ListSubnets**](docs/ConfigProfileAPI.md#listsubnets) | **Get** /dhcp/config_profile/subnets | Retrieve subnets associated with a config profile. *DhcpHostAPI* | [**List**](docs/DhcpHostAPI.md#list) | **Get** /dhcp/host | Retrieve DHCP hosts. *DhcpHostAPI* | [**ListAssociations**](docs/DhcpHostAPI.md#listassociations) | **Get** /dhcp/host/{id}/associations | Retrieve DHCP host associations. *DhcpHostAPI* | [**Read**](docs/DhcpHostAPI.md#read) | **Get** /dhcp/host/{id} | Retrieve the DHCP host. @@ -135,6 +142,7 @@ Class | Method | HTTP request | Description *IpSpaceAPI* | [**Copy**](docs/IpSpaceAPI.md#copy) | **Post** /ipam/ip_space/{id}/copy | Copy the IP space. *IpSpaceAPI* | [**Create**](docs/IpSpaceAPI.md#create) | **Post** /ipam/ip_space | Create the IP space. *IpSpaceAPI* | [**Delete**](docs/IpSpaceAPI.md#delete) | **Delete** /ipam/ip_space/{id} | Move the IP space to the recycle bin. +*IpSpaceAPI* | [**GetConflicts**](docs/IpSpaceAPI.md#getconflicts) | **Get** /ipam/ip_space/{id}/conflicts | Retrieve Conflicted __AddressBlock__ and __Subnet__ objects in Federated Realms. *IpSpaceAPI* | [**List**](docs/IpSpaceAPI.md#list) | **Get** /ipam/ip_space | Retrieve IP spaces. *IpSpaceAPI* | [**Read**](docs/IpSpaceAPI.md#read) | **Get** /ipam/ip_space/{id} | Retrieve the IP space. *IpSpaceAPI* | [**Update**](docs/IpSpaceAPI.md#update) | **Patch** /ipam/ip_space/{id} | Update the IP space. @@ -144,6 +152,13 @@ Class | Method | HTTP request | Description *IpamHostAPI* | [**Read**](docs/IpamHostAPI.md#read) | **Get** /ipam/host/{id} | Retrieve the IPAM host. *IpamHostAPI* | [**Update**](docs/IpamHostAPI.md#update) | **Patch** /ipam/host/{id} | Update the IPAM host. *LeasesCommandAPI* | [**Create**](docs/LeasesCommandAPI.md#create) | **Post** /dhcp/leases_command | Perform actions like clearing DHCP lease(s). +*MacAddressItemAPI* | [**BulkCreate**](docs/MacAddressItemAPI.md#bulkcreate) | **Post** /dhcp/mac_address_item/bulk_create | Bulk create the mac address items. +*MacAddressItemAPI* | [**Create**](docs/MacAddressItemAPI.md#create) | **Post** /dhcp/mac_address_item | Create the mac address item. +*MacAddressItemAPI* | [**Delete**](docs/MacAddressItemAPI.md#delete) | **Delete** /dhcp/mac_address_item/{id} | Delete the mac address item. +*MacAddressItemAPI* | [**List**](docs/MacAddressItemAPI.md#list) | **Get** /dhcp/mac_address_item | Retrieve mac address items. +*MacAddressItemAPI* | [**Read**](docs/MacAddressItemAPI.md#read) | **Get** /dhcp/mac_address_item/{id} | Retrieve the mac address item. +*MacAddressItemAPI* | [**Update**](docs/MacAddressItemAPI.md#update) | **Patch** /dhcp/mac_address_item/{id} | Update the mac address item. +*MacAddressItemAPI* | [**Upload**](docs/MacAddressItemAPI.md#upload) | **Post** /dhcp/mac_address_item/upload | Upload mac addresses to a large scale hardware filter. *OptionCodeAPI* | [**Create**](docs/OptionCodeAPI.md#create) | **Post** /dhcp/option_code | Create the DHCP option code. *OptionCodeAPI* | [**Delete**](docs/OptionCodeAPI.md#delete) | **Delete** /dhcp/option_code/{id} | Delete the DHCP option code. *OptionCodeAPI* | [**List**](docs/OptionCodeAPI.md#list) | **Get** /dhcp/option_code | Retrieve DHCP option codes. @@ -176,11 +191,14 @@ Class | Method | HTTP request | Description *ServerAPI* | [**List**](docs/ServerAPI.md#list) | **Get** /dhcp/server | Retrieve DHCP configuration profiles. *ServerAPI* | [**Read**](docs/ServerAPI.md#read) | **Get** /dhcp/server/{id} | Retrieve the DHCP configuration profile. *ServerAPI* | [**Update**](docs/ServerAPI.md#update) | **Patch** /dhcp/server/{id} | Update the DHCP configuration profile. +*ServiceAPI* | [**List**](docs/ServiceAPI.md#list) | **Get** /dhcp/service | List DHCP service instance objects. +*ServiceAPI* | [**Read**](docs/ServiceAPI.md#read) | **Get** /dhcp/service/{id} | Read the DHCP service instance object. *SubnetAPI* | [**Copy**](docs/SubnetAPI.md#copy) | **Post** /ipam/subnet/{id}/copy | Copy the subnet. *SubnetAPI* | [**Create**](docs/SubnetAPI.md#create) | **Post** /ipam/subnet | Create the subnet. *SubnetAPI* | [**CreateNextAvailableIP**](docs/SubnetAPI.md#createnextavailableip) | **Post** /ipam/subnet/{id}/nextavailableip | Allocate the next available IP address. *SubnetAPI* | [**Delete**](docs/SubnetAPI.md#delete) | **Delete** /ipam/subnet/{id} | Move the subnet to the recycle bin. *SubnetAPI* | [**List**](docs/SubnetAPI.md#list) | **Get** /ipam/subnet | Retrieve subnets. +*SubnetAPI* | [**ListAncestor**](docs/SubnetAPI.md#listancestor) | **Get** /ipam/subnet/{id}/ancestor | Retrieve subnet ancestors. *SubnetAPI* | [**ListNextAvailableIP**](docs/SubnetAPI.md#listnextavailableip) | **Get** /ipam/subnet/{id}/nextavailableip | Retrieve the next available IP address. *SubnetAPI* | [**Read**](docs/SubnetAPI.md#read) | **Get** /ipam/subnet/{id} | Retrieve the subnet. *SubnetAPI* | [**Update**](docs/SubnetAPI.md#update) | **Patch** /ipam/subnet/{id} | Update the subnet. @@ -195,9 +213,16 @@ Class | Method | HTTP request | Description - [AddressBlock](docs/AddressBlock.md) - [AsmEnableBlock](docs/AsmEnableBlock.md) - [AsmGrowthBlock](docs/AsmGrowthBlock.md) + - [AssociateConfigProfileToObjectsRequest](docs/AssociateConfigProfileToObjectsRequest.md) + - [AssociateObjectToConfigProfilesRequest](docs/AssociateObjectToConfigProfilesRequest.md) + - [AssociatedHost](docs/AssociatedHost.md) - [BulkCopyError](docs/BulkCopyError.md) - [BulkCopyIPSpace](docs/BulkCopyIPSpace.md) - [BulkCopyIPSpaceResponse](docs/BulkCopyIPSpaceResponse.md) + - [BulkCreateMacAddressItemResponse](docs/BulkCreateMacAddressItemResponse.md) + - [BulkMacAddressItem](docs/BulkMacAddressItem.md) + - [CPSubnet](docs/CPSubnet.md) + - [CidrBlock](docs/CidrBlock.md) - [CopyAddressBlock](docs/CopyAddressBlock.md) - [CopyAddressBlockResponse](docs/CopyAddressBlockResponse.md) - [CopyIPSpace](docs/CopyIPSpace.md) @@ -214,6 +239,7 @@ Class | Method | HTTP request | Description - [CreateIPSpaceResponse](docs/CreateIPSpaceResponse.md) - [CreateIpamHostResponse](docs/CreateIpamHostResponse.md) - [CreateLeasesCommandResponse](docs/CreateLeasesCommandResponse.md) + - [CreateMacAddressItemResponse](docs/CreateMacAddressItemResponse.md) - [CreateNextAvailableABResponse](docs/CreateNextAvailableABResponse.md) - [CreateNextAvailableIPResponse](docs/CreateNextAvailableIPResponse.md) - [CreateNextAvailableSubnetResponse](docs/CreateNextAvailableSubnetResponse.md) @@ -233,9 +259,12 @@ Class | Method | HTTP request | Description - [DHCPInheritance](docs/DHCPInheritance.md) - [DHCPOptionsInheritance](docs/DHCPOptionsInheritance.md) - [DHCPPacketStats](docs/DHCPPacketStats.md) + - [DHCPServiceInstance](docs/DHCPServiceInstance.md) - [DHCPUtilization](docs/DHCPUtilization.md) - [DHCPUtilizationThreshold](docs/DHCPUtilizationThreshold.md) - [DNSUsage](docs/DNSUsage.md) + - [DisassociateConfigProfileFromObjectsRequest](docs/DisassociateConfigProfileFromObjectsRequest.md) + - [DisassociateObjectFromConfigProfilesRequest](docs/DisassociateObjectFromConfigProfilesRequest.md) - [ExclusionRange](docs/ExclusionRange.md) - [Filter](docs/Filter.md) - [FixedAddress](docs/FixedAddress.md) @@ -282,6 +311,10 @@ Class | Method | HTTP request | Description - [ListASMResponse](docs/ListASMResponse.md) - [ListAddressBlockResponse](docs/ListAddressBlockResponse.md) - [ListAddressResponse](docs/ListAddressResponse.md) + - [ListAncestorResponse](docs/ListAncestorResponse.md) + - [ListCPSubnetResponse](docs/ListCPSubnetResponse.md) + - [ListConfigProfileResponse](docs/ListConfigProfileResponse.md) + - [ListDHCPServiceInstanceResponse](docs/ListDHCPServiceInstanceResponse.md) - [ListDNSUsageResponse](docs/ListDNSUsageResponse.md) - [ListFilterResponse](docs/ListFilterResponse.md) - [ListFixedAddressResponse](docs/ListFixedAddressResponse.md) @@ -290,6 +323,7 @@ Class | Method | HTTP request | Description - [ListHostResponse](docs/ListHostResponse.md) - [ListIPSpaceResponse](docs/ListIPSpaceResponse.md) - [ListIpamHostResponse](docs/ListIpamHostResponse.md) + - [ListMacAddressItemResponse](docs/ListMacAddressItemResponse.md) - [ListOptionCodeResponse](docs/ListOptionCodeResponse.md) - [ListOptionFilterResponse](docs/ListOptionFilterResponse.md) - [ListOptionGroupResponse](docs/ListOptionGroupResponse.md) @@ -297,6 +331,9 @@ Class | Method | HTTP request | Description - [ListRangeResponse](docs/ListRangeResponse.md) - [ListServerResponse](docs/ListServerResponse.md) - [ListSubnetResponse](docs/ListSubnetResponse.md) + - [MacAddressItem](docs/MacAddressItem.md) + - [MacAddressItemUpload](docs/MacAddressItemUpload.md) + - [MacAddressItemUploadResponse](docs/MacAddressItemUploadResponse.md) - [Name](docs/Name.md) - [Nameserver](docs/Nameserver.md) - [NextAvailableABResponse](docs/NextAvailableABResponse.md) @@ -309,10 +346,12 @@ Class | Method | HTTP request | Description - [OptionGroup](docs/OptionGroup.md) - [OptionItem](docs/OptionItem.md) - [OptionSpace](docs/OptionSpace.md) + - [ProtobufFieldMask](docs/ProtobufFieldMask.md) - [Range](docs/Range.md) - [ReadASMResponse](docs/ReadASMResponse.md) - [ReadAddressBlockResponse](docs/ReadAddressBlockResponse.md) - [ReadAddressResponse](docs/ReadAddressResponse.md) + - [ReadDHCPServiceInstanceResponse](docs/ReadDHCPServiceInstanceResponse.md) - [ReadDNSUsageResponse](docs/ReadDNSUsageResponse.md) - [ReadFixedAddressResponse](docs/ReadFixedAddressResponse.md) - [ReadGlobalResponse](docs/ReadGlobalResponse.md) @@ -321,6 +360,7 @@ Class | Method | HTTP request | Description - [ReadHostResponse](docs/ReadHostResponse.md) - [ReadIPSpaceResponse](docs/ReadIPSpaceResponse.md) - [ReadIpamHostResponse](docs/ReadIpamHostResponse.md) + - [ReadMacAddressItemResponse](docs/ReadMacAddressItemResponse.md) - [ReadOptionCodeResponse](docs/ReadOptionCodeResponse.md) - [ReadOptionFilterResponse](docs/ReadOptionFilterResponse.md) - [ReadOptionGroupResponse](docs/ReadOptionGroupResponse.md) @@ -328,6 +368,8 @@ Class | Method | HTTP request | Description - [ReadRangeResponse](docs/ReadRangeResponse.md) - [ReadServerResponse](docs/ReadServerResponse.md) - [ReadSubnetResponse](docs/ReadSubnetResponse.md) + - [RealmsConflict](docs/RealmsConflict.md) + - [RealmsConflictResponse](docs/RealmsConflictResponse.md) - [Server](docs/Server.md) - [ServerInheritance](docs/ServerInheritance.md) - [Subnet](docs/Subnet.md) @@ -341,6 +383,7 @@ Class | Method | HTTP request | Description - [UpdateHostResponse](docs/UpdateHostResponse.md) - [UpdateIPSpaceResponse](docs/UpdateIPSpaceResponse.md) - [UpdateIpamHostResponse](docs/UpdateIpamHostResponse.md) + - [UpdateMacAddressItemResponse](docs/UpdateMacAddressItemResponse.md) - [UpdateOptionCodeResponse](docs/UpdateOptionCodeResponse.md) - [UpdateOptionFilterResponse](docs/UpdateOptionFilterResponse.md) - [UpdateOptionGroupResponse](docs/UpdateOptionGroupResponse.md) diff --git a/ipam/api/openapi.yaml b/ipam/api/openapi.yaml index fb7ea06..45291c7 100644 --- a/ipam/api/openapi.yaml +++ b/ipam/api/openapi.yaml @@ -16,6 +16,164 @@ servers: security: - ApiKeyAuth: [] paths: + /dhcp/config_profile/delink_object: + post: + description: Use this method to disassociate an object from a __ConfigProfile__. + operationId: config_profileDisassociateObjectFromConfigProfiles + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcDisassociateObjectFromConfigProfilesRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/protobufEmpty' + description: POST operation response + summary: Disassociate an object from a config profile. + tags: + - config_profile + x-codegen-request-body-name: body + /dhcp/config_profile/delink_profile: + post: + description: Use this method to disassociate a __ConfigProfile__ from an object. + operationId: config_profileDisassociateConfigProfileFromObjects + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcDisassociateConfigProfileFromObjectsRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/protobufEmpty' + description: POST operation response + summary: Disassociate a config profile from objects. + tags: + - config_profile + x-codegen-request-body-name: body + /dhcp/config_profile/link_object: + post: + description: Use this method to associate an object with a __ConfigProfile__. + operationId: config_profileAssociateObjectToConfigProfiles + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcAssociateObjectToConfigProfilesRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/protobufEmpty' + description: POST operation response + summary: Associate an object to config profiles. + tags: + - config_profile + x-codegen-request-body-name: body + /dhcp/config_profile/link_profile: + post: + description: Use this method to associate a __ConfigProfile__ with an object. + operationId: config_profileAssociateConfigProfileToObjects + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcAssociateConfigProfileToObjectsRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/protobufEmpty' + description: POST operation response + summary: Associate a config profile to objects. + tags: + - config_profile + x-codegen-request-body-name: body + /dhcp/config_profile/profiles: + get: + description: Use this method to retrieve __ConfigProfile__ objects. + operationId: config_profileListConfigProfiles + parameters: + - in: query + name: object_id + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcListConfigProfileResponse' + description: GET operation response + summary: Retrieve config profiles. + tags: + - config_profile + /dhcp/config_profile/subnets: + get: + description: Use this method to retrieve __Subnet__ objects associated with + a __ConfigProfile__. + operationId: config_profileListSubnets + parameters: + - in: query + name: config_profile_id + schema: + type: string + - description: "\n\nA collection of response resources can be sorted by their\ + \ JSON tags. For a 'flat' resource, the tag name is straightforward. If\ + \ sorting is allowed on non-flat hierarchical resources, the service should\ + \ implement a qualified naming scheme such as dot-qualification to reference\ + \ data down the hierarchy. If a resource does not have the specified tag,\ + \ its value is assumed to be null.)\n\nSpecify this parameter as a comma-separated\ + \ list of JSON tag names. The sort direction can be specified by a suffix\ + \ separated by whitespace before the tag name. The suffix 'asc' sorts the\ + \ data in ascending order. The suffix 'desc' sorts the data in descending\ + \ order. If no suffix is specified the data is sorted in ascending order.\n\ + \n\t\t\t\t\t\t" + in: query + name: _order_by + schema: + type: string + - description: "\n\nThe integer index (zero-origin) of the offset into a collection\ + \ of resources. If omitted or null the value is assumed to be '0'.\n\n\t\ + \t\t\t\t\t\t" + in: query + name: _offset + schema: + type: integer + - description: "\n\nThe integer number of resources to be returned in the response.\ + \ The service may impose maximum value. If omitted the service may impose\ + \ a default value.\n\n\t\t\t\t\t\t\t" + in: query + name: _limit + schema: + type: integer + - description: "\n\nThe service-defined string used to identify a page of resources.\ + \ A null value indicates the first page.\n\n\t\t\t\t\t\t\t" + in: query + name: _page_token + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcListCPSubnetResponse' + description: GET operation response + summary: Retrieve subnets associated with a config profile. + tags: + - config_profile /dhcp/filter: get: description: Use this method to retrieve DHCP __Filter__ objects of all types. @@ -1097,25 +1255,11 @@ paths: tags: - leases_command x-codegen-request-body-name: body - /dhcp/option_code: + /dhcp/mac_address_item: get: - description: |- - Use this method to retrieve __OptionCode__ objects. - The __OptionCode__ object defines a DHCP option code. - operationId: option_codeList + description: Use this method to retrieve __MacAddressItem__ objects. + operationId: mac_address_itemList parameters: - - description: "\n\nA collection of response resources can be transformed by\ - \ specifying a set of JSON tags to be returned. For a “flat” resource, the\ - \ tag name is straightforward. If field selection is allowed on non-flat\ - \ hierarchical resources, the service should implement a qualified naming\ - \ scheme such as dot-qualification to reference data down the hierarchy.\ - \ If a resource does not have the specified tag, the tag does not appear\ - \ in the output resource.\n\nSpecify this parameter as a comma-separated\ - \ list of JSON tag names.\n\n\t\t\t\t\t\t" - in: query - name: _fields - schema: - type: string - description: "\n\nA collection of response resources can be filtered by a\ \ logical expression string that includes JSON tag references to values\ \ in each resource, literal values, and logical operators. If a resource\ @@ -1135,6 +1279,33 @@ paths: name: _filter schema: type: string + - description: "\n\nA collection of response resources can be sorted by their\ + \ JSON tags. For a 'flat' resource, the tag name is straightforward. If\ + \ sorting is allowed on non-flat hierarchical resources, the service should\ + \ implement a qualified naming scheme such as dot-qualification to reference\ + \ data down the hierarchy. If a resource does not have the specified tag,\ + \ its value is assumed to be null.)\n\nSpecify this parameter as a comma-separated\ + \ list of JSON tag names. The sort direction can be specified by a suffix\ + \ separated by whitespace before the tag name. The suffix 'asc' sorts the\ + \ data in ascending order. The suffix 'desc' sorts the data in descending\ + \ order. If no suffix is specified the data is sorted in ascending order.\n\ + \n\t\t\t\t\t\t" + in: query + name: _order_by + schema: + type: string + - description: "\n\nA collection of response resources can be transformed by\ + \ specifying a set of JSON tags to be returned. For a “flatâ€\x9d resource,\ + \ the tag name is straightforward. If field selection is allowed on non-flat\ + \ hierarchical resources, the service should implement a qualified naming\ + \ scheme such as dot-qualification to reference data down the hierarchy.\ + \ If a resource does not have the specified tag, the tag does not appear\ + \ in the output resource.\n\nSpecify this parameter as a comma-separated\ + \ list of JSON tag names.\n\n\t\t\t\t\t\t" + in: query + name: _fields + schema: + type: string - description: "\n\nThe integer index (zero-origin) of the offset into a collection\ \ of resources. If omitted or null the value is assumed to be '0'.\n\n\t\ \t\t\t\t\t\t" @@ -1155,59 +1326,83 @@ paths: name: _page_token schema: type: string - - description: "\n\nA collection of response resources can be sorted by their\ - \ JSON tags. For a 'flat' resource, the tag name is straightforward. If\ - \ sorting is allowed on non-flat hierarchical resources, the service should\ - \ implement a qualified naming scheme such as dot-qualification to reference\ - \ data down the hierarchy. If a resource does not have the specified tag,\ - \ its value is assumed to be null.)\n\nSpecify this parameter as a comma-separated\ - \ list of JSON tag names. The sort direction can be specified by a suffix\ - \ separated by whitespace before the tag name. The suffix 'asc' sorts the\ - \ data in ascending order. The suffix 'desc' sorts the data in descending\ - \ order. If no suffix is specified the data is sorted in ascending order.\n\ - \n\t\t\t\t\t\t" - in: query - name: _order_by - schema: - type: string responses: "200": content: application/json: schema: - $ref: '#/components/schemas/ipamsvcListOptionCodeResponse' + $ref: '#/components/schemas/ipamsvcListMacAddressItemResponse' description: GET operation response - summary: Retrieve DHCP option codes. + summary: Retrieve mac address items. tags: - - option_code + - mac_address_item post: - description: |- - Use this method to create an __OptionCode__ object. - The __OptionCode__ object defines a DHCP option code. - operationId: option_codeCreate + description: Use this method to create a __MacAddressItem__ object. + operationId: mac_address_itemCreate requestBody: content: application/json: schema: - $ref: '#/components/schemas/ipamsvcOptionCode' + $ref: '#/components/schemas/ipamsvcMacAddressItem' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/ipamsvcCreateOptionCodeResponse' + $ref: '#/components/schemas/ipamsvcCreateMacAddressItemResponse' description: POST operation response - summary: Create the DHCP option code. + summary: Create the mac address item. tags: - - option_code + - mac_address_item x-codegen-request-body-name: body - /dhcp/option_code/{id}: + /dhcp/mac_address_item/bulk_create: + post: + description: Use this method to bulk create __MacAddressItem__ objects. + operationId: mac_address_itemBulkCreate + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcBulkMacAddressItem' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcBulkCreateMacAddressItemResponse' + description: POST operation response + summary: Bulk create the mac address items. + tags: + - mac_address_item + x-codegen-request-body-name: body + /dhcp/mac_address_item/upload: + post: + description: Use this method to upload specified mac addresses to large scale + filter. + operationId: mac_address_itemUpload + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcMacAddressItemUpload' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcMacAddressItemUploadResponse' + description: POST operation response + summary: Upload mac addresses to a large scale hardware filter. + tags: + - mac_address_item + x-codegen-request-body-name: body + /dhcp/mac_address_item/{id}: delete: - description: |- - Use this method to delete an __OptionCode__ object. - The __OptionCode__ object defines a DHCP option code. - operationId: option_codeDelete + description: Use this method to delete a __MacAddressItem__ object. + operationId: mac_address_itemDelete parameters: - description: An application specific resource identity of a resource in: path @@ -1219,14 +1414,12 @@ paths: "200": content: {} description: OK - summary: Delete the DHCP option code. + summary: Delete the mac address item. tags: - - option_code + - mac_address_item get: - description: |- - Use this method to retrieve an __OptionCode__ object. - The __OptionCode__ object defines a DHCP option code. - operationId: option_codeRead + description: Use this method to retrieve a __MacAddressItem__ object. + operationId: mac_address_itemRead parameters: - description: An application specific resource identity of a resource in: path @@ -1235,8 +1428,8 @@ paths: schema: type: string - description: "\n\nA collection of response resources can be transformed by\ - \ specifying a set of JSON tags to be returned. For a “flat” resource, the\ - \ tag name is straightforward. If field selection is allowed on non-flat\ + \ specifying a set of JSON tags to be returned. For a “flatâ€\x9d resource,\ + \ the tag name is straightforward. If field selection is allowed on non-flat\ \ hierarchical resources, the service should implement a qualified naming\ \ scheme such as dot-qualification to reference data down the hierarchy.\ \ If a resource does not have the specified tag, the tag does not appear\ @@ -1251,16 +1444,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ipamsvcReadOptionCodeResponse' + $ref: '#/components/schemas/ipamsvcReadMacAddressItemResponse' description: GET operation response - summary: Retrieve the DHCP option code. + summary: Retrieve the mac address item. tags: - - option_code + - mac_address_item patch: - description: |- - Use this method to update an __OptionCode__ object. - The __OptionCode__ object defines a DHCP option code. - operationId: option_codeUpdate + description: Use this method to update a __MacAddressItem__ object. + operationId: mac_address_itemUpdate parameters: - description: An application specific resource identity of a resource in: path @@ -1272,25 +1463,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ipamsvcOptionCode' + $ref: '#/components/schemas/ipamsvcMacAddressItem' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/ipamsvcUpdateOptionCodeResponse' + $ref: '#/components/schemas/ipamsvcUpdateMacAddressItemResponse' description: PATCH operation response - summary: Update the DHCP option code. + summary: Update the mac address item. tags: - - option_code + - mac_address_item x-codegen-request-body-name: body - /dhcp/option_filter: + /dhcp/option_code: get: description: |- - Use this method to retrieve __OptionFilter__ objects. - The __OptionFilter__ object applies options to DHCP clients with matching options. It must be configured in the _filters_ list of a scope to be effective. - operationId: option_filterList + Use this method to retrieve __OptionCode__ objects. + The __OptionCode__ object defines a DHCP option code. + operationId: option_codeList parameters: - description: "\n\nA collection of response resources can be transformed by\ \ specifying a set of JSON tags to be returned. For a “flat” resource, the\ @@ -1358,24 +1549,212 @@ paths: name: _order_by schema: type: string - - description: This parameter is used for sorting by tags. - in: query - name: _torder_by - schema: - type: string - - description: This parameter is used for filtering by tags. - in: query - name: _tfilter - schema: - type: string responses: "200": content: application/json: schema: - $ref: '#/components/schemas/ipamsvcListOptionFilterResponse' + $ref: '#/components/schemas/ipamsvcListOptionCodeResponse' description: GET operation response - summary: Retrieve DHCP option filters. + summary: Retrieve DHCP option codes. + tags: + - option_code + post: + description: |- + Use this method to create an __OptionCode__ object. + The __OptionCode__ object defines a DHCP option code. + operationId: option_codeCreate + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcOptionCode' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcCreateOptionCodeResponse' + description: POST operation response + summary: Create the DHCP option code. + tags: + - option_code + x-codegen-request-body-name: body + /dhcp/option_code/{id}: + delete: + description: |- + Use this method to delete an __OptionCode__ object. + The __OptionCode__ object defines a DHCP option code. + operationId: option_codeDelete + parameters: + - description: An application specific resource identity of a resource + in: path + name: id + required: true + schema: + type: string + responses: + "200": + content: {} + description: OK + summary: Delete the DHCP option code. + tags: + - option_code + get: + description: |- + Use this method to retrieve an __OptionCode__ object. + The __OptionCode__ object defines a DHCP option code. + operationId: option_codeRead + parameters: + - description: An application specific resource identity of a resource + in: path + name: id + required: true + schema: + type: string + - description: "\n\nA collection of response resources can be transformed by\ + \ specifying a set of JSON tags to be returned. For a “flat” resource, the\ + \ tag name is straightforward. If field selection is allowed on non-flat\ + \ hierarchical resources, the service should implement a qualified naming\ + \ scheme such as dot-qualification to reference data down the hierarchy.\ + \ If a resource does not have the specified tag, the tag does not appear\ + \ in the output resource.\n\nSpecify this parameter as a comma-separated\ + \ list of JSON tag names.\n\n\t\t\t\t\t\t" + in: query + name: _fields + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcReadOptionCodeResponse' + description: GET operation response + summary: Retrieve the DHCP option code. + tags: + - option_code + patch: + description: |- + Use this method to update an __OptionCode__ object. + The __OptionCode__ object defines a DHCP option code. + operationId: option_codeUpdate + parameters: + - description: An application specific resource identity of a resource + in: path + name: id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcOptionCode' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcUpdateOptionCodeResponse' + description: PATCH operation response + summary: Update the DHCP option code. + tags: + - option_code + x-codegen-request-body-name: body + /dhcp/option_filter: + get: + description: |- + Use this method to retrieve __OptionFilter__ objects. + The __OptionFilter__ object applies options to DHCP clients with matching options. It must be configured in the _filters_ list of a scope to be effective. + operationId: option_filterList + parameters: + - description: "\n\nA collection of response resources can be transformed by\ + \ specifying a set of JSON tags to be returned. For a “flat” resource, the\ + \ tag name is straightforward. If field selection is allowed on non-flat\ + \ hierarchical resources, the service should implement a qualified naming\ + \ scheme such as dot-qualification to reference data down the hierarchy.\ + \ If a resource does not have the specified tag, the tag does not appear\ + \ in the output resource.\n\nSpecify this parameter as a comma-separated\ + \ list of JSON tag names.\n\n\t\t\t\t\t\t" + in: query + name: _fields + schema: + type: string + - description: "\n\nA collection of response resources can be filtered by a\ + \ logical expression string that includes JSON tag references to values\ + \ in each resource, literal values, and logical operators. If a resource\ + \ does not have the specified tag, its value is assumed to be null.\n\n\ + Literal values include numbers (integer and floating-point), and quoted\ + \ (both single- or double-quoted) literal strings, and 'null'. The following\ + \ operators are commonly used in filter expressions:\n\n| Op | Description\ + \ | \n| -- | ----------- | \n| == | \ + \ Equal | \n| != | Not Equal | \n\ + | > | Greater Than | \n| >= | Greater Than or Equal\ + \ To | \n| < | Less Than | \n| <= | Less Than\ + \ or Equal To | \n| and | Logical AND | \n| ~ |\ + \ Matches Regex | \n| !~ | Does Not Match Regex |\ + \ \n| or | Logical OR | \n| not | Logical NOT \ + \ | \n| () | Groupping Operators |\n\n\t\t\t\t\t\t" + in: query + name: _filter + schema: + type: string + - description: "\n\nThe integer index (zero-origin) of the offset into a collection\ + \ of resources. If omitted or null the value is assumed to be '0'.\n\n\t\ + \t\t\t\t\t\t" + in: query + name: _offset + schema: + type: integer + - description: "\n\nThe integer number of resources to be returned in the response.\ + \ The service may impose maximum value. If omitted the service may impose\ + \ a default value.\n\n\t\t\t\t\t\t\t" + in: query + name: _limit + schema: + type: integer + - description: "\n\nThe service-defined string used to identify a page of resources.\ + \ A null value indicates the first page.\n\n\t\t\t\t\t\t\t" + in: query + name: _page_token + schema: + type: string + - description: "\n\nA collection of response resources can be sorted by their\ + \ JSON tags. For a 'flat' resource, the tag name is straightforward. If\ + \ sorting is allowed on non-flat hierarchical resources, the service should\ + \ implement a qualified naming scheme such as dot-qualification to reference\ + \ data down the hierarchy. If a resource does not have the specified tag,\ + \ its value is assumed to be null.)\n\nSpecify this parameter as a comma-separated\ + \ list of JSON tag names. The sort direction can be specified by a suffix\ + \ separated by whitespace before the tag name. The suffix 'asc' sorts the\ + \ data in ascending order. The suffix 'desc' sorts the data in descending\ + \ order. If no suffix is specified the data is sorted in ascending order.\n\ + \n\t\t\t\t\t\t" + in: query + name: _order_by + schema: + type: string + - description: This parameter is used for sorting by tags. + in: query + name: _torder_by + schema: + type: string + - description: This parameter is used for filtering by tags. + in: query + name: _tfilter + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcListOptionFilterResponse' + description: GET operation response + summary: Retrieve DHCP option filters. tags: - option_filter post: @@ -2146,13 +2525,25 @@ paths: - server x-sdk-default-tags: true x-codegen-request-body-name: body - /ipam/address: + /dhcp/service: get: description: |- - Use this method to retrieve __Address__ objects. - The __Address__ object represents any single IP address within a given IP space. - operationId: addressList + Use this method to list DHCP service instance objects. + A DHCP Service Instance object associates DHCP configuration with DHCP service. + operationId: serviceList parameters: + - description: "\n\nA collection of response resources can be transformed by\ + \ specifying a set of JSON tags to be returned. For a “flatâ€\x9d resource,\ + \ the tag name is straightforward. If field selection is allowed on non-flat\ + \ hierarchical resources, the service should implement a qualified naming\ + \ scheme such as dot-qualification to reference data down the hierarchy.\ + \ If a resource does not have the specified tag, the tag does not appear\ + \ in the output resource.\n\nSpecify this parameter as a comma-separated\ + \ list of JSON tag names.\n\n\t\t\t\t\t\t" + in: query + name: _fields + schema: + type: string - description: "\n\nA collection of response resources can be filtered by a\ \ logical expression string that includes JSON tag references to values\ \ in each resource, literal values, and logical operators. If a resource\ @@ -2172,33 +2563,6 @@ paths: name: _filter schema: type: string - - description: "\n\nA collection of response resources can be sorted by their\ - \ JSON tags. For a 'flat' resource, the tag name is straightforward. If\ - \ sorting is allowed on non-flat hierarchical resources, the service should\ - \ implement a qualified naming scheme such as dot-qualification to reference\ - \ data down the hierarchy. If a resource does not have the specified tag,\ - \ its value is assumed to be null.)\n\nSpecify this parameter as a comma-separated\ - \ list of JSON tag names. The sort direction can be specified by a suffix\ - \ separated by whitespace before the tag name. The suffix 'asc' sorts the\ - \ data in ascending order. The suffix 'desc' sorts the data in descending\ - \ order. If no suffix is specified the data is sorted in ascending order.\n\ - \n\t\t\t\t\t\t" - in: query - name: _order_by - schema: - type: string - - description: "\n\nA collection of response resources can be transformed by\ - \ specifying a set of JSON tags to be returned. For a “flat” resource, the\ - \ tag name is straightforward. If field selection is allowed on non-flat\ - \ hierarchical resources, the service should implement a qualified naming\ - \ scheme such as dot-qualification to reference data down the hierarchy.\ - \ If a resource does not have the specified tag, the tag does not appear\ - \ in the output resource.\n\nSpecify this parameter as a comma-separated\ - \ list of JSON tag names.\n\n\t\t\t\t\t\t" - in: query - name: _fields - schema: - type: string - description: "\n\nThe integer index (zero-origin) of the offset into a collection\ \ of resources. If omitted or null the value is assumed to be '0'.\n\n\t\ \t\t\t\t\t\t" @@ -2219,11 +2583,154 @@ paths: name: _page_token schema: type: string - - in: query - name: scope + - description: "\n\nA collection of response resources can be sorted by their\ + \ JSON tags. For a 'flat' resource, the tag name is straightforward. If\ + \ sorting is allowed on non-flat hierarchical resources, the service should\ + \ implement a qualified naming scheme such as dot-qualification to reference\ + \ data down the hierarchy. If a resource does not have the specified tag,\ + \ its value is assumed to be null.)\n\nSpecify this parameter as a comma-separated\ + \ list of JSON tag names. The sort direction can be specified by a suffix\ + \ separated by whitespace before the tag name. The suffix 'asc' sorts the\ + \ data in ascending order. The suffix 'desc' sorts the data in descending\ + \ order. If no suffix is specified the data is sorted in ascending order.\n\ + \n\t\t\t\t\t\t" + in: query + name: _order_by schema: type: string - - in: query + - description: This parameter is used for filtering by tags. + in: query + name: _tfilter + schema: + type: string + - description: This parameter is used for sorting by tags. + in: query + name: _torder_by + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcListDHCPServiceInstanceResponse' + description: GET operation response + summary: List DHCP service instance objects. + tags: + - service + /dhcp/service/{id}: + get: + description: |- + Use this method to read a DHCP Service Instance object. + A DHCP Service Instance object associates DHCP configuration with DHCP service. + operationId: serviceRead + parameters: + - description: An application specific resource identity of a resource + in: path + name: id + required: true + schema: + type: string + - description: "\n\nA collection of response resources can be transformed by\ + \ specifying a set of JSON tags to be returned. For a “flatâ€\x9d resource,\ + \ the tag name is straightforward. If field selection is allowed on non-flat\ + \ hierarchical resources, the service should implement a qualified naming\ + \ scheme such as dot-qualification to reference data down the hierarchy.\ + \ If a resource does not have the specified tag, the tag does not appear\ + \ in the output resource.\n\nSpecify this parameter as a comma-separated\ + \ list of JSON tag names.\n\n\t\t\t\t\t\t" + in: query + name: _fields + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcReadDHCPServiceInstanceResponse' + description: GET operation response + summary: Read the DHCP service instance object. + tags: + - service + /ipam/address: + get: + description: |- + Use this method to retrieve __Address__ objects. + The __Address__ object represents any single IP address within a given IP space. + operationId: addressList + parameters: + - description: "\n\nA collection of response resources can be filtered by a\ + \ logical expression string that includes JSON tag references to values\ + \ in each resource, literal values, and logical operators. If a resource\ + \ does not have the specified tag, its value is assumed to be null.\n\n\ + Literal values include numbers (integer and floating-point), and quoted\ + \ (both single- or double-quoted) literal strings, and 'null'. The following\ + \ operators are commonly used in filter expressions:\n\n| Op | Description\ + \ | \n| -- | ----------- | \n| == | \ + \ Equal | \n| != | Not Equal | \n\ + | > | Greater Than | \n| >= | Greater Than or Equal\ + \ To | \n| < | Less Than | \n| <= | Less Than\ + \ or Equal To | \n| and | Logical AND | \n| ~ |\ + \ Matches Regex | \n| !~ | Does Not Match Regex |\ + \ \n| or | Logical OR | \n| not | Logical NOT \ + \ | \n| () | Groupping Operators |\n\n\t\t\t\t\t\t" + in: query + name: _filter + schema: + type: string + - description: "\n\nA collection of response resources can be sorted by their\ + \ JSON tags. For a 'flat' resource, the tag name is straightforward. If\ + \ sorting is allowed on non-flat hierarchical resources, the service should\ + \ implement a qualified naming scheme such as dot-qualification to reference\ + \ data down the hierarchy. If a resource does not have the specified tag,\ + \ its value is assumed to be null.)\n\nSpecify this parameter as a comma-separated\ + \ list of JSON tag names. The sort direction can be specified by a suffix\ + \ separated by whitespace before the tag name. The suffix 'asc' sorts the\ + \ data in ascending order. The suffix 'desc' sorts the data in descending\ + \ order. If no suffix is specified the data is sorted in ascending order.\n\ + \n\t\t\t\t\t\t" + in: query + name: _order_by + schema: + type: string + - description: "\n\nA collection of response resources can be transformed by\ + \ specifying a set of JSON tags to be returned. For a “flat” resource, the\ + \ tag name is straightforward. If field selection is allowed on non-flat\ + \ hierarchical resources, the service should implement a qualified naming\ + \ scheme such as dot-qualification to reference data down the hierarchy.\ + \ If a resource does not have the specified tag, the tag does not appear\ + \ in the output resource.\n\nSpecify this parameter as a comma-separated\ + \ list of JSON tag names.\n\n\t\t\t\t\t\t" + in: query + name: _fields + schema: + type: string + - description: "\n\nThe integer index (zero-origin) of the offset into a collection\ + \ of resources. If omitted or null the value is assumed to be '0'.\n\n\t\ + \t\t\t\t\t\t" + in: query + name: _offset + schema: + type: integer + - description: "\n\nThe integer number of resources to be returned in the response.\ + \ The service may impose maximum value. If omitted the service may impose\ + \ a default value.\n\n\t\t\t\t\t\t\t" + in: query + name: _limit + schema: + type: integer + - description: "\n\nThe service-defined string used to identify a page of resources.\ + \ A null value indicates the first page.\n\n\t\t\t\t\t\t\t" + in: query + name: _page_token + schema: + type: string + - in: query + name: scope + schema: + type: string + - in: query name: address_state schema: type: string @@ -2611,6 +3118,29 @@ paths: - address_block x-sdk-default-tags: true x-codegen-request-body-name: body + /ipam/address_block/{id}/ancestor: + get: + description: |- + Use this method to retrieve the ancestors of the __AddressBlock__ object. + This returns all the ancestors of the address block. + operationId: address_blockListAncestor + parameters: + - description: An application specific resource identity of a resource + in: path + name: id + required: true + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcListAncestorResponse' + description: GET operation response + summary: Retrieve address block ancestors. + tags: + - address_block /ipam/address_block/{id}/copy: post: description: |- @@ -2676,6 +3206,20 @@ paths: name: comment schema: type: string + - description: Reserved for future use. + explode: false + in: query + name: federated_realms + schema: + items: + type: string + type: array + style: form + - description: The compartment id of the address blocks to be created. + in: query + name: compartment_id + schema: + type: string responses: "200": content: @@ -2858,6 +3402,15 @@ paths: name: dhcp_host schema: type: string + - description: Reserved for future use. + explode: false + in: query + name: federated_realms + schema: + items: + type: string + type: array + style: form responses: "200": content: @@ -3626,6 +4179,39 @@ paths: - ip_space x-sdk-default-tags: true x-codegen-request-body-name: body + /ipam/ip_space/{id}/conflicts: + get: + description: |- + Use this endpoint to list Conflicts in an existing IP Space relative to a Federated Realm. + Conflicts are Address Blocks contained by or Subnets that overlap with existing Delegations. + operationId: ip_spaceGetConflicts + parameters: + - description: An application specific resource identity of a resource + in: path + name: id + required: true + schema: + type: string + - description: List of __FederatedRealm__ object ids. + explode: false + in: query + name: federated_realms + schema: + items: + type: string + type: array + style: form + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcRealmsConflictResponse' + description: GET operation response + summary: Retrieve Conflicted __AddressBlock__ and __Subnet__ objects in Federated + Realms. + tags: + - ip_space /ipam/ip_space/{id}/copy: post: description: |- @@ -4250,6 +4836,42 @@ paths: - subnet x-sdk-default-tags: true x-codegen-request-body-name: body + /ipam/subnet/{id}/ancestor: + get: + description: |- + Use this method to retrieve the ancestors of the __Subnet__ object. + This returns all the ancestors of the subnet. + operationId: subnetListAncestor + parameters: + - description: An application specific resource identity of a resource + in: path + name: id + required: true + schema: + type: string + - description: |- + This parameter is used for getting inheritance_sources. + + Allowed values: + * _none_, + * _partial_, + * _full_. + + Defaults to _none + in: query + name: _inherit + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ipamsvcListAncestorResponse' + description: GET operation response + summary: Retrieve subnet ancestors. + tags: + - subnet /ipam/subnet/{id}/copy: post: description: |- @@ -4509,7 +5131,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 properties: action: description: |- @@ -4608,7 +5230,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 properties: action: description: |- @@ -4895,7 +5517,9 @@ components: usage: - usage - usage + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 + external_keys: "{}" range: range interface: interface space: space @@ -4905,10 +5529,10 @@ components: hwaddr: hwaddr protocol: protocol names: - - name: example.com - type: FQDN - - name: example.com - type: FQDN + - name: name + type: type + - name: name + type: type updated_at: 2000-01-23T04:56:07.000+00:00 dhcp_info: preferred_lifetime: 2000-01-23T04:56:07.000+00:00 @@ -4937,6 +5561,11 @@ components: description: The description for the address object. May contain 0 to 1024 characters. Can include UTF-8. type: string + compartment_id: + description: "The compartment associated with the object. If no compartment\ + \ is associated with the object, the value defaults to empty." + readOnly: true + type: string created_at: description: Time when the object has been created. format: date-time @@ -4960,6 +5589,10 @@ components: description: The discovery metadata for this address in JSON format. readOnly: true type: object + external_keys: + additionalProperties: false + description: The external keys (source key) for this address in JSON format. + type: object host: description: The resource identifier. type: string @@ -5041,7 +5674,7 @@ components: ddns_conflict_resolution_mode: ddns_conflict_resolution_mode dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -5054,10 +5687,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -5087,12 +5723,16 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - cidr: 19 + cidr: 77 id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address + federation: federation address: address ddns_client_update: ddns_client_update + federated_realms: + - federated_realms + - federated_realms asm_config: enable_notification: true min_unused: 2 @@ -5104,6 +5744,8 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id + external_keys: "{}" dhcp_options: - option_value: option_value type: type @@ -5117,8 +5759,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -5164,7 +5806,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -5197,12 +5839,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -5212,7 +5854,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -5228,17 +5870,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -5258,12 +5900,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -5301,7 +5943,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -5348,13 +5990,17 @@ components: description: "The CIDR of the address block. This is required, if _address_\ \ does not specify it in its input." format: int64 - maximum: 32 + maximum: 128 minimum: 1 type: integer comment: description: The description for the address block. May contain 0 to 1024 characters. Can include UTF-8. type: string + compartment_id: + description: "The compartment associated with the object. If no compartment\ + \ is associated with the object, the value defaults to empty." + type: string created_at: description: Time when the object has been created. format: date-time @@ -5456,6 +6102,20 @@ components: description: The discovery metadata for this address block in JSON format. readOnly: true type: object + external_keys: + additionalProperties: false + description: The external keys (source key) for this address block in JSON + format. + type: object + federated_realms: + description: Reserved for future use. + items: + type: string + type: array + federation: + description: Reserved for future use. + readOnly: true + type: string header_option_filename: description: The configuration for header option filename field. type: string @@ -5578,25 +6238,91 @@ components: type: string title: 'AsmGrowthBlock ' type: object - ipamsvcBulkCopyError: + ipamsvcAssociateConfigProfileToObjectsRequest: + description: AssociateConfigProfileToObjects associates a config profile to + its objects. + properties: + config_profile_id: + description: The resource identifier. + type: string + fields: + $ref: '#/components/schemas/protobufFieldMask' + object_ids: + description: The resource identifier. + items: + type: string + type: array + required: + - config_profile_id + - object_ids + title: AssociateConfigProfileToObjects + type: object + ipamsvcAssociateObjectToConfigProfilesRequest: + description: AssociateObjectToConfigProfiles associates an object to config + profiles. + properties: + config_profile_ids: + description: The resource identifier. + items: + type: string + type: array + fields: + $ref: '#/components/schemas/protobufFieldMask' + object_id: + description: The resource identifier. + type: string + required: + - config_profile_ids + - object_id + title: AssociateObjectToConfigProfiles + type: object + ipamsvcAssociatedHost: + description: "A DHCP Host (_dhcp/host_) object associates DHCP configuraton\ + \ with hosts. \n\nAutomatically created and destroyed based on the hosts known\ + \ to the platform." example: - description: description + ophid: ophid + address: address + name: name id: id - message: message properties: - description: - description: The description of the resource that was requested to be copied. + address: + description: The primary IP address of the on-prem host. + readOnly: true type: string id: description: The resource identifier. readOnly: true type: string - message: - description: The reason why the copy failed. + name: + description: The DHCP host name. + readOnly: true + type: string + ophid: + description: The on-prem host ID. + readOnly: true type: string + title: AssociatedHost type: object - ipamsvcBulkCopyIPSpace: - properties: + ipamsvcBulkCopyError: + example: + description: description + id: id + message: message + properties: + description: + description: The description of the resource that was requested to be copied. + type: string + id: + description: The resource identifier. + readOnly: true + type: string + message: + description: The reason why the copy failed. + type: string + type: object + ipamsvcBulkCopyIPSpace: + properties: copy_dhcp_options: description: |- Indicates whether dhcp options for IPv4 should be copied or not when objects (_ipam/address_block_ and _ipam/subnet_ only) are copied. @@ -5619,6 +6345,13 @@ components: Defaults to _false_. format: boolean type: boolean + retain_child_compartment: + description: |- + Indicates whether the child objects are going to retain their compartment_id, or inherit from the object to copy into. + + Defaults to false + format: boolean + type: boolean skip_on_error: description: |- Indicates whether copying should skip object in case of error and continue with next, or abort copying in case of error. @@ -5660,6 +6393,115 @@ components: $ref: '#/components/schemas/ipamsvcCopyResponse' type: array type: object + ipamsvcBulkCreateMacAddressItemResponse: + description: The response format to bulk create the __MacAddressItem__ objects. + example: + results: + - address: address + id: id + hardware_filter_id: hardware_filter_id + - address: address + id: id + hardware_filter_id: hardware_filter_id + properties: + results: + description: The created __MacAddressItem__ objects. + items: + $ref: '#/components/schemas/ipamsvcMacAddressItem' + type: array + title: BulkCreateMacAddressItemResponse + type: object + ipamsvcBulkMacAddressItem: + description: A __BulkMacAddressItem__ object creates mac address items in bulk. + properties: + addresses: + description: The addresses to match for the hardware filter. + items: + type: string + type: array + hardware_filter_id: + description: The resource identifier. + type: string + required: + - addresses + - hardware_filter_id + title: BulkMacAddressItem + type: object + ipamsvcCPSubnet: + example: + parent: parent + protocol: protocol + address: address + ip_space_ref: ip_space_ref + name: name + ip_space_name: ip_space_name + cidr: 0 + comment: comment + id: id + properties: + address: + type: string + cidr: + format: int64 + type: integer + comment: + type: string + id: + description: The resource identifier. + readOnly: true + type: string + ip_space_name: + type: string + ip_space_ref: + description: The resource identifier. + type: string + name: + type: string + parent: + description: The resource identifier. + type: string + protocol: + type: string + type: object + ipamsvcCidrBlock: + example: + parent: parent + address: address + federated_realms: + - federated_realms + - federated_realms + cidr: 11 + id: id + space: space + properties: + address: + description: The address part of the CidrBlock. + readOnly: true + type: string + cidr: + description: The CIDR part of the CidrBlock. + format: int64 + maximum: 128 + minimum: 1 + readOnly: true + type: integer + federated_realms: + description: Reserved for future use. + items: + type: string + readOnly: true + type: array + id: + description: The resource identifier. + readOnly: true + type: string + parent: + description: The resource identifier. + type: string + space: + description: The resource identifier. + type: string + type: object ipamsvcCopyAddressBlock: properties: comment: @@ -5871,7 +6713,7 @@ components: ddns_conflict_resolution_mode: ddns_conflict_resolution_mode dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -5884,10 +6726,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -5917,12 +6762,16 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - cidr: 19 + cidr: 77 id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address + federation: federation address: address ddns_client_update: ddns_client_update + federated_realms: + - federated_realms + - federated_realms asm_config: enable_notification: true min_unused: 2 @@ -5934,6 +6783,8 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id + external_keys: "{}" dhcp_options: - option_value: option_value type: type @@ -5947,8 +6798,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -5994,7 +6845,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -6027,12 +6878,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -6042,7 +6893,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -6058,17 +6909,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -6088,12 +6939,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -6131,7 +6982,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -6173,7 +7024,9 @@ components: usage: - usage - usage + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 + external_keys: "{}" range: range interface: interface space: space @@ -6183,10 +7036,10 @@ components: hwaddr: hwaddr protocol: protocol names: - - name: example.com - type: FQDN - - name: example.com - type: FQDN + - name: name + type: type + - name: name + type: type updated_at: 2000-01-23T04:56:07.000+00:00 dhcp_info: preferred_lifetime: 2000-01-23T04:56:07.000+00:00 @@ -6218,6 +7071,7 @@ components: parent: parent address: 192.168.1.10 header_option_filename: header_option_filename + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 dhcp_options: - option_value: option_value @@ -6303,6 +7157,7 @@ components: hosts: - host1 - host2 + status_v6: status_v6 name: Example HA Group created_at: 2000-01-23T04:56:07.000+00:00 comment: comment @@ -6355,7 +7210,7 @@ components: ddns_conflict_resolution_mode: check_with_dhcid dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -6368,10 +7223,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -6409,6 +7267,7 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -6422,8 +7281,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -6469,7 +7328,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -6502,12 +7361,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -6517,7 +7376,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -6533,17 +7392,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -6563,12 +7422,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -6634,7 +7493,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -6661,6 +7520,9 @@ components: type: type option_code: option_code group: group + default_realms: + - default_realms + - default_realms vendor_specific_option_option_space: vendor_specific_option_option_space name: Example IP Space comment: comment @@ -6712,6 +7574,18 @@ components: type: string title: CreateLeasesCommandResponse type: object + ipamsvcCreateMacAddressItemResponse: + description: The response format to create the __MacAddressItem__ object. + example: + result: + address: address + id: id + hardware_filter_id: hardware_filter_id + properties: + result: + $ref: '#/components/schemas/ipamsvcMacAddressItem' + title: CreateMacAddressItemResponse + type: object ipamsvcCreateNextAvailableABResponse: description: The Next Available Address Block object create response format. example: @@ -6721,7 +7595,7 @@ components: ddns_conflict_resolution_mode: ddns_conflict_resolution_mode dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -6734,10 +7608,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -6767,12 +7644,16 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - cidr: 19 + cidr: 77 id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address + federation: federation address: address ddns_client_update: ddns_client_update + federated_realms: + - federated_realms + - federated_realms asm_config: enable_notification: true min_unused: 2 @@ -6784,6 +7665,8 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id + external_keys: "{}" dhcp_options: - option_value: option_value type: type @@ -6797,8 +7680,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -6844,7 +7727,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -6877,12 +7760,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -6892,7 +7775,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -6908,17 +7791,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -6938,12 +7821,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -6981,7 +7864,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -7014,7 +7897,7 @@ components: ddns_conflict_resolution_mode: ddns_conflict_resolution_mode dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -7027,10 +7910,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -7060,12 +7946,16 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - cidr: 19 + cidr: 77 id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address + federation: federation address: address ddns_client_update: ddns_client_update + federated_realms: + - federated_realms + - federated_realms asm_config: enable_notification: true min_unused: 2 @@ -7077,6 +7967,8 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id + external_keys: "{}" dhcp_options: - option_value: option_value type: type @@ -7090,8 +7982,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -7137,7 +8029,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -7170,12 +8062,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -7185,7 +8077,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -7201,17 +8093,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -7231,12 +8123,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -7274,7 +8166,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -7319,7 +8211,9 @@ components: usage: - usage - usage + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 + external_keys: "{}" range: range interface: interface space: space @@ -7329,10 +8223,10 @@ components: hwaddr: hwaddr protocol: protocol names: - - name: example.com - type: FQDN - - name: example.com - type: FQDN + - name: name + type: type + - name: name + type: type updated_at: 2000-01-23T04:56:07.000+00:00 dhcp_info: preferred_lifetime: 2000-01-23T04:56:07.000+00:00 @@ -7357,7 +8251,9 @@ components: usage: - usage - usage + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 + external_keys: "{}" range: range interface: interface space: space @@ -7367,10 +8263,10 @@ components: hwaddr: hwaddr protocol: protocol names: - - name: example.com - type: FQDN - - name: example.com - type: FQDN + - name: name + type: type + - name: name + type: type updated_at: 2000-01-23T04:56:07.000+00:00 dhcp_info: preferred_lifetime: 2000-01-23T04:56:07.000+00:00 @@ -7402,12 +8298,10 @@ components: description: The Next Available Subnet object create response format. example: results: - - hostname_rewrite_regex: hostname_rewrite_regex - parent: parent - ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + - parent: parent dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -7420,23 +8314,60 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false - header_option_filename: header_option_filename ddns_domain: ddns_domain - asm_scope_flag: 0 usage: - usage - usage - created_at: 2000-01-23T04:56:07.000+00:00 threshold: high: 100 low: 10 enabled: true ddns_send_updates: true + space: space + discovery_metadata: "{}" + protocol: protocol + header_option_server_name: header_option_server_name + hostname_rewrite_char: hostname_rewrite_char + ddns_use_conflict_resolution: true + id: id + header_option_server_address: header_option_server_address + asm_config: + enable_notification: true + min_unused: 2 + forecast_period: 6 + asm_threshold: 0 + enable: true + growth_factor: 1 + min_total: 5 + reenable_date: 2000-01-23T04:56:07.000+00:00 + history: 5 + growth_type: percent + external_keys: "{}" + utilization: + total: total + static: static + dynamic: dynamic + utilization: 36 + abandon_utilization: 93 + used: used + abandoned: abandoned + free: free + tags: "{}" + name: name + ddns_update_on_renew: true + hostname_rewrite_regex: hostname_rewrite_regex + ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + header_option_filename: header_option_filename + asm_scope_flag: 0 + created_at: 2000-01-23T04:56:07.000+00:00 utilization_v6: total: total static: static @@ -7452,33 +8383,22 @@ components: host: host display_name: display_name ddns_generate_name: true - space: space - discovery_metadata: "{}" discovery_attrs: "{}" - protocol: protocol - header_option_server_name: header_option_server_name - hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 - ddns_use_conflict_resolution: true - cidr: 19 - id: id + cidr: 77 ddns_ttl_percent: 1.4658129 + config_profiles: + - config_profiles + - config_profiles disable_dhcp: true - rebind_time: 9 - header_option_server_address: header_option_server_address + rebind_time: 2 + federation: federation address: address ddns_client_update: ddns_client_update - asm_config: - enable_notification: true - min_unused: 2 - forecast_period: 6 - asm_threshold: 0 - enable: true - growth_factor: 1 - min_total: 5 - reenable_date: 2000-01-23T04:56:07.000+00:00 - history: 5 - growth_type: percent + federated_realms: + - federated_realms + - federated_realms + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -7488,16 +8408,6 @@ components: type: type option_code: option_code group: group - utilization: - total: total - static: static - dynamic: dynamic - utilization: 41 - abandon_utilization: 20 - used: used - abandoned: abandoned - free: free - tags: "{}" inheritance_sources: ddns_enabled: action: action @@ -7539,7 +8449,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -7572,12 +8482,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -7587,7 +8497,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -7603,17 +8513,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -7633,12 +8543,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -7676,7 +8586,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -7694,11 +8604,9 @@ components: source: source display_name: display_name value: value - renew_time: 3 - name: name + renew_time: 7 comment: comment inheritance_parent: inheritance_parent - ddns_update_on_renew: true dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -7706,12 +8614,10 @@ components: dhcp_total: dhcp_total dhcp_utilization: 59 ddns_generated_prefix: ddns_generated_prefix - - hostname_rewrite_regex: hostname_rewrite_regex - parent: parent - ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + - parent: parent dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -7724,23 +8630,60 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false - header_option_filename: header_option_filename ddns_domain: ddns_domain - asm_scope_flag: 0 usage: - usage - usage - created_at: 2000-01-23T04:56:07.000+00:00 threshold: high: 100 low: 10 enabled: true ddns_send_updates: true + space: space + discovery_metadata: "{}" + protocol: protocol + header_option_server_name: header_option_server_name + hostname_rewrite_char: hostname_rewrite_char + ddns_use_conflict_resolution: true + id: id + header_option_server_address: header_option_server_address + asm_config: + enable_notification: true + min_unused: 2 + forecast_period: 6 + asm_threshold: 0 + enable: true + growth_factor: 1 + min_total: 5 + reenable_date: 2000-01-23T04:56:07.000+00:00 + history: 5 + growth_type: percent + external_keys: "{}" + utilization: + total: total + static: static + dynamic: dynamic + utilization: 36 + abandon_utilization: 93 + used: used + abandoned: abandoned + free: free + tags: "{}" + name: name + ddns_update_on_renew: true + hostname_rewrite_regex: hostname_rewrite_regex + ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + header_option_filename: header_option_filename + asm_scope_flag: 0 + created_at: 2000-01-23T04:56:07.000+00:00 utilization_v6: total: total static: static @@ -7756,33 +8699,22 @@ components: host: host display_name: display_name ddns_generate_name: true - space: space - discovery_metadata: "{}" discovery_attrs: "{}" - protocol: protocol - header_option_server_name: header_option_server_name - hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 - ddns_use_conflict_resolution: true - cidr: 19 - id: id + cidr: 77 ddns_ttl_percent: 1.4658129 + config_profiles: + - config_profiles + - config_profiles disable_dhcp: true - rebind_time: 9 - header_option_server_address: header_option_server_address + rebind_time: 2 + federation: federation address: address ddns_client_update: ddns_client_update - asm_config: - enable_notification: true - min_unused: 2 - forecast_period: 6 - asm_threshold: 0 - enable: true - growth_factor: 1 - min_total: 5 - reenable_date: 2000-01-23T04:56:07.000+00:00 - history: 5 - growth_type: percent + federated_realms: + - federated_realms + - federated_realms + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -7792,16 +8724,6 @@ components: type: type option_code: option_code group: group - utilization: - total: total - static: static - dynamic: dynamic - utilization: 41 - abandon_utilization: 20 - used: used - abandoned: abandoned - free: free - tags: "{}" inheritance_sources: ddns_enabled: action: action @@ -7843,7 +8765,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -7876,12 +8798,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -7891,7 +8813,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -7907,17 +8829,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -7937,12 +8859,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -7980,7 +8902,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -7998,11 +8920,9 @@ components: source: source display_name: display_name value: value - renew_time: 3 - name: name + renew_time: 7 comment: comment inheritance_parent: inheritance_parent - ddns_update_on_renew: true dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -8126,6 +9046,7 @@ components: result: parent: parent start: 10.0.0.0 + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 exclusion_ranges: - start: 10.0.0.0 @@ -8151,8 +9072,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -8203,6 +9124,7 @@ components: group: group overriding_group: overriding_group protocol: protocol + space_name: space_name updated_at: 2000-01-23T04:56:07.000+00:00 name: name comment: comment @@ -8225,7 +9147,7 @@ components: gss_tsig_fallback: true dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -8238,10 +9160,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -8250,13 +9175,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -8267,14 +9192,15 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - kerberos_rekey_interval: 5 + kerberos_rekey_interval: 1 id: id ddns_ttl_percent: 0.8008282 header_option_server_address: header_option_server_address server_principal: server_principal - kerberos_retry_interval: 2 + kerberos_retry_interval: 6 ddns_enabled: true client_principal: client_principal + profile_type: profile_type ddns_client_update: ddns_client_update dhcp_options: - option_value: option_value @@ -8289,20 +9215,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -8319,20 +9245,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -8384,7 +9310,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -8417,12 +9343,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -8432,7 +9358,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -8508,7 +9434,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -8519,7 +9445,7 @@ components: source: source display_name: display_name value: - kerberos_retry_interval: 1 + kerberos_retry_interval: 4 ddns_enabled: true client_principal: client_principal gss_tsig_fallback: true @@ -8528,13 +9454,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -8542,20 +9468,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -8572,20 +9498,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -8601,8 +9527,8 @@ components: view_name: view_name kerberos_kdc: kerberos_kdc kerberos_tkey_protocol: kerberos_tkey_protocol - kerberos_tkey_lifetime: 5 - kerberos_rekey_interval: 6 + kerberos_tkey_lifetime: 7 + kerberos_rekey_interval: 2 server_principal: server_principal header_option_server_address: action: action @@ -8633,12 +9559,10 @@ components: description: The response format to create the __Subnet__ object. example: result: - hostname_rewrite_regex: hostname_rewrite_regex parent: parent - ddns_conflict_resolution_mode: ddns_conflict_resolution_mode dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -8651,23 +9575,60 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false - header_option_filename: header_option_filename ddns_domain: ddns_domain - asm_scope_flag: 0 usage: - usage - usage - created_at: 2000-01-23T04:56:07.000+00:00 threshold: high: 100 low: 10 enabled: true ddns_send_updates: true + space: space + discovery_metadata: "{}" + protocol: protocol + header_option_server_name: header_option_server_name + hostname_rewrite_char: hostname_rewrite_char + ddns_use_conflict_resolution: true + id: id + header_option_server_address: header_option_server_address + asm_config: + enable_notification: true + min_unused: 2 + forecast_period: 6 + asm_threshold: 0 + enable: true + growth_factor: 1 + min_total: 5 + reenable_date: 2000-01-23T04:56:07.000+00:00 + history: 5 + growth_type: percent + external_keys: "{}" + utilization: + total: total + static: static + dynamic: dynamic + utilization: 36 + abandon_utilization: 93 + used: used + abandoned: abandoned + free: free + tags: "{}" + name: name + ddns_update_on_renew: true + hostname_rewrite_regex: hostname_rewrite_regex + ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + header_option_filename: header_option_filename + asm_scope_flag: 0 + created_at: 2000-01-23T04:56:07.000+00:00 utilization_v6: total: total static: static @@ -8683,33 +9644,22 @@ components: host: host display_name: display_name ddns_generate_name: true - space: space - discovery_metadata: "{}" discovery_attrs: "{}" - protocol: protocol - header_option_server_name: header_option_server_name - hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 - ddns_use_conflict_resolution: true - cidr: 19 - id: id + cidr: 77 ddns_ttl_percent: 1.4658129 + config_profiles: + - config_profiles + - config_profiles disable_dhcp: true - rebind_time: 9 - header_option_server_address: header_option_server_address + rebind_time: 2 + federation: federation address: address ddns_client_update: ddns_client_update - asm_config: - enable_notification: true - min_unused: 2 - forecast_period: 6 - asm_threshold: 0 - enable: true - growth_factor: 1 - min_total: 5 - reenable_date: 2000-01-23T04:56:07.000+00:00 - history: 5 - growth_type: percent + federated_realms: + - federated_realms + - federated_realms + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -8719,16 +9669,6 @@ components: type: type option_code: option_code group: group - utilization: - total: total - static: static - dynamic: dynamic - utilization: 41 - abandon_utilization: 20 - used: used - abandoned: abandoned - free: free - tags: "{}" inheritance_sources: ddns_enabled: action: action @@ -8770,7 +9710,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -8803,12 +9743,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -8818,7 +9758,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -8834,17 +9774,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -8864,12 +9804,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -8907,7 +9847,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -8925,11 +9865,9 @@ components: source: source display_name: display_name value: value - renew_time: 3 - name: name + renew_time: 7 comment: comment inheritance_parent: inheritance_parent - ddns_update_on_renew: true dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -8945,7 +9883,7 @@ components: ipamsvcDDNSBlock: description: The dynamic DNS configuration. example: - kerberos_retry_interval: 1 + kerberos_retry_interval: 4 ddns_enabled: true client_principal: client_principal gss_tsig_fallback: true @@ -8954,13 +9892,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -8968,20 +9906,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -8998,20 +9936,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -9027,8 +9965,8 @@ components: view_name: view_name kerberos_kdc: kerberos_kdc kerberos_tkey_protocol: kerberos_tkey_protocol - kerberos_tkey_lifetime: 5 - kerberos_rekey_interval: 6 + kerberos_tkey_lifetime: 7 + kerberos_rekey_interval: 2 server_principal: server_principal properties: client_principal: @@ -9151,20 +10089,20 @@ components: view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -9229,7 +10167,7 @@ components: configuration that controls how leases are issued. example: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -9242,10 +10180,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false properties: abandoned_reclaim_time: @@ -9281,6 +10222,11 @@ components: items: type: string type: array + filters_large_selection: + description: The resource identifier. + items: + type: string + type: array filters_v6: description: The resource identifier. items: @@ -9448,7 +10394,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -9481,12 +10427,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -9496,7 +10442,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -9512,17 +10458,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -9542,12 +10488,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -9585,7 +10531,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -9711,6 +10657,57 @@ components: type: string title: DHCPPacketStats type: object + ipamsvcDHCPServiceInstance: + description: "A DHCP Service (_dhcp/service_) object associates DHCP configuration\ + \ with the DHCP host services. \n\nAutomatically created and destroyed based\ + \ on the hosts known to the platform." + example: + associated_server: + name: name + id: id + ip_space: ip_space + name: name + comment: comment + id: id + associated_hosts: + - ophid: ophid + address: address + name: name + id: id + - ophid: ophid + address: address + name: name + id: id + tags: "{}" + properties: + associated_hosts: + items: + $ref: '#/components/schemas/ipamsvcAssociatedHost' + title: The DHCP Hosts associated with the service + type: array + associated_server: + $ref: '#/components/schemas/ipamsvcHostAssociatedServer' + comment: + description: The comment for the service. + readOnly: true + type: string + id: + description: The resource identifier. + readOnly: true + type: string + ip_space: + description: The resource identifier. + type: string + name: + description: The display name of the service. + readOnly: true + type: string + tags: + additionalProperties: false + description: The tags of the service host in JSON format. + type: object + title: DHCPServiceInstance + type: object ipamsvcDHCPUtilization: description: The __DHCPUtilization__ object represents DHCP utilization statistics for an object. @@ -9832,6 +10829,44 @@ components: type: string title: DNSRecordUsage type: object + ipamsvcDisassociateConfigProfileFromObjectsRequest: + description: DisassociateConfigProfileToObjects disassociates an object to config + profiles. + properties: + config_profile_id: + description: The resource identifier. + type: string + fields: + $ref: '#/components/schemas/protobufFieldMask' + object_ids: + description: The resource identifier. + items: + type: string + type: array + required: + - config_profile_id + - object_ids + title: DisassociateConfigProfileToObjects + type: object + ipamsvcDisassociateObjectFromConfigProfilesRequest: + description: DisassociateObjectToConfigProfiles disassociates an object to config + profiles. + properties: + config_profile_ids: + description: The resource identifier. + items: + type: string + type: array + fields: + $ref: '#/components/schemas/protobufFieldMask' + object_id: + description: The resource identifier. + type: string + required: + - config_profile_ids + - object_id + title: DisassociateObjectToConfigProfiles + type: object ipamsvcExclusionRange: description: The __ExclusionRange__ object represents an exclusion range inside a DHCP range. @@ -9907,6 +10942,7 @@ components: parent: parent address: 192.168.1.10 header_option_filename: header_option_filename + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 dhcp_options: - option_value: option_value @@ -9985,6 +11021,11 @@ components: description: The description for the fixed address. May contain 0 to 1024 characters. Can include UTF-8. type: string + compartment_id: + description: "The compartment associated with the object. If no compartment\ + \ is associated with the object, the value defaults to empty." + readOnly: true + type: string created_at: description: Time when the object has been created. format: date-time @@ -10133,7 +11174,7 @@ components: gss_tsig_fallback: true dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -10146,10 +11187,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -10158,13 +11202,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -10175,7 +11219,7 @@ components: hostname_rewrite_char: hostname_rewrite_char ddns_use_conflict_resolution: true prefer_option_12: true - kerberos_rekey_interval: 6 + kerberos_rekey_interval: 9 id: id ddns_ttl_percent: 7.0614014 dhcp_threshold: @@ -10184,7 +11228,7 @@ components: enabled: true header_option_server_address: header_option_server_address server_principal: server_principal - kerberos_retry_interval: 7 + kerberos_retry_interval: 3 ddns_enabled: true client_principal: client_principal ddns_client_update: ddns_client_update @@ -10212,20 +11256,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -10242,20 +11286,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -10279,7 +11323,7 @@ components: type: type option_code: option_code group: group - kerberos_tkey_lifetime: 1 + kerberos_tkey_lifetime: 2 vendor_specific_option_option_space: vendor_specific_option_option_space ddns_update_on_renew: true ddns_generated_prefix: ddns_generated_prefix @@ -10550,6 +11594,7 @@ components: hosts: - host1 - host2 + status_v6: status_v6 name: Example HA Group created_at: 2000-01-23T04:56:07.000+00:00 comment: comment @@ -10602,6 +11647,10 @@ components: description: Status of the HA group. This field is set when the _collect_stats_ is set to _true_ in the _GET_ _/dhcp/ha_group_ request. type: string + status_v6: + description: Status of the DHCPv6 HA group. This field is set when the _collect_stats_ + is set to _true_ in the _GET_ _/dhcp/ha_group_ request. + type: string tags: additionalProperties: false description: The tags for the HA group. @@ -10626,6 +11675,10 @@ components: description: The timestamp as a string of the last successful heartbeat received from the peer above. type: string + successful_heartbeat_v6: + description: The timestamp as a string of the last successful DHCPv6 heartbeat + received from the peer above. + type: string type: object ipamsvcHAGroupHost: description: An __HAGroupHost__ object (_dhcp/ha_group_host_) represents an @@ -10650,6 +11703,11 @@ components: format: int64 readOnly: true type: integer + port_v6: + description: The HA port used for IPv6 communication. + format: int64 + readOnly: true + type: integer role: description: "The role of this host in the HA relationship: _active_ or\ \ _passive_." @@ -10658,6 +11716,10 @@ components: description: The state of DHCP on the host. This field is set when the _collect_stats_ is set to _true_ in the _GET_ _/dhcp/ha_group_ request. type: string + state_v6: + description: The state of DHCPv6 on the host. This field is set when the + _collect_stats_ is set to _true_ in the _GET_ _/dhcp/ha_group_ request. + type: string required: - host title: HAGroupHost @@ -10889,6 +11951,7 @@ components: hosts: - host1 - host2 + status_v6: status_v6 name: Example HA Group created_at: 2000-01-23T04:56:07.000+00:00 comment: comment @@ -10902,6 +11965,7 @@ components: hosts: - host1 - host2 + status_v6: status_v6 name: Example HA Group created_at: 2000-01-23T04:56:07.000+00:00 comment: comment @@ -10927,12 +11991,10 @@ components: comment: comment id: id subnets: - - hostname_rewrite_regex: hostname_rewrite_regex - parent: parent - ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + - parent: parent dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -10945,23 +12007,60 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false - header_option_filename: header_option_filename ddns_domain: ddns_domain - asm_scope_flag: 0 usage: - usage - usage - created_at: 2000-01-23T04:56:07.000+00:00 threshold: high: 100 low: 10 enabled: true ddns_send_updates: true + space: space + discovery_metadata: "{}" + protocol: protocol + header_option_server_name: header_option_server_name + hostname_rewrite_char: hostname_rewrite_char + ddns_use_conflict_resolution: true + id: id + header_option_server_address: header_option_server_address + asm_config: + enable_notification: true + min_unused: 2 + forecast_period: 6 + asm_threshold: 0 + enable: true + growth_factor: 1 + min_total: 5 + reenable_date: 2000-01-23T04:56:07.000+00:00 + history: 5 + growth_type: percent + external_keys: "{}" + utilization: + total: total + static: static + dynamic: dynamic + utilization: 36 + abandon_utilization: 93 + used: used + abandoned: abandoned + free: free + tags: "{}" + name: name + ddns_update_on_renew: true + hostname_rewrite_regex: hostname_rewrite_regex + ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + header_option_filename: header_option_filename + asm_scope_flag: 0 + created_at: 2000-01-23T04:56:07.000+00:00 utilization_v6: total: total static: static @@ -10977,33 +12076,22 @@ components: host: host display_name: display_name ddns_generate_name: true - space: space - discovery_metadata: "{}" discovery_attrs: "{}" - protocol: protocol - header_option_server_name: header_option_server_name - hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 - ddns_use_conflict_resolution: true - cidr: 19 - id: id + cidr: 77 ddns_ttl_percent: 1.4658129 + config_profiles: + - config_profiles + - config_profiles disable_dhcp: true - rebind_time: 9 - header_option_server_address: header_option_server_address + rebind_time: 2 + federation: federation address: address ddns_client_update: ddns_client_update - asm_config: - enable_notification: true - min_unused: 2 - forecast_period: 6 - asm_threshold: 0 - enable: true - growth_factor: 1 - min_total: 5 - reenable_date: 2000-01-23T04:56:07.000+00:00 - history: 5 - growth_type: percent + federated_realms: + - federated_realms + - federated_realms + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -11013,16 +12101,6 @@ components: type: type option_code: option_code group: group - utilization: - total: total - static: static - dynamic: dynamic - utilization: 41 - abandon_utilization: 20 - used: used - abandoned: abandoned - free: free - tags: "{}" inheritance_sources: ddns_enabled: action: action @@ -11064,7 +12142,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -11097,12 +12175,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -11112,7 +12190,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -11128,17 +12206,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -11158,12 +12236,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -11201,7 +12279,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -11219,11 +12297,9 @@ components: source: source display_name: display_name value: value - renew_time: 3 - name: name + renew_time: 7 comment: comment inheritance_parent: inheritance_parent - ddns_update_on_renew: true dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -11231,12 +12307,10 @@ components: dhcp_total: dhcp_total dhcp_utilization: 59 ddns_generated_prefix: ddns_generated_prefix - - hostname_rewrite_regex: hostname_rewrite_regex - parent: parent - ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + - parent: parent dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -11249,23 +12323,60 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false - header_option_filename: header_option_filename ddns_domain: ddns_domain - asm_scope_flag: 0 usage: - usage - usage - created_at: 2000-01-23T04:56:07.000+00:00 threshold: high: 100 low: 10 enabled: true ddns_send_updates: true + space: space + discovery_metadata: "{}" + protocol: protocol + header_option_server_name: header_option_server_name + hostname_rewrite_char: hostname_rewrite_char + ddns_use_conflict_resolution: true + id: id + header_option_server_address: header_option_server_address + asm_config: + enable_notification: true + min_unused: 2 + forecast_period: 6 + asm_threshold: 0 + enable: true + growth_factor: 1 + min_total: 5 + reenable_date: 2000-01-23T04:56:07.000+00:00 + history: 5 + growth_type: percent + external_keys: "{}" + utilization: + total: total + static: static + dynamic: dynamic + utilization: 36 + abandon_utilization: 93 + used: used + abandoned: abandoned + free: free + tags: "{}" + name: name + ddns_update_on_renew: true + hostname_rewrite_regex: hostname_rewrite_regex + ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + header_option_filename: header_option_filename + asm_scope_flag: 0 + created_at: 2000-01-23T04:56:07.000+00:00 utilization_v6: total: total static: static @@ -11281,33 +12392,22 @@ components: host: host display_name: display_name ddns_generate_name: true - space: space - discovery_metadata: "{}" discovery_attrs: "{}" - protocol: protocol - header_option_server_name: header_option_server_name - hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 - ddns_use_conflict_resolution: true - cidr: 19 - id: id + cidr: 77 ddns_ttl_percent: 1.4658129 + config_profiles: + - config_profiles + - config_profiles disable_dhcp: true - rebind_time: 9 - header_option_server_address: header_option_server_address + rebind_time: 2 + federation: federation address: address ddns_client_update: ddns_client_update - asm_config: - enable_notification: true - min_unused: 2 - forecast_period: 6 - asm_threshold: 0 - enable: true - growth_factor: 1 - min_total: 5 - reenable_date: 2000-01-23T04:56:07.000+00:00 - history: 5 - growth_type: percent + federated_realms: + - federated_realms + - federated_realms + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -11317,16 +12417,6 @@ components: type: type option_code: option_code group: group - utilization: - total: total - static: static - dynamic: dynamic - utilization: 41 - abandon_utilization: 20 - used: used - abandoned: abandoned - free: free - tags: "{}" inheritance_sources: ddns_enabled: action: action @@ -11368,7 +12458,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -11401,12 +12491,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -11416,7 +12506,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -11432,17 +12522,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -11462,12 +12552,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -11505,7 +12595,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -11523,11 +12613,9 @@ components: source: source display_name: display_name value: value - renew_time: 3 - name: name + renew_time: 7 comment: comment inheritance_parent: inheritance_parent - ddns_update_on_renew: true dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -11623,7 +12711,7 @@ components: ddns_conflict_resolution_mode: check_with_dhcid dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -11636,10 +12724,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -11677,6 +12768,7 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -11690,8 +12782,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -11737,7 +12829,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -11770,12 +12862,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -11785,7 +12877,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -11801,17 +12893,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -11831,12 +12923,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -11902,7 +12994,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -11929,6 +13021,9 @@ components: type: type option_code: option_code group: group + default_realms: + - default_realms + - default_realms vendor_specific_option_option_space: vendor_specific_option_option_space name: Example IP Space comment: comment @@ -11947,6 +13042,10 @@ components: description: The description for the IP space. May contain 0 to 1024 characters. Can include UTF-8. type: string + compartment_id: + description: "The compartment associated with the object. If no compartment\ + \ is associated with the object, the value defaults to empty." + type: string created_at: description: Time when the object has been created. format: date-time @@ -12026,7 +13125,6 @@ components: format: boolean type: boolean ddns_use_conflict_resolution: - default: true description: |- When true, DHCP server will apply conflict resolution, as described in RFC 4703, when attempting to fulfill the update request. @@ -12035,6 +13133,11 @@ components: Defaults to _true_. format: boolean type: boolean + default_realms: + description: Reserved for future use. + items: + type: string + type: array dhcp_config: $ref: '#/components/schemas/ipamsvcDHCPConfig' dhcp_options: @@ -12164,7 +13267,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -12197,12 +13300,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -12212,7 +13315,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -12228,17 +13331,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -12258,12 +13361,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -12329,7 +13432,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -12415,17 +13518,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -12445,12 +13548,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 properties: asm_enable_block: $ref: '#/components/schemas/ipamsvcInheritedAsmEnableBlock' @@ -12543,7 +13646,7 @@ components: source: source display_name: display_name value: - kerberos_retry_interval: 1 + kerberos_retry_interval: 4 ddns_enabled: true client_principal: client_principal gss_tsig_fallback: true @@ -12552,13 +13655,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -12566,20 +13669,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -12596,20 +13699,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -12625,8 +13728,8 @@ components: view_name: view_name kerberos_kdc: kerberos_kdc kerberos_tkey_protocol: kerberos_tkey_protocol - kerberos_tkey_lifetime: 5 - kerberos_rekey_interval: 6 + kerberos_tkey_lifetime: 7 + kerberos_rekey_interval: 2 server_principal: server_principal properties: action: @@ -12730,7 +13833,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -12763,12 +13866,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -12778,7 +13881,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -13032,7 +14135,7 @@ components: principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm properties: @@ -13199,7 +14302,7 @@ components: ddns_conflict_resolution_mode: ddns_conflict_resolution_mode dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -13212,10 +14315,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -13245,12 +14351,16 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - cidr: 19 + cidr: 77 id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address + federation: federation address: address ddns_client_update: ddns_client_update + federated_realms: + - federated_realms + - federated_realms asm_config: enable_notification: true min_unused: 2 @@ -13262,6 +14372,8 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id + external_keys: "{}" dhcp_options: - option_value: option_value type: type @@ -13275,8 +14387,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -13322,7 +14434,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -13355,12 +14467,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -13370,7 +14482,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -13386,17 +14498,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -13416,12 +14528,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -13459,7 +14571,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -13492,7 +14604,7 @@ components: ddns_conflict_resolution_mode: ddns_conflict_resolution_mode dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -13505,10 +14617,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -13538,12 +14653,16 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - cidr: 19 + cidr: 77 id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address + federation: federation address: address ddns_client_update: ddns_client_update + federated_realms: + - federated_realms + - federated_realms asm_config: enable_notification: true min_unused: 2 @@ -13555,6 +14674,8 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id + external_keys: "{}" dhcp_options: - option_value: option_value type: type @@ -13568,8 +14689,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -13615,7 +14736,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -13648,12 +14769,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -13663,7 +14784,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -13679,17 +14800,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -13702,19 +14823,882 @@ components: action: action source: source display_name: display_name - value: - growth_factor: 5 - growth_type: growth_type - min_total: + value: + growth_factor: 5 + growth_type: growth_type + min_total: + action: action + source: source + display_name: display_name + value: 1 + history: + action: action + source: source + display_name: display_name + value: 1 + dhcp_options: + action: action + value: + - action: action + source: source + display_name: display_name + value: + option: + option_value: option_value + type: type + option_code: option_code + group: group + overriding_group: overriding_group + - action: action + source: source + display_name: display_name + value: + option: + option_value: option_value + type: type + option_code: option_code + group: group + overriding_group: overriding_group + header_option_server_name: + action: action + source: source + display_name: display_name + value: value + ddns_use_conflict_resolution: + action: action + source: source + display_name: display_name + value: true + ddns_ttl_percent: + action: action + source: source + display_name: display_name + value: 1.2315135 + ddns_update_on_renew: + action: action + source: source + display_name: display_name + value: true + ddns_update_block: + action: action + source: source + display_name: display_name + value: + ddns_domain: ddns_domain + ddns_send_updates: true + header_option_server_address: + action: action + source: source + display_name: display_name + value: value + name: name + comment: comment + inheritance_parent: inheritance_parent + ddns_update_on_renew: true + dhcp_utilization: + dhcp_free: dhcp_free + dhcp_used: dhcp_used + dhcp_total: dhcp_total + dhcp_utilization: 59 + ddns_generated_prefix: ddns_generated_prefix + properties: + results: + description: A list of AddressBlock objects. + items: + $ref: '#/components/schemas/ipamsvcAddressBlock' + type: array + title: ListAddressBlockResponse + type: object + ipamsvcListAddressResponse: + description: The response format to retrieve __Address__ objects. + example: + results: + - parent: parent + address: 10.0.0.0 + usage: + - usage + - usage + compartment_id: compartment_id + created_at: 2000-01-23T04:56:07.000+00:00 + external_keys: "{}" + range: range + interface: interface + space: space + tags: "{}" + discovery_metadata: "{}" + discovery_attrs: "{}" + hwaddr: hwaddr + protocol: protocol + names: + - name: name + type: type + - name: name + type: type + updated_at: 2000-01-23T04:56:07.000+00:00 + dhcp_info: + preferred_lifetime: 2000-01-23T04:56:07.000+00:00 + client_hwaddr: client_hwaddr + iaid: 0 + client_hostname: client_hostname + remain: 6 + fingerprint: fingerprint + start: 2000-01-23T04:56:07.000+00:00 + end: 2000-01-23T04:56:07.000+00:00 + lease_type: lease_type + state: state + client_id: client_id + state_ts: 2000-01-23T04:56:07.000+00:00 + host: host + comment: comment + id: id + state: state + disable_dhcp: true + - parent: parent + address: 10.0.0.0 + usage: + - usage + - usage + compartment_id: compartment_id + created_at: 2000-01-23T04:56:07.000+00:00 + external_keys: "{}" + range: range + interface: interface + space: space + tags: "{}" + discovery_metadata: "{}" + discovery_attrs: "{}" + hwaddr: hwaddr + protocol: protocol + names: + - name: name + type: type + - name: name + type: type + updated_at: 2000-01-23T04:56:07.000+00:00 + dhcp_info: + preferred_lifetime: 2000-01-23T04:56:07.000+00:00 + client_hwaddr: client_hwaddr + iaid: 0 + client_hostname: client_hostname + remain: 6 + fingerprint: fingerprint + start: 2000-01-23T04:56:07.000+00:00 + end: 2000-01-23T04:56:07.000+00:00 + lease_type: lease_type + state: state + client_id: client_id + state_ts: 2000-01-23T04:56:07.000+00:00 + host: host + comment: comment + id: id + state: state + disable_dhcp: true + properties: + results: + description: The list of Address objects. + items: + $ref: '#/components/schemas/ipamsvcAddress' + type: array + title: ListAddressResponse + type: object + ipamsvcListAncestorResponse: + description: The response format to retrieve the __AddressBlock__ objects that + are ancestors of the __AddressBlock__ or __subnet__ object. + example: + results: + - parent: parent + address: address + federated_realms: + - federated_realms + - federated_realms + cidr: 11 + id: id + space: space + - parent: parent + address: address + federated_realms: + - federated_realms + - federated_realms + cidr: 11 + id: id + space: space + properties: + results: + description: The list of the ancestors of the CidrBlock. + items: + $ref: '#/components/schemas/ipamsvcCidrBlock' + type: array + title: 'ListAncestorResponse ' + type: object + ipamsvcListCPSubnetResponse: + description: The response format to retrieve subnets associated with config + profile. + example: + results: + - parent: parent + protocol: protocol + address: address + ip_space_ref: ip_space_ref + name: name + ip_space_name: ip_space_name + cidr: 0 + comment: comment + id: id + - parent: parent + protocol: protocol + address: address + ip_space_ref: ip_space_ref + name: name + ip_space_name: ip_space_name + cidr: 0 + comment: comment + id: id + properties: + results: + items: + $ref: '#/components/schemas/ipamsvcCPSubnet' + type: array + title: ListCPSubnetResponse + type: object + ipamsvcListConfigProfileResponse: + description: The response format to retrieve config profiles. + example: + results: + - hostname_rewrite_regex: hostname_rewrite_regex + ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + gss_tsig_fallback: true + dhcp_config: + echo_client_id: false + lease_time: 7 + filters_v6: + - filters_v6 + - filters_v6 + ignore_list: + - type: client_hex + value: 01:23:45:67:89:AB + - type: client_hex + value: 01:23:45:67:89:AB + allow_unknown: true + filters: + - filters + - filters + lease_time_v6: 9 + abandoned_reclaim_time: 5 + allow_unknown_v6: true + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 + ignore_client_uid: false + header_option_filename: header_option_filename + ddns_domain: ddns_domain + created_at: 2000-01-23T04:56:07.000+00:00 + kerberos_keys: + - principal: principal + uploaded_at: uploaded_at + domain: domain + version: 3 + key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 + algorithm: algorithm + - principal: principal + uploaded_at: uploaded_at + domain: domain + version: 3 + key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 + algorithm: algorithm + ddns_send_updates: true + hostname_rewrite_enabled: true + ddns_generate_name: true + kerberos_tkey_protocol: kerberos_tkey_protocol + header_option_server_name: header_option_server_name + hostname_rewrite_char: hostname_rewrite_char + updated_at: 2000-01-23T04:56:07.000+00:00 + ddns_use_conflict_resolution: true + kerberos_rekey_interval: 1 + id: id + ddns_ttl_percent: 0.8008282 + header_option_server_address: header_option_server_address + server_principal: server_principal + kerberos_retry_interval: 6 + ddns_enabled: true + client_principal: client_principal + profile_type: profile_type + ddns_client_update: ddns_client_update + dhcp_options: + - option_value: option_value + type: type + option_code: option_code + group: group + - option_value: option_value + type: type + option_code: option_code + group: group + ddns_zones: + - view: view + gss_tsig_enabled: true + nameservers: + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + fqdn: fqdn + zone: dns/auth_zone/16d9158d-d0d7-48e1-9a55-087e7aa419d4 + tsig_key: + name: name + comment: comment + secret: secret + key: MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTA= + algorithm: algorithm + protocol_name: protocol_name + tsig_enabled: true + view_name: view_name + - view: view + gss_tsig_enabled: true + nameservers: + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + fqdn: fqdn + zone: dns/auth_zone/16d9158d-d0d7-48e1-9a55-087e7aa419d4 + tsig_key: + name: name + comment: comment + secret: secret + key: MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTA= + algorithm: algorithm + protocol_name: protocol_name + tsig_enabled: true + view_name: view_name + kerberos_kdc: kerberos_kdc + tags: "{}" + inheritance_sources: + ddns_hostname_block: + action: action + source: source + display_name: display_name + value: + ddns_generate_name: true + ddns_generated_prefix: ddns_generated_prefix + ddns_client_update: + action: action + source: source + display_name: display_name + value: value + ddns_conflict_resolution_mode: + action: action + source: source + display_name: display_name + value: value + hostname_rewrite_block: + action: action + source: source + display_name: display_name + value: + hostname_rewrite_regex: hostname_rewrite_regex + hostname_rewrite_char: hostname_rewrite_char + hostname_rewrite_enabled: true + dhcp_config: + echo_client_id: + action: action + source: source + display_name: display_name + value: true + lease_time: + action: action + source: source + display_name: display_name + value: 1 + filters_v6: + action: action + source: source + display_name: display_name + value: + - value + - value + ignore_list: + action: action + source: source + display_name: display_name + value: + - type: client_hex + value: 01:23:45:67:89:AB + - type: client_hex + value: 01:23:45:67:89:AB + allow_unknown: + action: action + source: source + display_name: display_name + value: true + filters: + action: action + source: source + display_name: display_name + value: + - value + - value + lease_time_v6: + action: action + source: source + display_name: display_name + value: 1 + abandoned_reclaim_time: + action: action + source: source + display_name: display_name + value: 1 + allow_unknown_v6: + action: action + source: source + display_name: display_name + value: true + abandoned_reclaim_time_v6: + action: action + source: source + display_name: display_name + value: 1 + ignore_client_uid: + action: action + source: source + display_name: display_name + value: true + header_option_filename: + action: action + source: source + display_name: display_name + value: value + dhcp_options: + action: action + value: + - action: action + source: source + display_name: display_name + value: + option: + option_value: option_value + type: type + option_code: option_code + group: group + overriding_group: overriding_group + - action: action + source: source + display_name: display_name + value: + option: + option_value: option_value + type: type + option_code: option_code + group: group + overriding_group: overriding_group + dhcp_options_v6: + action: action + value: + - action: action + source: source + display_name: display_name + value: + option: + option_value: option_value + type: type + option_code: option_code + group: group + overriding_group: overriding_group + - action: action + source: source + display_name: display_name + value: + option: + option_value: option_value + type: type + option_code: option_code + group: group + overriding_group: overriding_group + header_option_server_name: + action: action + source: source + display_name: display_name + value: value + ddns_use_conflict_resolution: + action: action + source: source + display_name: display_name + value: true + vendor_specific_option_option_space: + action: action + source: source + display_name: display_name + value: value + ddns_ttl_percent: + action: action + source: source + display_name: display_name + value: 1.2315135 + ddns_update_on_renew: + action: action + source: source + display_name: display_name + value: true + ddns_block: + action: action + source: source + display_name: display_name + value: + kerberos_retry_interval: 4 + ddns_enabled: true + client_principal: client_principal + gss_tsig_fallback: true + ddns_domain: ddns_domain + kerberos_keys: + - principal: principal + uploaded_at: uploaded_at + domain: domain + version: 3 + key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 + algorithm: algorithm + - principal: principal + uploaded_at: uploaded_at + domain: domain + version: 3 + key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 + algorithm: algorithm + ddns_send_updates: true + ddns_zones: + - view: view + gss_tsig_enabled: true + nameservers: + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + fqdn: fqdn + zone: dns/auth_zone/16d9158d-d0d7-48e1-9a55-087e7aa419d4 + tsig_key: + name: name + comment: comment + secret: secret + key: MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTA= + algorithm: algorithm + protocol_name: protocol_name + tsig_enabled: true + view_name: view_name + - view: view + gss_tsig_enabled: true + nameservers: + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + fqdn: fqdn + zone: dns/auth_zone/16d9158d-d0d7-48e1-9a55-087e7aa419d4 + tsig_key: + name: name + comment: comment + secret: secret + key: MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTA= + algorithm: algorithm + protocol_name: protocol_name + tsig_enabled: true + view_name: view_name + kerberos_kdc: kerberos_kdc + kerberos_tkey_protocol: kerberos_tkey_protocol + kerberos_tkey_lifetime: 7 + kerberos_rekey_interval: 2 + server_principal: server_principal + header_option_server_address: + action: action + source: source + display_name: display_name + value: value + dhcp_options_v6: + - option_value: option_value + type: type + option_code: option_code + group: group + - option_value: option_value + type: type + option_code: option_code + group: group + kerberos_tkey_lifetime: 7 + vendor_specific_option_option_space: vendor_specific_option_option_space + name: Example DHCP Config Profile + comment: comment + ddns_update_on_renew: true + ddns_generated_prefix: ddns_generated_prefix + - hostname_rewrite_regex: hostname_rewrite_regex + ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + gss_tsig_fallback: true + dhcp_config: + echo_client_id: false + lease_time: 7 + filters_v6: + - filters_v6 + - filters_v6 + ignore_list: + - type: client_hex + value: 01:23:45:67:89:AB + - type: client_hex + value: 01:23:45:67:89:AB + allow_unknown: true + filters: + - filters + - filters + lease_time_v6: 9 + abandoned_reclaim_time: 5 + allow_unknown_v6: true + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 + ignore_client_uid: false + header_option_filename: header_option_filename + ddns_domain: ddns_domain + created_at: 2000-01-23T04:56:07.000+00:00 + kerberos_keys: + - principal: principal + uploaded_at: uploaded_at + domain: domain + version: 3 + key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 + algorithm: algorithm + - principal: principal + uploaded_at: uploaded_at + domain: domain + version: 3 + key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 + algorithm: algorithm + ddns_send_updates: true + hostname_rewrite_enabled: true + ddns_generate_name: true + kerberos_tkey_protocol: kerberos_tkey_protocol + header_option_server_name: header_option_server_name + hostname_rewrite_char: hostname_rewrite_char + updated_at: 2000-01-23T04:56:07.000+00:00 + ddns_use_conflict_resolution: true + kerberos_rekey_interval: 1 + id: id + ddns_ttl_percent: 0.8008282 + header_option_server_address: header_option_server_address + server_principal: server_principal + kerberos_retry_interval: 6 + ddns_enabled: true + client_principal: client_principal + profile_type: profile_type + ddns_client_update: ddns_client_update + dhcp_options: + - option_value: option_value + type: type + option_code: option_code + group: group + - option_value: option_value + type: type + option_code: option_code + group: group + ddns_zones: + - view: view + gss_tsig_enabled: true + nameservers: + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + fqdn: fqdn + zone: dns/auth_zone/16d9158d-d0d7-48e1-9a55-087e7aa419d4 + tsig_key: + name: name + comment: comment + secret: secret + key: MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTA= + algorithm: algorithm + protocol_name: protocol_name + tsig_enabled: true + view_name: view_name + - view: view + gss_tsig_enabled: true + nameservers: + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + fqdn: fqdn + zone: dns/auth_zone/16d9158d-d0d7-48e1-9a55-087e7aa419d4 + tsig_key: + name: name + comment: comment + secret: secret + key: MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTA= + algorithm: algorithm + protocol_name: protocol_name + tsig_enabled: true + view_name: view_name + kerberos_kdc: kerberos_kdc + tags: "{}" + inheritance_sources: + ddns_hostname_block: + action: action + source: source + display_name: display_name + value: + ddns_generate_name: true + ddns_generated_prefix: ddns_generated_prefix + ddns_client_update: + action: action + source: source + display_name: display_name + value: value + ddns_conflict_resolution_mode: + action: action + source: source + display_name: display_name + value: value + hostname_rewrite_block: + action: action + source: source + display_name: display_name + value: + hostname_rewrite_regex: hostname_rewrite_regex + hostname_rewrite_char: hostname_rewrite_char + hostname_rewrite_enabled: true + dhcp_config: + echo_client_id: + action: action + source: source + display_name: display_name + value: true + lease_time: + action: action + source: source + display_name: display_name + value: 1 + filters_v6: + action: action + source: source + display_name: display_name + value: + - value + - value + ignore_list: + action: action + source: source + display_name: display_name + value: + - type: client_hex + value: 01:23:45:67:89:AB + - type: client_hex + value: 01:23:45:67:89:AB + allow_unknown: + action: action + source: source + display_name: display_name + value: true + filters: + action: action + source: source + display_name: display_name + value: + - value + - value + lease_time_v6: + action: action + source: source + display_name: display_name + value: 1 + abandoned_reclaim_time: + action: action + source: source + display_name: display_name + value: 1 + allow_unknown_v6: + action: action + source: source + display_name: display_name + value: true + abandoned_reclaim_time_v6: action: action source: source display_name: display_name - value: 2 - history: + value: 1 + ignore_client_uid: action: action source: source display_name: display_name - value: 2 + value: true + header_option_filename: + action: action + source: source + display_name: display_name + value: value dhcp_options: action: action value: @@ -13738,6 +15722,29 @@ components: option_code: option_code group: group overriding_group: overriding_group + dhcp_options_v6: + action: action + value: + - action: action + source: source + display_name: display_name + value: + option: + option_value: option_value + type: type + option_code: option_code + group: group + overriding_group: overriding_group + - action: action + source: source + display_name: display_name + value: + option: + option_value: option_value + type: type + option_code: option_code + group: group + overriding_group: overriding_group header_option_server_name: action: action source: source @@ -13748,133 +15755,184 @@ components: source: source display_name: display_name value: true + vendor_specific_option_option_space: + action: action + source: source + display_name: display_name + value: value ddns_ttl_percent: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source display_name: display_name value: true - ddns_update_block: + ddns_block: action: action source: source display_name: display_name value: + kerberos_retry_interval: 4 + ddns_enabled: true + client_principal: client_principal + gss_tsig_fallback: true ddns_domain: ddns_domain + kerberos_keys: + - principal: principal + uploaded_at: uploaded_at + domain: domain + version: 3 + key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 + algorithm: algorithm + - principal: principal + uploaded_at: uploaded_at + domain: domain + version: 3 + key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 + algorithm: algorithm ddns_send_updates: true + ddns_zones: + - view: view + gss_tsig_enabled: true + nameservers: + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + fqdn: fqdn + zone: dns/auth_zone/16d9158d-d0d7-48e1-9a55-087e7aa419d4 + tsig_key: + name: name + comment: comment + secret: secret + key: MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTA= + algorithm: algorithm + protocol_name: protocol_name + tsig_enabled: true + view_name: view_name + - view: view + gss_tsig_enabled: true + nameservers: + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + - kerberos_retry_interval: 1 + kerberos_tkey_protocol: kerberos_tkey_protocol + client_principal: client_principal + gss_tsig_fallback: true + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 + nameserver: nameserver + server_principal: server_principal + fqdn: fqdn + zone: dns/auth_zone/16d9158d-d0d7-48e1-9a55-087e7aa419d4 + tsig_key: + name: name + comment: comment + secret: secret + key: MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTA= + algorithm: algorithm + protocol_name: protocol_name + tsig_enabled: true + view_name: view_name + kerberos_kdc: kerberos_kdc + kerberos_tkey_protocol: kerberos_tkey_protocol + kerberos_tkey_lifetime: 7 + kerberos_rekey_interval: 2 + server_principal: server_principal header_option_server_address: action: action source: source display_name: display_name value: value - name: name + dhcp_options_v6: + - option_value: option_value + type: type + option_code: option_code + group: group + - option_value: option_value + type: type + option_code: option_code + group: group + kerberos_tkey_lifetime: 7 + vendor_specific_option_option_space: vendor_specific_option_option_space + name: Example DHCP Config Profile comment: comment - inheritance_parent: inheritance_parent ddns_update_on_renew: true - dhcp_utilization: - dhcp_free: dhcp_free - dhcp_used: dhcp_used - dhcp_total: dhcp_total - dhcp_utilization: 59 ddns_generated_prefix: ddns_generated_prefix properties: results: - description: A list of AddressBlock objects. + description: Contains result-set depending on the type. items: - $ref: '#/components/schemas/ipamsvcAddressBlock' + $ref: '#/components/schemas/ipamsvcServer' type: array - title: ListAddressBlockResponse + title: ListConfigProfileResponse type: object - ipamsvcListAddressResponse: - description: The response format to retrieve __Address__ objects. + ipamsvcListDHCPServiceInstanceResponse: + description: The response format to retrieve DHCP __Service__ objects. example: results: - - parent: parent - address: 10.0.0.0 - usage: - - usage - - usage - created_at: 2000-01-23T04:56:07.000+00:00 - range: range - interface: interface - space: space - tags: "{}" - discovery_metadata: "{}" - discovery_attrs: "{}" - hwaddr: hwaddr - protocol: protocol - names: - - name: example.com - type: FQDN - - name: example.com - type: FQDN - updated_at: 2000-01-23T04:56:07.000+00:00 - dhcp_info: - preferred_lifetime: 2000-01-23T04:56:07.000+00:00 - client_hwaddr: client_hwaddr - iaid: 0 - client_hostname: client_hostname - remain: 6 - fingerprint: fingerprint - start: 2000-01-23T04:56:07.000+00:00 - end: 2000-01-23T04:56:07.000+00:00 - lease_type: lease_type - state: state - client_id: client_id - state_ts: 2000-01-23T04:56:07.000+00:00 - host: host + - associated_server: + name: name + id: id + ip_space: ip_space + name: name comment: comment id: id - state: state - disable_dhcp: true - - parent: parent - address: 10.0.0.0 - usage: - - usage - - usage - created_at: 2000-01-23T04:56:07.000+00:00 - range: range - interface: interface - space: space + associated_hosts: + - ophid: ophid + address: address + name: name + id: id + - ophid: ophid + address: address + name: name + id: id tags: "{}" - discovery_metadata: "{}" - discovery_attrs: "{}" - hwaddr: hwaddr - protocol: protocol - names: - - name: example.com - type: FQDN - - name: example.com - type: FQDN - updated_at: 2000-01-23T04:56:07.000+00:00 - dhcp_info: - preferred_lifetime: 2000-01-23T04:56:07.000+00:00 - client_hwaddr: client_hwaddr - iaid: 0 - client_hostname: client_hostname - remain: 6 - fingerprint: fingerprint - start: 2000-01-23T04:56:07.000+00:00 - end: 2000-01-23T04:56:07.000+00:00 - lease_type: lease_type - state: state - client_id: client_id - state_ts: 2000-01-23T04:56:07.000+00:00 - host: host + - associated_server: + name: name + id: id + ip_space: ip_space + name: name comment: comment id: id - state: state - disable_dhcp: true + associated_hosts: + - ophid: ophid + address: address + name: name + id: id + - ophid: ophid + address: address + name: name + id: id + tags: "{}" properties: results: - description: The list of Address objects. + description: The list of DHCP Service objects. items: - $ref: '#/components/schemas/ipamsvcAddress' + $ref: '#/components/schemas/ipamsvcDHCPServiceInstance' type: array - title: ListAddressResponse + title: ListDHCPServiceResponse type: object ipamsvcListDNSUsageResponse: description: The response format to retrieve __DNSUsage__ objects. @@ -13941,6 +15999,7 @@ components: - parent: parent address: 192.168.1.10 header_option_filename: header_option_filename + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 dhcp_options: - option_value: option_value @@ -14013,6 +16072,7 @@ components: - parent: parent address: 192.168.1.10 header_option_filename: header_option_filename + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 dhcp_options: - option_value: option_value @@ -14101,6 +16161,7 @@ components: hosts: - host1 - host2 + status_v6: status_v6 name: Example HA Group created_at: 2000-01-23T04:56:07.000+00:00 comment: comment @@ -14114,6 +16175,7 @@ components: hosts: - host1 - host2 + status_v6: status_v6 name: Example HA Group created_at: 2000-01-23T04:56:07.000+00:00 comment: comment @@ -14242,7 +16304,7 @@ components: ddns_conflict_resolution_mode: check_with_dhcid dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -14255,10 +16317,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -14296,6 +16361,7 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -14309,8 +16375,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -14356,7 +16422,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -14389,12 +16455,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -14404,7 +16470,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -14420,17 +16486,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -14450,12 +16516,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -14521,7 +16587,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -14548,6 +16614,9 @@ components: type: type option_code: option_code group: group + default_realms: + - default_realms + - default_realms vendor_specific_option_option_space: vendor_specific_option_option_space name: Example IP Space comment: comment @@ -14557,7 +16626,7 @@ components: ddns_conflict_resolution_mode: check_with_dhcid dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -14570,10 +16639,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -14611,6 +16683,7 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -14624,8 +16697,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -14671,7 +16744,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -14704,12 +16777,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -14719,7 +16792,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -14735,17 +16808,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -14765,12 +16838,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -14836,7 +16909,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -14863,6 +16936,9 @@ components: type: type option_code: option_code group: group + default_realms: + - default_realms + - default_realms vendor_specific_option_option_space: vendor_specific_option_option_space name: Example IP Space comment: comment @@ -14934,6 +17010,24 @@ components: type: array title: ListIpamHostResponse type: object + ipamsvcListMacAddressItemResponse: + description: The response format to retrieve __MacAddressItem__ objects. + example: + results: + - address: address + id: id + hardware_filter_id: hardware_filter_id + - address: address + id: id + hardware_filter_id: hardware_filter_id + properties: + results: + description: The list of __MacAddressItem__ objects. + items: + $ref: '#/components/schemas/ipamsvcMacAddressItem' + type: array + title: ListMacAddressItemResponse + type: object ipamsvcListOptionCodeResponse: description: The response format to retrieve __OptionCode__ objects. example: @@ -15120,6 +17214,7 @@ components: results: - parent: parent start: 10.0.0.0 + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 exclusion_ranges: - start: 10.0.0.0 @@ -15145,8 +17240,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -15197,6 +17292,7 @@ components: group: group overriding_group: overriding_group protocol: protocol + space_name: space_name updated_at: 2000-01-23T04:56:07.000+00:00 name: name comment: comment @@ -15207,6 +17303,7 @@ components: dhcp_host: dhcp_host - parent: parent start: 10.0.0.0 + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 exclusion_ranges: - start: 10.0.0.0 @@ -15232,8 +17329,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -15284,6 +17381,7 @@ components: group: group overriding_group: overriding_group protocol: protocol + space_name: space_name updated_at: 2000-01-23T04:56:07.000+00:00 name: name comment: comment @@ -15309,7 +17407,7 @@ components: gss_tsig_fallback: true dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -15322,10 +17420,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -15334,13 +17435,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -15351,14 +17452,15 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - kerberos_rekey_interval: 5 + kerberos_rekey_interval: 1 id: id ddns_ttl_percent: 0.8008282 header_option_server_address: header_option_server_address server_principal: server_principal - kerberos_retry_interval: 2 + kerberos_retry_interval: 6 ddns_enabled: true client_principal: client_principal + profile_type: profile_type ddns_client_update: ddns_client_update dhcp_options: - option_value: option_value @@ -15373,20 +17475,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -15403,20 +17505,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -15468,7 +17570,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -15501,12 +17603,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -15516,7 +17618,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -15592,7 +17694,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -15603,7 +17705,7 @@ components: source: source display_name: display_name value: - kerberos_retry_interval: 1 + kerberos_retry_interval: 4 ddns_enabled: true client_principal: client_principal gss_tsig_fallback: true @@ -15612,13 +17714,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -15626,20 +17728,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -15656,20 +17758,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -15685,8 +17787,8 @@ components: view_name: view_name kerberos_kdc: kerberos_kdc kerberos_tkey_protocol: kerberos_tkey_protocol - kerberos_tkey_lifetime: 5 - kerberos_rekey_interval: 6 + kerberos_tkey_lifetime: 7 + kerberos_rekey_interval: 2 server_principal: server_principal header_option_server_address: action: action @@ -15713,7 +17815,7 @@ components: gss_tsig_fallback: true dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -15726,10 +17828,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -15738,13 +17843,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -15755,14 +17860,15 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - kerberos_rekey_interval: 5 + kerberos_rekey_interval: 1 id: id ddns_ttl_percent: 0.8008282 header_option_server_address: header_option_server_address server_principal: server_principal - kerberos_retry_interval: 2 + kerberos_retry_interval: 6 ddns_enabled: true client_principal: client_principal + profile_type: profile_type ddns_client_update: ddns_client_update dhcp_options: - option_value: option_value @@ -15777,20 +17883,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -15807,20 +17913,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -15872,7 +17978,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -15905,12 +18011,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -15920,7 +18026,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -15996,7 +18102,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -16007,7 +18113,7 @@ components: source: source display_name: display_name value: - kerberos_retry_interval: 1 + kerberos_retry_interval: 4 ddns_enabled: true client_principal: client_principal gss_tsig_fallback: true @@ -16016,13 +18122,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -16030,20 +18136,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -16060,20 +18166,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -16089,8 +18195,8 @@ components: view_name: view_name kerberos_kdc: kerberos_kdc kerberos_tkey_protocol: kerberos_tkey_protocol - kerberos_tkey_lifetime: 5 - kerberos_rekey_interval: 6 + kerberos_tkey_lifetime: 7 + kerberos_rekey_interval: 2 server_principal: server_principal header_option_server_address: action: action @@ -16124,12 +18230,10 @@ components: description: The response format to retrieve __Subnet__ objects. example: results: - - hostname_rewrite_regex: hostname_rewrite_regex - parent: parent - ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + - parent: parent dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -16142,23 +18246,60 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false - header_option_filename: header_option_filename ddns_domain: ddns_domain - asm_scope_flag: 0 usage: - usage - usage - created_at: 2000-01-23T04:56:07.000+00:00 threshold: high: 100 low: 10 enabled: true ddns_send_updates: true + space: space + discovery_metadata: "{}" + protocol: protocol + header_option_server_name: header_option_server_name + hostname_rewrite_char: hostname_rewrite_char + ddns_use_conflict_resolution: true + id: id + header_option_server_address: header_option_server_address + asm_config: + enable_notification: true + min_unused: 2 + forecast_period: 6 + asm_threshold: 0 + enable: true + growth_factor: 1 + min_total: 5 + reenable_date: 2000-01-23T04:56:07.000+00:00 + history: 5 + growth_type: percent + external_keys: "{}" + utilization: + total: total + static: static + dynamic: dynamic + utilization: 36 + abandon_utilization: 93 + used: used + abandoned: abandoned + free: free + tags: "{}" + name: name + ddns_update_on_renew: true + hostname_rewrite_regex: hostname_rewrite_regex + ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + header_option_filename: header_option_filename + asm_scope_flag: 0 + created_at: 2000-01-23T04:56:07.000+00:00 utilization_v6: total: total static: static @@ -16174,33 +18315,22 @@ components: host: host display_name: display_name ddns_generate_name: true - space: space - discovery_metadata: "{}" discovery_attrs: "{}" - protocol: protocol - header_option_server_name: header_option_server_name - hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 - ddns_use_conflict_resolution: true - cidr: 19 - id: id + cidr: 77 ddns_ttl_percent: 1.4658129 + config_profiles: + - config_profiles + - config_profiles disable_dhcp: true - rebind_time: 9 - header_option_server_address: header_option_server_address + rebind_time: 2 + federation: federation address: address ddns_client_update: ddns_client_update - asm_config: - enable_notification: true - min_unused: 2 - forecast_period: 6 - asm_threshold: 0 - enable: true - growth_factor: 1 - min_total: 5 - reenable_date: 2000-01-23T04:56:07.000+00:00 - history: 5 - growth_type: percent + federated_realms: + - federated_realms + - federated_realms + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -16210,16 +18340,6 @@ components: type: type option_code: option_code group: group - utilization: - total: total - static: static - dynamic: dynamic - utilization: 41 - abandon_utilization: 20 - used: used - abandoned: abandoned - free: free - tags: "{}" inheritance_sources: ddns_enabled: action: action @@ -16261,7 +18381,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -16294,12 +18414,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -16309,7 +18429,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -16325,17 +18445,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -16355,12 +18475,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -16398,7 +18518,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -16416,11 +18536,9 @@ components: source: source display_name: display_name value: value - renew_time: 3 - name: name + renew_time: 7 comment: comment inheritance_parent: inheritance_parent - ddns_update_on_renew: true dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -16428,12 +18546,10 @@ components: dhcp_total: dhcp_total dhcp_utilization: 59 ddns_generated_prefix: ddns_generated_prefix - - hostname_rewrite_regex: hostname_rewrite_regex - parent: parent - ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + - parent: parent dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -16446,23 +18562,60 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false - header_option_filename: header_option_filename ddns_domain: ddns_domain - asm_scope_flag: 0 usage: - usage - usage - created_at: 2000-01-23T04:56:07.000+00:00 threshold: high: 100 low: 10 enabled: true ddns_send_updates: true + space: space + discovery_metadata: "{}" + protocol: protocol + header_option_server_name: header_option_server_name + hostname_rewrite_char: hostname_rewrite_char + ddns_use_conflict_resolution: true + id: id + header_option_server_address: header_option_server_address + asm_config: + enable_notification: true + min_unused: 2 + forecast_period: 6 + asm_threshold: 0 + enable: true + growth_factor: 1 + min_total: 5 + reenable_date: 2000-01-23T04:56:07.000+00:00 + history: 5 + growth_type: percent + external_keys: "{}" + utilization: + total: total + static: static + dynamic: dynamic + utilization: 36 + abandon_utilization: 93 + used: used + abandoned: abandoned + free: free + tags: "{}" + name: name + ddns_update_on_renew: true + hostname_rewrite_regex: hostname_rewrite_regex + ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + header_option_filename: header_option_filename + asm_scope_flag: 0 + created_at: 2000-01-23T04:56:07.000+00:00 utilization_v6: total: total static: static @@ -16478,33 +18631,22 @@ components: host: host display_name: display_name ddns_generate_name: true - space: space - discovery_metadata: "{}" discovery_attrs: "{}" - protocol: protocol - header_option_server_name: header_option_server_name - hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 - ddns_use_conflict_resolution: true - cidr: 19 - id: id + cidr: 77 ddns_ttl_percent: 1.4658129 + config_profiles: + - config_profiles + - config_profiles disable_dhcp: true - rebind_time: 9 - header_option_server_address: header_option_server_address + rebind_time: 2 + federation: federation address: address ddns_client_update: ddns_client_update - asm_config: - enable_notification: true - min_unused: 2 - forecast_period: 6 - asm_threshold: 0 - enable: true - growth_factor: 1 - min_total: 5 - reenable_date: 2000-01-23T04:56:07.000+00:00 - history: 5 - growth_type: percent + federated_realms: + - federated_realms + - federated_realms + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -16514,16 +18656,6 @@ components: type: type option_code: option_code group: group - utilization: - total: total - static: static - dynamic: dynamic - utilization: 41 - abandon_utilization: 20 - used: used - abandoned: abandoned - free: free - tags: "{}" inheritance_sources: ddns_enabled: action: action @@ -16565,7 +18697,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -16598,12 +18730,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -16613,7 +18745,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -16629,17 +18761,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -16659,12 +18791,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -16702,7 +18834,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -16720,11 +18852,9 @@ components: source: source display_name: display_name value: value - renew_time: 3 - name: name + renew_time: 7 comment: comment inheritance_parent: inheritance_parent - ddns_update_on_renew: true dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -16743,30 +18873,88 @@ components: ipamsvcName: description: The __Name__ object represents a name associated with an address. example: - name: example.com - type: FQDN + name: name + type: type properties: name: description: The name expressed as a single label or FQDN. - example: example.com type: string type: description: The origin of the name. - example: FQDN type: string required: - name - type title: Name type: object + ipamsvcMacAddressItem: + description: A __MacAddressItem__ object (_dhcp/mac_address_item_) represents + a mac address item. + example: + address: address + id: id + hardware_filter_id: hardware_filter_id + properties: + address: + description: The address to match for the hardware filter. + type: string + hardware_filter_id: + description: The resource identifier. + type: string + id: + description: The resource identifier. + readOnly: true + type: string + required: + - address + title: MacAddressItem + type: object + ipamsvcMacAddressItemUpload: + description: A __MacAddressItemUpload__ object uploads mac addresses to a large + scale hardware filter. + properties: + append: + description: |- + If data needs to be appended or overwritten. + Defaults to _true_. + format: boolean + type: boolean + content: + description: The content in plain text of the mac addresses to be uploaded + to a large scale hardware filter. + type: string + hardware_filter_id: + description: The resource identifier. + type: string + required: + - content + - hardware_filter_id + title: MacAddressItemUpload + type: object + ipamsvcMacAddressItemUploadResponse: + example: + job_id: job_id + description: description + hardware_filter_id: hardware_filter_id + properties: + description: + description: The description of the resource that was requested to be uploaded. + type: string + hardware_filter_id: + description: The resource identifier. + type: string + job_id: + description: An Unique Id to identify upload operation. + type: string + type: object ipamsvcNameserver: example: - kerberos_retry_interval: 3 + kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal properties: @@ -16832,7 +19020,7 @@ components: ddns_conflict_resolution_mode: ddns_conflict_resolution_mode dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -16845,10 +19033,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -16878,12 +19069,16 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - cidr: 19 + cidr: 77 id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address + federation: federation address: address ddns_client_update: ddns_client_update + federated_realms: + - federated_realms + - federated_realms asm_config: enable_notification: true min_unused: 2 @@ -16895,6 +19090,8 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id + external_keys: "{}" dhcp_options: - option_value: option_value type: type @@ -16908,8 +19105,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -16955,7 +19152,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -16988,12 +19185,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -17003,7 +19200,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -17019,17 +19216,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -17049,12 +19246,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -17092,7 +19289,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -17125,7 +19322,7 @@ components: ddns_conflict_resolution_mode: ddns_conflict_resolution_mode dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -17138,10 +19335,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -17171,12 +19371,16 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - cidr: 19 + cidr: 77 id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address + federation: federation address: address ddns_client_update: ddns_client_update + federated_realms: + - federated_realms + - federated_realms asm_config: enable_notification: true min_unused: 2 @@ -17188,6 +19392,8 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id + external_keys: "{}" dhcp_options: - option_value: option_value type: type @@ -17201,8 +19407,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -17248,7 +19454,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -17281,12 +19487,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -17296,7 +19502,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -17312,17 +19518,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -17342,12 +19548,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -17385,7 +19591,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -17430,7 +19636,9 @@ components: usage: - usage - usage + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 + external_keys: "{}" range: range interface: interface space: space @@ -17440,10 +19648,10 @@ components: hwaddr: hwaddr protocol: protocol names: - - name: example.com - type: FQDN - - name: example.com - type: FQDN + - name: name + type: type + - name: name + type: type updated_at: 2000-01-23T04:56:07.000+00:00 dhcp_info: preferred_lifetime: 2000-01-23T04:56:07.000+00:00 @@ -17468,7 +19676,9 @@ components: usage: - usage - usage + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 + external_keys: "{}" range: range interface: interface space: space @@ -17478,10 +19688,10 @@ components: hwaddr: hwaddr protocol: protocol names: - - name: example.com - type: FQDN - - name: example.com - type: FQDN + - name: name + type: type + - name: name + type: type updated_at: 2000-01-23T04:56:07.000+00:00 dhcp_info: preferred_lifetime: 2000-01-23T04:56:07.000+00:00 @@ -17513,41 +19723,76 @@ components: description: The Next Available Subnet object list response format. example: results: - - hostname_rewrite_regex: hostname_rewrite_regex - parent: parent + - parent: parent + dhcp_config: + echo_client_id: false + lease_time: 7 + filters_v6: + - filters_v6 + - filters_v6 + ignore_list: + - type: client_hex + value: 01:23:45:67:89:AB + - type: client_hex + value: 01:23:45:67:89:AB + allow_unknown: true + filters: + - filters + - filters + lease_time_v6: 9 + abandoned_reclaim_time: 5 + allow_unknown_v6: true + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 + ignore_client_uid: false + ddns_domain: ddns_domain + usage: + - usage + - usage + threshold: + high: 100 + low: 10 + enabled: true + ddns_send_updates: true + space: space + discovery_metadata: "{}" + protocol: protocol + header_option_server_name: header_option_server_name + hostname_rewrite_char: hostname_rewrite_char + ddns_use_conflict_resolution: true + id: id + header_option_server_address: header_option_server_address + asm_config: + enable_notification: true + min_unused: 2 + forecast_period: 6 + asm_threshold: 0 + enable: true + growth_factor: 1 + min_total: 5 + reenable_date: 2000-01-23T04:56:07.000+00:00 + history: 5 + growth_type: percent + external_keys: "{}" + utilization: + total: total + static: static + dynamic: dynamic + utilization: 36 + abandon_utilization: 93 + used: used + abandoned: abandoned + free: free + tags: "{}" + name: name + ddns_update_on_renew: true + hostname_rewrite_regex: hostname_rewrite_regex ddns_conflict_resolution_mode: ddns_conflict_resolution_mode - dhcp_config: - echo_client_id: false - lease_time: 1 - filters_v6: - - filters_v6 - - filters_v6 - ignore_list: - - type: client_hex - value: 01:23:45:67:89:AB - - type: client_hex - value: 01:23:45:67:89:AB - allow_unknown: true - filters: - - filters - - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 - allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 - ignore_client_uid: false header_option_filename: header_option_filename - ddns_domain: ddns_domain asm_scope_flag: 0 - usage: - - usage - - usage created_at: 2000-01-23T04:56:07.000+00:00 - threshold: - high: 100 - low: 10 - enabled: true - ddns_send_updates: true utilization_v6: total: total static: static @@ -17563,33 +19808,22 @@ components: host: host display_name: display_name ddns_generate_name: true - space: space - discovery_metadata: "{}" discovery_attrs: "{}" - protocol: protocol - header_option_server_name: header_option_server_name - hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 - ddns_use_conflict_resolution: true - cidr: 19 - id: id + cidr: 77 ddns_ttl_percent: 1.4658129 + config_profiles: + - config_profiles + - config_profiles disable_dhcp: true - rebind_time: 9 - header_option_server_address: header_option_server_address + rebind_time: 2 + federation: federation address: address ddns_client_update: ddns_client_update - asm_config: - enable_notification: true - min_unused: 2 - forecast_period: 6 - asm_threshold: 0 - enable: true - growth_factor: 1 - min_total: 5 - reenable_date: 2000-01-23T04:56:07.000+00:00 - history: 5 - growth_type: percent + federated_realms: + - federated_realms + - federated_realms + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -17599,16 +19833,6 @@ components: type: type option_code: option_code group: group - utilization: - total: total - static: static - dynamic: dynamic - utilization: 41 - abandon_utilization: 20 - used: used - abandoned: abandoned - free: free - tags: "{}" inheritance_sources: ddns_enabled: action: action @@ -17650,7 +19874,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -17683,12 +19907,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -17698,7 +19922,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -17714,17 +19938,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -17744,12 +19968,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -17787,7 +20011,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -17805,11 +20029,9 @@ components: source: source display_name: display_name value: value - renew_time: 3 - name: name + renew_time: 7 comment: comment inheritance_parent: inheritance_parent - ddns_update_on_renew: true dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -17817,12 +20039,10 @@ components: dhcp_total: dhcp_total dhcp_utilization: 59 ddns_generated_prefix: ddns_generated_prefix - - hostname_rewrite_regex: hostname_rewrite_regex - parent: parent - ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + - parent: parent dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -17835,23 +20055,60 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false - header_option_filename: header_option_filename ddns_domain: ddns_domain - asm_scope_flag: 0 usage: - usage - usage - created_at: 2000-01-23T04:56:07.000+00:00 threshold: high: 100 low: 10 enabled: true ddns_send_updates: true + space: space + discovery_metadata: "{}" + protocol: protocol + header_option_server_name: header_option_server_name + hostname_rewrite_char: hostname_rewrite_char + ddns_use_conflict_resolution: true + id: id + header_option_server_address: header_option_server_address + asm_config: + enable_notification: true + min_unused: 2 + forecast_period: 6 + asm_threshold: 0 + enable: true + growth_factor: 1 + min_total: 5 + reenable_date: 2000-01-23T04:56:07.000+00:00 + history: 5 + growth_type: percent + external_keys: "{}" + utilization: + total: total + static: static + dynamic: dynamic + utilization: 36 + abandon_utilization: 93 + used: used + abandoned: abandoned + free: free + tags: "{}" + name: name + ddns_update_on_renew: true + hostname_rewrite_regex: hostname_rewrite_regex + ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + header_option_filename: header_option_filename + asm_scope_flag: 0 + created_at: 2000-01-23T04:56:07.000+00:00 utilization_v6: total: total static: static @@ -17867,33 +20124,22 @@ components: host: host display_name: display_name ddns_generate_name: true - space: space - discovery_metadata: "{}" discovery_attrs: "{}" - protocol: protocol - header_option_server_name: header_option_server_name - hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 - ddns_use_conflict_resolution: true - cidr: 19 - id: id + cidr: 77 ddns_ttl_percent: 1.4658129 + config_profiles: + - config_profiles + - config_profiles disable_dhcp: true - rebind_time: 9 - header_option_server_address: header_option_server_address + rebind_time: 2 + federation: federation address: address ddns_client_update: ddns_client_update - asm_config: - enable_notification: true - min_unused: 2 - forecast_period: 6 - asm_threshold: 0 - enable: true - growth_factor: 1 - min_total: 5 - reenable_date: 2000-01-23T04:56:07.000+00:00 - history: 5 - growth_type: percent + federated_realms: + - federated_realms + - federated_realms + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -17903,16 +20149,6 @@ components: type: type option_code: option_code group: group - utilization: - total: total - static: static - dynamic: dynamic - utilization: 41 - abandon_utilization: 20 - used: used - abandoned: abandoned - free: free - tags: "{}" inheritance_sources: ddns_enabled: action: action @@ -17954,7 +20190,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -17987,12 +20223,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -18002,7 +20238,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -18018,17 +20254,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -18048,12 +20284,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -18091,7 +20327,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -18109,11 +20345,9 @@ components: source: source display_name: display_name value: value - renew_time: 3 - name: name + renew_time: 7 comment: comment inheritance_parent: inheritance_parent - ddns_update_on_renew: true dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -18542,6 +20776,7 @@ components: example: parent: parent start: 10.0.0.0 + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 exclusion_ranges: - start: 10.0.0.0 @@ -18567,8 +20802,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -18619,6 +20854,7 @@ components: group: group overriding_group: overriding_group protocol: protocol + space_name: space_name updated_at: 2000-01-23T04:56:07.000+00:00 name: name comment: comment @@ -18632,6 +20868,11 @@ components: description: The description for the range. May contain 0 to 1024 characters. Can include UTF-8. type: string + compartment_id: + description: "The compartment associated with the object. If no compartment\ + \ is associated with the object, the value defaults to empty." + readOnly: true + type: string created_at: description: Time when the object has been created. format: date-time @@ -18696,6 +20937,10 @@ components: space: description: The resource identifier. type: string + space_name: + description: The name of the IP Space the range belongs to. + readOnly: true + type: string start: description: The start IP address of the range. example: 10.0.0.0 @@ -18763,7 +21008,7 @@ components: ddns_conflict_resolution_mode: ddns_conflict_resolution_mode dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -18776,10 +21021,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -18809,12 +21057,16 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - cidr: 19 + cidr: 77 id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address + federation: federation address: address ddns_client_update: ddns_client_update + federated_realms: + - federated_realms + - federated_realms asm_config: enable_notification: true min_unused: 2 @@ -18826,6 +21078,8 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id + external_keys: "{}" dhcp_options: - option_value: option_value type: type @@ -18839,8 +21093,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -18886,7 +21140,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -18919,12 +21173,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -18934,7 +21188,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -18950,17 +21204,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -18980,12 +21234,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -19023,7 +21277,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -19065,7 +21319,9 @@ components: usage: - usage - usage + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 + external_keys: "{}" range: range interface: interface space: space @@ -19075,10 +21331,10 @@ components: hwaddr: hwaddr protocol: protocol names: - - name: example.com - type: FQDN - - name: example.com - type: FQDN + - name: name + type: type + - name: name + type: type updated_at: 2000-01-23T04:56:07.000+00:00 dhcp_info: preferred_lifetime: 2000-01-23T04:56:07.000+00:00 @@ -19103,6 +21359,32 @@ components: $ref: '#/components/schemas/ipamsvcAddress' title: ReadAddressResponse type: object + ipamsvcReadDHCPServiceInstanceResponse: + description: The response format to retrieve the DHCP __Service__ object. + example: + result: + associated_server: + name: name + id: id + ip_space: ip_space + name: name + comment: comment + id: id + associated_hosts: + - ophid: ophid + address: address + name: name + id: id + - ophid: ophid + address: address + name: name + id: id + tags: "{}" + properties: + result: + $ref: '#/components/schemas/ipamsvcDHCPServiceInstance' + title: ReadDHCPServiceResponse + type: object ipamsvcReadDNSUsageResponse: description: The response format to retrieve the __DNSUsage__ object. example: @@ -19129,6 +21411,7 @@ components: parent: parent address: 192.168.1.10 header_option_filename: header_option_filename + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 dhcp_options: - option_value: option_value @@ -19212,7 +21495,7 @@ components: gss_tsig_fallback: true dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -19225,10 +21508,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -19237,13 +21523,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -19254,7 +21540,7 @@ components: hostname_rewrite_char: hostname_rewrite_char ddns_use_conflict_resolution: true prefer_option_12: true - kerberos_rekey_interval: 6 + kerberos_rekey_interval: 9 id: id ddns_ttl_percent: 7.0614014 dhcp_threshold: @@ -19263,7 +21549,7 @@ components: enabled: true header_option_server_address: header_option_server_address server_principal: server_principal - kerberos_retry_interval: 7 + kerberos_retry_interval: 3 ddns_enabled: true client_principal: client_principal ddns_client_update: ddns_client_update @@ -19291,20 +21577,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -19321,20 +21607,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -19358,7 +21644,7 @@ components: type: type option_code: option_code group: group - kerberos_tkey_lifetime: 1 + kerberos_tkey_lifetime: 2 vendor_specific_option_option_space: vendor_specific_option_option_space ddns_update_on_renew: true ddns_generated_prefix: ddns_generated_prefix @@ -19378,6 +21664,7 @@ components: hosts: - host1 - host2 + status_v6: status_v6 name: Example HA Group created_at: 2000-01-23T04:56:07.000+00:00 comment: comment @@ -19456,7 +21743,7 @@ components: ddns_conflict_resolution_mode: check_with_dhcid dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -19469,10 +21756,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -19510,6 +21800,7 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -19523,8 +21814,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -19570,7 +21861,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -19603,12 +21894,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -19618,7 +21909,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -19634,17 +21925,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -19664,12 +21955,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -19735,7 +22026,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -19762,6 +22053,9 @@ components: type: type option_code: option_code group: group + default_realms: + - default_realms + - default_realms vendor_specific_option_option_space: vendor_specific_option_option_space name: Example IP Space comment: comment @@ -19804,6 +22098,18 @@ components: $ref: '#/components/schemas/ipamsvcIpamHost' title: ReadIpamHostResponse type: object + ipamsvcReadMacAddressItemResponse: + description: The response format to retrieve the __MacAddressItem__ object. + example: + result: + address: address + id: id + hardware_filter_id: hardware_filter_id + properties: + result: + $ref: '#/components/schemas/ipamsvcMacAddressItem' + title: ReadMacAddressItemResponse + type: object ipamsvcReadOptionCodeResponse: description: The response format to retrieve the __OptionCode__ object. example: @@ -19912,6 +22218,7 @@ components: result: parent: parent start: 10.0.0.0 + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 exclusion_ranges: - start: 10.0.0.0 @@ -19937,8 +22244,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -19989,6 +22296,7 @@ components: group: group overriding_group: overriding_group protocol: protocol + space_name: space_name updated_at: 2000-01-23T04:56:07.000+00:00 name: name comment: comment @@ -20011,7 +22319,7 @@ components: gss_tsig_fallback: true dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -20024,10 +22332,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -20036,13 +22347,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -20053,14 +22364,15 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - kerberos_rekey_interval: 5 + kerberos_rekey_interval: 1 id: id ddns_ttl_percent: 0.8008282 header_option_server_address: header_option_server_address server_principal: server_principal - kerberos_retry_interval: 2 + kerberos_retry_interval: 6 ddns_enabled: true client_principal: client_principal + profile_type: profile_type ddns_client_update: ddns_client_update dhcp_options: - option_value: option_value @@ -20075,20 +22387,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -20105,20 +22417,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -20170,7 +22482,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -20203,12 +22515,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -20218,7 +22530,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -20294,7 +22606,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -20305,7 +22617,7 @@ components: source: source display_name: display_name value: - kerberos_retry_interval: 1 + kerberos_retry_interval: 4 ddns_enabled: true client_principal: client_principal gss_tsig_fallback: true @@ -20314,13 +22626,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -20328,20 +22640,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -20358,20 +22670,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -20387,8 +22699,8 @@ components: view_name: view_name kerberos_kdc: kerberos_kdc kerberos_tkey_protocol: kerberos_tkey_protocol - kerberos_tkey_lifetime: 5 - kerberos_rekey_interval: 6 + kerberos_tkey_lifetime: 7 + kerberos_rekey_interval: 2 server_principal: server_principal header_option_server_address: action: action @@ -20419,12 +22731,10 @@ components: description: The response format to retrieve the __Subnet__ object. example: result: - hostname_rewrite_regex: hostname_rewrite_regex parent: parent - ddns_conflict_resolution_mode: ddns_conflict_resolution_mode dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -20437,23 +22747,60 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false - header_option_filename: header_option_filename ddns_domain: ddns_domain - asm_scope_flag: 0 usage: - usage - usage - created_at: 2000-01-23T04:56:07.000+00:00 threshold: high: 100 low: 10 enabled: true ddns_send_updates: true + space: space + discovery_metadata: "{}" + protocol: protocol + header_option_server_name: header_option_server_name + hostname_rewrite_char: hostname_rewrite_char + ddns_use_conflict_resolution: true + id: id + header_option_server_address: header_option_server_address + asm_config: + enable_notification: true + min_unused: 2 + forecast_period: 6 + asm_threshold: 0 + enable: true + growth_factor: 1 + min_total: 5 + reenable_date: 2000-01-23T04:56:07.000+00:00 + history: 5 + growth_type: percent + external_keys: "{}" + utilization: + total: total + static: static + dynamic: dynamic + utilization: 36 + abandon_utilization: 93 + used: used + abandoned: abandoned + free: free + tags: "{}" + name: name + ddns_update_on_renew: true + hostname_rewrite_regex: hostname_rewrite_regex + ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + header_option_filename: header_option_filename + asm_scope_flag: 0 + created_at: 2000-01-23T04:56:07.000+00:00 utilization_v6: total: total static: static @@ -20469,33 +22816,22 @@ components: host: host display_name: display_name ddns_generate_name: true - space: space - discovery_metadata: "{}" discovery_attrs: "{}" - protocol: protocol - header_option_server_name: header_option_server_name - hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 - ddns_use_conflict_resolution: true - cidr: 19 - id: id + cidr: 77 ddns_ttl_percent: 1.4658129 + config_profiles: + - config_profiles + - config_profiles disable_dhcp: true - rebind_time: 9 - header_option_server_address: header_option_server_address + rebind_time: 2 + federation: federation address: address ddns_client_update: ddns_client_update - asm_config: - enable_notification: true - min_unused: 2 - forecast_period: 6 - asm_threshold: 0 - enable: true - growth_factor: 1 - min_total: 5 - reenable_date: 2000-01-23T04:56:07.000+00:00 - history: 5 - growth_type: percent + federated_realms: + - federated_realms + - federated_realms + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -20505,16 +22841,6 @@ components: type: type option_code: option_code group: group - utilization: - total: total - static: static - dynamic: dynamic - utilization: 41 - abandon_utilization: 20 - used: used - abandoned: abandoned - free: free - tags: "{}" inheritance_sources: ddns_enabled: action: action @@ -20556,7 +22882,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -20589,12 +22915,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -20604,7 +22930,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -20620,17 +22946,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -20650,12 +22976,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -20693,7 +23019,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -20711,11 +23037,9 @@ components: source: source display_name: display_name value: value - renew_time: 3 - name: name + renew_time: 7 comment: comment inheritance_parent: inheritance_parent - ddns_update_on_renew: true dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -20724,9 +23048,57 @@ components: dhcp_utilization: 59 ddns_generated_prefix: ddns_generated_prefix properties: - result: - $ref: '#/components/schemas/ipamsvcSubnet' - title: ReadSubnetResponse + result: + $ref: '#/components/schemas/ipamsvcSubnet' + title: ReadSubnetResponse + type: object + ipamsvcRealmsConflict: + example: + address: address + ip_space: ip_space + federated_realms: + - federated_realms + - federated_realms + type: type + properties: + address: + title: "Address with cidr range. Example: \"10.0.0.0/8\"" + type: string + federated_realms: + description: List of __FederatedRealm__ object ids. + items: + type: string + type: array + ip_space: + description: The resource identifier. + type: string + type: + title: The type of an object. (_ipam/address_block_ and _ipam/subnet_ only) + type: string + type: object + ipamsvcRealmsConflictResponse: + description: The response format to retrieve Realms Conflict objects. + example: + results: + - address: address + ip_space: ip_space + federated_realms: + - federated_realms + - federated_realms + type: type + - address: address + ip_space: ip_space + federated_realms: + - federated_realms + - federated_realms + type: type + properties: + results: + description: List of conflicts across _ipam/ip_space_ objects. + items: + $ref: '#/components/schemas/ipamsvcRealmsConflict' + type: array + title: RealmsConflictResponse type: object ipamsvcServer: description: A DHCP Config Profile (_dhcp/server_) is a named configuration @@ -20737,7 +23109,7 @@ components: gss_tsig_fallback: true dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -20750,10 +23122,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -20762,13 +23137,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -20779,14 +23154,15 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - kerberos_rekey_interval: 5 + kerberos_rekey_interval: 1 id: id ddns_ttl_percent: 0.8008282 header_option_server_address: header_option_server_address server_principal: server_principal - kerberos_retry_interval: 2 + kerberos_retry_interval: 6 ddns_enabled: true client_principal: client_principal + profile_type: profile_type ddns_client_update: ddns_client_update dhcp_options: - option_value: option_value @@ -20801,20 +23177,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -20831,20 +23207,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -20896,7 +23272,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -20929,12 +23305,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -20944,7 +23320,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -21020,7 +23396,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -21031,7 +23407,7 @@ components: source: source display_name: display_name value: - kerberos_retry_interval: 1 + kerberos_retry_interval: 4 ddns_enabled: true client_principal: client_principal gss_tsig_fallback: true @@ -21040,13 +23416,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -21054,20 +23430,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -21084,20 +23460,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -21113,8 +23489,8 @@ components: view_name: view_name kerberos_kdc: kerberos_kdc kerberos_tkey_protocol: kerberos_tkey_protocol - kerberos_tkey_lifetime: 5 - kerberos_rekey_interval: 6 + kerberos_tkey_lifetime: 7 + kerberos_rekey_interval: 2 server_principal: server_principal header_option_server_address: action: action @@ -21381,6 +23757,16 @@ components: characters. Can include UTF-8. example: Example DHCP Config Profile type: string + profile_type: + description: |- + The type of server object. + + Defaults to _server_. + + Valid values are: + * _server_: The server profile type. + * _subnet_: The subnet profile type. + type: string server_principal: description: |- The Kerberos principal name of the external DNS server that will receive updates. @@ -21443,7 +23829,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -21476,12 +23862,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -21491,7 +23877,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -21567,7 +23953,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -21578,7 +23964,7 @@ components: source: source display_name: display_name value: - kerberos_retry_interval: 1 + kerberos_retry_interval: 4 ddns_enabled: true client_principal: client_principal gss_tsig_fallback: true @@ -21587,13 +23973,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -21601,20 +23987,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -21631,20 +24017,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -21660,8 +24046,8 @@ components: view_name: view_name kerberos_kdc: kerberos_kdc kerberos_tkey_protocol: kerberos_tkey_protocol - kerberos_tkey_lifetime: 5 - kerberos_rekey_interval: 6 + kerberos_tkey_lifetime: 7 + kerberos_rekey_interval: 2 server_principal: server_principal header_option_server_address: action: action @@ -21707,12 +24093,10 @@ components: \ CIDR values. It represents a set of addresses from which addresses are assigned\ \ to network equipment interfaces." example: - hostname_rewrite_regex: hostname_rewrite_regex parent: parent - ddns_conflict_resolution_mode: ddns_conflict_resolution_mode dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -21725,23 +24109,60 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false - header_option_filename: header_option_filename ddns_domain: ddns_domain - asm_scope_flag: 0 usage: - usage - usage - created_at: 2000-01-23T04:56:07.000+00:00 threshold: high: 100 low: 10 enabled: true ddns_send_updates: true + space: space + discovery_metadata: "{}" + protocol: protocol + header_option_server_name: header_option_server_name + hostname_rewrite_char: hostname_rewrite_char + ddns_use_conflict_resolution: true + id: id + header_option_server_address: header_option_server_address + asm_config: + enable_notification: true + min_unused: 2 + forecast_period: 6 + asm_threshold: 0 + enable: true + growth_factor: 1 + min_total: 5 + reenable_date: 2000-01-23T04:56:07.000+00:00 + history: 5 + growth_type: percent + external_keys: "{}" + utilization: + total: total + static: static + dynamic: dynamic + utilization: 36 + abandon_utilization: 93 + used: used + abandoned: abandoned + free: free + tags: "{}" + name: name + ddns_update_on_renew: true + hostname_rewrite_regex: hostname_rewrite_regex + ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + header_option_filename: header_option_filename + asm_scope_flag: 0 + created_at: 2000-01-23T04:56:07.000+00:00 utilization_v6: total: total static: static @@ -21757,33 +24178,22 @@ components: host: host display_name: display_name ddns_generate_name: true - space: space - discovery_metadata: "{}" discovery_attrs: "{}" - protocol: protocol - header_option_server_name: header_option_server_name - hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 - ddns_use_conflict_resolution: true - cidr: 19 - id: id + cidr: 77 ddns_ttl_percent: 1.4658129 + config_profiles: + - config_profiles + - config_profiles disable_dhcp: true - rebind_time: 9 - header_option_server_address: header_option_server_address + rebind_time: 2 + federation: federation address: address ddns_client_update: ddns_client_update - asm_config: - enable_notification: true - min_unused: 2 - forecast_period: 6 - asm_threshold: 0 - enable: true - growth_factor: 1 - min_total: 5 - reenable_date: 2000-01-23T04:56:07.000+00:00 - history: 5 - growth_type: percent + federated_realms: + - federated_realms + - federated_realms + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -21793,16 +24203,6 @@ components: type: type option_code: option_code group: group - utilization: - total: total - static: static - dynamic: dynamic - utilization: 41 - abandon_utilization: 20 - used: used - abandoned: abandoned - free: free - tags: "{}" inheritance_sources: ddns_enabled: action: action @@ -21844,7 +24244,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -21877,12 +24277,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -21892,7 +24292,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -21908,17 +24308,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -21938,12 +24338,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -21981,7 +24381,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -21999,11 +24399,9 @@ components: source: source display_name: display_name value: value - renew_time: 3 - name: name + renew_time: 7 comment: comment inheritance_parent: inheritance_parent - ddns_update_on_renew: true dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -22029,13 +24427,23 @@ components: description: The CIDR of the subnet. This is required if _address_ does not include CIDR. format: int64 - maximum: 32 + maximum: 128 minimum: 1 type: integer comment: description: The description for the subnet. May contain 0 to 1024 characters. Can include UTF-8. type: string + compartment_id: + description: "The compartment associated with the object. If no compartment\ + \ is associated with the object, the value defaults to empty." + readOnly: true + type: string + config_profiles: + description: The resource identifier. + items: + type: string + type: array created_at: description: Time when the object has been created. format: date-time @@ -22147,6 +24555,19 @@ components: description: The discovery metadata for this subnet in JSON format. readOnly: true type: object + external_keys: + additionalProperties: false + description: The external keys (source key) for this subnet in JSON format. + type: object + federated_realms: + description: Reserved for future use. + items: + type: string + type: array + federation: + description: Reserved for future use. + readOnly: true + type: string header_option_filename: description: The configuration for header option filename field. type: string @@ -22298,7 +24719,7 @@ components: ddns_conflict_resolution_mode: ddns_conflict_resolution_mode dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -22311,10 +24732,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -22344,12 +24768,16 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - cidr: 19 + cidr: 77 id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address + federation: federation address: address ddns_client_update: ddns_client_update + federated_realms: + - federated_realms + - federated_realms asm_config: enable_notification: true min_unused: 2 @@ -22361,6 +24789,8 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id + external_keys: "{}" dhcp_options: - option_value: option_value type: type @@ -22374,8 +24804,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -22421,7 +24851,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -22454,12 +24884,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -22469,7 +24899,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -22485,17 +24915,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -22515,12 +24945,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -22558,7 +24988,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -22600,7 +25030,9 @@ components: usage: - usage - usage + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 + external_keys: "{}" range: range interface: interface space: space @@ -22610,10 +25042,10 @@ components: hwaddr: hwaddr protocol: protocol names: - - name: example.com - type: FQDN - - name: example.com - type: FQDN + - name: name + type: type + - name: name + type: type updated_at: 2000-01-23T04:56:07.000+00:00 dhcp_info: preferred_lifetime: 2000-01-23T04:56:07.000+00:00 @@ -22645,6 +25077,7 @@ components: parent: parent address: 192.168.1.10 header_option_filename: header_option_filename + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 dhcp_options: - option_value: option_value @@ -22728,7 +25161,7 @@ components: gss_tsig_fallback: true dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -22741,10 +25174,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -22753,13 +25189,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -22770,7 +25206,7 @@ components: hostname_rewrite_char: hostname_rewrite_char ddns_use_conflict_resolution: true prefer_option_12: true - kerberos_rekey_interval: 6 + kerberos_rekey_interval: 9 id: id ddns_ttl_percent: 7.0614014 dhcp_threshold: @@ -22779,7 +25215,7 @@ components: enabled: true header_option_server_address: header_option_server_address server_principal: server_principal - kerberos_retry_interval: 7 + kerberos_retry_interval: 3 ddns_enabled: true client_principal: client_principal ddns_client_update: ddns_client_update @@ -22807,20 +25243,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -22837,20 +25273,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -22874,7 +25310,7 @@ components: type: type option_code: option_code group: group - kerberos_tkey_lifetime: 1 + kerberos_tkey_lifetime: 2 vendor_specific_option_option_space: vendor_specific_option_option_space ddns_update_on_renew: true ddns_generated_prefix: ddns_generated_prefix @@ -22894,6 +25330,7 @@ components: hosts: - host1 - host2 + status_v6: status_v6 name: Example HA Group created_at: 2000-01-23T04:56:07.000+00:00 comment: comment @@ -22972,7 +25409,7 @@ components: ddns_conflict_resolution_mode: check_with_dhcid dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -22985,10 +25422,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -23026,6 +25466,7 @@ components: reenable_date: 2000-01-23T04:56:07.000+00:00 history: 5 growth_type: percent + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -23039,8 +25480,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -23086,7 +25527,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -23119,12 +25560,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -23134,7 +25575,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -23150,17 +25591,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -23180,12 +25621,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -23251,7 +25692,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -23278,6 +25719,9 @@ components: type: type option_code: option_code group: group + default_realms: + - default_realms + - default_realms vendor_specific_option_option_space: vendor_specific_option_option_space name: Example IP Space comment: comment @@ -23320,6 +25764,18 @@ components: $ref: '#/components/schemas/ipamsvcIpamHost' title: UpdateIpamHostResponse type: object + ipamsvcUpdateMacAddressItemResponse: + description: The response format to update the __MacAddressItem__ object. + example: + result: + address: address + id: id + hardware_filter_id: hardware_filter_id + properties: + result: + $ref: '#/components/schemas/ipamsvcMacAddressItem' + title: UpdateMacAddressItemResponse + type: object ipamsvcUpdateOptionCodeResponse: description: The response format to update the __OptionCode__ object. example: @@ -23428,6 +25884,7 @@ components: result: parent: parent start: 10.0.0.0 + compartment_id: compartment_id created_at: 2000-01-23T04:56:07.000+00:00 exclusion_ranges: - start: 10.0.0.0 @@ -23453,8 +25910,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -23505,6 +25962,7 @@ components: group: group overriding_group: overriding_group protocol: protocol + space_name: space_name updated_at: 2000-01-23T04:56:07.000+00:00 name: name comment: comment @@ -23527,7 +25985,7 @@ components: gss_tsig_fallback: true dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -23540,10 +25998,13 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false header_option_filename: header_option_filename ddns_domain: ddns_domain @@ -23552,13 +26013,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -23569,14 +26030,15 @@ components: hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 ddns_use_conflict_resolution: true - kerberos_rekey_interval: 5 + kerberos_rekey_interval: 1 id: id ddns_ttl_percent: 0.8008282 header_option_server_address: header_option_server_address server_principal: server_principal - kerberos_retry_interval: 2 + kerberos_retry_interval: 6 ddns_enabled: true client_principal: client_principal + profile_type: profile_type ddns_client_update: ddns_client_update dhcp_options: - option_value: option_value @@ -23591,20 +26053,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -23621,20 +26083,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -23686,7 +26148,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -23719,12 +26181,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -23734,7 +26196,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -23810,7 +26272,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -23821,7 +26283,7 @@ components: source: source display_name: display_name value: - kerberos_retry_interval: 1 + kerberos_retry_interval: 4 ddns_enabled: true client_principal: client_principal gss_tsig_fallback: true @@ -23830,13 +26292,13 @@ components: - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm - principal: principal uploaded_at: uploaded_at domain: domain - version: 1 + version: 3 key: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a1b2c3d4e5f6 algorithm: algorithm ddns_send_updates: true @@ -23844,20 +26306,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -23874,20 +26336,20 @@ components: - view: view gss_tsig_enabled: true nameservers: - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal - - kerberos_retry_interval: 3 + - kerberos_retry_interval: 1 kerberos_tkey_protocol: kerberos_tkey_protocol client_principal: client_principal gss_tsig_fallback: true - kerberos_tkey_lifetime: 2 - kerberos_rekey_interval: 9 + kerberos_tkey_lifetime: 5 + kerberos_rekey_interval: 6 nameserver: nameserver server_principal: server_principal fqdn: fqdn @@ -23903,8 +26365,8 @@ components: view_name: view_name kerberos_kdc: kerberos_kdc kerberos_tkey_protocol: kerberos_tkey_protocol - kerberos_tkey_lifetime: 5 - kerberos_rekey_interval: 6 + kerberos_tkey_lifetime: 7 + kerberos_rekey_interval: 2 server_principal: server_principal header_option_server_address: action: action @@ -23935,12 +26397,10 @@ components: description: The response format to update the __Subnet__ object. example: result: - hostname_rewrite_regex: hostname_rewrite_regex parent: parent - ddns_conflict_resolution_mode: ddns_conflict_resolution_mode dhcp_config: echo_client_id: false - lease_time: 1 + lease_time: 7 filters_v6: - filters_v6 - filters_v6 @@ -23953,23 +26413,60 @@ components: filters: - filters - filters - lease_time_v6: 1 - abandoned_reclaim_time: 4 + lease_time_v6: 9 + abandoned_reclaim_time: 5 allow_unknown_v6: true - abandoned_reclaim_time_v6: 7 + filters_large_selection: + - filters_large_selection + - filters_large_selection + abandoned_reclaim_time_v6: 2 ignore_client_uid: false - header_option_filename: header_option_filename ddns_domain: ddns_domain - asm_scope_flag: 0 usage: - usage - usage - created_at: 2000-01-23T04:56:07.000+00:00 threshold: high: 100 low: 10 enabled: true ddns_send_updates: true + space: space + discovery_metadata: "{}" + protocol: protocol + header_option_server_name: header_option_server_name + hostname_rewrite_char: hostname_rewrite_char + ddns_use_conflict_resolution: true + id: id + header_option_server_address: header_option_server_address + asm_config: + enable_notification: true + min_unused: 2 + forecast_period: 6 + asm_threshold: 0 + enable: true + growth_factor: 1 + min_total: 5 + reenable_date: 2000-01-23T04:56:07.000+00:00 + history: 5 + growth_type: percent + external_keys: "{}" + utilization: + total: total + static: static + dynamic: dynamic + utilization: 36 + abandon_utilization: 93 + used: used + abandoned: abandoned + free: free + tags: "{}" + name: name + ddns_update_on_renew: true + hostname_rewrite_regex: hostname_rewrite_regex + ddns_conflict_resolution_mode: ddns_conflict_resolution_mode + header_option_filename: header_option_filename + asm_scope_flag: 0 + created_at: 2000-01-23T04:56:07.000+00:00 utilization_v6: total: total static: static @@ -23985,33 +26482,22 @@ components: host: host display_name: display_name ddns_generate_name: true - space: space - discovery_metadata: "{}" discovery_attrs: "{}" - protocol: protocol - header_option_server_name: header_option_server_name - hostname_rewrite_char: hostname_rewrite_char updated_at: 2000-01-23T04:56:07.000+00:00 - ddns_use_conflict_resolution: true - cidr: 19 - id: id + cidr: 77 ddns_ttl_percent: 1.4658129 + config_profiles: + - config_profiles + - config_profiles disable_dhcp: true - rebind_time: 9 - header_option_server_address: header_option_server_address + rebind_time: 2 + federation: federation address: address ddns_client_update: ddns_client_update - asm_config: - enable_notification: true - min_unused: 2 - forecast_period: 6 - asm_threshold: 0 - enable: true - growth_factor: 1 - min_total: 5 - reenable_date: 2000-01-23T04:56:07.000+00:00 - history: 5 - growth_type: percent + federated_realms: + - federated_realms + - federated_realms + compartment_id: compartment_id dhcp_options: - option_value: option_value type: type @@ -24021,16 +26507,6 @@ components: type: type option_code: option_code group: group - utilization: - total: total - static: static - dynamic: dynamic - utilization: 41 - abandon_utilization: 20 - used: used - abandoned: abandoned - free: free - tags: "{}" inheritance_sources: ddns_enabled: action: action @@ -24072,7 +26548,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 filters_v6: action: action source: source @@ -24105,12 +26581,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 abandoned_reclaim_time: action: action source: source display_name: display_name - value: 2 + value: 1 allow_unknown_v6: action: action source: source @@ -24120,7 +26596,7 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 ignore_client_uid: action: action source: source @@ -24136,17 +26612,17 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 forecast_period: action: action source: source display_name: display_name - value: 2 + value: 1 asm_threshold: action: action source: source display_name: display_name - value: 2 + value: 1 asm_enable_block: action: action source: source @@ -24166,12 +26642,12 @@ components: action: action source: source display_name: display_name - value: 2 + value: 1 history: action: action source: source display_name: display_name - value: 2 + value: 1 dhcp_options: action: action value: @@ -24209,7 +26685,7 @@ components: action: action source: source display_name: display_name - value: 7.0614014 + value: 1.2315135 ddns_update_on_renew: action: action source: source @@ -24227,11 +26703,9 @@ components: source: source display_name: display_name value: value - renew_time: 3 - name: name + renew_time: 7 comment: comment inheritance_parent: inheritance_parent - ddns_update_on_renew: true dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -24251,8 +26725,8 @@ components: total: total static: static dynamic: dynamic - utilization: 41 - abandon_utilization: 20 + utilization: 36 + abandon_utilization: 93 used: used abandoned: abandoned free: free @@ -24372,6 +26846,233 @@ components: type: string title: UtilizationV6 type: object + protobufEmpty: + description: |- + service Foo { + rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + } + + The JSON representation for `Empty` is empty JSON object `{}`. + title: |- + A generic empty message that you can re-use to avoid defining duplicated + empty messages in your APIs. A typical example is to use it as the request + or the response type of an API method. For instance: + type: object + protobufFieldMask: + description: |- + paths: "f.a" + paths: "f.b.d" + + Here `f` represents a field in some root message, `a` and `b` + fields in the message found in `f`, and `d` a field found in the + message in `f.b`. + + Field masks are used to specify a subset of fields that should be + returned by a get operation or modified by an update operation. + Field masks also have a custom JSON encoding (see below). + + # Field Masks in Projections + + When used in the context of a projection, a response message or + sub-message is filtered by the API to only contain those fields as + specified in the mask. For example, if the mask in the previous + example is applied to a response message as follows: + + f { + a : 22 + b { + d : 1 + x : 2 + } + y : 13 + } + z: 8 + + The result will not contain specific values for fields x,y and z + (their value will be set to the default, and omitted in proto text + output): + + + f { + a : 22 + b { + d : 1 + } + } + + A repeated field is not allowed except at the last position of a + paths string. + + If a FieldMask object is not present in a get operation, the + operation applies to all fields (as if a FieldMask of all fields + had been specified). + + Note that a field mask does not necessarily apply to the + top-level response message. In case of a REST get operation, the + field mask applies directly to the response, but in case of a REST + list operation, the mask instead applies to each individual message + in the returned resource list. In case of a REST custom method, + other definitions may be used. Where the mask applies will be + clearly documented together with its declaration in the API. In + any case, the effect on the returned resource/resources is required + behavior for APIs. + + # Field Masks in Update Operations + + A field mask in update operations specifies which fields of the + targeted resource are going to be updated. The API is required + to only change the values of the fields as specified in the mask + and leave the others untouched. If a resource is passed in to + describe the updated values, the API ignores the values of all + fields not covered by the mask. + + If a repeated field is specified for an update operation, the existing + repeated values in the target resource will be overwritten by the new values. + Note that a repeated field is only allowed in the last position of a `paths` + string. + + If a sub-message is specified in the last position of the field mask for an + update operation, then the existing sub-message in the target resource is + overwritten. Given the target message: + + f { + b { + d : 1 + x : 2 + } + c : 1 + } + + And an update message: + + f { + b { + d : 10 + } + } + + then if the field mask is: + + paths: "f.b" + + then the result will be: + + f { + b { + d : 10 + } + c : 1 + } + + However, if the update mask was: + + paths: "f.b.d" + + then the result would be: + + f { + b { + d : 10 + x : 2 + } + c : 1 + } + + In order to reset a field's value to the default, the field must + be in the mask and set to the default value in the provided resource. + Hence, in order to reset all fields of a resource, provide a default + instance of the resource and set all fields in the mask, or do + not provide a mask as described below. + + If a field mask is not present on update, the operation applies to + all fields (as if a field mask of all fields has been specified). + Note that in the presence of schema evolution, this may mean that + fields the client does not know and has therefore not filled into + the request will be reset to their default. If this is unwanted + behavior, a specific service may require a client to always specify + a field mask, producing an error if not. + + As with get operations, the location of the resource which + describes the updated values in the request message depends on the + operation kind. In any case, the effect of the field mask is + required to be honored by the API. + + ## Considerations for HTTP REST + + The HTTP kind of an update operation which uses a field mask must + be set to PATCH instead of PUT in order to satisfy HTTP semantics + (PUT must only be used for full updates). + + # JSON Encoding of Field Masks + + In JSON, a field mask is encoded as a single string where paths are + separated by a comma. Fields name in each path are converted + to/from lower-camel naming conventions. + + As an example, consider the following message declarations: + + message Profile { + User user = 1; + Photo photo = 2; + } + message User { + string display_name = 1; + string address = 2; + } + + In proto a field mask for `Profile` may look as such: + + mask { + paths: "user.display_name" + paths: "photo" + } + + In JSON, the same mask is represented as below: + + { + mask: "user.displayName,photo" + } + + # Field Masks and Oneof Fields + + Field masks treat fields in oneofs just as regular fields. Consider the + following message: + + message SampleMessage { + oneof test_oneof { + string name = 4; + SubMessage sub_message = 9; + } + } + + The field mask can be: + + mask { + paths: "name" + } + + Or: + + mask { + paths: "sub_message" + } + + Note that oneof type names ("test_oneof" in this case) cannot be used in + paths. + + ## Field Mask Verification + + The implementation of the all the API methods, which have any FieldMask type + field in the request, should verify the included field paths, and return + `INVALID_ARGUMENT` error if any path is duplicated or unmappable. + properties: + paths: + description: The set of field mask paths. + items: + type: string + type: array + title: "`FieldMask` represents a set of symbolic field paths, for example:" + type: object securitySchemes: ApiKeyAuth: in: header diff --git a/ipam/api_address_block.go b/ipam/api_address_block.go index c1d81b5..2d0f19c 100644 --- a/ipam/api_address_block.go +++ b/ipam/api_address_block.go @@ -124,6 +124,21 @@ type AddressBlockAPI interface { // ListExecute executes the request // @return ListAddressBlockResponse ListExecute(r AddressBlockAPIListRequest) (*ListAddressBlockResponse, *http.Response, error) + /* + ListAncestor Retrieve address block ancestors. + + Use this method to retrieve the ancestors of the __AddressBlock__ object. + This returns all the ancestors of the address block. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id An application specific resource identity of a resource + @return AddressBlockAPIListAncestorRequest + */ + ListAncestor(ctx context.Context, id string) AddressBlockAPIListAncestorRequest + + // ListAncestorExecute executes the request + // @return ListAncestorResponse + ListAncestorExecute(r AddressBlockAPIListAncestorRequest) (*ListAncestorResponse, *http.Response, error) /* ListNextAvailableAB List Next Available Address Block objects. @@ -1130,14 +1145,114 @@ func (a *AddressBlockAPIService) ListExecute(r AddressBlockAPIListRequest) (*Lis return localVarReturnValue, localVarHTTPResponse, nil } -type AddressBlockAPIListNextAvailableABRequest struct { +type AddressBlockAPIListAncestorRequest struct { ctx context.Context ApiService AddressBlockAPI id string - cidr *int32 - count *int32 - name *string - comment *string +} + +func (r AddressBlockAPIListAncestorRequest) Execute() (*ListAncestorResponse, *http.Response, error) { + return r.ApiService.ListAncestorExecute(r) +} + +/* +ListAncestor Retrieve address block ancestors. + +Use this method to retrieve the ancestors of the __AddressBlock__ object. +This returns all the ancestors of the address block. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id An application specific resource identity of a resource + @return AddressBlockAPIListAncestorRequest +*/ +func (a *AddressBlockAPIService) ListAncestor(ctx context.Context, id string) AddressBlockAPIListAncestorRequest { + return AddressBlockAPIListAncestorRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return ListAncestorResponse +func (a *AddressBlockAPIService) ListAncestorExecute(r AddressBlockAPIListAncestorRequest) (*ListAncestorResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue *ListAncestorResponse + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "AddressBlockAPIService.ListAncestor") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/ipam/address_block/{id}/ancestor" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(internal.ParameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} + +type AddressBlockAPIListNextAvailableABRequest struct { + ctx context.Context + ApiService AddressBlockAPI + id string + cidr *int32 + count *int32 + name *string + comment *string + federatedRealms *[]string + compartmentId *string } // The cidr value of address blocks to be created. @@ -1164,6 +1279,18 @@ func (r AddressBlockAPIListNextAvailableABRequest) Comment(comment string) Addre return r } +// Reserved for future use. +func (r AddressBlockAPIListNextAvailableABRequest) FederatedRealms(federatedRealms []string) AddressBlockAPIListNextAvailableABRequest { + r.federatedRealms = &federatedRealms + return r +} + +// The compartment id of the address blocks to be created. +func (r AddressBlockAPIListNextAvailableABRequest) CompartmentId(compartmentId string) AddressBlockAPIListNextAvailableABRequest { + r.compartmentId = &compartmentId + return r +} + func (r AddressBlockAPIListNextAvailableABRequest) Execute() (*NextAvailableABResponse, *http.Response, error) { return r.ApiService.ListNextAvailableABExecute(r) } @@ -1221,6 +1348,12 @@ func (a *AddressBlockAPIService) ListNextAvailableABExecute(r AddressBlockAPILis if r.comment != nil { internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "comment", r.comment, "") } + if r.federatedRealms != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "federated_realms", r.federatedRealms, "csv") + } + if r.compartmentId != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "compartment_id", r.compartmentId, "") + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1387,14 +1520,15 @@ func (a *AddressBlockAPIService) ListNextAvailableIPExecute(r AddressBlockAPILis } type AddressBlockAPIListNextAvailableSubnetRequest struct { - ctx context.Context - ApiService AddressBlockAPI - id string - cidr *int32 - count *int32 - name *string - comment *string - dhcpHost *string + ctx context.Context + ApiService AddressBlockAPI + id string + cidr *int32 + count *int32 + name *string + comment *string + dhcpHost *string + federatedRealms *[]string } // The cidr value of subnets to be created. @@ -1427,6 +1561,12 @@ func (r AddressBlockAPIListNextAvailableSubnetRequest) DhcpHost(dhcpHost string) return r } +// Reserved for future use. +func (r AddressBlockAPIListNextAvailableSubnetRequest) FederatedRealms(federatedRealms []string) AddressBlockAPIListNextAvailableSubnetRequest { + r.federatedRealms = &federatedRealms + return r +} + func (r AddressBlockAPIListNextAvailableSubnetRequest) Execute() (*NextAvailableSubnetResponse, *http.Response, error) { return r.ApiService.ListNextAvailableSubnetExecute(r) } @@ -1487,6 +1627,9 @@ func (a *AddressBlockAPIService) ListNextAvailableSubnetExecute(r AddressBlockAP if r.dhcpHost != nil { internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "dhcp_host", r.dhcpHost, "") } + if r.federatedRealms != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "federated_realms", r.federatedRealms, "csv") + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/ipam/api_ip_space.go b/ipam/api_ip_space.go index cff7c32..4390ff4 100644 --- a/ipam/api_ip_space.go +++ b/ipam/api_ip_space.go @@ -84,6 +84,21 @@ type IpSpaceAPI interface { // DeleteExecute executes the request DeleteExecute(r IpSpaceAPIDeleteRequest) (*http.Response, error) + /* + GetConflicts Retrieve Conflicted __AddressBlock__ and __Subnet__ objects in Federated Realms. + + Use this endpoint to list Conflicts in an existing IP Space relative to a Federated Realm. + Conflicts are Address Blocks contained by or Subnets that overlap with existing Delegations. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id An application specific resource identity of a resource + @return IpSpaceAPIGetConflictsRequest + */ + GetConflicts(ctx context.Context, id string) IpSpaceAPIGetConflictsRequest + + // GetConflictsExecute executes the request + // @return RealmsConflictResponse + GetConflictsExecute(r IpSpaceAPIGetConflictsRequest) (*RealmsConflictResponse, *http.Response, error) /* List Retrieve IP spaces. @@ -567,6 +582,114 @@ func (a *IpSpaceAPIService) DeleteExecute(r IpSpaceAPIDeleteRequest) (*http.Resp return localVarHTTPResponse, nil } +type IpSpaceAPIGetConflictsRequest struct { + ctx context.Context + ApiService IpSpaceAPI + id string + federatedRealms *[]string +} + +// List of __FederatedRealm__ object ids. +func (r IpSpaceAPIGetConflictsRequest) FederatedRealms(federatedRealms []string) IpSpaceAPIGetConflictsRequest { + r.federatedRealms = &federatedRealms + return r +} + +func (r IpSpaceAPIGetConflictsRequest) Execute() (*RealmsConflictResponse, *http.Response, error) { + return r.ApiService.GetConflictsExecute(r) +} + +/* +GetConflicts Retrieve Conflicted __AddressBlock__ and __Subnet__ objects in Federated Realms. + +Use this endpoint to list Conflicts in an existing IP Space relative to a Federated Realm. +Conflicts are Address Blocks contained by or Subnets that overlap with existing Delegations. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id An application specific resource identity of a resource + @return IpSpaceAPIGetConflictsRequest +*/ +func (a *IpSpaceAPIService) GetConflicts(ctx context.Context, id string) IpSpaceAPIGetConflictsRequest { + return IpSpaceAPIGetConflictsRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return RealmsConflictResponse +func (a *IpSpaceAPIService) GetConflictsExecute(r IpSpaceAPIGetConflictsRequest) (*RealmsConflictResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue *RealmsConflictResponse + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "IpSpaceAPIService.GetConflicts") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/ipam/ip_space/{id}/conflicts" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(internal.ParameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.federatedRealms != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "federated_realms", r.federatedRealms, "csv") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} + type IpSpaceAPIListRequest struct { ctx context.Context ApiService IpSpaceAPI diff --git a/ipam/api_subnet.go b/ipam/api_subnet.go index d9cc5de..575f0c4 100644 --- a/ipam/api_subnet.go +++ b/ipam/api_subnet.go @@ -94,6 +94,21 @@ type SubnetAPI interface { // ListExecute executes the request // @return ListSubnetResponse ListExecute(r SubnetAPIListRequest) (*ListSubnetResponse, *http.Response, error) + /* + ListAncestor Retrieve subnet ancestors. + + Use this method to retrieve the ancestors of the __Subnet__ object. + This returns all the ancestors of the subnet. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id An application specific resource identity of a resource + @return SubnetAPIListAncestorRequest + */ + ListAncestor(ctx context.Context, id string) SubnetAPIListAncestorRequest + + // ListAncestorExecute executes the request + // @return ListAncestorResponse + ListAncestorExecute(r SubnetAPIListAncestorRequest) (*ListAncestorResponse, *http.Response, error) /* ListNextAvailableIP Retrieve the next available IP address. @@ -776,6 +791,114 @@ func (a *SubnetAPIService) ListExecute(r SubnetAPIListRequest) (*ListSubnetRespo return localVarReturnValue, localVarHTTPResponse, nil } +type SubnetAPIListAncestorRequest struct { + ctx context.Context + ApiService SubnetAPI + id string + inherit *string +} + +// This parameter is used for getting inheritance_sources. Allowed values: * _none_, * _partial_, * _full_. Defaults to _none +func (r SubnetAPIListAncestorRequest) Inherit(inherit string) SubnetAPIListAncestorRequest { + r.inherit = &inherit + return r +} + +func (r SubnetAPIListAncestorRequest) Execute() (*ListAncestorResponse, *http.Response, error) { + return r.ApiService.ListAncestorExecute(r) +} + +/* +ListAncestor Retrieve subnet ancestors. + +Use this method to retrieve the ancestors of the __Subnet__ object. +This returns all the ancestors of the subnet. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id An application specific resource identity of a resource + @return SubnetAPIListAncestorRequest +*/ +func (a *SubnetAPIService) ListAncestor(ctx context.Context, id string) SubnetAPIListAncestorRequest { + return SubnetAPIListAncestorRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return ListAncestorResponse +func (a *SubnetAPIService) ListAncestorExecute(r SubnetAPIListAncestorRequest) (*ListAncestorResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []internal.FormFile + localVarReturnValue *ListAncestorResponse + ) + + localBasePath, err := a.Client.Cfg.ServerURLWithContext(r.ctx, "SubnetAPIService.ListAncestor") + if err != nil { + return localVarReturnValue, nil, internal.NewGenericOpenAPIError(err.Error()) + } + + localVarPath := localBasePath + "/ipam/subnet/{id}/ancestor" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(internal.ParameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.inherit != nil { + internal.ParameterAddToHeaderOrQuery(localVarQueryParams, "_inherit", r.inherit, "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := internal.SelectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := internal.SelectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.Client.PrepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.Client.CallAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := internal.NewGenericOpenAPIErrorWithBody(localVarHTTPResponse.Status, localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.Client.Decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := internal.NewGenericOpenAPIErrorWithBody(err.Error(), localVarBody) + return localVarReturnValue, localVarHTTPResponse, newErr + } + return localVarReturnValue, localVarHTTPResponse, nil +} + type SubnetAPIListNextAvailableIPRequest struct { ctx context.Context ApiService SubnetAPI diff --git a/ipam/client.go b/ipam/client.go index 3b47980..dfebe6b 100644 --- a/ipam/client.go +++ b/ipam/client.go @@ -26,6 +26,7 @@ type APIClient struct { AddressAPI AddressAPI AddressBlockAPI AddressBlockAPI AsmAPI AsmAPI + ConfigProfileAPI ConfigProfileAPI DhcpHostAPI DhcpHostAPI DnsUsageAPI DnsUsageAPI FilterAPI FilterAPI @@ -36,12 +37,14 @@ type APIClient struct { IpSpaceAPI IpSpaceAPI IpamHostAPI IpamHostAPI LeasesCommandAPI LeasesCommandAPI + MacAddressItemAPI MacAddressItemAPI OptionCodeAPI OptionCodeAPI OptionFilterAPI OptionFilterAPI OptionGroupAPI OptionGroupAPI OptionSpaceAPI OptionSpaceAPI RangeAPI RangeAPI ServerAPI ServerAPI + ServiceAPI ServiceAPI SubnetAPI SubnetAPI } @@ -66,6 +69,7 @@ func NewAPIClient(options ...option.ClientOption) *APIClient { c.AddressAPI = (*AddressAPIService)(&c.Common) c.AddressBlockAPI = (*AddressBlockAPIService)(&c.Common) c.AsmAPI = (*AsmAPIService)(&c.Common) + c.ConfigProfileAPI = (*ConfigProfileAPIService)(&c.Common) c.DhcpHostAPI = (*DhcpHostAPIService)(&c.Common) c.DnsUsageAPI = (*DnsUsageAPIService)(&c.Common) c.FilterAPI = (*FilterAPIService)(&c.Common) @@ -76,12 +80,14 @@ func NewAPIClient(options ...option.ClientOption) *APIClient { c.IpSpaceAPI = (*IpSpaceAPIService)(&c.Common) c.IpamHostAPI = (*IpamHostAPIService)(&c.Common) c.LeasesCommandAPI = (*LeasesCommandAPIService)(&c.Common) + c.MacAddressItemAPI = (*MacAddressItemAPIService)(&c.Common) c.OptionCodeAPI = (*OptionCodeAPIService)(&c.Common) c.OptionFilterAPI = (*OptionFilterAPIService)(&c.Common) c.OptionGroupAPI = (*OptionGroupAPIService)(&c.Common) c.OptionSpaceAPI = (*OptionSpaceAPIService)(&c.Common) c.RangeAPI = (*RangeAPIService)(&c.Common) c.ServerAPI = (*ServerAPIService)(&c.Common) + c.ServiceAPI = (*ServiceAPIService)(&c.Common) c.SubnetAPI = (*SubnetAPIService)(&c.Common) return c diff --git a/ipam/docs/Address.md b/ipam/docs/Address.md index 893badb..6746279 100644 --- a/ipam/docs/Address.md +++ b/ipam/docs/Address.md @@ -6,11 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Address** | **string** | The address in form \"a.b.c.d\". | **Comment** | Pointer to **string** | The description for the address object. May contain 0 to 1024 characters. Can include UTF-8. | [optional] +**CompartmentId** | Pointer to **string** | The compartment associated with the object. If no compartment is associated with the object, the value defaults to empty. | [optional] [readonly] **CreatedAt** | Pointer to **time.Time** | Time when the object has been created. | [optional] [readonly] **DhcpInfo** | Pointer to [**DHCPInfo**](DHCPInfo.md) | The DHCP information associated with this object. | [optional] [readonly] **DisableDhcp** | Pointer to **bool** | Read only. Represent the value of the same field in the associated _dhcp/fixed_address_ object. | [optional] [readonly] **DiscoveryAttrs** | Pointer to **map[string]interface{}** | The discovery attributes for this address in JSON format. | [optional] [readonly] **DiscoveryMetadata** | Pointer to **map[string]interface{}** | The discovery metadata for this address in JSON format. | [optional] [readonly] +**ExternalKeys** | Pointer to **map[string]interface{}** | The external keys (source key) for this address in JSON format. | [optional] **Host** | Pointer to **string** | The resource identifier. | [optional] **Hwaddr** | Pointer to **string** | The hardware address associated with this IP address. | [optional] **Id** | Pointer to **string** | The resource identifier. | [optional] [readonly] @@ -89,6 +91,31 @@ SetComment sets Comment field to given value. HasComment returns a boolean if a field has been set. +### GetCompartmentId + +`func (o *Address) GetCompartmentId() string` + +GetCompartmentId returns the CompartmentId field if non-nil, zero value otherwise. + +### GetCompartmentIdOk + +`func (o *Address) GetCompartmentIdOk() (*string, bool)` + +GetCompartmentIdOk returns a tuple with the CompartmentId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCompartmentId + +`func (o *Address) SetCompartmentId(v string)` + +SetCompartmentId sets CompartmentId field to given value. + +### HasCompartmentId + +`func (o *Address) HasCompartmentId() bool` + +HasCompartmentId returns a boolean if a field has been set. + ### GetCreatedAt `func (o *Address) GetCreatedAt() time.Time` @@ -214,6 +241,31 @@ SetDiscoveryMetadata sets DiscoveryMetadata field to given value. HasDiscoveryMetadata returns a boolean if a field has been set. +### GetExternalKeys + +`func (o *Address) GetExternalKeys() map[string]interface{}` + +GetExternalKeys returns the ExternalKeys field if non-nil, zero value otherwise. + +### GetExternalKeysOk + +`func (o *Address) GetExternalKeysOk() (*map[string]interface{}, bool)` + +GetExternalKeysOk returns a tuple with the ExternalKeys field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExternalKeys + +`func (o *Address) SetExternalKeys(v map[string]interface{})` + +SetExternalKeys sets ExternalKeys field to given value. + +### HasExternalKeys + +`func (o *Address) HasExternalKeys() bool` + +HasExternalKeys returns a boolean if a field has been set. + ### GetHost `func (o *Address) GetHost() string` diff --git a/ipam/docs/AddressBlock.md b/ipam/docs/AddressBlock.md index ddbe364..4c4abfd 100644 --- a/ipam/docs/AddressBlock.md +++ b/ipam/docs/AddressBlock.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **AsmScopeFlag** | Pointer to **int64** | Incremented by 1 if the IP address usage limits for automated scope management are exceeded for any subnets in the address block. | [optional] [readonly] **Cidr** | Pointer to **int64** | The CIDR of the address block. This is required, if _address_ does not specify it in its input. | [optional] **Comment** | Pointer to **string** | The description for the address block. May contain 0 to 1024 characters. Can include UTF-8. | [optional] +**CompartmentId** | Pointer to **string** | The compartment associated with the object. If no compartment is associated with the object, the value defaults to empty. | [optional] **CreatedAt** | Pointer to **time.Time** | Time when the object has been created. | [optional] [readonly] **DdnsClientUpdate** | Pointer to **string** | Controls who does the DDNS updates. Valid values are: * _client_: DHCP server updates DNS if requested by client. * _server_: DHCP server always updates DNS, overriding an update request from the client, unless the client requests no updates. * _ignore_: DHCP server always updates DNS, even if the client says not to. * _over_client_update_: Same as _server_. DHCP server always updates DNS, overriding an update request from the client, unless the client requests no updates. * _over_no_update_: DHCP server updates DNS even if the client requests that no updates be done. If the client requests to do the update, DHCP server allows it. Defaults to _client_. | [optional] **DdnsConflictResolutionMode** | Pointer to **string** | The mode used for resolving conflicts while performing DDNS updates. Valid values are: * _check_with_dhcid_: It includes adding a DHCID record and checking that record via conflict detection as per RFC 4703. * _no_check_with_dhcid_: This will ignore conflict detection but add a DHCID record when creating/updating an entry. * _check_exists_with_dhcid_: This will check if there is an existing DHCID record but does not verify the value of the record matches the update. This will also update the DHCID record for the entry. * _no_check_without_dhcid_: This ignores conflict detection and will not add a DHCID record when creating/updating a DDNS entry. Defaults to _check_with_dhcid_. | [optional] @@ -24,6 +25,9 @@ Name | Type | Description | Notes **DhcpUtilization** | Pointer to [**DHCPUtilization**](DHCPUtilization.md) | The utilization of IP addresses within the DHCP ranges of the address block. | [optional] [readonly] **DiscoveryAttrs** | Pointer to **map[string]interface{}** | The discovery attributes for this address block in JSON format. | [optional] [readonly] **DiscoveryMetadata** | Pointer to **map[string]interface{}** | The discovery metadata for this address block in JSON format. | [optional] [readonly] +**ExternalKeys** | Pointer to **map[string]interface{}** | The external keys (source key) for this address block in JSON format. | [optional] +**FederatedRealms** | Pointer to **[]string** | Reserved for future use. | [optional] +**Federation** | Pointer to **string** | Reserved for future use. | [optional] [readonly] **HeaderOptionFilename** | Pointer to **string** | The configuration for header option filename field. | [optional] **HeaderOptionServerAddress** | Pointer to **string** | The configuration for header option server address field. | [optional] **HeaderOptionServerName** | Pointer to **string** | The configuration for header option server name field. | [optional] @@ -188,6 +192,31 @@ SetComment sets Comment field to given value. HasComment returns a boolean if a field has been set. +### GetCompartmentId + +`func (o *AddressBlock) GetCompartmentId() string` + +GetCompartmentId returns the CompartmentId field if non-nil, zero value otherwise. + +### GetCompartmentIdOk + +`func (o *AddressBlock) GetCompartmentIdOk() (*string, bool)` + +GetCompartmentIdOk returns a tuple with the CompartmentId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCompartmentId + +`func (o *AddressBlock) SetCompartmentId(v string)` + +SetCompartmentId sets CompartmentId field to given value. + +### HasCompartmentId + +`func (o *AddressBlock) HasCompartmentId() bool` + +HasCompartmentId returns a boolean if a field has been set. + ### GetCreatedAt `func (o *AddressBlock) GetCreatedAt() time.Time` @@ -563,6 +592,81 @@ SetDiscoveryMetadata sets DiscoveryMetadata field to given value. HasDiscoveryMetadata returns a boolean if a field has been set. +### GetExternalKeys + +`func (o *AddressBlock) GetExternalKeys() map[string]interface{}` + +GetExternalKeys returns the ExternalKeys field if non-nil, zero value otherwise. + +### GetExternalKeysOk + +`func (o *AddressBlock) GetExternalKeysOk() (*map[string]interface{}, bool)` + +GetExternalKeysOk returns a tuple with the ExternalKeys field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExternalKeys + +`func (o *AddressBlock) SetExternalKeys(v map[string]interface{})` + +SetExternalKeys sets ExternalKeys field to given value. + +### HasExternalKeys + +`func (o *AddressBlock) HasExternalKeys() bool` + +HasExternalKeys returns a boolean if a field has been set. + +### GetFederatedRealms + +`func (o *AddressBlock) GetFederatedRealms() []string` + +GetFederatedRealms returns the FederatedRealms field if non-nil, zero value otherwise. + +### GetFederatedRealmsOk + +`func (o *AddressBlock) GetFederatedRealmsOk() (*[]string, bool)` + +GetFederatedRealmsOk returns a tuple with the FederatedRealms field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFederatedRealms + +`func (o *AddressBlock) SetFederatedRealms(v []string)` + +SetFederatedRealms sets FederatedRealms field to given value. + +### HasFederatedRealms + +`func (o *AddressBlock) HasFederatedRealms() bool` + +HasFederatedRealms returns a boolean if a field has been set. + +### GetFederation + +`func (o *AddressBlock) GetFederation() string` + +GetFederation returns the Federation field if non-nil, zero value otherwise. + +### GetFederationOk + +`func (o *AddressBlock) GetFederationOk() (*string, bool)` + +GetFederationOk returns a tuple with the Federation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFederation + +`func (o *AddressBlock) SetFederation(v string)` + +SetFederation sets Federation field to given value. + +### HasFederation + +`func (o *AddressBlock) HasFederation() bool` + +HasFederation returns a boolean if a field has been set. + ### GetHeaderOptionFilename `func (o *AddressBlock) GetHeaderOptionFilename() string` diff --git a/ipam/docs/AddressBlockAPI.md b/ipam/docs/AddressBlockAPI.md index ca24afd..03687ab 100644 --- a/ipam/docs/AddressBlockAPI.md +++ b/ipam/docs/AddressBlockAPI.md @@ -11,6 +11,7 @@ Method | HTTP request | Description [**CreateNextAvailableSubnet**](AddressBlockAPI.md#CreateNextAvailableSubnet) | **Post** /ipam/address_block/{id}/nextavailablesubnet | Create the Next Available Subnet object. [**Delete**](AddressBlockAPI.md#Delete) | **Delete** /ipam/address_block/{id} | Move the address block to the recycle bin. [**List**](AddressBlockAPI.md#List) | **Get** /ipam/address_block | Retrieve the address blocks. +[**ListAncestor**](AddressBlockAPI.md#ListAncestor) | **Get** /ipam/address_block/{id}/ancestor | Retrieve address block ancestors. [**ListNextAvailableAB**](AddressBlockAPI.md#ListNextAvailableAB) | **Get** /ipam/address_block/{id}/nextavailableaddressblock | List Next Available Address Block objects. [**ListNextAvailableIP**](AddressBlockAPI.md#ListNextAvailableIP) | **Get** /ipam/address_block/{id}/nextavailableip | Retrieve the next available IP address. [**ListNextAvailableSubnet**](AddressBlockAPI.md#ListNextAvailableSubnet) | **Get** /ipam/address_block/{id}/nextavailablesubnet | List Next Available Subnet objects. @@ -517,9 +518,78 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## ListAncestor + +> ListAncestorResponse ListAncestor(ctx, id).Execute() + +Retrieve address block ancestors. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + id := "a5183192-1e00-475f-b334-38e1f0bb1bc7" // string | An application specific resource identity of a resource + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.AddressBlockAPI.ListAncestor(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AddressBlockAPI.ListAncestor``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListAncestor`: ListAncestorResponse + fmt.Fprintf(os.Stdout, "Response from `AddressBlockAPI.ListAncestor`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | An application specific resource identity of a resource | + +### Other Parameters + +Other parameters are passed through a pointer to a `AddressBlockAPIListAncestorRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + +### Return type + +[**ListAncestorResponse**](ListAncestorResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## ListNextAvailableAB -> NextAvailableABResponse ListNextAvailableAB(ctx, id).Cidr(cidr).Count(count).Name(name).Comment(comment).Execute() +> NextAvailableABResponse ListNextAvailableAB(ctx, id).Cidr(cidr).Count(count).Name(name).Comment(comment).FederatedRealms(federatedRealms).CompartmentId(compartmentId).Execute() List Next Available Address Block objects. @@ -571,6 +641,8 @@ Name | Type | Description | Notes **count** | **int32** | Number of address blocks to generate. Default 1 if not set. | **name** | **string** | Name of next available address blocks. | **comment** | **string** | Comment of next available address blocks. | +**federatedRealms** | **[]string** | Reserved for future use. | +**compartmentId** | **string** | The compartment id of the address blocks to be created. | ### Return type @@ -663,7 +735,7 @@ Name | Type | Description | Notes ## ListNextAvailableSubnet -> NextAvailableSubnetResponse ListNextAvailableSubnet(ctx, id).Cidr(cidr).Count(count).Name(name).Comment(comment).DhcpHost(dhcpHost).Execute() +> NextAvailableSubnetResponse ListNextAvailableSubnet(ctx, id).Cidr(cidr).Count(count).Name(name).Comment(comment).DhcpHost(dhcpHost).FederatedRealms(federatedRealms).Execute() List Next Available Subnet objects. @@ -716,6 +788,7 @@ Name | Type | Description | Notes **name** | **string** | Name of next available subnets. | **comment** | **string** | Comment of next available subnets. | **dhcpHost** | **string** | Reference of OnPrem Host associated with the next available subnets to be created. | +**federatedRealms** | **[]string** | Reserved for future use. | ### Return type diff --git a/ipam/docs/BulkCopyIPSpace.md b/ipam/docs/BulkCopyIPSpace.md index 6c969ce..3ba1d25 100644 --- a/ipam/docs/BulkCopyIPSpace.md +++ b/ipam/docs/BulkCopyIPSpace.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **CopyDhcpOptions** | Pointer to **bool** | Indicates whether dhcp options for IPv4 should be copied or not when objects (_ipam/address_block_ and _ipam/subnet_ only) are copied. Defaults to _false_. | [optional] **CopyObjects** | **[]string** | The resource identifier. | **Recursive** | Pointer to **bool** | Indicates whether child objects should be copied or not. Defaults to _false_. | [optional] +**RetainChildCompartment** | Pointer to **bool** | Indicates whether the child objects are going to retain their compartment_id, or inherit from the object to copy into. Defaults to false | [optional] **SkipOnError** | Pointer to **bool** | Indicates whether copying should skip object in case of error and continue with next, or abort copying in case of error. Defaults to _false_. | [optional] **Target** | **string** | The resource identifier. | @@ -99,6 +100,31 @@ SetRecursive sets Recursive field to given value. HasRecursive returns a boolean if a field has been set. +### GetRetainChildCompartment + +`func (o *BulkCopyIPSpace) GetRetainChildCompartment() bool` + +GetRetainChildCompartment returns the RetainChildCompartment field if non-nil, zero value otherwise. + +### GetRetainChildCompartmentOk + +`func (o *BulkCopyIPSpace) GetRetainChildCompartmentOk() (*bool, bool)` + +GetRetainChildCompartmentOk returns a tuple with the RetainChildCompartment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRetainChildCompartment + +`func (o *BulkCopyIPSpace) SetRetainChildCompartment(v bool)` + +SetRetainChildCompartment sets RetainChildCompartment field to given value. + +### HasRetainChildCompartment + +`func (o *BulkCopyIPSpace) HasRetainChildCompartment() bool` + +HasRetainChildCompartment returns a boolean if a field has been set. + ### GetSkipOnError `func (o *BulkCopyIPSpace) GetSkipOnError() bool` diff --git a/ipam/docs/DHCPConfig.md b/ipam/docs/DHCPConfig.md index 9a4058d..f759849 100644 --- a/ipam/docs/DHCPConfig.md +++ b/ipam/docs/DHCPConfig.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **AllowUnknownV6** | Pointer to **bool** | Disable to allow leases only for known IPV6 clients, those for which a fixed address is configured. | [optional] [default to true] **EchoClientId** | Pointer to **bool** | Enable/disable to include/exclude the client id when responding to discover or request. | [optional] [default to false] **Filters** | Pointer to **[]string** | The resource identifier. | [optional] +**FiltersLargeSelection** | Pointer to **[]string** | The resource identifier. | [optional] **FiltersV6** | Pointer to **[]string** | The resource identifier. | [optional] **IgnoreClientUid** | Pointer to **bool** | Enable to ignore the client UID when issuing a DHCP lease. Use this option to prevent assigning two IP addresses for a client which does not have a UID during one phase of PXE boot but acquires one for the other phase. | [optional] [default to false] **IgnoreList** | Pointer to [**[]IgnoreItem**](IgnoreItem.md) | The list of clients to ignore requests from. | [optional] @@ -185,6 +186,31 @@ SetFilters sets Filters field to given value. HasFilters returns a boolean if a field has been set. +### GetFiltersLargeSelection + +`func (o *DHCPConfig) GetFiltersLargeSelection() []string` + +GetFiltersLargeSelection returns the FiltersLargeSelection field if non-nil, zero value otherwise. + +### GetFiltersLargeSelectionOk + +`func (o *DHCPConfig) GetFiltersLargeSelectionOk() (*[]string, bool)` + +GetFiltersLargeSelectionOk returns a tuple with the FiltersLargeSelection field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFiltersLargeSelection + +`func (o *DHCPConfig) SetFiltersLargeSelection(v []string)` + +SetFiltersLargeSelection sets FiltersLargeSelection field to given value. + +### HasFiltersLargeSelection + +`func (o *DHCPConfig) HasFiltersLargeSelection() bool` + +HasFiltersLargeSelection returns a boolean if a field has been set. + ### GetFiltersV6 `func (o *DHCPConfig) GetFiltersV6() []string` diff --git a/ipam/docs/FixedAddress.md b/ipam/docs/FixedAddress.md index 89ef9b7..095c748 100644 --- a/ipam/docs/FixedAddress.md +++ b/ipam/docs/FixedAddress.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Address** | **string** | The reserved address. | **Comment** | Pointer to **string** | The description for the fixed address. May contain 0 to 1024 characters. Can include UTF-8. | [optional] +**CompartmentId** | Pointer to **string** | The compartment associated with the object. If no compartment is associated with the object, the value defaults to empty. | [optional] [readonly] **CreatedAt** | Pointer to **time.Time** | Time when the object has been created. | [optional] [readonly] **DhcpOptions** | Pointer to [**[]OptionItem**](OptionItem.md) | The list of DHCP options. May be either a specific option or a group of options. | [optional] **DisableDhcp** | Pointer to **bool** | Optional. _true_ to disable object. The fixed address is converted to an exclusion when generating configuration. Defaults to _false_. | [optional] @@ -89,6 +90,31 @@ SetComment sets Comment field to given value. HasComment returns a boolean if a field has been set. +### GetCompartmentId + +`func (o *FixedAddress) GetCompartmentId() string` + +GetCompartmentId returns the CompartmentId field if non-nil, zero value otherwise. + +### GetCompartmentIdOk + +`func (o *FixedAddress) GetCompartmentIdOk() (*string, bool)` + +GetCompartmentIdOk returns a tuple with the CompartmentId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCompartmentId + +`func (o *FixedAddress) SetCompartmentId(v string)` + +SetCompartmentId sets CompartmentId field to given value. + +### HasCompartmentId + +`func (o *FixedAddress) HasCompartmentId() bool` + +HasCompartmentId returns a boolean if a field has been set. + ### GetCreatedAt `func (o *FixedAddress) GetCreatedAt() time.Time` diff --git a/ipam/docs/HAGroup.md b/ipam/docs/HAGroup.md index 7c202ad..1e0997a 100644 --- a/ipam/docs/HAGroup.md +++ b/ipam/docs/HAGroup.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **Mode** | Pointer to **string** | The mode of the HA group. Valid values are: * _active-active_: Both on-prem hosts remain active. * _active-passive_: One on-prem host remains active and one remains passive. When the active on-prem host is down, the passive on-prem host takes over. * _advanced-active-passive_: One on-prem host may be part of multiple HA groups. When the active on-prem host is down, the passive on-prem host takes over. | [optional] **Name** | **string** | The name of the HA group. Must contain 1 to 256 characters. Can include UTF-8. | **Status** | Pointer to **string** | Status of the HA group. This field is set when the _collect_stats_ is set to _true_ in the _GET_ _/dhcp/ha_group_ request. | [optional] +**StatusV6** | Pointer to **string** | Status of the DHCPv6 HA group. This field is set when the _collect_stats_ is set to _true_ in the _GET_ _/dhcp/ha_group_ request. | [optional] **Tags** | Pointer to **map[string]interface{}** | The tags for the HA group. | [optional] **UpdatedAt** | Pointer to **time.Time** | Time when the object has been updated. Equals to _created_at_ if not updated after creation. | [optional] [readonly] @@ -250,6 +251,31 @@ SetStatus sets Status field to given value. HasStatus returns a boolean if a field has been set. +### GetStatusV6 + +`func (o *HAGroup) GetStatusV6() string` + +GetStatusV6 returns the StatusV6 field if non-nil, zero value otherwise. + +### GetStatusV6Ok + +`func (o *HAGroup) GetStatusV6Ok() (*string, bool)` + +GetStatusV6Ok returns a tuple with the StatusV6 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusV6 + +`func (o *HAGroup) SetStatusV6(v string)` + +SetStatusV6 sets StatusV6 field to given value. + +### HasStatusV6 + +`func (o *HAGroup) HasStatusV6() bool` + +HasStatusV6 returns a boolean if a field has been set. + ### GetTags `func (o *HAGroup) GetTags() map[string]interface{}` diff --git a/ipam/docs/HAGroupHeartbeats.md b/ipam/docs/HAGroupHeartbeats.md index 4870372..7db928d 100644 --- a/ipam/docs/HAGroupHeartbeats.md +++ b/ipam/docs/HAGroupHeartbeats.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Peer** | Pointer to **string** | The name of the peer. | [optional] **SuccessfulHeartbeat** | Pointer to **string** | The timestamp as a string of the last successful heartbeat received from the peer above. | [optional] +**SuccessfulHeartbeatV6** | Pointer to **string** | The timestamp as a string of the last successful DHCPv6 heartbeat received from the peer above. | [optional] ## Methods @@ -76,6 +77,31 @@ SetSuccessfulHeartbeat sets SuccessfulHeartbeat field to given value. HasSuccessfulHeartbeat returns a boolean if a field has been set. +### GetSuccessfulHeartbeatV6 + +`func (o *HAGroupHeartbeats) GetSuccessfulHeartbeatV6() string` + +GetSuccessfulHeartbeatV6 returns the SuccessfulHeartbeatV6 field if non-nil, zero value otherwise. + +### GetSuccessfulHeartbeatV6Ok + +`func (o *HAGroupHeartbeats) GetSuccessfulHeartbeatV6Ok() (*string, bool)` + +GetSuccessfulHeartbeatV6Ok returns a tuple with the SuccessfulHeartbeatV6 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSuccessfulHeartbeatV6 + +`func (o *HAGroupHeartbeats) SetSuccessfulHeartbeatV6(v string)` + +SetSuccessfulHeartbeatV6 sets SuccessfulHeartbeatV6 field to given value. + +### HasSuccessfulHeartbeatV6 + +`func (o *HAGroupHeartbeats) HasSuccessfulHeartbeatV6() bool` + +HasSuccessfulHeartbeatV6 returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/ipam/docs/HAGroupHost.md b/ipam/docs/HAGroupHost.md index a8d6592..f10128f 100644 --- a/ipam/docs/HAGroupHost.md +++ b/ipam/docs/HAGroupHost.md @@ -8,8 +8,10 @@ Name | Type | Description | Notes **Heartbeats** | Pointer to [**[]HAGroupHeartbeats**](HAGroupHeartbeats.md) | Last successful heartbeat received from its peer/s. This field is set when the _collect_stats_ is set to _true_ in the _GET_ _/dhcp/ha_group_ request. | [optional] **Host** | **string** | The resource identifier. | **Port** | Pointer to **int64** | The HA port. | [optional] [readonly] +**PortV6** | Pointer to **int64** | The HA port used for IPv6 communication. | [optional] [readonly] **Role** | Pointer to **string** | The role of this host in the HA relationship: _active_ or _passive_. | [optional] **State** | Pointer to **string** | The state of DHCP on the host. This field is set when the _collect_stats_ is set to _true_ in the _GET_ _/dhcp/ha_group_ request. | [optional] +**StateV6** | Pointer to **string** | The state of DHCPv6 on the host. This field is set when the _collect_stats_ is set to _true_ in the _GET_ _/dhcp/ha_group_ request. | [optional] ## Methods @@ -125,6 +127,31 @@ SetPort sets Port field to given value. HasPort returns a boolean if a field has been set. +### GetPortV6 + +`func (o *HAGroupHost) GetPortV6() int64` + +GetPortV6 returns the PortV6 field if non-nil, zero value otherwise. + +### GetPortV6Ok + +`func (o *HAGroupHost) GetPortV6Ok() (*int64, bool)` + +GetPortV6Ok returns a tuple with the PortV6 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPortV6 + +`func (o *HAGroupHost) SetPortV6(v int64)` + +SetPortV6 sets PortV6 field to given value. + +### HasPortV6 + +`func (o *HAGroupHost) HasPortV6() bool` + +HasPortV6 returns a boolean if a field has been set. + ### GetRole `func (o *HAGroupHost) GetRole() string` @@ -175,6 +202,31 @@ SetState sets State field to given value. HasState returns a boolean if a field has been set. +### GetStateV6 + +`func (o *HAGroupHost) GetStateV6() string` + +GetStateV6 returns the StateV6 field if non-nil, zero value otherwise. + +### GetStateV6Ok + +`func (o *HAGroupHost) GetStateV6Ok() (*string, bool)` + +GetStateV6Ok returns a tuple with the StateV6 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStateV6 + +`func (o *HAGroupHost) SetStateV6(v string)` + +SetStateV6 sets StateV6 field to given value. + +### HasStateV6 + +`func (o *HAGroupHost) HasStateV6() bool` + +HasStateV6 returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/ipam/docs/IPSpace.md b/ipam/docs/IPSpace.md index e47a901..3fa092a 100644 --- a/ipam/docs/IPSpace.md +++ b/ipam/docs/IPSpace.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **AsmConfig** | Pointer to [**ASMConfig**](ASMConfig.md) | The Automated Scope Management configuration for the IP space. | [optional] **AsmScopeFlag** | Pointer to **int64** | The number of times the automated scope management usage limits have been exceeded for any of the subnets in this IP space. | [optional] [readonly] **Comment** | Pointer to **string** | The description for the IP space. May contain 0 to 1024 characters. Can include UTF-8. | [optional] +**CompartmentId** | Pointer to **string** | The compartment associated with the object. If no compartment is associated with the object, the value defaults to empty. | [optional] **CreatedAt** | Pointer to **time.Time** | Time when the object has been created. | [optional] [readonly] **DdnsClientUpdate** | Pointer to **string** | Controls who does the DDNS updates. Valid values are: * _client_: DHCP server updates DNS if requested by client. * _server_: DHCP server always updates DNS, overriding an update request from the client, unless the client requests no updates. * _ignore_: DHCP server always updates DNS, even if the client says not to. * _over_client_update_: Same as _server_. DHCP server always updates DNS, overriding an update request from the client, unless the client requests no updates. * _over_no_update_: DHCP server updates DNS even if the client requests that no updates be done. If the client requests to do the update, DHCP server allows it. Defaults to _client_. | [optional] [default to "client"] **DdnsConflictResolutionMode** | Pointer to **string** | The mode used for resolving conflicts while performing DDNS updates. Valid values are: * _check_with_dhcid_: It includes adding a DHCID record and checking that record via conflict detection as per RFC 4703. * _no_check_with_dhcid_: This will ignore conflict detection but add a DHCID record when creating/updating an entry. * _check_exists_with_dhcid_: This will check if there is an existing DHCID record but does not verify the value of the record matches the update. This will also update the DHCID record for the entry. * _no_check_without_dhcid_: This ignores conflict detection and will not add a DHCID record when creating/updating a DDNS entry. Defaults to _check_with_dhcid_. | [optional] [default to "check_with_dhcid"] @@ -16,7 +17,8 @@ Name | Type | Description | Notes **DdnsSendUpdates** | Pointer to **bool** | Determines if DDNS updates are enabled at the IP space level. Defaults to _true_. | [optional] [default to true] **DdnsTtlPercent** | Pointer to **float32** | DDNS TTL value - to be calculated as a simple percentage of the lease's lifetime, using the parameter's value as the percentage. It is specified as a percentage (e.g. 25, 75). Defaults to unspecified. | [optional] **DdnsUpdateOnRenew** | Pointer to **bool** | Instructs the DHCP server to always update the DNS information when a lease is renewed even if its DNS information has not changed. Defaults to _false_. | [optional] [default to false] -**DdnsUseConflictResolution** | Pointer to **bool** | When true, DHCP server will apply conflict resolution, as described in RFC 4703, when attempting to fulfill the update request. When false, DHCP server will simply attempt to update the DNS entries per the request, regardless of whether or not they conflict with existing entries owned by other DHCP4 clients. Defaults to _true_. | [optional] [default to true] +**DdnsUseConflictResolution** | Pointer to **bool** | When true, DHCP server will apply conflict resolution, as described in RFC 4703, when attempting to fulfill the update request. When false, DHCP server will simply attempt to update the DNS entries per the request, regardless of whether or not they conflict with existing entries owned by other DHCP4 clients. Defaults to _true_. | [optional] +**DefaultRealms** | Pointer to **[]string** | Reserved for future use. | [optional] **DhcpConfig** | Pointer to [**DHCPConfig**](DHCPConfig.md) | The shared DHCP configuration for the IP space that controls how leases are issued. | [optional] **DhcpOptions** | Pointer to [**[]OptionItem**](OptionItem.md) | The list of IPv4 DHCP options for IP space. May be either a specific option or a group of options. | [optional] **DhcpOptionsV6** | Pointer to [**[]OptionItem**](OptionItem.md) | The list of IPv6 DHCP options for IP space. May be either a specific option or a group of options. | [optional] @@ -130,6 +132,31 @@ SetComment sets Comment field to given value. HasComment returns a boolean if a field has been set. +### GetCompartmentId + +`func (o *IPSpace) GetCompartmentId() string` + +GetCompartmentId returns the CompartmentId field if non-nil, zero value otherwise. + +### GetCompartmentIdOk + +`func (o *IPSpace) GetCompartmentIdOk() (*string, bool)` + +GetCompartmentIdOk returns a tuple with the CompartmentId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCompartmentId + +`func (o *IPSpace) SetCompartmentId(v string)` + +SetCompartmentId sets CompartmentId field to given value. + +### HasCompartmentId + +`func (o *IPSpace) HasCompartmentId() bool` + +HasCompartmentId returns a boolean if a field has been set. + ### GetCreatedAt `func (o *IPSpace) GetCreatedAt() time.Time` @@ -380,6 +407,31 @@ SetDdnsUseConflictResolution sets DdnsUseConflictResolution field to given value HasDdnsUseConflictResolution returns a boolean if a field has been set. +### GetDefaultRealms + +`func (o *IPSpace) GetDefaultRealms() []string` + +GetDefaultRealms returns the DefaultRealms field if non-nil, zero value otherwise. + +### GetDefaultRealmsOk + +`func (o *IPSpace) GetDefaultRealmsOk() (*[]string, bool)` + +GetDefaultRealmsOk returns a tuple with the DefaultRealms field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefaultRealms + +`func (o *IPSpace) SetDefaultRealms(v []string)` + +SetDefaultRealms sets DefaultRealms field to given value. + +### HasDefaultRealms + +`func (o *IPSpace) HasDefaultRealms() bool` + +HasDefaultRealms returns a boolean if a field has been set. + ### GetDhcpConfig `func (o *IPSpace) GetDhcpConfig() DHCPConfig` diff --git a/ipam/docs/IpSpaceAPI.md b/ipam/docs/IpSpaceAPI.md index 88182f4..a428ad2 100644 --- a/ipam/docs/IpSpaceAPI.md +++ b/ipam/docs/IpSpaceAPI.md @@ -8,6 +8,7 @@ Method | HTTP request | Description [**Copy**](IpSpaceAPI.md#Copy) | **Post** /ipam/ip_space/{id}/copy | Copy the IP space. [**Create**](IpSpaceAPI.md#Create) | **Post** /ipam/ip_space | Create the IP space. [**Delete**](IpSpaceAPI.md#Delete) | **Delete** /ipam/ip_space/{id} | Move the IP space to the recycle bin. +[**GetConflicts**](IpSpaceAPI.md#GetConflicts) | **Get** /ipam/ip_space/{id}/conflicts | Retrieve Conflicted __AddressBlock__ and __Subnet__ objects in Federated Realms. [**List**](IpSpaceAPI.md#List) | **Get** /ipam/ip_space | Retrieve IP spaces. [**Read**](IpSpaceAPI.md#Read) | **Get** /ipam/ip_space/{id} | Retrieve the IP space. [**Update**](IpSpaceAPI.md#Update) | **Patch** /ipam/ip_space/{id} | Update the IP space. @@ -285,6 +286,76 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GetConflicts + +> RealmsConflictResponse GetConflicts(ctx, id).FederatedRealms(federatedRealms).Execute() + +Retrieve Conflicted __AddressBlock__ and __Subnet__ objects in Federated Realms. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + id := "a5183192-1e00-475f-b334-38e1f0bb1bc7" // string | An application specific resource identity of a resource + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.IpSpaceAPI.GetConflicts(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `IpSpaceAPI.GetConflicts``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetConflicts`: RealmsConflictResponse + fmt.Fprintf(os.Stdout, "Response from `IpSpaceAPI.GetConflicts`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | An application specific resource identity of a resource | + +### Other Parameters + +Other parameters are passed through a pointer to a `IpSpaceAPIGetConflictsRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**federatedRealms** | **[]string** | List of __FederatedRealm__ object ids. | + +### Return type + +[**RealmsConflictResponse**](RealmsConflictResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## List > ListIPSpaceResponse List(ctx).Fields(fields).Filter(filter).Offset(offset).Limit(limit).PageToken(pageToken).OrderBy(orderBy).TorderBy(torderBy).Tfilter(tfilter).Inherit(inherit).Execute() diff --git a/ipam/docs/Range.md b/ipam/docs/Range.md index 7bf6876..b793db1 100644 --- a/ipam/docs/Range.md +++ b/ipam/docs/Range.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Comment** | Pointer to **string** | The description for the range. May contain 0 to 1024 characters. Can include UTF-8. | [optional] +**CompartmentId** | Pointer to **string** | The compartment associated with the object. If no compartment is associated with the object, the value defaults to empty. | [optional] [readonly] **CreatedAt** | Pointer to **time.Time** | Time when the object has been created. | [optional] [readonly] **DhcpHost** | Pointer to **string** | The resource identifier. | [optional] **DhcpOptions** | Pointer to [**[]OptionItem**](OptionItem.md) | The list of DHCP options. May be either a specific option or a group of options. | [optional] @@ -20,6 +21,7 @@ Name | Type | Description | Notes **Parent** | Pointer to **string** | The resource identifier. | [optional] **Protocol** | Pointer to **string** | The type of protocol (_ip4_ or _ip6_). | [optional] [readonly] **Space** | Pointer to **string** | The resource identifier. | [optional] +**SpaceName** | Pointer to **string** | The name of the IP Space the range belongs to. | [optional] [readonly] **Start** | **string** | The start IP address of the range. | **Tags** | Pointer to **map[string]interface{}** | The tags for the range in JSON format. | [optional] **Threshold** | Pointer to [**UtilizationThreshold**](UtilizationThreshold.md) | The utilization threshold settings for the range. | [optional] @@ -71,6 +73,31 @@ SetComment sets Comment field to given value. HasComment returns a boolean if a field has been set. +### GetCompartmentId + +`func (o *Range) GetCompartmentId() string` + +GetCompartmentId returns the CompartmentId field if non-nil, zero value otherwise. + +### GetCompartmentIdOk + +`func (o *Range) GetCompartmentIdOk() (*string, bool)` + +GetCompartmentIdOk returns a tuple with the CompartmentId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCompartmentId + +`func (o *Range) SetCompartmentId(v string)` + +SetCompartmentId sets CompartmentId field to given value. + +### HasCompartmentId + +`func (o *Range) HasCompartmentId() bool` + +HasCompartmentId returns a boolean if a field has been set. + ### GetCreatedAt `func (o *Range) GetCreatedAt() time.Time` @@ -441,6 +468,31 @@ SetSpace sets Space field to given value. HasSpace returns a boolean if a field has been set. +### GetSpaceName + +`func (o *Range) GetSpaceName() string` + +GetSpaceName returns the SpaceName field if non-nil, zero value otherwise. + +### GetSpaceNameOk + +`func (o *Range) GetSpaceNameOk() (*string, bool)` + +GetSpaceNameOk returns a tuple with the SpaceName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSpaceName + +`func (o *Range) SetSpaceName(v string)` + +SetSpaceName sets SpaceName field to given value. + +### HasSpaceName + +`func (o *Range) HasSpaceName() bool` + +HasSpaceName returns a boolean if a field has been set. + ### GetStart `func (o *Range) GetStart() string` diff --git a/ipam/docs/Server.md b/ipam/docs/Server.md index 22d711e..36d6434 100644 --- a/ipam/docs/Server.md +++ b/ipam/docs/Server.md @@ -37,6 +37,7 @@ Name | Type | Description | Notes **KerberosTkeyLifetime** | Pointer to **int64** | Lifetime (in seconds) of GSS-TSIG keys in the TKEY protocol. Defaults to 160 seconds. | [optional] **KerberosTkeyProtocol** | Pointer to **string** | Determines which protocol is used to establish the security context with the external DNS servers, TCP or UDP. Defaults to _tcp_. | [optional] **Name** | **string** | The name of the DHCP Config Profile. Must contain 1 to 256 characters. Can include UTF-8. | +**ProfileType** | Pointer to **string** | The type of server object. Defaults to _server_. Valid values are: * _server_: The server profile type. * _subnet_: The subnet profile type. | [optional] **ServerPrincipal** | Pointer to **string** | The Kerberos principal name of the external DNS server that will receive updates. Defaults to empty. | [optional] **Tags** | Pointer to **map[string]interface{}** | The tags for the DHCP Config Profile in JSON format. | [optional] **UpdatedAt** | Pointer to **time.Time** | Time when the object has been updated. Equals to _created_at_ if not updated after creation. | [optional] [readonly] @@ -881,6 +882,31 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetProfileType + +`func (o *Server) GetProfileType() string` + +GetProfileType returns the ProfileType field if non-nil, zero value otherwise. + +### GetProfileTypeOk + +`func (o *Server) GetProfileTypeOk() (*string, bool)` + +GetProfileTypeOk returns a tuple with the ProfileType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProfileType + +`func (o *Server) SetProfileType(v string)` + +SetProfileType sets ProfileType field to given value. + +### HasProfileType + +`func (o *Server) HasProfileType() bool` + +HasProfileType returns a boolean if a field has been set. + ### GetServerPrincipal `func (o *Server) GetServerPrincipal() string` diff --git a/ipam/docs/Subnet.md b/ipam/docs/Subnet.md index 95cda0d..13d2eb6 100644 --- a/ipam/docs/Subnet.md +++ b/ipam/docs/Subnet.md @@ -9,6 +9,8 @@ Name | Type | Description | Notes **AsmScopeFlag** | Pointer to **int64** | Set to 1 to indicate that the subnet may run out of addresses. | [optional] [readonly] **Cidr** | Pointer to **int64** | The CIDR of the subnet. This is required if _address_ does not include CIDR. | [optional] **Comment** | Pointer to **string** | The description for the subnet. May contain 0 to 1024 characters. Can include UTF-8. | [optional] +**CompartmentId** | Pointer to **string** | The compartment associated with the object. If no compartment is associated with the object, the value defaults to empty. | [optional] [readonly] +**ConfigProfiles** | Pointer to **[]string** | The resource identifier. | [optional] **CreatedAt** | Pointer to **time.Time** | Time when the object has been created. | [optional] [readonly] **DdnsClientUpdate** | Pointer to **string** | Controls who does the DDNS updates. Valid values are: * _client_: DHCP server updates DNS if requested by client. * _server_: DHCP server always updates DNS, overriding an update request from the client, unless the client requests no updates. * _ignore_: DHCP server always updates DNS, even if the client says not to. * _over_client_update_: Same as _server_. DHCP server always updates DNS, overriding an update request from the client, unless the client requests no updates. * _over_no_update_: DHCP server updates DNS even if the client requests that no updates be done. If the client requests to do the update, DHCP server allows it. Defaults to _client_. | [optional] **DdnsConflictResolutionMode** | Pointer to **string** | The mode used for resolving conflicts while performing DDNS updates. Valid values are: * _check_with_dhcid_: It includes adding a DHCID record and checking that record via conflict detection as per RFC 4703. * _no_check_with_dhcid_: This will ignore conflict detection but add a DHCID record when creating/updating an entry. * _check_exists_with_dhcid_: This will check if there is an existing DHCID record but does not verify the value of the record matches the update. This will also update the DHCID record for the entry. * _no_check_without_dhcid_: This ignores conflict detection and will not add a DHCID record when creating/updating a DDNS entry. Defaults to _check_with_dhcid_. | [optional] @@ -26,6 +28,9 @@ Name | Type | Description | Notes **DisableDhcp** | Pointer to **bool** | Optional. _true_ to disable object. A disabled object is effectively non-existent when generating configuration. Defaults to _false_. | [optional] **DiscoveryAttrs** | Pointer to **map[string]interface{}** | The discovery attributes for this subnet in JSON format. | [optional] [readonly] **DiscoveryMetadata** | Pointer to **map[string]interface{}** | The discovery metadata for this subnet in JSON format. | [optional] [readonly] +**ExternalKeys** | Pointer to **map[string]interface{}** | The external keys (source key) for this subnet in JSON format. | [optional] +**FederatedRealms** | Pointer to **[]string** | Reserved for future use. | [optional] +**Federation** | Pointer to **string** | Reserved for future use. | [optional] [readonly] **HeaderOptionFilename** | Pointer to **string** | The configuration for header option filename field. | [optional] **HeaderOptionServerAddress** | Pointer to **string** | The configuration for header option server address field. | [optional] **HeaderOptionServerName** | Pointer to **string** | The configuration for header option server name field. | [optional] @@ -193,6 +198,56 @@ SetComment sets Comment field to given value. HasComment returns a boolean if a field has been set. +### GetCompartmentId + +`func (o *Subnet) GetCompartmentId() string` + +GetCompartmentId returns the CompartmentId field if non-nil, zero value otherwise. + +### GetCompartmentIdOk + +`func (o *Subnet) GetCompartmentIdOk() (*string, bool)` + +GetCompartmentIdOk returns a tuple with the CompartmentId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCompartmentId + +`func (o *Subnet) SetCompartmentId(v string)` + +SetCompartmentId sets CompartmentId field to given value. + +### HasCompartmentId + +`func (o *Subnet) HasCompartmentId() bool` + +HasCompartmentId returns a boolean if a field has been set. + +### GetConfigProfiles + +`func (o *Subnet) GetConfigProfiles() []string` + +GetConfigProfiles returns the ConfigProfiles field if non-nil, zero value otherwise. + +### GetConfigProfilesOk + +`func (o *Subnet) GetConfigProfilesOk() (*[]string, bool)` + +GetConfigProfilesOk returns a tuple with the ConfigProfiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfigProfiles + +`func (o *Subnet) SetConfigProfiles(v []string)` + +SetConfigProfiles sets ConfigProfiles field to given value. + +### HasConfigProfiles + +`func (o *Subnet) HasConfigProfiles() bool` + +HasConfigProfiles returns a boolean if a field has been set. + ### GetCreatedAt `func (o *Subnet) GetCreatedAt() time.Time` @@ -618,6 +673,81 @@ SetDiscoveryMetadata sets DiscoveryMetadata field to given value. HasDiscoveryMetadata returns a boolean if a field has been set. +### GetExternalKeys + +`func (o *Subnet) GetExternalKeys() map[string]interface{}` + +GetExternalKeys returns the ExternalKeys field if non-nil, zero value otherwise. + +### GetExternalKeysOk + +`func (o *Subnet) GetExternalKeysOk() (*map[string]interface{}, bool)` + +GetExternalKeysOk returns a tuple with the ExternalKeys field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExternalKeys + +`func (o *Subnet) SetExternalKeys(v map[string]interface{})` + +SetExternalKeys sets ExternalKeys field to given value. + +### HasExternalKeys + +`func (o *Subnet) HasExternalKeys() bool` + +HasExternalKeys returns a boolean if a field has been set. + +### GetFederatedRealms + +`func (o *Subnet) GetFederatedRealms() []string` + +GetFederatedRealms returns the FederatedRealms field if non-nil, zero value otherwise. + +### GetFederatedRealmsOk + +`func (o *Subnet) GetFederatedRealmsOk() (*[]string, bool)` + +GetFederatedRealmsOk returns a tuple with the FederatedRealms field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFederatedRealms + +`func (o *Subnet) SetFederatedRealms(v []string)` + +SetFederatedRealms sets FederatedRealms field to given value. + +### HasFederatedRealms + +`func (o *Subnet) HasFederatedRealms() bool` + +HasFederatedRealms returns a boolean if a field has been set. + +### GetFederation + +`func (o *Subnet) GetFederation() string` + +GetFederation returns the Federation field if non-nil, zero value otherwise. + +### GetFederationOk + +`func (o *Subnet) GetFederationOk() (*string, bool)` + +GetFederationOk returns a tuple with the Federation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFederation + +`func (o *Subnet) SetFederation(v string)` + +SetFederation sets Federation field to given value. + +### HasFederation + +`func (o *Subnet) HasFederation() bool` + +HasFederation returns a boolean if a field has been set. + ### GetHeaderOptionFilename `func (o *Subnet) GetHeaderOptionFilename() string` diff --git a/ipam/docs/SubnetAPI.md b/ipam/docs/SubnetAPI.md index 710901b..b6bc97c 100644 --- a/ipam/docs/SubnetAPI.md +++ b/ipam/docs/SubnetAPI.md @@ -9,6 +9,7 @@ Method | HTTP request | Description [**CreateNextAvailableIP**](SubnetAPI.md#CreateNextAvailableIP) | **Post** /ipam/subnet/{id}/nextavailableip | Allocate the next available IP address. [**Delete**](SubnetAPI.md#Delete) | **Delete** /ipam/subnet/{id} | Move the subnet to the recycle bin. [**List**](SubnetAPI.md#List) | **Get** /ipam/subnet | Retrieve subnets. +[**ListAncestor**](SubnetAPI.md#ListAncestor) | **Get** /ipam/subnet/{id}/ancestor | Retrieve subnet ancestors. [**ListNextAvailableIP**](SubnetAPI.md#ListNextAvailableIP) | **Get** /ipam/subnet/{id}/nextavailableip | Retrieve the next available IP address. [**Read**](SubnetAPI.md#Read) | **Get** /ipam/subnet/{id} | Retrieve the subnet. [**Update**](SubnetAPI.md#Update) | **Patch** /ipam/subnet/{id} | Update the subnet. @@ -364,6 +365,76 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## ListAncestor + +> ListAncestorResponse ListAncestor(ctx, id).Inherit(inherit).Execute() + +Retrieve subnet ancestors. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "github.com/infobloxopen/bloxone-go-client/ipam" +) + +func main() { + id := "a5183192-1e00-475f-b334-38e1f0bb1bc7" // string | An application specific resource identity of a resource + + apiClient := ipam.NewAPIClient() + resp, r, err := apiClient.SubnetAPI.ListAncestor(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SubnetAPI.ListAncestor``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListAncestor`: ListAncestorResponse + fmt.Fprintf(os.Stdout, "Response from `SubnetAPI.ListAncestor`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | An application specific resource identity of a resource | + +### Other Parameters + +Other parameters are passed through a pointer to a `SubnetAPIListAncestorRequest` struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**inherit** | **string** | This parameter is used for getting inheritance_sources. Allowed values: * _none_, * _partial_, * _full_. Defaults to _none | + +### Return type + +[**ListAncestorResponse**](ListAncestorResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## ListNextAvailableIP > NextAvailableIPResponse ListNextAvailableIP(ctx, id).Contiguous(contiguous).Count(count).Execute() diff --git a/ipam/model_address.go b/ipam/model_address.go index 1523d06..1caeab9 100644 --- a/ipam/model_address.go +++ b/ipam/model_address.go @@ -25,6 +25,8 @@ type Address struct { Address string `json:"address"` // The description for the address object. May contain 0 to 1024 characters. Can include UTF-8. Comment *string `json:"comment,omitempty"` + // The compartment associated with the object. If no compartment is associated with the object, the value defaults to empty. + CompartmentId *string `json:"compartment_id,omitempty"` // Time when the object has been created. CreatedAt *time.Time `json:"created_at,omitempty"` // The DHCP information associated with this object. @@ -35,6 +37,8 @@ type Address struct { DiscoveryAttrs map[string]interface{} `json:"discovery_attrs,omitempty"` // The discovery metadata for this address in JSON format. DiscoveryMetadata map[string]interface{} `json:"discovery_metadata,omitempty"` + // The external keys (source key) for this address in JSON format. + ExternalKeys map[string]interface{} `json:"external_keys,omitempty"` // The resource identifier. Host *string `json:"host,omitempty"` // The hardware address associated with this IP address. @@ -140,6 +144,38 @@ func (o *Address) SetComment(v string) { o.Comment = &v } +// GetCompartmentId returns the CompartmentId field value if set, zero value otherwise. +func (o *Address) GetCompartmentId() string { + if o == nil || IsNil(o.CompartmentId) { + var ret string + return ret + } + return *o.CompartmentId +} + +// GetCompartmentIdOk returns a tuple with the CompartmentId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Address) GetCompartmentIdOk() (*string, bool) { + if o == nil || IsNil(o.CompartmentId) { + return nil, false + } + return o.CompartmentId, true +} + +// HasCompartmentId returns a boolean if a field has been set. +func (o *Address) HasCompartmentId() bool { + if o != nil && !IsNil(o.CompartmentId) { + return true + } + + return false +} + +// SetCompartmentId gets a reference to the given string and assigns it to the CompartmentId field. +func (o *Address) SetCompartmentId(v string) { + o.CompartmentId = &v +} + // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. func (o *Address) GetCreatedAt() time.Time { if o == nil || IsNil(o.CreatedAt) { @@ -300,6 +336,38 @@ func (o *Address) SetDiscoveryMetadata(v map[string]interface{}) { o.DiscoveryMetadata = v } +// GetExternalKeys returns the ExternalKeys field value if set, zero value otherwise. +func (o *Address) GetExternalKeys() map[string]interface{} { + if o == nil || IsNil(o.ExternalKeys) { + var ret map[string]interface{} + return ret + } + return o.ExternalKeys +} + +// GetExternalKeysOk returns a tuple with the ExternalKeys field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Address) GetExternalKeysOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.ExternalKeys) { + return map[string]interface{}{}, false + } + return o.ExternalKeys, true +} + +// HasExternalKeys returns a boolean if a field has been set. +func (o *Address) HasExternalKeys() bool { + if o != nil && !IsNil(o.ExternalKeys) { + return true + } + + return false +} + +// SetExternalKeys gets a reference to the given map[string]interface{} and assigns it to the ExternalKeys field. +func (o *Address) SetExternalKeys(v map[string]interface{}) { + o.ExternalKeys = v +} + // GetHost returns the Host field value if set, zero value otherwise. func (o *Address) GetHost() string { if o == nil || IsNil(o.Host) { @@ -730,6 +798,9 @@ func (o Address) ToMap() (map[string]interface{}, error) { if !IsNil(o.Comment) { toSerialize["comment"] = o.Comment } + if !IsNil(o.CompartmentId) { + toSerialize["compartment_id"] = o.CompartmentId + } if !IsNil(o.CreatedAt) { toSerialize["created_at"] = o.CreatedAt } @@ -745,6 +816,9 @@ func (o Address) ToMap() (map[string]interface{}, error) { if !IsNil(o.DiscoveryMetadata) { toSerialize["discovery_metadata"] = o.DiscoveryMetadata } + if !IsNil(o.ExternalKeys) { + toSerialize["external_keys"] = o.ExternalKeys + } if !IsNil(o.Host) { toSerialize["host"] = o.Host } @@ -829,11 +903,13 @@ func (o *Address) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "address") delete(additionalProperties, "comment") + delete(additionalProperties, "compartment_id") delete(additionalProperties, "created_at") delete(additionalProperties, "dhcp_info") delete(additionalProperties, "disable_dhcp") delete(additionalProperties, "discovery_attrs") delete(additionalProperties, "discovery_metadata") + delete(additionalProperties, "external_keys") delete(additionalProperties, "host") delete(additionalProperties, "hwaddr") delete(additionalProperties, "id") diff --git a/ipam/model_address_block.go b/ipam/model_address_block.go index 2898d11..c2358bc 100644 --- a/ipam/model_address_block.go +++ b/ipam/model_address_block.go @@ -30,6 +30,8 @@ type AddressBlock struct { Cidr *int64 `json:"cidr,omitempty"` // The description for the address block. May contain 0 to 1024 characters. Can include UTF-8. Comment *string `json:"comment,omitempty"` + // The compartment associated with the object. If no compartment is associated with the object, the value defaults to empty. + CompartmentId *string `json:"compartment_id,omitempty"` // Time when the object has been created. CreatedAt *time.Time `json:"created_at,omitempty"` // Controls who does the DDNS updates. Valid values are: * _client_: DHCP server updates DNS if requested by client. * _server_: DHCP server always updates DNS, overriding an update request from the client, unless the client requests no updates. * _ignore_: DHCP server always updates DNS, even if the client says not to. * _over_client_update_: Same as _server_. DHCP server always updates DNS, overriding an update request from the client, unless the client requests no updates. * _over_no_update_: DHCP server updates DNS even if the client requests that no updates be done. If the client requests to do the update, DHCP server allows it. Defaults to _client_. @@ -60,6 +62,12 @@ type AddressBlock struct { DiscoveryAttrs map[string]interface{} `json:"discovery_attrs,omitempty"` // The discovery metadata for this address block in JSON format. DiscoveryMetadata map[string]interface{} `json:"discovery_metadata,omitempty"` + // The external keys (source key) for this address block in JSON format. + ExternalKeys map[string]interface{} `json:"external_keys,omitempty"` + // Reserved for future use. + FederatedRealms []string `json:"federated_realms,omitempty"` + // Reserved for future use. + Federation *string `json:"federation,omitempty"` // The configuration for header option filename field. HeaderOptionFilename *string `json:"header_option_filename,omitempty"` // The configuration for header option server address field. @@ -280,6 +288,38 @@ func (o *AddressBlock) SetComment(v string) { o.Comment = &v } +// GetCompartmentId returns the CompartmentId field value if set, zero value otherwise. +func (o *AddressBlock) GetCompartmentId() string { + if o == nil || IsNil(o.CompartmentId) { + var ret string + return ret + } + return *o.CompartmentId +} + +// GetCompartmentIdOk returns a tuple with the CompartmentId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AddressBlock) GetCompartmentIdOk() (*string, bool) { + if o == nil || IsNil(o.CompartmentId) { + return nil, false + } + return o.CompartmentId, true +} + +// HasCompartmentId returns a boolean if a field has been set. +func (o *AddressBlock) HasCompartmentId() bool { + if o != nil && !IsNil(o.CompartmentId) { + return true + } + + return false +} + +// SetCompartmentId gets a reference to the given string and assigns it to the CompartmentId field. +func (o *AddressBlock) SetCompartmentId(v string) { + o.CompartmentId = &v +} + // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. func (o *AddressBlock) GetCreatedAt() time.Time { if o == nil || IsNil(o.CreatedAt) { @@ -760,6 +800,102 @@ func (o *AddressBlock) SetDiscoveryMetadata(v map[string]interface{}) { o.DiscoveryMetadata = v } +// GetExternalKeys returns the ExternalKeys field value if set, zero value otherwise. +func (o *AddressBlock) GetExternalKeys() map[string]interface{} { + if o == nil || IsNil(o.ExternalKeys) { + var ret map[string]interface{} + return ret + } + return o.ExternalKeys +} + +// GetExternalKeysOk returns a tuple with the ExternalKeys field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AddressBlock) GetExternalKeysOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.ExternalKeys) { + return map[string]interface{}{}, false + } + return o.ExternalKeys, true +} + +// HasExternalKeys returns a boolean if a field has been set. +func (o *AddressBlock) HasExternalKeys() bool { + if o != nil && !IsNil(o.ExternalKeys) { + return true + } + + return false +} + +// SetExternalKeys gets a reference to the given map[string]interface{} and assigns it to the ExternalKeys field. +func (o *AddressBlock) SetExternalKeys(v map[string]interface{}) { + o.ExternalKeys = v +} + +// GetFederatedRealms returns the FederatedRealms field value if set, zero value otherwise. +func (o *AddressBlock) GetFederatedRealms() []string { + if o == nil || IsNil(o.FederatedRealms) { + var ret []string + return ret + } + return o.FederatedRealms +} + +// GetFederatedRealmsOk returns a tuple with the FederatedRealms field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AddressBlock) GetFederatedRealmsOk() ([]string, bool) { + if o == nil || IsNil(o.FederatedRealms) { + return nil, false + } + return o.FederatedRealms, true +} + +// HasFederatedRealms returns a boolean if a field has been set. +func (o *AddressBlock) HasFederatedRealms() bool { + if o != nil && !IsNil(o.FederatedRealms) { + return true + } + + return false +} + +// SetFederatedRealms gets a reference to the given []string and assigns it to the FederatedRealms field. +func (o *AddressBlock) SetFederatedRealms(v []string) { + o.FederatedRealms = v +} + +// GetFederation returns the Federation field value if set, zero value otherwise. +func (o *AddressBlock) GetFederation() string { + if o == nil || IsNil(o.Federation) { + var ret string + return ret + } + return *o.Federation +} + +// GetFederationOk returns a tuple with the Federation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AddressBlock) GetFederationOk() (*string, bool) { + if o == nil || IsNil(o.Federation) { + return nil, false + } + return o.Federation, true +} + +// HasFederation returns a boolean if a field has been set. +func (o *AddressBlock) HasFederation() bool { + if o != nil && !IsNil(o.Federation) { + return true + } + + return false +} + +// SetFederation gets a reference to the given string and assigns it to the Federation field. +func (o *AddressBlock) SetFederation(v string) { + o.Federation = &v +} + // GetHeaderOptionFilename returns the HeaderOptionFilename field value if set, zero value otherwise. func (o *AddressBlock) GetHeaderOptionFilename() string { if o == nil || IsNil(o.HeaderOptionFilename) { @@ -1393,6 +1529,9 @@ func (o AddressBlock) ToMap() (map[string]interface{}, error) { if !IsNil(o.Comment) { toSerialize["comment"] = o.Comment } + if !IsNil(o.CompartmentId) { + toSerialize["compartment_id"] = o.CompartmentId + } if !IsNil(o.CreatedAt) { toSerialize["created_at"] = o.CreatedAt } @@ -1438,6 +1577,15 @@ func (o AddressBlock) ToMap() (map[string]interface{}, error) { if !IsNil(o.DiscoveryMetadata) { toSerialize["discovery_metadata"] = o.DiscoveryMetadata } + if !IsNil(o.ExternalKeys) { + toSerialize["external_keys"] = o.ExternalKeys + } + if !IsNil(o.FederatedRealms) { + toSerialize["federated_realms"] = o.FederatedRealms + } + if !IsNil(o.Federation) { + toSerialize["federation"] = o.Federation + } if !IsNil(o.HeaderOptionFilename) { toSerialize["header_option_filename"] = o.HeaderOptionFilename } @@ -1522,6 +1670,7 @@ func (o *AddressBlock) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "asm_scope_flag") delete(additionalProperties, "cidr") delete(additionalProperties, "comment") + delete(additionalProperties, "compartment_id") delete(additionalProperties, "created_at") delete(additionalProperties, "ddns_client_update") delete(additionalProperties, "ddns_conflict_resolution_mode") @@ -1537,6 +1686,9 @@ func (o *AddressBlock) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "dhcp_utilization") delete(additionalProperties, "discovery_attrs") delete(additionalProperties, "discovery_metadata") + delete(additionalProperties, "external_keys") + delete(additionalProperties, "federated_realms") + delete(additionalProperties, "federation") delete(additionalProperties, "header_option_filename") delete(additionalProperties, "header_option_server_address") delete(additionalProperties, "header_option_server_name") diff --git a/ipam/model_bulk_copy_ip_space.go b/ipam/model_bulk_copy_ip_space.go index b57b10c..95cd741 100644 --- a/ipam/model_bulk_copy_ip_space.go +++ b/ipam/model_bulk_copy_ip_space.go @@ -26,6 +26,8 @@ type BulkCopyIPSpace struct { CopyObjects []string `json:"copy_objects"` // Indicates whether child objects should be copied or not. Defaults to _false_. Recursive *bool `json:"recursive,omitempty"` + // Indicates whether the child objects are going to retain their compartment_id, or inherit from the object to copy into. Defaults to false + RetainChildCompartment *bool `json:"retain_child_compartment,omitempty"` // Indicates whether copying should skip object in case of error and continue with next, or abort copying in case of error. Defaults to _false_. SkipOnError *bool `json:"skip_on_error,omitempty"` // The resource identifier. @@ -142,6 +144,38 @@ func (o *BulkCopyIPSpace) SetRecursive(v bool) { o.Recursive = &v } +// GetRetainChildCompartment returns the RetainChildCompartment field value if set, zero value otherwise. +func (o *BulkCopyIPSpace) GetRetainChildCompartment() bool { + if o == nil || IsNil(o.RetainChildCompartment) { + var ret bool + return ret + } + return *o.RetainChildCompartment +} + +// GetRetainChildCompartmentOk returns a tuple with the RetainChildCompartment field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BulkCopyIPSpace) GetRetainChildCompartmentOk() (*bool, bool) { + if o == nil || IsNil(o.RetainChildCompartment) { + return nil, false + } + return o.RetainChildCompartment, true +} + +// HasRetainChildCompartment returns a boolean if a field has been set. +func (o *BulkCopyIPSpace) HasRetainChildCompartment() bool { + if o != nil && !IsNil(o.RetainChildCompartment) { + return true + } + + return false +} + +// SetRetainChildCompartment gets a reference to the given bool and assigns it to the RetainChildCompartment field. +func (o *BulkCopyIPSpace) SetRetainChildCompartment(v bool) { + o.RetainChildCompartment = &v +} + // GetSkipOnError returns the SkipOnError field value if set, zero value otherwise. func (o *BulkCopyIPSpace) GetSkipOnError() bool { if o == nil || IsNil(o.SkipOnError) { @@ -215,6 +249,9 @@ func (o BulkCopyIPSpace) ToMap() (map[string]interface{}, error) { if !IsNil(o.Recursive) { toSerialize["recursive"] = o.Recursive } + if !IsNil(o.RetainChildCompartment) { + toSerialize["retain_child_compartment"] = o.RetainChildCompartment + } if !IsNil(o.SkipOnError) { toSerialize["skip_on_error"] = o.SkipOnError } @@ -266,6 +303,7 @@ func (o *BulkCopyIPSpace) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "copy_dhcp_options") delete(additionalProperties, "copy_objects") delete(additionalProperties, "recursive") + delete(additionalProperties, "retain_child_compartment") delete(additionalProperties, "skip_on_error") delete(additionalProperties, "target") o.AdditionalProperties = additionalProperties diff --git a/ipam/model_dhcp_config.go b/ipam/model_dhcp_config.go index f988cb0..43c5f73 100644 --- a/ipam/model_dhcp_config.go +++ b/ipam/model_dhcp_config.go @@ -32,6 +32,8 @@ type DHCPConfig struct { // The resource identifier. Filters []string `json:"filters,omitempty"` // The resource identifier. + FiltersLargeSelection []string `json:"filters_large_selection,omitempty"` + // The resource identifier. FiltersV6 []string `json:"filters_v6,omitempty"` // Enable to ignore the client UID when issuing a DHCP lease. Use this option to prevent assigning two IP addresses for a client which does not have a UID during one phase of PXE boot but acquires one for the other phase. IgnoreClientUid *bool `json:"ignore_client_uid,omitempty"` @@ -287,6 +289,38 @@ func (o *DHCPConfig) SetFilters(v []string) { o.Filters = v } +// GetFiltersLargeSelection returns the FiltersLargeSelection field value if set, zero value otherwise. +func (o *DHCPConfig) GetFiltersLargeSelection() []string { + if o == nil || IsNil(o.FiltersLargeSelection) { + var ret []string + return ret + } + return o.FiltersLargeSelection +} + +// GetFiltersLargeSelectionOk returns a tuple with the FiltersLargeSelection field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DHCPConfig) GetFiltersLargeSelectionOk() ([]string, bool) { + if o == nil || IsNil(o.FiltersLargeSelection) { + return nil, false + } + return o.FiltersLargeSelection, true +} + +// HasFiltersLargeSelection returns a boolean if a field has been set. +func (o *DHCPConfig) HasFiltersLargeSelection() bool { + if o != nil && !IsNil(o.FiltersLargeSelection) { + return true + } + + return false +} + +// SetFiltersLargeSelection gets a reference to the given []string and assigns it to the FiltersLargeSelection field. +func (o *DHCPConfig) SetFiltersLargeSelection(v []string) { + o.FiltersLargeSelection = v +} + // GetFiltersV6 returns the FiltersV6 field value if set, zero value otherwise. func (o *DHCPConfig) GetFiltersV6() []string { if o == nil || IsNil(o.FiltersV6) { @@ -475,6 +509,9 @@ func (o DHCPConfig) ToMap() (map[string]interface{}, error) { if !IsNil(o.Filters) { toSerialize["filters"] = o.Filters } + if !IsNil(o.FiltersLargeSelection) { + toSerialize["filters_large_selection"] = o.FiltersLargeSelection + } if !IsNil(o.FiltersV6) { toSerialize["filters_v6"] = o.FiltersV6 } @@ -518,6 +555,7 @@ func (o *DHCPConfig) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "allow_unknown_v6") delete(additionalProperties, "echo_client_id") delete(additionalProperties, "filters") + delete(additionalProperties, "filters_large_selection") delete(additionalProperties, "filters_v6") delete(additionalProperties, "ignore_client_uid") delete(additionalProperties, "ignore_list") diff --git a/ipam/model_fixed_address.go b/ipam/model_fixed_address.go index 80ec8bf..107eb41 100644 --- a/ipam/model_fixed_address.go +++ b/ipam/model_fixed_address.go @@ -25,6 +25,8 @@ type FixedAddress struct { Address string `json:"address"` // The description for the fixed address. May contain 0 to 1024 characters. Can include UTF-8. Comment *string `json:"comment,omitempty"` + // The compartment associated with the object. If no compartment is associated with the object, the value defaults to empty. + CompartmentId *string `json:"compartment_id,omitempty"` // Time when the object has been created. CreatedAt *time.Time `json:"created_at,omitempty"` // The list of DHCP options. May be either a specific option or a group of options. @@ -142,6 +144,38 @@ func (o *FixedAddress) SetComment(v string) { o.Comment = &v } +// GetCompartmentId returns the CompartmentId field value if set, zero value otherwise. +func (o *FixedAddress) GetCompartmentId() string { + if o == nil || IsNil(o.CompartmentId) { + var ret string + return ret + } + return *o.CompartmentId +} + +// GetCompartmentIdOk returns a tuple with the CompartmentId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FixedAddress) GetCompartmentIdOk() (*string, bool) { + if o == nil || IsNil(o.CompartmentId) { + return nil, false + } + return o.CompartmentId, true +} + +// HasCompartmentId returns a boolean if a field has been set. +func (o *FixedAddress) HasCompartmentId() bool { + if o != nil && !IsNil(o.CompartmentId) { + return true + } + + return false +} + +// SetCompartmentId gets a reference to the given string and assigns it to the CompartmentId field. +func (o *FixedAddress) SetCompartmentId(v string) { + o.CompartmentId = &v +} + // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. func (o *FixedAddress) GetCreatedAt() time.Time { if o == nil || IsNil(o.CreatedAt) { @@ -716,6 +750,9 @@ func (o FixedAddress) ToMap() (map[string]interface{}, error) { if !IsNil(o.Comment) { toSerialize["comment"] = o.Comment } + if !IsNil(o.CompartmentId) { + toSerialize["compartment_id"] = o.CompartmentId + } if !IsNil(o.CreatedAt) { toSerialize["created_at"] = o.CreatedAt } @@ -813,6 +850,7 @@ func (o *FixedAddress) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "address") delete(additionalProperties, "comment") + delete(additionalProperties, "compartment_id") delete(additionalProperties, "created_at") delete(additionalProperties, "dhcp_options") delete(additionalProperties, "disable_dhcp") diff --git a/ipam/model_ha_group.go b/ipam/model_ha_group.go index ced8ffe..8c07843 100644 --- a/ipam/model_ha_group.go +++ b/ipam/model_ha_group.go @@ -39,6 +39,8 @@ type HAGroup struct { Name string `json:"name"` // Status of the HA group. This field is set when the _collect_stats_ is set to _true_ in the _GET_ _/dhcp/ha_group_ request. Status *string `json:"status,omitempty"` + // Status of the DHCPv6 HA group. This field is set when the _collect_stats_ is set to _true_ in the _GET_ _/dhcp/ha_group_ request. + StatusV6 *string `json:"status_v6,omitempty"` // The tags for the HA group. Tags map[string]interface{} `json:"tags,omitempty"` // Time when the object has been updated. Equals to _created_at_ if not updated after creation. @@ -339,6 +341,38 @@ func (o *HAGroup) SetStatus(v string) { o.Status = &v } +// GetStatusV6 returns the StatusV6 field value if set, zero value otherwise. +func (o *HAGroup) GetStatusV6() string { + if o == nil || IsNil(o.StatusV6) { + var ret string + return ret + } + return *o.StatusV6 +} + +// GetStatusV6Ok returns a tuple with the StatusV6 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HAGroup) GetStatusV6Ok() (*string, bool) { + if o == nil || IsNil(o.StatusV6) { + return nil, false + } + return o.StatusV6, true +} + +// HasStatusV6 returns a boolean if a field has been set. +func (o *HAGroup) HasStatusV6() bool { + if o != nil && !IsNil(o.StatusV6) { + return true + } + + return false +} + +// SetStatusV6 gets a reference to the given string and assigns it to the StatusV6 field. +func (o *HAGroup) SetStatusV6(v string) { + o.StatusV6 = &v +} + // GetTags returns the Tags field value if set, zero value otherwise. func (o *HAGroup) GetTags() map[string]interface{} { if o == nil || IsNil(o.Tags) { @@ -436,6 +470,9 @@ func (o HAGroup) ToMap() (map[string]interface{}, error) { if !IsNil(o.Status) { toSerialize["status"] = o.Status } + if !IsNil(o.StatusV6) { + toSerialize["status_v6"] = o.StatusV6 + } if !IsNil(o.Tags) { toSerialize["tags"] = o.Tags } @@ -495,6 +532,7 @@ func (o *HAGroup) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "mode") delete(additionalProperties, "name") delete(additionalProperties, "status") + delete(additionalProperties, "status_v6") delete(additionalProperties, "tags") delete(additionalProperties, "updated_at") o.AdditionalProperties = additionalProperties diff --git a/ipam/model_ha_group_heartbeats.go b/ipam/model_ha_group_heartbeats.go index 3d56e98..9ad1fd0 100644 --- a/ipam/model_ha_group_heartbeats.go +++ b/ipam/model_ha_group_heartbeats.go @@ -22,8 +22,10 @@ type HAGroupHeartbeats struct { // The name of the peer. Peer *string `json:"peer,omitempty"` // The timestamp as a string of the last successful heartbeat received from the peer above. - SuccessfulHeartbeat *string `json:"successful_heartbeat,omitempty"` - AdditionalProperties map[string]interface{} + SuccessfulHeartbeat *string `json:"successful_heartbeat,omitempty"` + // The timestamp as a string of the last successful DHCPv6 heartbeat received from the peer above. + SuccessfulHeartbeatV6 *string `json:"successful_heartbeat_v6,omitempty"` + AdditionalProperties map[string]interface{} } type _HAGroupHeartbeats HAGroupHeartbeats @@ -109,6 +111,38 @@ func (o *HAGroupHeartbeats) SetSuccessfulHeartbeat(v string) { o.SuccessfulHeartbeat = &v } +// GetSuccessfulHeartbeatV6 returns the SuccessfulHeartbeatV6 field value if set, zero value otherwise. +func (o *HAGroupHeartbeats) GetSuccessfulHeartbeatV6() string { + if o == nil || IsNil(o.SuccessfulHeartbeatV6) { + var ret string + return ret + } + return *o.SuccessfulHeartbeatV6 +} + +// GetSuccessfulHeartbeatV6Ok returns a tuple with the SuccessfulHeartbeatV6 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HAGroupHeartbeats) GetSuccessfulHeartbeatV6Ok() (*string, bool) { + if o == nil || IsNil(o.SuccessfulHeartbeatV6) { + return nil, false + } + return o.SuccessfulHeartbeatV6, true +} + +// HasSuccessfulHeartbeatV6 returns a boolean if a field has been set. +func (o *HAGroupHeartbeats) HasSuccessfulHeartbeatV6() bool { + if o != nil && !IsNil(o.SuccessfulHeartbeatV6) { + return true + } + + return false +} + +// SetSuccessfulHeartbeatV6 gets a reference to the given string and assigns it to the SuccessfulHeartbeatV6 field. +func (o *HAGroupHeartbeats) SetSuccessfulHeartbeatV6(v string) { + o.SuccessfulHeartbeatV6 = &v +} + func (o HAGroupHeartbeats) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -125,6 +159,9 @@ func (o HAGroupHeartbeats) ToMap() (map[string]interface{}, error) { if !IsNil(o.SuccessfulHeartbeat) { toSerialize["successful_heartbeat"] = o.SuccessfulHeartbeat } + if !IsNil(o.SuccessfulHeartbeatV6) { + toSerialize["successful_heartbeat_v6"] = o.SuccessfulHeartbeatV6 + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -149,6 +186,7 @@ func (o *HAGroupHeartbeats) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "peer") delete(additionalProperties, "successful_heartbeat") + delete(additionalProperties, "successful_heartbeat_v6") o.AdditionalProperties = additionalProperties } diff --git a/ipam/model_ha_group_host.go b/ipam/model_ha_group_host.go index 9368c06..5a7653f 100644 --- a/ipam/model_ha_group_host.go +++ b/ipam/model_ha_group_host.go @@ -28,10 +28,14 @@ type HAGroupHost struct { Host string `json:"host"` // The HA port. Port *int64 `json:"port,omitempty"` + // The HA port used for IPv6 communication. + PortV6 *int64 `json:"port_v6,omitempty"` // The role of this host in the HA relationship: _active_ or _passive_. Role *string `json:"role,omitempty"` // The state of DHCP on the host. This field is set when the _collect_stats_ is set to _true_ in the _GET_ _/dhcp/ha_group_ request. - State *string `json:"state,omitempty"` + State *string `json:"state,omitempty"` + // The state of DHCPv6 on the host. This field is set when the _collect_stats_ is set to _true_ in the _GET_ _/dhcp/ha_group_ request. + StateV6 *string `json:"state_v6,omitempty"` AdditionalProperties map[string]interface{} } @@ -175,6 +179,38 @@ func (o *HAGroupHost) SetPort(v int64) { o.Port = &v } +// GetPortV6 returns the PortV6 field value if set, zero value otherwise. +func (o *HAGroupHost) GetPortV6() int64 { + if o == nil || IsNil(o.PortV6) { + var ret int64 + return ret + } + return *o.PortV6 +} + +// GetPortV6Ok returns a tuple with the PortV6 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HAGroupHost) GetPortV6Ok() (*int64, bool) { + if o == nil || IsNil(o.PortV6) { + return nil, false + } + return o.PortV6, true +} + +// HasPortV6 returns a boolean if a field has been set. +func (o *HAGroupHost) HasPortV6() bool { + if o != nil && !IsNil(o.PortV6) { + return true + } + + return false +} + +// SetPortV6 gets a reference to the given int64 and assigns it to the PortV6 field. +func (o *HAGroupHost) SetPortV6(v int64) { + o.PortV6 = &v +} + // GetRole returns the Role field value if set, zero value otherwise. func (o *HAGroupHost) GetRole() string { if o == nil || IsNil(o.Role) { @@ -239,6 +275,38 @@ func (o *HAGroupHost) SetState(v string) { o.State = &v } +// GetStateV6 returns the StateV6 field value if set, zero value otherwise. +func (o *HAGroupHost) GetStateV6() string { + if o == nil || IsNil(o.StateV6) { + var ret string + return ret + } + return *o.StateV6 +} + +// GetStateV6Ok returns a tuple with the StateV6 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HAGroupHost) GetStateV6Ok() (*string, bool) { + if o == nil || IsNil(o.StateV6) { + return nil, false + } + return o.StateV6, true +} + +// HasStateV6 returns a boolean if a field has been set. +func (o *HAGroupHost) HasStateV6() bool { + if o != nil && !IsNil(o.StateV6) { + return true + } + + return false +} + +// SetStateV6 gets a reference to the given string and assigns it to the StateV6 field. +func (o *HAGroupHost) SetStateV6(v string) { + o.StateV6 = &v +} + func (o HAGroupHost) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -259,12 +327,18 @@ func (o HAGroupHost) ToMap() (map[string]interface{}, error) { if !IsNil(o.Port) { toSerialize["port"] = o.Port } + if !IsNil(o.PortV6) { + toSerialize["port_v6"] = o.PortV6 + } if !IsNil(o.Role) { toSerialize["role"] = o.Role } if !IsNil(o.State) { toSerialize["state"] = o.State } + if !IsNil(o.StateV6) { + toSerialize["state_v6"] = o.StateV6 + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -312,8 +386,10 @@ func (o *HAGroupHost) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "heartbeats") delete(additionalProperties, "host") delete(additionalProperties, "port") + delete(additionalProperties, "port_v6") delete(additionalProperties, "role") delete(additionalProperties, "state") + delete(additionalProperties, "state_v6") o.AdditionalProperties = additionalProperties } diff --git a/ipam/model_ip_space.go b/ipam/model_ip_space.go index f2014c6..354d090 100644 --- a/ipam/model_ip_space.go +++ b/ipam/model_ip_space.go @@ -27,6 +27,8 @@ type IPSpace struct { AsmScopeFlag *int64 `json:"asm_scope_flag,omitempty"` // The description for the IP space. May contain 0 to 1024 characters. Can include UTF-8. Comment *string `json:"comment,omitempty"` + // The compartment associated with the object. If no compartment is associated with the object, the value defaults to empty. + CompartmentId *string `json:"compartment_id,omitempty"` // Time when the object has been created. CreatedAt *time.Time `json:"created_at,omitempty"` // Controls who does the DDNS updates. Valid values are: * _client_: DHCP server updates DNS if requested by client. * _server_: DHCP server always updates DNS, overriding an update request from the client, unless the client requests no updates. * _ignore_: DHCP server always updates DNS, even if the client says not to. * _over_client_update_: Same as _server_. DHCP server always updates DNS, overriding an update request from the client, unless the client requests no updates. * _over_no_update_: DHCP server updates DNS even if the client requests that no updates be done. If the client requests to do the update, DHCP server allows it. Defaults to _client_. @@ -47,6 +49,8 @@ type IPSpace struct { DdnsUpdateOnRenew *bool `json:"ddns_update_on_renew,omitempty"` // When true, DHCP server will apply conflict resolution, as described in RFC 4703, when attempting to fulfill the update request. When false, DHCP server will simply attempt to update the DNS entries per the request, regardless of whether or not they conflict with existing entries owned by other DHCP4 clients. Defaults to _true_. DdnsUseConflictResolution *bool `json:"ddns_use_conflict_resolution,omitempty"` + // Reserved for future use. + DefaultRealms []string `json:"default_realms,omitempty"` // The shared DHCP configuration for the IP space that controls how leases are issued. DhcpConfig *DHCPConfig `json:"dhcp_config,omitempty"` // The list of IPv4 DHCP options for IP space. May be either a specific option or a group of options. @@ -106,8 +110,6 @@ func NewIPSpace(name string) *IPSpace { this.DdnsSendUpdates = &ddnsSendUpdates var ddnsUpdateOnRenew bool = false this.DdnsUpdateOnRenew = &ddnsUpdateOnRenew - var ddnsUseConflictResolution bool = true - this.DdnsUseConflictResolution = &ddnsUseConflictResolution var hostnameRewriteChar string = "-" this.HostnameRewriteChar = &hostnameRewriteChar var hostnameRewriteEnabled bool = false @@ -135,8 +137,6 @@ func NewIPSpaceWithDefaults() *IPSpace { this.DdnsSendUpdates = &ddnsSendUpdates var ddnsUpdateOnRenew bool = false this.DdnsUpdateOnRenew = &ddnsUpdateOnRenew - var ddnsUseConflictResolution bool = true - this.DdnsUseConflictResolution = &ddnsUseConflictResolution var hostnameRewriteChar string = "-" this.HostnameRewriteChar = &hostnameRewriteChar var hostnameRewriteEnabled bool = false @@ -242,6 +242,38 @@ func (o *IPSpace) SetComment(v string) { o.Comment = &v } +// GetCompartmentId returns the CompartmentId field value if set, zero value otherwise. +func (o *IPSpace) GetCompartmentId() string { + if o == nil || IsNil(o.CompartmentId) { + var ret string + return ret + } + return *o.CompartmentId +} + +// GetCompartmentIdOk returns a tuple with the CompartmentId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPSpace) GetCompartmentIdOk() (*string, bool) { + if o == nil || IsNil(o.CompartmentId) { + return nil, false + } + return o.CompartmentId, true +} + +// HasCompartmentId returns a boolean if a field has been set. +func (o *IPSpace) HasCompartmentId() bool { + if o != nil && !IsNil(o.CompartmentId) { + return true + } + + return false +} + +// SetCompartmentId gets a reference to the given string and assigns it to the CompartmentId field. +func (o *IPSpace) SetCompartmentId(v string) { + o.CompartmentId = &v +} + // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. func (o *IPSpace) GetCreatedAt() time.Time { if o == nil || IsNil(o.CreatedAt) { @@ -562,6 +594,38 @@ func (o *IPSpace) SetDdnsUseConflictResolution(v bool) { o.DdnsUseConflictResolution = &v } +// GetDefaultRealms returns the DefaultRealms field value if set, zero value otherwise. +func (o *IPSpace) GetDefaultRealms() []string { + if o == nil || IsNil(o.DefaultRealms) { + var ret []string + return ret + } + return o.DefaultRealms +} + +// GetDefaultRealmsOk returns a tuple with the DefaultRealms field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPSpace) GetDefaultRealmsOk() ([]string, bool) { + if o == nil || IsNil(o.DefaultRealms) { + return nil, false + } + return o.DefaultRealms, true +} + +// HasDefaultRealms returns a boolean if a field has been set. +func (o *IPSpace) HasDefaultRealms() bool { + if o != nil && !IsNil(o.DefaultRealms) { + return true + } + + return false +} + +// SetDefaultRealms gets a reference to the given []string and assigns it to the DefaultRealms field. +func (o *IPSpace) SetDefaultRealms(v []string) { + o.DefaultRealms = v +} + // GetDhcpConfig returns the DhcpConfig field value if set, zero value otherwise. func (o *IPSpace) GetDhcpConfig() DHCPConfig { if o == nil || IsNil(o.DhcpConfig) { @@ -1149,6 +1213,9 @@ func (o IPSpace) ToMap() (map[string]interface{}, error) { if !IsNil(o.Comment) { toSerialize["comment"] = o.Comment } + if !IsNil(o.CompartmentId) { + toSerialize["compartment_id"] = o.CompartmentId + } if !IsNil(o.CreatedAt) { toSerialize["created_at"] = o.CreatedAt } @@ -1179,6 +1246,9 @@ func (o IPSpace) ToMap() (map[string]interface{}, error) { if !IsNil(o.DdnsUseConflictResolution) { toSerialize["ddns_use_conflict_resolution"] = o.DdnsUseConflictResolution } + if !IsNil(o.DefaultRealms) { + toSerialize["default_realms"] = o.DefaultRealms + } if !IsNil(o.DhcpConfig) { toSerialize["dhcp_config"] = o.DhcpConfig } @@ -1277,6 +1347,7 @@ func (o *IPSpace) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "asm_config") delete(additionalProperties, "asm_scope_flag") delete(additionalProperties, "comment") + delete(additionalProperties, "compartment_id") delete(additionalProperties, "created_at") delete(additionalProperties, "ddns_client_update") delete(additionalProperties, "ddns_conflict_resolution_mode") @@ -1287,6 +1358,7 @@ func (o *IPSpace) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "ddns_ttl_percent") delete(additionalProperties, "ddns_update_on_renew") delete(additionalProperties, "ddns_use_conflict_resolution") + delete(additionalProperties, "default_realms") delete(additionalProperties, "dhcp_config") delete(additionalProperties, "dhcp_options") delete(additionalProperties, "dhcp_options_v6") diff --git a/ipam/model_range.go b/ipam/model_range.go index 8b91409..7556423 100644 --- a/ipam/model_range.go +++ b/ipam/model_range.go @@ -23,6 +23,8 @@ var _ MappedNullable = &Range{} type Range struct { // The description for the range. May contain 0 to 1024 characters. Can include UTF-8. Comment *string `json:"comment,omitempty"` + // The compartment associated with the object. If no compartment is associated with the object, the value defaults to empty. + CompartmentId *string `json:"compartment_id,omitempty"` // Time when the object has been created. CreatedAt *time.Time `json:"created_at,omitempty"` // The resource identifier. @@ -53,6 +55,8 @@ type Range struct { Protocol *string `json:"protocol,omitempty"` // The resource identifier. Space *string `json:"space,omitempty"` + // The name of the IP Space the range belongs to. + SpaceName *string `json:"space_name,omitempty"` // The start IP address of the range. Start string `json:"start"` // The tags for the range in JSON format. @@ -121,6 +125,38 @@ func (o *Range) SetComment(v string) { o.Comment = &v } +// GetCompartmentId returns the CompartmentId field value if set, zero value otherwise. +func (o *Range) GetCompartmentId() string { + if o == nil || IsNil(o.CompartmentId) { + var ret string + return ret + } + return *o.CompartmentId +} + +// GetCompartmentIdOk returns a tuple with the CompartmentId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Range) GetCompartmentIdOk() (*string, bool) { + if o == nil || IsNil(o.CompartmentId) { + return nil, false + } + return o.CompartmentId, true +} + +// HasCompartmentId returns a boolean if a field has been set. +func (o *Range) HasCompartmentId() bool { + if o != nil && !IsNil(o.CompartmentId) { + return true + } + + return false +} + +// SetCompartmentId gets a reference to the given string and assigns it to the CompartmentId field. +func (o *Range) SetCompartmentId(v string) { + o.CompartmentId = &v +} + // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. func (o *Range) GetCreatedAt() time.Time { if o == nil || IsNil(o.CreatedAt) { @@ -593,6 +629,38 @@ func (o *Range) SetSpace(v string) { o.Space = &v } +// GetSpaceName returns the SpaceName field value if set, zero value otherwise. +func (o *Range) GetSpaceName() string { + if o == nil || IsNil(o.SpaceName) { + var ret string + return ret + } + return *o.SpaceName +} + +// GetSpaceNameOk returns a tuple with the SpaceName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Range) GetSpaceNameOk() (*string, bool) { + if o == nil || IsNil(o.SpaceName) { + return nil, false + } + return o.SpaceName, true +} + +// HasSpaceName returns a boolean if a field has been set. +func (o *Range) HasSpaceName() bool { + if o != nil && !IsNil(o.SpaceName) { + return true + } + + return false +} + +// SetSpaceName gets a reference to the given string and assigns it to the SpaceName field. +func (o *Range) SetSpaceName(v string) { + o.SpaceName = &v +} + // GetStart returns the Start field value func (o *Range) GetStart() string { if o == nil { @@ -790,6 +858,9 @@ func (o Range) ToMap() (map[string]interface{}, error) { if !IsNil(o.Comment) { toSerialize["comment"] = o.Comment } + if !IsNil(o.CompartmentId) { + toSerialize["compartment_id"] = o.CompartmentId + } if !IsNil(o.CreatedAt) { toSerialize["created_at"] = o.CreatedAt } @@ -833,6 +904,9 @@ func (o Range) ToMap() (map[string]interface{}, error) { if !IsNil(o.Space) { toSerialize["space"] = o.Space } + if !IsNil(o.SpaceName) { + toSerialize["space_name"] = o.SpaceName + } toSerialize["start"] = o.Start if !IsNil(o.Tags) { toSerialize["tags"] = o.Tags @@ -894,6 +968,7 @@ func (o *Range) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "comment") + delete(additionalProperties, "compartment_id") delete(additionalProperties, "created_at") delete(additionalProperties, "dhcp_host") delete(additionalProperties, "dhcp_options") @@ -909,6 +984,7 @@ func (o *Range) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "parent") delete(additionalProperties, "protocol") delete(additionalProperties, "space") + delete(additionalProperties, "space_name") delete(additionalProperties, "start") delete(additionalProperties, "tags") delete(additionalProperties, "threshold") diff --git a/ipam/model_server.go b/ipam/model_server.go index 15c4e3d..74d8b57 100644 --- a/ipam/model_server.go +++ b/ipam/model_server.go @@ -87,6 +87,8 @@ type Server struct { KerberosTkeyProtocol *string `json:"kerberos_tkey_protocol,omitempty"` // The name of the DHCP Config Profile. Must contain 1 to 256 characters. Can include UTF-8. Name string `json:"name"` + // The type of server object. Defaults to _server_. Valid values are: * _server_: The server profile type. * _subnet_: The subnet profile type. + ProfileType *string `json:"profile_type,omitempty"` // The Kerberos principal name of the external DNS server that will receive updates. Defaults to empty. ServerPrincipal *string `json:"server_principal,omitempty"` // The tags for the DHCP Config Profile in JSON format. @@ -1166,6 +1168,38 @@ func (o *Server) SetName(v string) { o.Name = v } +// GetProfileType returns the ProfileType field value if set, zero value otherwise. +func (o *Server) GetProfileType() string { + if o == nil || IsNil(o.ProfileType) { + var ret string + return ret + } + return *o.ProfileType +} + +// GetProfileTypeOk returns a tuple with the ProfileType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Server) GetProfileTypeOk() (*string, bool) { + if o == nil || IsNil(o.ProfileType) { + return nil, false + } + return o.ProfileType, true +} + +// HasProfileType returns a boolean if a field has been set. +func (o *Server) HasProfileType() bool { + if o != nil && !IsNil(o.ProfileType) { + return true + } + + return false +} + +// SetProfileType gets a reference to the given string and assigns it to the ProfileType field. +func (o *Server) SetProfileType(v string) { + o.ProfileType = &v +} + // GetServerPrincipal returns the ServerPrincipal field value if set, zero value otherwise. func (o *Server) GetServerPrincipal() string { if o == nil || IsNil(o.ServerPrincipal) { @@ -1401,6 +1435,9 @@ func (o Server) ToMap() (map[string]interface{}, error) { toSerialize["kerberos_tkey_protocol"] = o.KerberosTkeyProtocol } toSerialize["name"] = o.Name + if !IsNil(o.ProfileType) { + toSerialize["profile_type"] = o.ProfileType + } if !IsNil(o.ServerPrincipal) { toSerialize["server_principal"] = o.ServerPrincipal } @@ -1489,6 +1526,7 @@ func (o *Server) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "kerberos_tkey_lifetime") delete(additionalProperties, "kerberos_tkey_protocol") delete(additionalProperties, "name") + delete(additionalProperties, "profile_type") delete(additionalProperties, "server_principal") delete(additionalProperties, "tags") delete(additionalProperties, "updated_at") diff --git a/ipam/model_subnet.go b/ipam/model_subnet.go index c6b8763..095c88c 100644 --- a/ipam/model_subnet.go +++ b/ipam/model_subnet.go @@ -30,6 +30,10 @@ type Subnet struct { Cidr *int64 `json:"cidr,omitempty"` // The description for the subnet. May contain 0 to 1024 characters. Can include UTF-8. Comment *string `json:"comment,omitempty"` + // The compartment associated with the object. If no compartment is associated with the object, the value defaults to empty. + CompartmentId *string `json:"compartment_id,omitempty"` + // The resource identifier. + ConfigProfiles []string `json:"config_profiles,omitempty"` // Time when the object has been created. CreatedAt *time.Time `json:"created_at,omitempty"` // Controls who does the DDNS updates. Valid values are: * _client_: DHCP server updates DNS if requested by client. * _server_: DHCP server always updates DNS, overriding an update request from the client, unless the client requests no updates. * _ignore_: DHCP server always updates DNS, even if the client says not to. * _over_client_update_: Same as _server_. DHCP server always updates DNS, overriding an update request from the client, unless the client requests no updates. * _over_no_update_: DHCP server updates DNS even if the client requests that no updates be done. If the client requests to do the update, DHCP server allows it. Defaults to _client_. @@ -64,6 +68,12 @@ type Subnet struct { DiscoveryAttrs map[string]interface{} `json:"discovery_attrs,omitempty"` // The discovery metadata for this subnet in JSON format. DiscoveryMetadata map[string]interface{} `json:"discovery_metadata,omitempty"` + // The external keys (source key) for this subnet in JSON format. + ExternalKeys map[string]interface{} `json:"external_keys,omitempty"` + // Reserved for future use. + FederatedRealms []string `json:"federated_realms,omitempty"` + // Reserved for future use. + Federation *string `json:"federation,omitempty"` // The configuration for header option filename field. HeaderOptionFilename *string `json:"header_option_filename,omitempty"` // The configuration for header option server address field. @@ -290,6 +300,70 @@ func (o *Subnet) SetComment(v string) { o.Comment = &v } +// GetCompartmentId returns the CompartmentId field value if set, zero value otherwise. +func (o *Subnet) GetCompartmentId() string { + if o == nil || IsNil(o.CompartmentId) { + var ret string + return ret + } + return *o.CompartmentId +} + +// GetCompartmentIdOk returns a tuple with the CompartmentId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Subnet) GetCompartmentIdOk() (*string, bool) { + if o == nil || IsNil(o.CompartmentId) { + return nil, false + } + return o.CompartmentId, true +} + +// HasCompartmentId returns a boolean if a field has been set. +func (o *Subnet) HasCompartmentId() bool { + if o != nil && !IsNil(o.CompartmentId) { + return true + } + + return false +} + +// SetCompartmentId gets a reference to the given string and assigns it to the CompartmentId field. +func (o *Subnet) SetCompartmentId(v string) { + o.CompartmentId = &v +} + +// GetConfigProfiles returns the ConfigProfiles field value if set, zero value otherwise. +func (o *Subnet) GetConfigProfiles() []string { + if o == nil || IsNil(o.ConfigProfiles) { + var ret []string + return ret + } + return o.ConfigProfiles +} + +// GetConfigProfilesOk returns a tuple with the ConfigProfiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Subnet) GetConfigProfilesOk() ([]string, bool) { + if o == nil || IsNil(o.ConfigProfiles) { + return nil, false + } + return o.ConfigProfiles, true +} + +// HasConfigProfiles returns a boolean if a field has been set. +func (o *Subnet) HasConfigProfiles() bool { + if o != nil && !IsNil(o.ConfigProfiles) { + return true + } + + return false +} + +// SetConfigProfiles gets a reference to the given []string and assigns it to the ConfigProfiles field. +func (o *Subnet) SetConfigProfiles(v []string) { + o.ConfigProfiles = v +} + // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. func (o *Subnet) GetCreatedAt() time.Time { if o == nil || IsNil(o.CreatedAt) { @@ -834,6 +908,102 @@ func (o *Subnet) SetDiscoveryMetadata(v map[string]interface{}) { o.DiscoveryMetadata = v } +// GetExternalKeys returns the ExternalKeys field value if set, zero value otherwise. +func (o *Subnet) GetExternalKeys() map[string]interface{} { + if o == nil || IsNil(o.ExternalKeys) { + var ret map[string]interface{} + return ret + } + return o.ExternalKeys +} + +// GetExternalKeysOk returns a tuple with the ExternalKeys field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Subnet) GetExternalKeysOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.ExternalKeys) { + return map[string]interface{}{}, false + } + return o.ExternalKeys, true +} + +// HasExternalKeys returns a boolean if a field has been set. +func (o *Subnet) HasExternalKeys() bool { + if o != nil && !IsNil(o.ExternalKeys) { + return true + } + + return false +} + +// SetExternalKeys gets a reference to the given map[string]interface{} and assigns it to the ExternalKeys field. +func (o *Subnet) SetExternalKeys(v map[string]interface{}) { + o.ExternalKeys = v +} + +// GetFederatedRealms returns the FederatedRealms field value if set, zero value otherwise. +func (o *Subnet) GetFederatedRealms() []string { + if o == nil || IsNil(o.FederatedRealms) { + var ret []string + return ret + } + return o.FederatedRealms +} + +// GetFederatedRealmsOk returns a tuple with the FederatedRealms field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Subnet) GetFederatedRealmsOk() ([]string, bool) { + if o == nil || IsNil(o.FederatedRealms) { + return nil, false + } + return o.FederatedRealms, true +} + +// HasFederatedRealms returns a boolean if a field has been set. +func (o *Subnet) HasFederatedRealms() bool { + if o != nil && !IsNil(o.FederatedRealms) { + return true + } + + return false +} + +// SetFederatedRealms gets a reference to the given []string and assigns it to the FederatedRealms field. +func (o *Subnet) SetFederatedRealms(v []string) { + o.FederatedRealms = v +} + +// GetFederation returns the Federation field value if set, zero value otherwise. +func (o *Subnet) GetFederation() string { + if o == nil || IsNil(o.Federation) { + var ret string + return ret + } + return *o.Federation +} + +// GetFederationOk returns a tuple with the Federation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Subnet) GetFederationOk() (*string, bool) { + if o == nil || IsNil(o.Federation) { + return nil, false + } + return o.Federation, true +} + +// HasFederation returns a boolean if a field has been set. +func (o *Subnet) HasFederation() bool { + if o != nil && !IsNil(o.Federation) { + return true + } + + return false +} + +// SetFederation gets a reference to the given string and assigns it to the Federation field. +func (o *Subnet) SetFederation(v string) { + o.Federation = &v +} + // GetHeaderOptionFilename returns the HeaderOptionFilename field value if set, zero value otherwise. func (o *Subnet) GetHeaderOptionFilename() string { if o == nil || IsNil(o.HeaderOptionFilename) { @@ -1563,6 +1733,12 @@ func (o Subnet) ToMap() (map[string]interface{}, error) { if !IsNil(o.Comment) { toSerialize["comment"] = o.Comment } + if !IsNil(o.CompartmentId) { + toSerialize["compartment_id"] = o.CompartmentId + } + if !IsNil(o.ConfigProfiles) { + toSerialize["config_profiles"] = o.ConfigProfiles + } if !IsNil(o.CreatedAt) { toSerialize["created_at"] = o.CreatedAt } @@ -1614,6 +1790,15 @@ func (o Subnet) ToMap() (map[string]interface{}, error) { if !IsNil(o.DiscoveryMetadata) { toSerialize["discovery_metadata"] = o.DiscoveryMetadata } + if !IsNil(o.ExternalKeys) { + toSerialize["external_keys"] = o.ExternalKeys + } + if !IsNil(o.FederatedRealms) { + toSerialize["federated_realms"] = o.FederatedRealms + } + if !IsNil(o.Federation) { + toSerialize["federation"] = o.Federation + } if !IsNil(o.HeaderOptionFilename) { toSerialize["header_option_filename"] = o.HeaderOptionFilename } @@ -1707,6 +1892,8 @@ func (o *Subnet) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "asm_scope_flag") delete(additionalProperties, "cidr") delete(additionalProperties, "comment") + delete(additionalProperties, "compartment_id") + delete(additionalProperties, "config_profiles") delete(additionalProperties, "created_at") delete(additionalProperties, "ddns_client_update") delete(additionalProperties, "ddns_conflict_resolution_mode") @@ -1724,6 +1911,9 @@ func (o *Subnet) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "disable_dhcp") delete(additionalProperties, "discovery_attrs") delete(additionalProperties, "discovery_metadata") + delete(additionalProperties, "external_keys") + delete(additionalProperties, "federated_realms") + delete(additionalProperties, "federation") delete(additionalProperties, "header_option_filename") delete(additionalProperties, "header_option_server_address") delete(additionalProperties, "header_option_server_name") diff --git a/ipam/test/api_address_block_test.go b/ipam/test/api_address_block_test.go index f38a012..d452841 100644 --- a/ipam/test/api_address_block_test.go +++ b/ipam/test/api_address_block_test.go @@ -116,6 +116,20 @@ func TestAddressBlockAPIService(t *testing.T) { }) + t.Run("Test AddressBlockAPIService ListAncestor", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.AddressBlockAPI.ListAncestor(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + t.Run("Test AddressBlockAPIService ListNextAvailableAB", func(t *testing.T) { t.Skip("skip test") // remove to run test diff --git a/ipam/test/api_ip_space_test.go b/ipam/test/api_ip_space_test.go index 2a36e04..b411395 100644 --- a/ipam/test/api_ip_space_test.go +++ b/ipam/test/api_ip_space_test.go @@ -74,6 +74,20 @@ func TestIpSpaceAPIService(t *testing.T) { }) + t.Run("Test IpSpaceAPIService GetConflicts", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.IpSpaceAPI.GetConflicts(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + t.Run("Test IpSpaceAPIService List", func(t *testing.T) { t.Skip("skip test") // remove to run test diff --git a/ipam/test/api_subnet_test.go b/ipam/test/api_subnet_test.go index bc5b5e0..39bb2f5 100644 --- a/ipam/test/api_subnet_test.go +++ b/ipam/test/api_subnet_test.go @@ -88,6 +88,20 @@ func TestSubnetAPIService(t *testing.T) { }) + t.Run("Test SubnetAPIService ListAncestor", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.SubnetAPI.ListAncestor(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + t.Run("Test SubnetAPIService ListNextAvailableIP", func(t *testing.T) { t.Skip("skip test") // remove to run test From b97bf5178be862c4273e7721250bd13d997a3ec4 Mon Sep 17 00:00:00 2001 From: unasra Date: Tue, 10 Sep 2024 10:31:23 +0530 Subject: [PATCH 3/5] added default value to ddns_use_conflict_resolution --- ipam/api/openapi.yaml | 1 + ipam/client.go | 42 +++++++++++++++++++++--------------------- ipam/docs/IPSpace.md | 2 +- ipam/model_ip_space.go | 4 ++++ 4 files changed, 27 insertions(+), 22 deletions(-) diff --git a/ipam/api/openapi.yaml b/ipam/api/openapi.yaml index 45291c7..6ec4bbf 100644 --- a/ipam/api/openapi.yaml +++ b/ipam/api/openapi.yaml @@ -13125,6 +13125,7 @@ components: format: boolean type: boolean ddns_use_conflict_resolution: + default: true description: |- When true, DHCP server will apply conflict resolution, as described in RFC 4703, when attempting to fulfill the update request. diff --git a/ipam/client.go b/ipam/client.go index dfebe6b..9bf8c36 100644 --- a/ipam/client.go +++ b/ipam/client.go @@ -23,29 +23,29 @@ type APIClient struct { *internal.APIClient // API Services - AddressAPI AddressAPI - AddressBlockAPI AddressBlockAPI - AsmAPI AsmAPI - ConfigProfileAPI ConfigProfileAPI - DhcpHostAPI DhcpHostAPI - DnsUsageAPI DnsUsageAPI - FilterAPI FilterAPI - FixedAddressAPI FixedAddressAPI - GlobalAPI GlobalAPI - HaGroupAPI HaGroupAPI + AddressAPI AddressAPI + AddressBlockAPI AddressBlockAPI + AsmAPI AsmAPI + ConfigProfileAPI ConfigProfileAPI + DhcpHostAPI DhcpHostAPI + DnsUsageAPI DnsUsageAPI + FilterAPI FilterAPI + FixedAddressAPI FixedAddressAPI + GlobalAPI GlobalAPI + HaGroupAPI HaGroupAPI HardwareFilterAPI HardwareFilterAPI - IpSpaceAPI IpSpaceAPI - IpamHostAPI IpamHostAPI - LeasesCommandAPI LeasesCommandAPI + IpSpaceAPI IpSpaceAPI + IpamHostAPI IpamHostAPI + LeasesCommandAPI LeasesCommandAPI MacAddressItemAPI MacAddressItemAPI - OptionCodeAPI OptionCodeAPI - OptionFilterAPI OptionFilterAPI - OptionGroupAPI OptionGroupAPI - OptionSpaceAPI OptionSpaceAPI - RangeAPI RangeAPI - ServerAPI ServerAPI - ServiceAPI ServiceAPI - SubnetAPI SubnetAPI + OptionCodeAPI OptionCodeAPI + OptionFilterAPI OptionFilterAPI + OptionGroupAPI OptionGroupAPI + OptionSpaceAPI OptionSpaceAPI + RangeAPI RangeAPI + ServerAPI ServerAPI + ServiceAPI ServiceAPI + SubnetAPI SubnetAPI } // NewAPIClient creates a new API client. diff --git a/ipam/docs/IPSpace.md b/ipam/docs/IPSpace.md index 3fa092a..df1ebba 100644 --- a/ipam/docs/IPSpace.md +++ b/ipam/docs/IPSpace.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **DdnsSendUpdates** | Pointer to **bool** | Determines if DDNS updates are enabled at the IP space level. Defaults to _true_. | [optional] [default to true] **DdnsTtlPercent** | Pointer to **float32** | DDNS TTL value - to be calculated as a simple percentage of the lease's lifetime, using the parameter's value as the percentage. It is specified as a percentage (e.g. 25, 75). Defaults to unspecified. | [optional] **DdnsUpdateOnRenew** | Pointer to **bool** | Instructs the DHCP server to always update the DNS information when a lease is renewed even if its DNS information has not changed. Defaults to _false_. | [optional] [default to false] -**DdnsUseConflictResolution** | Pointer to **bool** | When true, DHCP server will apply conflict resolution, as described in RFC 4703, when attempting to fulfill the update request. When false, DHCP server will simply attempt to update the DNS entries per the request, regardless of whether or not they conflict with existing entries owned by other DHCP4 clients. Defaults to _true_. | [optional] +**DdnsUseConflictResolution** | Pointer to **bool** | When true, DHCP server will apply conflict resolution, as described in RFC 4703, when attempting to fulfill the update request. When false, DHCP server will simply attempt to update the DNS entries per the request, regardless of whether or not they conflict with existing entries owned by other DHCP4 clients. Defaults to _true_. | [optional] [default to true] **DefaultRealms** | Pointer to **[]string** | Reserved for future use. | [optional] **DhcpConfig** | Pointer to [**DHCPConfig**](DHCPConfig.md) | The shared DHCP configuration for the IP space that controls how leases are issued. | [optional] **DhcpOptions** | Pointer to [**[]OptionItem**](OptionItem.md) | The list of IPv4 DHCP options for IP space. May be either a specific option or a group of options. | [optional] diff --git a/ipam/model_ip_space.go b/ipam/model_ip_space.go index 354d090..f475ad7 100644 --- a/ipam/model_ip_space.go +++ b/ipam/model_ip_space.go @@ -110,6 +110,8 @@ func NewIPSpace(name string) *IPSpace { this.DdnsSendUpdates = &ddnsSendUpdates var ddnsUpdateOnRenew bool = false this.DdnsUpdateOnRenew = &ddnsUpdateOnRenew + var ddnsUseConflictResolution bool = true + this.DdnsUseConflictResolution = &ddnsUseConflictResolution var hostnameRewriteChar string = "-" this.HostnameRewriteChar = &hostnameRewriteChar var hostnameRewriteEnabled bool = false @@ -137,6 +139,8 @@ func NewIPSpaceWithDefaults() *IPSpace { this.DdnsSendUpdates = &ddnsSendUpdates var ddnsUpdateOnRenew bool = false this.DdnsUpdateOnRenew = &ddnsUpdateOnRenew + var ddnsUseConflictResolution bool = true + this.DdnsUseConflictResolution = &ddnsUseConflictResolution var hostnameRewriteChar string = "-" this.HostnameRewriteChar = &hostnameRewriteChar var hostnameRewriteEnabled bool = false From c24dfd5c662c05e2a5de535302f0cbd528a8df5f Mon Sep 17 00:00:00 2001 From: unasra Date: Tue, 10 Sep 2024 10:32:01 +0530 Subject: [PATCH 4/5] formatted client.go --- ipam/client.go | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/ipam/client.go b/ipam/client.go index 9bf8c36..dfebe6b 100644 --- a/ipam/client.go +++ b/ipam/client.go @@ -23,29 +23,29 @@ type APIClient struct { *internal.APIClient // API Services - AddressAPI AddressAPI - AddressBlockAPI AddressBlockAPI - AsmAPI AsmAPI - ConfigProfileAPI ConfigProfileAPI - DhcpHostAPI DhcpHostAPI - DnsUsageAPI DnsUsageAPI - FilterAPI FilterAPI - FixedAddressAPI FixedAddressAPI - GlobalAPI GlobalAPI - HaGroupAPI HaGroupAPI + AddressAPI AddressAPI + AddressBlockAPI AddressBlockAPI + AsmAPI AsmAPI + ConfigProfileAPI ConfigProfileAPI + DhcpHostAPI DhcpHostAPI + DnsUsageAPI DnsUsageAPI + FilterAPI FilterAPI + FixedAddressAPI FixedAddressAPI + GlobalAPI GlobalAPI + HaGroupAPI HaGroupAPI HardwareFilterAPI HardwareFilterAPI - IpSpaceAPI IpSpaceAPI - IpamHostAPI IpamHostAPI - LeasesCommandAPI LeasesCommandAPI + IpSpaceAPI IpSpaceAPI + IpamHostAPI IpamHostAPI + LeasesCommandAPI LeasesCommandAPI MacAddressItemAPI MacAddressItemAPI - OptionCodeAPI OptionCodeAPI - OptionFilterAPI OptionFilterAPI - OptionGroupAPI OptionGroupAPI - OptionSpaceAPI OptionSpaceAPI - RangeAPI RangeAPI - ServerAPI ServerAPI - ServiceAPI ServiceAPI - SubnetAPI SubnetAPI + OptionCodeAPI OptionCodeAPI + OptionFilterAPI OptionFilterAPI + OptionGroupAPI OptionGroupAPI + OptionSpaceAPI OptionSpaceAPI + RangeAPI RangeAPI + ServerAPI ServerAPI + ServiceAPI ServiceAPI + SubnetAPI SubnetAPI } // NewAPIClient creates a new API client. From 6f222bd0068d6e7766cdf2bb409a75e4ac8269a6 Mon Sep 17 00:00:00 2001 From: unasra Date: Fri, 13 Sep 2024 22:04:34 +0530 Subject: [PATCH 5/5] change federation to delegation --- ipam/api/openapi.yaml | 60 ++++++++++++++--------------- ipam/docs/AddressBlock.md | 52 ++++++++++++------------- ipam/docs/Subnet.md | 52 ++++++++++++------------- ipam/model_address_block.go | 76 ++++++++++++++++++------------------- ipam/model_subnet.go | 76 ++++++++++++++++++------------------- 5 files changed, 158 insertions(+), 158 deletions(-) diff --git a/ipam/api/openapi.yaml b/ipam/api/openapi.yaml index 6ec4bbf..cd0fc77 100644 --- a/ipam/api/openapi.yaml +++ b/ipam/api/openapi.yaml @@ -5727,7 +5727,6 @@ components: id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -5965,6 +5964,7 @@ components: comment: comment inheritance_parent: inheritance_parent ddns_update_on_renew: true + delegation: delegation dhcp_utilization: dhcp_free: dhcp_free dhcp_used: dhcp_used @@ -6082,6 +6082,10 @@ components: Defaults to _true_. format: boolean type: boolean + delegation: + description: The ID of the delegation associated with the address block. + readOnly: true + type: string dhcp_config: $ref: '#/components/schemas/ipamsvcDHCPConfig' dhcp_options: @@ -6112,10 +6116,6 @@ components: items: type: string type: array - federation: - description: Reserved for future use. - readOnly: true - type: string header_option_filename: description: The configuration for header option filename field. type: string @@ -6766,7 +6766,6 @@ components: id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -7004,6 +7003,7 @@ components: comment: comment inheritance_parent: inheritance_parent ddns_update_on_renew: true + delegation: delegation dhcp_utilization: dhcp_free: dhcp_free dhcp_used: dhcp_used @@ -7648,7 +7648,6 @@ components: id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -7886,6 +7885,7 @@ components: comment: comment inheritance_parent: inheritance_parent ddns_update_on_renew: true + delegation: delegation dhcp_utilization: dhcp_free: dhcp_free dhcp_used: dhcp_used @@ -7950,7 +7950,6 @@ components: id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -8188,6 +8187,7 @@ components: comment: comment inheritance_parent: inheritance_parent ddns_update_on_renew: true + delegation: delegation dhcp_utilization: dhcp_free: dhcp_free dhcp_used: dhcp_used @@ -8392,7 +8392,6 @@ components: - config_profiles disable_dhcp: true rebind_time: 2 - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -8607,6 +8606,7 @@ components: renew_time: 7 comment: comment inheritance_parent: inheritance_parent + delegation: delegation dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -8708,7 +8708,6 @@ components: - config_profiles disable_dhcp: true rebind_time: 2 - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -8923,6 +8922,7 @@ components: renew_time: 7 comment: comment inheritance_parent: inheritance_parent + delegation: delegation dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -9653,7 +9653,6 @@ components: - config_profiles disable_dhcp: true rebind_time: 2 - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -9868,6 +9867,7 @@ components: renew_time: 7 comment: comment inheritance_parent: inheritance_parent + delegation: delegation dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -12085,7 +12085,6 @@ components: - config_profiles disable_dhcp: true rebind_time: 2 - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -12300,6 +12299,7 @@ components: renew_time: 7 comment: comment inheritance_parent: inheritance_parent + delegation: delegation dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -12401,7 +12401,6 @@ components: - config_profiles disable_dhcp: true rebind_time: 2 - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -12616,6 +12615,7 @@ components: renew_time: 7 comment: comment inheritance_parent: inheritance_parent + delegation: delegation dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -14356,7 +14356,6 @@ components: id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -14594,6 +14593,7 @@ components: comment: comment inheritance_parent: inheritance_parent ddns_update_on_renew: true + delegation: delegation dhcp_utilization: dhcp_free: dhcp_free dhcp_used: dhcp_used @@ -14658,7 +14658,6 @@ components: id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -14896,6 +14895,7 @@ components: comment: comment inheritance_parent: inheritance_parent ddns_update_on_renew: true + delegation: delegation dhcp_utilization: dhcp_free: dhcp_free dhcp_used: dhcp_used @@ -18325,7 +18325,6 @@ components: - config_profiles disable_dhcp: true rebind_time: 2 - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -18540,6 +18539,7 @@ components: renew_time: 7 comment: comment inheritance_parent: inheritance_parent + delegation: delegation dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -18641,7 +18641,6 @@ components: - config_profiles disable_dhcp: true rebind_time: 2 - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -18856,6 +18855,7 @@ components: renew_time: 7 comment: comment inheritance_parent: inheritance_parent + delegation: delegation dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -19074,7 +19074,6 @@ components: id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -19312,6 +19311,7 @@ components: comment: comment inheritance_parent: inheritance_parent ddns_update_on_renew: true + delegation: delegation dhcp_utilization: dhcp_free: dhcp_free dhcp_used: dhcp_used @@ -19376,7 +19376,6 @@ components: id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -19614,6 +19613,7 @@ components: comment: comment inheritance_parent: inheritance_parent ddns_update_on_renew: true + delegation: delegation dhcp_utilization: dhcp_free: dhcp_free dhcp_used: dhcp_used @@ -19818,7 +19818,6 @@ components: - config_profiles disable_dhcp: true rebind_time: 2 - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -20033,6 +20032,7 @@ components: renew_time: 7 comment: comment inheritance_parent: inheritance_parent + delegation: delegation dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -20134,7 +20134,6 @@ components: - config_profiles disable_dhcp: true rebind_time: 2 - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -20349,6 +20348,7 @@ components: renew_time: 7 comment: comment inheritance_parent: inheritance_parent + delegation: delegation dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -21062,7 +21062,6 @@ components: id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -21300,6 +21299,7 @@ components: comment: comment inheritance_parent: inheritance_parent ddns_update_on_renew: true + delegation: delegation dhcp_utilization: dhcp_free: dhcp_free dhcp_used: dhcp_used @@ -22826,7 +22826,6 @@ components: - config_profiles disable_dhcp: true rebind_time: 2 - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -23041,6 +23040,7 @@ components: renew_time: 7 comment: comment inheritance_parent: inheritance_parent + delegation: delegation dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -24188,7 +24188,6 @@ components: - config_profiles disable_dhcp: true rebind_time: 2 - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -24403,6 +24402,7 @@ components: renew_time: 7 comment: comment inheritance_parent: inheritance_parent + delegation: delegation dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free @@ -24526,6 +24526,10 @@ components: Defaults to _true_. format: boolean type: boolean + delegation: + description: The ID of the delegation associated with the subnet. + readOnly: true + type: string dhcp_config: $ref: '#/components/schemas/ipamsvcDHCPConfig' dhcp_host: @@ -24565,10 +24569,6 @@ components: items: type: string type: array - federation: - description: Reserved for future use. - readOnly: true - type: string header_option_filename: description: The configuration for header option filename field. type: string @@ -24773,7 +24773,6 @@ components: id: id ddns_ttl_percent: 1.4658129 header_option_server_address: header_option_server_address - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -25011,6 +25010,7 @@ components: comment: comment inheritance_parent: inheritance_parent ddns_update_on_renew: true + delegation: delegation dhcp_utilization: dhcp_free: dhcp_free dhcp_used: dhcp_used @@ -26492,7 +26492,6 @@ components: - config_profiles disable_dhcp: true rebind_time: 2 - federation: federation address: address ddns_client_update: ddns_client_update federated_realms: @@ -26707,6 +26706,7 @@ components: renew_time: 7 comment: comment inheritance_parent: inheritance_parent + delegation: delegation dhcp_host: dhcp_host dhcp_utilization: dhcp_free: dhcp_free diff --git a/ipam/docs/AddressBlock.md b/ipam/docs/AddressBlock.md index 4c4abfd..d6a47e7 100644 --- a/ipam/docs/AddressBlock.md +++ b/ipam/docs/AddressBlock.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **DdnsTtlPercent** | Pointer to **float32** | DDNS TTL value - to be calculated as a simple percentage of the lease's lifetime, using the parameter's value as the percentage. It is specified as a percentage (e.g. 25, 75). Defaults to unspecified. | [optional] **DdnsUpdateOnRenew** | Pointer to **bool** | Instructs the DHCP server to always update the DNS information when a lease is renewed even if its DNS information has not changed. Defaults to _false_. | [optional] **DdnsUseConflictResolution** | Pointer to **bool** | When true, DHCP server will apply conflict resolution, as described in RFC 4703, when attempting to fulfill the update request. When false, DHCP server will simply attempt to update the DNS entries per the request, regardless of whether or not they conflict with existing entries owned by other DHCP4 clients. Defaults to _true_. | [optional] +**Delegation** | Pointer to **string** | The ID of the delegation associated with the address block. | [optional] [readonly] **DhcpConfig** | Pointer to [**DHCPConfig**](DHCPConfig.md) | The shared DHCP configuration that controls how leases are issued for the address block. | [optional] **DhcpOptions** | Pointer to [**[]OptionItem**](OptionItem.md) | The list of DHCP options for the address block. May be either a specific option or a group of options. | [optional] **DhcpUtilization** | Pointer to [**DHCPUtilization**](DHCPUtilization.md) | The utilization of IP addresses within the DHCP ranges of the address block. | [optional] [readonly] @@ -27,7 +28,6 @@ Name | Type | Description | Notes **DiscoveryMetadata** | Pointer to **map[string]interface{}** | The discovery metadata for this address block in JSON format. | [optional] [readonly] **ExternalKeys** | Pointer to **map[string]interface{}** | The external keys (source key) for this address block in JSON format. | [optional] **FederatedRealms** | Pointer to **[]string** | Reserved for future use. | [optional] -**Federation** | Pointer to **string** | Reserved for future use. | [optional] [readonly] **HeaderOptionFilename** | Pointer to **string** | The configuration for header option filename field. | [optional] **HeaderOptionServerAddress** | Pointer to **string** | The configuration for header option server address field. | [optional] **HeaderOptionServerName** | Pointer to **string** | The configuration for header option server name field. | [optional] @@ -467,6 +467,31 @@ SetDdnsUseConflictResolution sets DdnsUseConflictResolution field to given value HasDdnsUseConflictResolution returns a boolean if a field has been set. +### GetDelegation + +`func (o *AddressBlock) GetDelegation() string` + +GetDelegation returns the Delegation field if non-nil, zero value otherwise. + +### GetDelegationOk + +`func (o *AddressBlock) GetDelegationOk() (*string, bool)` + +GetDelegationOk returns a tuple with the Delegation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDelegation + +`func (o *AddressBlock) SetDelegation(v string)` + +SetDelegation sets Delegation field to given value. + +### HasDelegation + +`func (o *AddressBlock) HasDelegation() bool` + +HasDelegation returns a boolean if a field has been set. + ### GetDhcpConfig `func (o *AddressBlock) GetDhcpConfig() DHCPConfig` @@ -642,31 +667,6 @@ SetFederatedRealms sets FederatedRealms field to given value. HasFederatedRealms returns a boolean if a field has been set. -### GetFederation - -`func (o *AddressBlock) GetFederation() string` - -GetFederation returns the Federation field if non-nil, zero value otherwise. - -### GetFederationOk - -`func (o *AddressBlock) GetFederationOk() (*string, bool)` - -GetFederationOk returns a tuple with the Federation field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFederation - -`func (o *AddressBlock) SetFederation(v string)` - -SetFederation sets Federation field to given value. - -### HasFederation - -`func (o *AddressBlock) HasFederation() bool` - -HasFederation returns a boolean if a field has been set. - ### GetHeaderOptionFilename `func (o *AddressBlock) GetHeaderOptionFilename() string` diff --git a/ipam/docs/Subnet.md b/ipam/docs/Subnet.md index 13d2eb6..ec415fd 100644 --- a/ipam/docs/Subnet.md +++ b/ipam/docs/Subnet.md @@ -21,6 +21,7 @@ Name | Type | Description | Notes **DdnsTtlPercent** | Pointer to **float32** | DDNS TTL value - to be calculated as a simple percentage of the lease's lifetime, using the parameter's value as the percentage. It is specified as a percentage (e.g. 25, 75). Defaults to unspecified. | [optional] **DdnsUpdateOnRenew** | Pointer to **bool** | Instructs the DHCP server to always update the DNS information when a lease is renewed even if its DNS information has not changed. Defaults to _false_. | [optional] **DdnsUseConflictResolution** | Pointer to **bool** | When true, DHCP server will apply conflict resolution, as described in RFC 4703, when attempting to fulfill the update request. When false, DHCP server will simply attempt to update the DNS entries per the request, regardless of whether or not they conflict with existing entries owned by other DHCP4 clients. Defaults to _true_. | [optional] +**Delegation** | Pointer to **string** | The ID of the delegation associated with the subnet. | [optional] [readonly] **DhcpConfig** | Pointer to [**DHCPConfig**](DHCPConfig.md) | The DHCP configuration of the subnet that controls how leases are issued. | [optional] **DhcpHost** | Pointer to **string** | The resource identifier. | [optional] **DhcpOptions** | Pointer to [**[]OptionItem**](OptionItem.md) | The DHCP options of the subnet. This can either be a specific option or a group of options. | [optional] @@ -30,7 +31,6 @@ Name | Type | Description | Notes **DiscoveryMetadata** | Pointer to **map[string]interface{}** | The discovery metadata for this subnet in JSON format. | [optional] [readonly] **ExternalKeys** | Pointer to **map[string]interface{}** | The external keys (source key) for this subnet in JSON format. | [optional] **FederatedRealms** | Pointer to **[]string** | Reserved for future use. | [optional] -**Federation** | Pointer to **string** | Reserved for future use. | [optional] [readonly] **HeaderOptionFilename** | Pointer to **string** | The configuration for header option filename field. | [optional] **HeaderOptionServerAddress** | Pointer to **string** | The configuration for header option server address field. | [optional] **HeaderOptionServerName** | Pointer to **string** | The configuration for header option server name field. | [optional] @@ -498,6 +498,31 @@ SetDdnsUseConflictResolution sets DdnsUseConflictResolution field to given value HasDdnsUseConflictResolution returns a boolean if a field has been set. +### GetDelegation + +`func (o *Subnet) GetDelegation() string` + +GetDelegation returns the Delegation field if non-nil, zero value otherwise. + +### GetDelegationOk + +`func (o *Subnet) GetDelegationOk() (*string, bool)` + +GetDelegationOk returns a tuple with the Delegation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDelegation + +`func (o *Subnet) SetDelegation(v string)` + +SetDelegation sets Delegation field to given value. + +### HasDelegation + +`func (o *Subnet) HasDelegation() bool` + +HasDelegation returns a boolean if a field has been set. + ### GetDhcpConfig `func (o *Subnet) GetDhcpConfig() DHCPConfig` @@ -723,31 +748,6 @@ SetFederatedRealms sets FederatedRealms field to given value. HasFederatedRealms returns a boolean if a field has been set. -### GetFederation - -`func (o *Subnet) GetFederation() string` - -GetFederation returns the Federation field if non-nil, zero value otherwise. - -### GetFederationOk - -`func (o *Subnet) GetFederationOk() (*string, bool)` - -GetFederationOk returns a tuple with the Federation field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFederation - -`func (o *Subnet) SetFederation(v string)` - -SetFederation sets Federation field to given value. - -### HasFederation - -`func (o *Subnet) HasFederation() bool` - -HasFederation returns a boolean if a field has been set. - ### GetHeaderOptionFilename `func (o *Subnet) GetHeaderOptionFilename() string` diff --git a/ipam/model_address_block.go b/ipam/model_address_block.go index c2358bc..7f1782f 100644 --- a/ipam/model_address_block.go +++ b/ipam/model_address_block.go @@ -52,6 +52,8 @@ type AddressBlock struct { DdnsUpdateOnRenew *bool `json:"ddns_update_on_renew,omitempty"` // When true, DHCP server will apply conflict resolution, as described in RFC 4703, when attempting to fulfill the update request. When false, DHCP server will simply attempt to update the DNS entries per the request, regardless of whether or not they conflict with existing entries owned by other DHCP4 clients. Defaults to _true_. DdnsUseConflictResolution *bool `json:"ddns_use_conflict_resolution,omitempty"` + // The ID of the delegation associated with the address block. + Delegation *string `json:"delegation,omitempty"` // The shared DHCP configuration that controls how leases are issued for the address block. DhcpConfig *DHCPConfig `json:"dhcp_config,omitempty"` // The list of DHCP options for the address block. May be either a specific option or a group of options. @@ -66,8 +68,6 @@ type AddressBlock struct { ExternalKeys map[string]interface{} `json:"external_keys,omitempty"` // Reserved for future use. FederatedRealms []string `json:"federated_realms,omitempty"` - // Reserved for future use. - Federation *string `json:"federation,omitempty"` // The configuration for header option filename field. HeaderOptionFilename *string `json:"header_option_filename,omitempty"` // The configuration for header option server address field. @@ -640,6 +640,38 @@ func (o *AddressBlock) SetDdnsUseConflictResolution(v bool) { o.DdnsUseConflictResolution = &v } +// GetDelegation returns the Delegation field value if set, zero value otherwise. +func (o *AddressBlock) GetDelegation() string { + if o == nil || IsNil(o.Delegation) { + var ret string + return ret + } + return *o.Delegation +} + +// GetDelegationOk returns a tuple with the Delegation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AddressBlock) GetDelegationOk() (*string, bool) { + if o == nil || IsNil(o.Delegation) { + return nil, false + } + return o.Delegation, true +} + +// HasDelegation returns a boolean if a field has been set. +func (o *AddressBlock) HasDelegation() bool { + if o != nil && !IsNil(o.Delegation) { + return true + } + + return false +} + +// SetDelegation gets a reference to the given string and assigns it to the Delegation field. +func (o *AddressBlock) SetDelegation(v string) { + o.Delegation = &v +} + // GetDhcpConfig returns the DhcpConfig field value if set, zero value otherwise. func (o *AddressBlock) GetDhcpConfig() DHCPConfig { if o == nil || IsNil(o.DhcpConfig) { @@ -864,38 +896,6 @@ func (o *AddressBlock) SetFederatedRealms(v []string) { o.FederatedRealms = v } -// GetFederation returns the Federation field value if set, zero value otherwise. -func (o *AddressBlock) GetFederation() string { - if o == nil || IsNil(o.Federation) { - var ret string - return ret - } - return *o.Federation -} - -// GetFederationOk returns a tuple with the Federation field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AddressBlock) GetFederationOk() (*string, bool) { - if o == nil || IsNil(o.Federation) { - return nil, false - } - return o.Federation, true -} - -// HasFederation returns a boolean if a field has been set. -func (o *AddressBlock) HasFederation() bool { - if o != nil && !IsNil(o.Federation) { - return true - } - - return false -} - -// SetFederation gets a reference to the given string and assigns it to the Federation field. -func (o *AddressBlock) SetFederation(v string) { - o.Federation = &v -} - // GetHeaderOptionFilename returns the HeaderOptionFilename field value if set, zero value otherwise. func (o *AddressBlock) GetHeaderOptionFilename() string { if o == nil || IsNil(o.HeaderOptionFilename) { @@ -1562,6 +1562,9 @@ func (o AddressBlock) ToMap() (map[string]interface{}, error) { if !IsNil(o.DdnsUseConflictResolution) { toSerialize["ddns_use_conflict_resolution"] = o.DdnsUseConflictResolution } + if !IsNil(o.Delegation) { + toSerialize["delegation"] = o.Delegation + } if !IsNil(o.DhcpConfig) { toSerialize["dhcp_config"] = o.DhcpConfig } @@ -1583,9 +1586,6 @@ func (o AddressBlock) ToMap() (map[string]interface{}, error) { if !IsNil(o.FederatedRealms) { toSerialize["federated_realms"] = o.FederatedRealms } - if !IsNil(o.Federation) { - toSerialize["federation"] = o.Federation - } if !IsNil(o.HeaderOptionFilename) { toSerialize["header_option_filename"] = o.HeaderOptionFilename } @@ -1681,6 +1681,7 @@ func (o *AddressBlock) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "ddns_ttl_percent") delete(additionalProperties, "ddns_update_on_renew") delete(additionalProperties, "ddns_use_conflict_resolution") + delete(additionalProperties, "delegation") delete(additionalProperties, "dhcp_config") delete(additionalProperties, "dhcp_options") delete(additionalProperties, "dhcp_utilization") @@ -1688,7 +1689,6 @@ func (o *AddressBlock) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "discovery_metadata") delete(additionalProperties, "external_keys") delete(additionalProperties, "federated_realms") - delete(additionalProperties, "federation") delete(additionalProperties, "header_option_filename") delete(additionalProperties, "header_option_server_address") delete(additionalProperties, "header_option_server_name") diff --git a/ipam/model_subnet.go b/ipam/model_subnet.go index 095c88c..79166b0 100644 --- a/ipam/model_subnet.go +++ b/ipam/model_subnet.go @@ -54,6 +54,8 @@ type Subnet struct { DdnsUpdateOnRenew *bool `json:"ddns_update_on_renew,omitempty"` // When true, DHCP server will apply conflict resolution, as described in RFC 4703, when attempting to fulfill the update request. When false, DHCP server will simply attempt to update the DNS entries per the request, regardless of whether or not they conflict with existing entries owned by other DHCP4 clients. Defaults to _true_. DdnsUseConflictResolution *bool `json:"ddns_use_conflict_resolution,omitempty"` + // The ID of the delegation associated with the subnet. + Delegation *string `json:"delegation,omitempty"` // The DHCP configuration of the subnet that controls how leases are issued. DhcpConfig *DHCPConfig `json:"dhcp_config,omitempty"` // The resource identifier. @@ -72,8 +74,6 @@ type Subnet struct { ExternalKeys map[string]interface{} `json:"external_keys,omitempty"` // Reserved for future use. FederatedRealms []string `json:"federated_realms,omitempty"` - // Reserved for future use. - Federation *string `json:"federation,omitempty"` // The configuration for header option filename field. HeaderOptionFilename *string `json:"header_option_filename,omitempty"` // The configuration for header option server address field. @@ -684,6 +684,38 @@ func (o *Subnet) SetDdnsUseConflictResolution(v bool) { o.DdnsUseConflictResolution = &v } +// GetDelegation returns the Delegation field value if set, zero value otherwise. +func (o *Subnet) GetDelegation() string { + if o == nil || IsNil(o.Delegation) { + var ret string + return ret + } + return *o.Delegation +} + +// GetDelegationOk returns a tuple with the Delegation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Subnet) GetDelegationOk() (*string, bool) { + if o == nil || IsNil(o.Delegation) { + return nil, false + } + return o.Delegation, true +} + +// HasDelegation returns a boolean if a field has been set. +func (o *Subnet) HasDelegation() bool { + if o != nil && !IsNil(o.Delegation) { + return true + } + + return false +} + +// SetDelegation gets a reference to the given string and assigns it to the Delegation field. +func (o *Subnet) SetDelegation(v string) { + o.Delegation = &v +} + // GetDhcpConfig returns the DhcpConfig field value if set, zero value otherwise. func (o *Subnet) GetDhcpConfig() DHCPConfig { if o == nil || IsNil(o.DhcpConfig) { @@ -972,38 +1004,6 @@ func (o *Subnet) SetFederatedRealms(v []string) { o.FederatedRealms = v } -// GetFederation returns the Federation field value if set, zero value otherwise. -func (o *Subnet) GetFederation() string { - if o == nil || IsNil(o.Federation) { - var ret string - return ret - } - return *o.Federation -} - -// GetFederationOk returns a tuple with the Federation field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Subnet) GetFederationOk() (*string, bool) { - if o == nil || IsNil(o.Federation) { - return nil, false - } - return o.Federation, true -} - -// HasFederation returns a boolean if a field has been set. -func (o *Subnet) HasFederation() bool { - if o != nil && !IsNil(o.Federation) { - return true - } - - return false -} - -// SetFederation gets a reference to the given string and assigns it to the Federation field. -func (o *Subnet) SetFederation(v string) { - o.Federation = &v -} - // GetHeaderOptionFilename returns the HeaderOptionFilename field value if set, zero value otherwise. func (o *Subnet) GetHeaderOptionFilename() string { if o == nil || IsNil(o.HeaderOptionFilename) { @@ -1769,6 +1769,9 @@ func (o Subnet) ToMap() (map[string]interface{}, error) { if !IsNil(o.DdnsUseConflictResolution) { toSerialize["ddns_use_conflict_resolution"] = o.DdnsUseConflictResolution } + if !IsNil(o.Delegation) { + toSerialize["delegation"] = o.Delegation + } if !IsNil(o.DhcpConfig) { toSerialize["dhcp_config"] = o.DhcpConfig } @@ -1796,9 +1799,6 @@ func (o Subnet) ToMap() (map[string]interface{}, error) { if !IsNil(o.FederatedRealms) { toSerialize["federated_realms"] = o.FederatedRealms } - if !IsNil(o.Federation) { - toSerialize["federation"] = o.Federation - } if !IsNil(o.HeaderOptionFilename) { toSerialize["header_option_filename"] = o.HeaderOptionFilename } @@ -1904,6 +1904,7 @@ func (o *Subnet) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "ddns_ttl_percent") delete(additionalProperties, "ddns_update_on_renew") delete(additionalProperties, "ddns_use_conflict_resolution") + delete(additionalProperties, "delegation") delete(additionalProperties, "dhcp_config") delete(additionalProperties, "dhcp_host") delete(additionalProperties, "dhcp_options") @@ -1913,7 +1914,6 @@ func (o *Subnet) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "discovery_metadata") delete(additionalProperties, "external_keys") delete(additionalProperties, "federated_realms") - delete(additionalProperties, "federation") delete(additionalProperties, "header_option_filename") delete(additionalProperties, "header_option_server_address") delete(additionalProperties, "header_option_server_name")