/
model_software_reference.go
35 lines (33 loc) · 2.32 KB
/
model_software_reference.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
* ONTAP REST API
*
* ONTAP 9.6 adds support for an expansive RESTful API. The documentation below provides information about the types of API calls available to you, as well as details about using each API endpoint. You can learn more about the ONTAP REST API and ONTAP in the ONTAP 9 Documentation Center: http://docs.netapp.com/ontap-9/topic/com.netapp.doc.dot-rest-api/home.html. NetApp welcomes your comments and suggestions about the ONTAP REST API and the documentation for its use.</br> **Using the ONTAP 9.6 REST API online documentation** Each API method includes usage examples, as well as a model that displays all the required and optional properties supported by the method. Click the _Model_ link, available with each API method, to see all the required and optional properties supported by each method.
*
* API version: v1
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package swagger
type SoftwareReference struct {
Links *InlineResponse201Links `json:"_links,omitempty"`
// User triggered action to apply to the install operation
Action string `json:"action,omitempty"`
// Elapsed time during the upgrade or validation operation
ElapsedDuration int32 `json:"elapsed_duration,omitempty"`
// Estimated time remaining until completion of the upgrade or validation operation.
EstimatedDuration int32 `json:"estimated_duration,omitempty"`
Metrocluster *SoftwareReferenceMetrocluster `json:"metrocluster,omitempty"`
// List of nodes and active versions.
Nodes []SoftwareNodeReference `json:"nodes,omitempty"`
// Version being installed on the system.
PendingVersion string `json:"pending_version,omitempty"`
// Operational state of the upgrade
State string `json:"state,omitempty"`
// Display status details.
StatusDetails []SoftwareStatusDetailsReference `json:"status_details,omitempty"`
// Display update procress details.
UpdateDetails []SoftwareUpdateDetailsReference `json:"update_details,omitempty"`
// List of validation warnings, errors, and advice.
ValidationResults []SoftwareValidationReference `json:"validation_results,omitempty"`
// Version of ONTAP installed and currently active on the system. During PATCH, using the 'validate_only' parameter on the request executes pre-checks, but does not perform the full installation.
Version string `json:"version,omitempty"`
}