github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/licensing/license.go (about) 1 /* Copyright © 2017 VMware, Inc. All Rights Reserved. 2 SPDX-License-Identifier: BSD-2-Clause 3 4 Generated by: https://github.com/swagger-api/swagger-codegen.git */ 5 6 package licensing 7 8 import ( 9 "github.com/vmware/go-vmware-nsxt/common" 10 ) 11 12 type License struct { 13 14 // The server will populate this field when returing the resource. Ignored on PUT and POST. 15 Links []common.ResourceLink `json:"_links,omitempty"` 16 17 Schema string `json:"_schema,omitempty"` 18 19 Self *common.SelfResourceLink `json:"_self,omitempty"` 20 21 // license metric 22 CapacityType string `json:"capacity_type,omitempty"` 23 24 // license edition 25 Description string `json:"description,omitempty"` 26 27 // date that license expires 28 Expiry int64 `json:"expiry,omitempty"` 29 30 // semicolon delimited feature list 31 Features string `json:"features,omitempty"` 32 33 // true for evalution license 34 IsEval bool `json:"is_eval,omitempty"` 35 36 // whether the license has expired 37 IsExpired bool `json:"is_expired,omitempty"` 38 39 // multi-hypervisor support 40 IsMh bool `json:"is_mh,omitempty"` 41 42 // license key 43 LicenseKey string `json:"license_key"` 44 45 // product name 46 ProductName string `json:"product_name,omitempty"` 47 48 // product version 49 ProductVersion string `json:"product_version,omitempty"` 50 51 // license capacity; 0 for unlimited 52 Quantity int64 `json:"quantity,omitempty"` 53 }