diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 01990a1..ea3c217 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -36,6 +36,7 @@ docs/AgentInstallBody.md docs/AgentProfilesReturn.md docs/AgentSystemAdbAuth.md docs/AgentSystemGetPropBody.md +docs/AgentSystemSetHostnameBody.md docs/AgentValueReturn.md docs/AgreedAck.md docs/ApiConflictError.md @@ -166,6 +167,7 @@ model_agent_install_body.go model_agent_profiles_return.go model_agent_system_adb_auth.go model_agent_system_get_prop_body.go +model_agent_system_set_hostname_body.go model_agent_value_return.go model_agreed_ack.go model_api_conflict_error.go diff --git a/README.md b/README.md index 2eb48c0..e625030 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ REST API to manage your virtual devices. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 5.5.0-18750 +- API version: 5.6.0-19122 - Package version: 1.0.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen @@ -96,6 +96,7 @@ Class | Method | HTTP request | Description *AgentApi* | [**V1AgentSystemInstallOpenGApps**](docs/AgentApi.md#v1agentsysteminstallopengapps) | **Post** /v1/instances/{instanceId}/agent/v1/system/install-opengapps | Install OpenGApps (AOSP only) *AgentApi* | [**V1AgentSystemLock**](docs/AgentApi.md#v1agentsystemlock) | **Post** /v1/instances/{instanceId}/agent/v1/system/lock | Lock Device (iOS Only) *AgentApi* | [**V1AgentSystemSetAdbAuth**](docs/AgentApi.md#v1agentsystemsetadbauth) | **Put** /v1/instances/{instanceId}/agent/v1/system/adbauth | Set ADB Auth Setting (AOSP only) +*AgentApi* | [**V1AgentSystemSetHostname**](docs/AgentApi.md#v1agentsystemsethostname) | **Post** /v1/instances/{instanceId}/agent/v1/system/setHostname | Set Hostname of instance *AgentApi* | [**V1AgentSystemShutdown**](docs/AgentApi.md#v1agentsystemshutdown) | **Post** /v1/instances/{instanceId}/agent/v1/system/shutdown | Instruct VM to halt *AgentApi* | [**V1AgentSystemUnlock**](docs/AgentApi.md#v1agentsystemunlock) | **Post** /v1/instances/{instanceId}/agent/v1/system/unlock | Unlock Device (iOS Only) *AgentApi* | [**V1AgentUninstallApp**](docs/AgentApi.md#v1agentuninstallapp) | **Post** /v1/instances/{instanceId}/agent/v1/app/apps/{bundleId}/uninstall | Uninstall an App @@ -247,6 +248,7 @@ Class | Method | HTTP request | Description - [AgentProfilesReturn](docs/AgentProfilesReturn.md) - [AgentSystemAdbAuth](docs/AgentSystemAdbAuth.md) - [AgentSystemGetPropBody](docs/AgentSystemGetPropBody.md) + - [AgentSystemSetHostnameBody](docs/AgentSystemSetHostnameBody.md) - [AgentValueReturn](docs/AgentValueReturn.md) - [AgreedAck](docs/AgreedAck.md) - [ApiConflictError](docs/ApiConflictError.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index ad8f5b8..42c3df6 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -3,7 +3,7 @@ info: description: REST API to manage your virtual devices. termsOfService: https://www.corellium.com/legal/terms title: Corellium API - version: 5.5.0-18750 + version: 5.6.0-19122 servers: - description: "" url: "https://{serverName}/api" @@ -51,6 +51,8 @@ tags: name: Projects - description: "" name: Roles +- description: "" + name: Services - description: "" name: Snapshots - description: "" @@ -2024,6 +2026,41 @@ paths: summary: Uninstall a Profile from VM tags: - Agent + /v1/instances/{instanceId}/agent/v1/system/setHostname: + post: + deprecated: false + operationId: v1AgentSystemSetHostname + parameters: + - deprecated: false + description: Instance ID - uuid + explode: false + in: path + name: instanceId + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AgentSystemSetHostnameBody' + description: New hostname + required: true + responses: + "204": + description: Accepted + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/AgentError' + description: Agent Error + security: + - BearerAuth: [] + summary: Set Hostname of instance + tags: + - Agent /v1/instances/{instanceId}/agent/v1/system/shutdown: post: deprecated: false @@ -8904,6 +8941,17 @@ components: required: - profiles type: object + AgentSystemSetHostnameBody: + description: "" + example: + hostname: hostname + properties: + hostname: + description: "" + type: string + required: + - hostname + type: object AgentValueReturn: description: "" example: diff --git a/api_agent.go b/api_agent.go index 75c3437..7832ff5 100644 --- a/api_agent.go +++ b/api_agent.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -2165,6 +2165,118 @@ func (a *AgentApiService) V1AgentSystemSetAdbAuthExecute(r AgentApiV1AgentSystem return localVarHTTPResponse, nil } +type AgentApiV1AgentSystemSetHostnameRequest struct { + ctx context.Context + ApiService *AgentApiService + instanceId string + agentSystemSetHostnameBody *AgentSystemSetHostnameBody +} + +// New hostname +func (r AgentApiV1AgentSystemSetHostnameRequest) AgentSystemSetHostnameBody(agentSystemSetHostnameBody AgentSystemSetHostnameBody) AgentApiV1AgentSystemSetHostnameRequest { + r.agentSystemSetHostnameBody = &agentSystemSetHostnameBody + return r +} + +func (r AgentApiV1AgentSystemSetHostnameRequest) Execute() (*http.Response, error) { + return r.ApiService.V1AgentSystemSetHostnameExecute(r) +} + +/* +V1AgentSystemSetHostname Set Hostname of instance + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param instanceId Instance ID - uuid + @return AgentApiV1AgentSystemSetHostnameRequest +*/ +func (a *AgentApiService) V1AgentSystemSetHostname(ctx context.Context, instanceId string) AgentApiV1AgentSystemSetHostnameRequest { + return AgentApiV1AgentSystemSetHostnameRequest{ + ApiService: a, + ctx: ctx, + instanceId: instanceId, + } +} + +// Execute executes the request +func (a *AgentApiService) V1AgentSystemSetHostnameExecute(r AgentApiV1AgentSystemSetHostnameRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AgentApiService.V1AgentSystemSetHostname") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/v1/instances/{instanceId}/agent/v1/system/setHostname" + localVarPath = strings.Replace(localVarPath, "{"+"instanceId"+"}", url.PathEscape(parameterValueToString(r.instanceId, "instanceId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.agentSystemSetHostnameBody == nil { + return nil, reportError("agentSystemSetHostnameBody is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.agentSystemSetHostnameBody + 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 := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v AgentError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type AgentApiV1AgentSystemShutdownRequest struct { ctx context.Context ApiService *AgentApiService diff --git a/api_authentication.go b/api_authentication.go index 63d3aa3..0e49fdd 100644 --- a/api_authentication.go +++ b/api_authentication.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_config.go b/api_config.go index 1c0c702..5091d0c 100644 --- a/api_config.go +++ b/api_config.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_core_trace.go b/api_core_trace.go index 91e9979..dfb9a4b 100644 --- a/api_core_trace.go +++ b/api_core_trace.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_domain_auth_provider.go b/api_domain_auth_provider.go index 913a056..b3cee84 100644 --- a/api_domain_auth_provider.go +++ b/api_domain_auth_provider.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_hyper_trace.go b/api_hyper_trace.go index d0ce275..b135bfd 100644 --- a/api_hyper_trace.go +++ b/api_hyper_trace.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_hypervisor_hooks.go b/api_hypervisor_hooks.go index 18030dd..e745e81 100644 --- a/api_hypervisor_hooks.go +++ b/api_hypervisor_hooks.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_images.go b/api_images.go index 9a4ffbf..07e427c 100644 --- a/api_images.go +++ b/api_images.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_instances.go b/api_instances.go index 3e5518e..6ff1df4 100644 --- a/api_instances.go +++ b/api_instances.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_licensing.go b/api_licensing.go index 29bd374..4d26feb 100644 --- a/api_licensing.go +++ b/api_licensing.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_models.go b/api_models.go index c2776e6..3467d3f 100644 --- a/api_models.go +++ b/api_models.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_netdump.go b/api_netdump.go index 3cbf8b0..c15fccb 100644 --- a/api_netdump.go +++ b/api_netdump.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_projects.go b/api_projects.go index 245bbf5..b886d38 100644 --- a/api_projects.go +++ b/api_projects.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_roles.go b/api_roles.go index 40d434d..c77af8b 100644 --- a/api_roles.go +++ b/api_roles.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_snapshots.go b/api_snapshots.go index 945c27b..e0a2f05 100644 --- a/api_snapshots.go +++ b/api_snapshots.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_status.go b/api_status.go index f79f025..f3b724c 100644 --- a/api_status.go +++ b/api_status.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_teams.go b/api_teams.go index 0309192..91a0d87 100644 --- a/api_teams.go +++ b/api_teams.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_trial_requests.go b/api_trial_requests.go index 3607fb6..ef7df24 100644 --- a/api_trial_requests.go +++ b/api_trial_requests.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_users.go b/api_users.go index acfbda5..56afb2e 100644 --- a/api_users.go +++ b/api_users.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/client.go b/client.go index 79ba2fb..ff5c577 100644 --- a/client.go +++ b/client.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -41,7 +41,7 @@ var ( queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) ) -// APIClient manages communication with the Corellium API API v5.5.0-18750 +// APIClient manages communication with the Corellium API API v5.6.0-19122 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/configuration.go b/configuration.go index df221d2..eb7f80e 100644 --- a/configuration.go +++ b/configuration.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/docs/AgentApi.md b/docs/AgentApi.md index d9e76f5..5b70a49 100644 --- a/docs/AgentApi.md +++ b/docs/AgentApi.md @@ -23,6 +23,7 @@ Method | HTTP request | Description [**V1AgentSystemInstallOpenGApps**](AgentApi.md#V1AgentSystemInstallOpenGApps) | **Post** /v1/instances/{instanceId}/agent/v1/system/install-opengapps | Install OpenGApps (AOSP only) [**V1AgentSystemLock**](AgentApi.md#V1AgentSystemLock) | **Post** /v1/instances/{instanceId}/agent/v1/system/lock | Lock Device (iOS Only) [**V1AgentSystemSetAdbAuth**](AgentApi.md#V1AgentSystemSetAdbAuth) | **Put** /v1/instances/{instanceId}/agent/v1/system/adbauth | Set ADB Auth Setting (AOSP only) +[**V1AgentSystemSetHostname**](AgentApi.md#V1AgentSystemSetHostname) | **Post** /v1/instances/{instanceId}/agent/v1/system/setHostname | Set Hostname of instance [**V1AgentSystemShutdown**](AgentApi.md#V1AgentSystemShutdown) | **Post** /v1/instances/{instanceId}/agent/v1/system/shutdown | Instruct VM to halt [**V1AgentSystemUnlock**](AgentApi.md#V1AgentSystemUnlock) | **Post** /v1/instances/{instanceId}/agent/v1/system/unlock | Unlock Device (iOS Only) [**V1AgentUninstallApp**](AgentApi.md#V1AgentUninstallApp) | **Post** /v1/instances/{instanceId}/agent/v1/app/apps/{bundleId}/uninstall | Uninstall an App @@ -1342,6 +1343,74 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## V1AgentSystemSetHostname + +> V1AgentSystemSetHostname(ctx, instanceId).AgentSystemSetHostnameBody(agentSystemSetHostnameBody).Execute() + +Set Hostname of instance + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/corellium/go-corellium-api-client" +) + +func main() { + instanceId := "instanceId_example" // string | Instance ID - uuid + agentSystemSetHostnameBody := *openapiclient.NewAgentSystemSetHostnameBody("Hostname_example") // AgentSystemSetHostnameBody | New hostname + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AgentApi.V1AgentSystemSetHostname(context.Background(), instanceId).AgentSystemSetHostnameBody(agentSystemSetHostnameBody).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AgentApi.V1AgentSystemSetHostname``: %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. +**instanceId** | **string** | Instance ID - uuid | + +### Other Parameters + +Other parameters are passed through a pointer to a apiV1AgentSystemSetHostnameRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **agentSystemSetHostnameBody** | [**AgentSystemSetHostnameBody**](AgentSystemSetHostnameBody.md) | New hostname | + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### 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) + + ## V1AgentSystemShutdown > V1AgentSystemShutdown(ctx, instanceId).Execute() diff --git a/docs/AgentSystemSetHostnameBody.md b/docs/AgentSystemSetHostnameBody.md new file mode 100644 index 0000000..10cad96 --- /dev/null +++ b/docs/AgentSystemSetHostnameBody.md @@ -0,0 +1,51 @@ +# AgentSystemSetHostnameBody + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Hostname** | **string** | | + +## Methods + +### NewAgentSystemSetHostnameBody + +`func NewAgentSystemSetHostnameBody(hostname string, ) *AgentSystemSetHostnameBody` + +NewAgentSystemSetHostnameBody instantiates a new AgentSystemSetHostnameBody 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 + +### NewAgentSystemSetHostnameBodyWithDefaults + +`func NewAgentSystemSetHostnameBodyWithDefaults() *AgentSystemSetHostnameBody` + +NewAgentSystemSetHostnameBodyWithDefaults instantiates a new AgentSystemSetHostnameBody 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 + +### GetHostname + +`func (o *AgentSystemSetHostnameBody) GetHostname() string` + +GetHostname returns the Hostname field if non-nil, zero value otherwise. + +### GetHostnameOk + +`func (o *AgentSystemSetHostnameBody) GetHostnameOk() (*string, bool)` + +GetHostnameOk returns a tuple with the Hostname field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHostname + +`func (o *AgentSystemSetHostnameBody) SetHostname(v string)` + +SetHostname sets Hostname 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/model_address.go b/model_address.go index 291d007..34a5b6e 100644 --- a/model_address.go +++ b/model_address.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_agent_app.go b/model_agent_app.go index da958cb..e1117cd 100644 --- a/model_agent_app.go +++ b/model_agent_app.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_agent_app_ready_response.go b/model_agent_app_ready_response.go index 86f5588..09e7f3d 100644 --- a/model_agent_app_ready_response.go +++ b/model_agent_app_ready_response.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_agent_app_status.go b/model_agent_app_status.go index 4cd9736..aced45a 100644 --- a/model_agent_app_status.go +++ b/model_agent_app_status.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_agent_apps_list.go b/model_agent_apps_list.go index dc42035..bc6e191 100644 --- a/model_agent_apps_list.go +++ b/model_agent_apps_list.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_agent_apps_status_list.go b/model_agent_apps_status_list.go index fb926b3..bdc3d47 100644 --- a/model_agent_apps_status_list.go +++ b/model_agent_apps_status_list.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_agent_error.go b/model_agent_error.go index 5042f83..347bbd8 100644 --- a/model_agent_error.go +++ b/model_agent_error.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_agent_icons.go b/model_agent_icons.go index 083365c..3ea20b5 100644 --- a/model_agent_icons.go +++ b/model_agent_icons.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_agent_install_body.go b/model_agent_install_body.go index f7e6eab..9509bff 100644 --- a/model_agent_install_body.go +++ b/model_agent_install_body.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_agent_profiles_return.go b/model_agent_profiles_return.go index b92bbce..e844e61 100644 --- a/model_agent_profiles_return.go +++ b/model_agent_profiles_return.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_agent_system_adb_auth.go b/model_agent_system_adb_auth.go index a519512..1417721 100644 --- a/model_agent_system_adb_auth.go +++ b/model_agent_system_adb_auth.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_agent_system_get_prop_body.go b/model_agent_system_get_prop_body.go index 7efbc0a..898790e 100644 --- a/model_agent_system_get_prop_body.go +++ b/model_agent_system_get_prop_body.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_agent_system_set_hostname_body.go b/model_agent_system_set_hostname_body.go new file mode 100644 index 0000000..c3a40bf --- /dev/null +++ b/model_agent_system_set_hostname_body.go @@ -0,0 +1,118 @@ +/* +Corellium API + +REST API to manage your virtual devices. + +API version: 5.6.0-19122 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package corellium + +import ( + "encoding/json" +) + +// checks if the AgentSystemSetHostnameBody type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AgentSystemSetHostnameBody{} + +// AgentSystemSetHostnameBody +type AgentSystemSetHostnameBody struct { + // + Hostname string `json:"hostname"` +} + +// NewAgentSystemSetHostnameBody instantiates a new AgentSystemSetHostnameBody 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 NewAgentSystemSetHostnameBody(hostname string) *AgentSystemSetHostnameBody { + this := AgentSystemSetHostnameBody{} + this.Hostname = hostname + return &this +} + +// NewAgentSystemSetHostnameBodyWithDefaults instantiates a new AgentSystemSetHostnameBody 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 NewAgentSystemSetHostnameBodyWithDefaults() *AgentSystemSetHostnameBody { + this := AgentSystemSetHostnameBody{} + return &this +} + +// GetHostname returns the Hostname field value +func (o *AgentSystemSetHostnameBody) GetHostname() string { + if o == nil { + var ret string + return ret + } + + return o.Hostname +} + +// GetHostnameOk returns a tuple with the Hostname field value +// and a boolean to check if the value has been set. +func (o *AgentSystemSetHostnameBody) GetHostnameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Hostname, true +} + +// SetHostname sets field value +func (o *AgentSystemSetHostnameBody) SetHostname(v string) { + o.Hostname = v +} + +func (o AgentSystemSetHostnameBody) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AgentSystemSetHostnameBody) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["hostname"] = o.Hostname + return toSerialize, nil +} + +type NullableAgentSystemSetHostnameBody struct { + value *AgentSystemSetHostnameBody + isSet bool +} + +func (v NullableAgentSystemSetHostnameBody) Get() *AgentSystemSetHostnameBody { + return v.value +} + +func (v *NullableAgentSystemSetHostnameBody) Set(val *AgentSystemSetHostnameBody) { + v.value = val + v.isSet = true +} + +func (v NullableAgentSystemSetHostnameBody) IsSet() bool { + return v.isSet +} + +func (v *NullableAgentSystemSetHostnameBody) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAgentSystemSetHostnameBody(val *AgentSystemSetHostnameBody) *NullableAgentSystemSetHostnameBody { + return &NullableAgentSystemSetHostnameBody{value: val, isSet: true} +} + +func (v NullableAgentSystemSetHostnameBody) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAgentSystemSetHostnameBody) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_agent_value_return.go b/model_agent_value_return.go index 1f354cd..c15398d 100644 --- a/model_agent_value_return.go +++ b/model_agent_value_return.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_agreed_ack.go b/model_agreed_ack.go index ad873a1..7eafdd0 100644 --- a/model_agreed_ack.go +++ b/model_agreed_ack.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_api_conflict_error.go b/model_api_conflict_error.go index 23541bc..a4971b8 100644 --- a/model_api_conflict_error.go +++ b/model_api_conflict_error.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_api_error.go b/model_api_error.go index 1aaf5f8..fb4970c 100644 --- a/model_api_error.go +++ b/model_api_error.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_api_internal_consistency_error.go b/model_api_internal_consistency_error.go index 67665bf..2aa33e9 100644 --- a/model_api_internal_consistency_error.go +++ b/model_api_internal_consistency_error.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_api_not_found_error.go b/model_api_not_found_error.go index 58df4e1..c87340c 100644 --- a/model_api_not_found_error.go +++ b/model_api_not_found_error.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_api_token.go b/model_api_token.go index b6ae48c..cf5ca40 100644 --- a/model_api_token.go +++ b/model_api_token.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_auth_provider.go b/model_auth_provider.go index cddbc39..7926042 100644 --- a/model_auth_provider.go +++ b/model_auth_provider.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_bit.go b/model_bit.go index 291c5ea..299098a 100644 --- a/model_bit.go +++ b/model_bit.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_btrace_enable_options.go b/model_btrace_enable_options.go index cc62588..351a5dc 100644 --- a/model_btrace_enable_options.go +++ b/model_btrace_enable_options.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_button.go b/model_button.go index f1bcd06..9dd3309 100644 --- a/model_button.go +++ b/model_button.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_config_response.go b/model_config_response.go index 6414417..1348c3c 100644 --- a/model_config_response.go +++ b/model_config_response.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_config_response_maintenance.go b/model_config_response_maintenance.go index a27e462..4fa006f 100644 --- a/model_config_response_maintenance.go +++ b/model_config_response_maintenance.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_coupon_options.go b/model_coupon_options.go index 2c4864d..7aa2a74 100644 --- a/model_coupon_options.go +++ b/model_coupon_options.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_team.go b/model_create_team.go index 0ca831c..7de2f5d 100644 --- a/model_create_team.go +++ b/model_create_team.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_created_by.go b/model_created_by.go index fadfd79..bab3496 100644 --- a/model_created_by.go +++ b/model_created_by.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_credentials.go b/model_credentials.go index 4a8b518..63df210 100644 --- a/model_credentials.go +++ b/model_credentials.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_domain_auth_provider_request.go b/model_domain_auth_provider_request.go index c35bcd5..9fc0f3d 100644 --- a/model_domain_auth_provider_request.go +++ b/model_domain_auth_provider_request.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_domain_auth_provider_response.go b/model_domain_auth_provider_response.go index bd33d6b..744d9dc 100644 --- a/model_domain_auth_provider_response.go +++ b/model_domain_auth_provider_response.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_domain_options.go b/model_domain_options.go index 358faf3..ab50fc3 100644 --- a/model_domain_options.go +++ b/model_domain_options.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_extension.go b/model_extension.go index 332f08e..4de409b 100644 --- a/model_extension.go +++ b/model_extension.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_features.go b/model_features.go index ccee9bd..8d89ff7 100644 --- a/model_features.go +++ b/model_features.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_file_changes.go b/model_file_changes.go index 41fbc17..e2feca0 100644 --- a/model_file_changes.go +++ b/model_file_changes.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_firmware.go b/model_firmware.go index 3df304e..e6a1b3a 100644 --- a/model_firmware.go +++ b/model_firmware.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_gpio_state_definition.go b/model_gpio_state_definition.go index 9b21b64..0edfaba 100644 --- a/model_gpio_state_definition.go +++ b/model_gpio_state_definition.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_gpios_state.go b/model_gpios_state.go index c6e3195..d17fce9 100644 --- a/model_gpios_state.go +++ b/model_gpios_state.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_grant_trial_request_response.go b/model_grant_trial_request_response.go index 0120b61..da13f81 100644 --- a/model_grant_trial_request_response.go +++ b/model_grant_trial_request_response.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_hook.go b/model_hook.go index 12f42ad..db22de0 100644 --- a/model_hook.go +++ b/model_hook.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_image.go b/model_image.go index cd6c047..04f8eee 100644 --- a/model_image.go +++ b/model_image.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_instance.go b/model_instance.go index 65464d0..f92bdc4 100644 --- a/model_instance.go +++ b/model_instance.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_instance_agent_state.go b/model_instance_agent_state.go index 85cdcc3..da4f180 100644 --- a/model_instance_agent_state.go +++ b/model_instance_agent_state.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_instance_boot_options.go b/model_instance_boot_options.go index ceb9ca8..38af806 100644 --- a/model_instance_boot_options.go +++ b/model_instance_boot_options.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_instance_boot_options_additional_tag.go b/model_instance_boot_options_additional_tag.go index caeb0dc..b9f8386 100644 --- a/model_instance_boot_options_additional_tag.go +++ b/model_instance_boot_options_additional_tag.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_instance_console_endpoint.go b/model_instance_console_endpoint.go index 8016171..70c9b78 100644 --- a/model_instance_console_endpoint.go +++ b/model_instance_console_endpoint.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_instance_create_options.go b/model_instance_create_options.go index 45b8000..1c38dda 100644 --- a/model_instance_create_options.go +++ b/model_instance_create_options.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_instance_input.go b/model_instance_input.go index f744b97..6409b30 100644 --- a/model_instance_input.go +++ b/model_instance_input.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_instance_netdump_state.go b/model_instance_netdump_state.go index f196e4c..5ed99b0 100644 --- a/model_instance_netdump_state.go +++ b/model_instance_netdump_state.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_instance_netmon_state.go b/model_instance_netmon_state.go index aa62b1d..cd484d5 100644 --- a/model_instance_netmon_state.go +++ b/model_instance_netmon_state.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_instance_return.go b/model_instance_return.go index 5fb972a..a7ee016 100644 --- a/model_instance_return.go +++ b/model_instance_return.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_instance_services.go b/model_instance_services.go index 20f5f7d..817b0b3 100644 --- a/model_instance_services.go +++ b/model_instance_services.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_instance_start_options.go b/model_instance_start_options.go index 8d9cc6f..236ad9e 100644 --- a/model_instance_start_options.go +++ b/model_instance_start_options.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_instance_state.go b/model_instance_state.go index 6f4f002..3134dee 100644 --- a/model_instance_state.go +++ b/model_instance_state.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_instance_stop_options.go b/model_instance_stop_options.go index 26bd448..a63cf52 100644 --- a/model_instance_stop_options.go +++ b/model_instance_stop_options.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_instance_upgrade_body.go b/model_instance_upgrade_body.go index 1f9bbcc..7fc24e6 100644 --- a/model_instance_upgrade_body.go +++ b/model_instance_upgrade_body.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_invitation.go b/model_invitation.go index e6a7c41..1b0a7a5 100644 --- a/model_invitation.go +++ b/model_invitation.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_invite_revoke_params.go b/model_invite_revoke_params.go index a0eec79..09b7c26 100644 --- a/model_invite_revoke_params.go +++ b/model_invite_revoke_params.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_invite_revoke_params_ids.go b/model_invite_revoke_params_ids.go index 624d16d..0ff52e0 100644 --- a/model_invite_revoke_params_ids.go +++ b/model_invite_revoke_params_ids.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_kcrange.go b/model_kcrange.go index 649db4b..d3076f7 100644 --- a/model_kcrange.go +++ b/model_kcrange.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_kernel_task.go b/model_kernel_task.go index 762b099..aa237a7 100644 --- a/model_kernel_task.go +++ b/model_kernel_task.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_kernel_thread.go b/model_kernel_thread.go index c9d2b9e..c1c7b33 100644 --- a/model_kernel_thread.go +++ b/model_kernel_thread.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_logging.go b/model_logging.go index 0356906..8ae09e4 100644 --- a/model_logging.go +++ b/model_logging.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_maintenance.go b/model_maintenance.go index 66d68cf..b69d7d4 100644 --- a/model_maintenance.go +++ b/model_maintenance.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_media_play_body.go b/model_media_play_body.go index 402c41d..6474155 100644 --- a/model_media_play_body.go +++ b/model_media_play_body.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_model.go b/model_model.go index 5ae9128..1871aa3 100644 --- a/model_model.go +++ b/model_model.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_model_software.go b/model_model_software.go index 8432ac7..ee94647 100644 --- a/model_model_software.go +++ b/model_model_software.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_netdump_filter.go b/model_netdump_filter.go index 5954d4e..d892c32 100644 --- a/model_netdump_filter.go +++ b/model_netdump_filter.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_open_id_config.go b/model_open_id_config.go index 4360025..a1ec3c8 100644 --- a/model_open_id_config.go +++ b/model_open_id_config.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_password_change_body.go b/model_password_change_body.go index fe024fc..8084039 100644 --- a/model_password_change_body.go +++ b/model_password_change_body.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_password_reset_body.go b/model_password_reset_body.go index 3a9ce05..1b37ce8 100644 --- a/model_password_reset_body.go +++ b/model_password_reset_body.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patch_instance_options.go b/model_patch_instance_options.go index d76989b..5f5c8b5 100644 --- a/model_patch_instance_options.go +++ b/model_patch_instance_options.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_peripherals_data.go b/model_peripherals_data.go index e2153ea..1fbca0b 100644 --- a/model_peripherals_data.go +++ b/model_peripherals_data.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_plan.go b/model_plan.go index dda82dc..7ea6230 100644 --- a/model_plan.go +++ b/model_plan.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project.go b/model_project.go index 874bdb8..4096a27 100644 --- a/model_project.go +++ b/model_project.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_key.go b/model_project_key.go index 8da0328..6ff2423 100644 --- a/model_project_key.go +++ b/model_project_key.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_quota.go b/model_project_quota.go index 4b2f859..99c2dda 100644 --- a/model_project_quota.go +++ b/model_project_quota.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_settings.go b/model_project_settings.go index 2cd4f65..74b6ce6 100644 --- a/model_project_settings.go +++ b/model_project_settings.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_usage.go b/model_project_usage.go index 32801e0..7cc034d 100644 --- a/model_project_usage.go +++ b/model_project_usage.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_proxy_config.go b/model_proxy_config.go index b7a3d16..b117f87 100644 --- a/model_proxy_config.go +++ b/model_proxy_config.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_rate_info.go b/model_rate_info.go index 6d655d5..20e6037 100644 --- a/model_rate_info.go +++ b/model_rate_info.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_reset_link_body.go b/model_reset_link_body.go index 4c39157..19a9665 100644 --- a/model_reset_link_body.go +++ b/model_reset_link_body.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_role.go b/model_role.go index 39aa9ce..19a8237 100644 --- a/model_role.go +++ b/model_role.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_rotate_body.go b/model_rotate_body.go index e399803..225cb72 100644 --- a/model_rotate_body.go +++ b/model_rotate_body.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_snapshot.go b/model_snapshot.go index 46f6142..c6f7e81 100644 --- a/model_snapshot.go +++ b/model_snapshot.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_snapshot_creation_options.go b/model_snapshot_creation_options.go index 5de2a0f..cc96e93 100644 --- a/model_snapshot_creation_options.go +++ b/model_snapshot_creation_options.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_snapshot_status.go b/model_snapshot_status.go index b1d47f6..38cb735 100644 --- a/model_snapshot_status.go +++ b/model_snapshot_status.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_subscriber_invite.go b/model_subscriber_invite.go index 7df8cbf..8bf27be 100644 --- a/model_subscriber_invite.go +++ b/model_subscriber_invite.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_team.go b/model_team.go index 479fda6..4b86f6b 100644 --- a/model_team.go +++ b/model_team.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_team_create.go b/model_team_create.go index 62e1657..f06ec9b 100644 --- a/model_team_create.go +++ b/model_team_create.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_text_input.go b/model_text_input.go index 1345fb2..843491b 100644 --- a/model_text_input.go +++ b/model_text_input.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_token.go b/model_token.go index 2c616c2..12f4dd7 100644 --- a/model_token.go +++ b/model_token.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_touch_curve_input.go b/model_touch_curve_input.go index 1944076..54493de 100644 --- a/model_touch_curve_input.go +++ b/model_touch_curve_input.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_touch_input.go b/model_touch_input.go index c4a642a..1c968a3 100644 --- a/model_touch_input.go +++ b/model_touch_input.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_trial.go b/model_trial.go index 197c715..6153f91 100644 --- a/model_trial.go +++ b/model_trial.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_trial_extension.go b/model_trial_extension.go index 9613308..1139f57 100644 --- a/model_trial_extension.go +++ b/model_trial_extension.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_trial_request_metadata.go b/model_trial_request_metadata.go index b019dd3..e439f48 100644 --- a/model_trial_request_metadata.go +++ b/model_trial_request_metadata.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_trial_request_options.go b/model_trial_request_options.go index 25ded7c..29a12af 100644 --- a/model_trial_request_options.go +++ b/model_trial_request_options.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_extension.go b/model_update_extension.go index f036a57..bf876b0 100644 --- a/model_update_extension.go +++ b/model_update_extension.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_user.go b/model_user.go index 73459d2..cd5cc6b 100644 --- a/model_user.go +++ b/model_user.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_user_error.go b/model_user_error.go index 7e4ce34..f1d954a 100644 --- a/model_user_error.go +++ b/model_user_error.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_create_hook_parameters.go b/model_v1_create_hook_parameters.go index f7752e0..718f8c5 100644 --- a/model_v1_create_hook_parameters.go +++ b/model_v1_create_hook_parameters.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_load_extension_parameters.go b/model_v1_load_extension_parameters.go index 47dc06f..40c2465 100644 --- a/model_v1_load_extension_parameters.go +++ b/model_v1_load_extension_parameters.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_set_state_body.go b/model_v1_set_state_body.go index 04a063a..3a5acf1 100644 --- a/model_v1_set_state_body.go +++ b/model_v1_set_state_body.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_validation_error.go b/model_validation_error.go index 982811d..d54c676 100644 --- a/model_validation_error.go +++ b/model_validation_error.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_volume_options.go b/model_volume_options.go index 15761f1..793103f 100644 --- a/model_volume_options.go +++ b/model_volume_options.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_vpn_definition.go b/model_vpn_definition.go index 11bc140..0f30a48 100644 --- a/model_vpn_definition.go +++ b/model_vpn_definition.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_web_player_create_session_request.go b/model_web_player_create_session_request.go index affd7c8..9230c37 100644 --- a/model_web_player_create_session_request.go +++ b/model_web_player_create_session_request.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_web_player_session.go b/model_web_player_session.go index 4c0d85f..ffa1f0f 100644 --- a/model_web_player_session.go +++ b/model_web_player_session.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/response.go b/response.go index 18ef31c..4d2cd98 100644 --- a/response.go +++ b/response.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/test/api_agent_test.go b/test/api_agent_test.go index 0270807..06927c7 100644 --- a/test/api_agent_test.go +++ b/test/api_agent_test.go @@ -286,6 +286,19 @@ func Test_corellium_AgentApiService(t *testing.T) { }) + t.Run("Test AgentApiService V1AgentSystemSetHostname", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var instanceId string + + httpRes, err := apiClient.AgentApi.V1AgentSystemSetHostname(context.Background(), instanceId).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + t.Run("Test AgentApiService V1AgentSystemShutdown", func(t *testing.T) { t.Skip("skip test") // remove to run test diff --git a/utils.go b/utils.go index a583eec..d893b00 100644 --- a/utils.go +++ b/utils.go @@ -3,7 +3,7 @@ Corellium API REST API to manage your virtual devices. -API version: 5.5.0-18750 +API version: 5.6.0-19122 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.