diff --git a/.idea/compiler.xml b/.idea/compiler.xml
index 838d3a0..a0a6984 100644
--- a/.idea/compiler.xml
+++ b/.idea/compiler.xml
@@ -10,7 +10,7 @@
-
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index cbf34d3..269db00 100644
--- a/pom.xml
+++ b/pom.xml
@@ -92,12 +92,20 @@
de
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+
+ 11
+
+
UTF-8
- 9
- 9
+ 11
+ 11
https://dev-vmware.freenet-rz.de/site/vijava
diff --git a/src/main/java/com/vmware/vim25/ApplyProfile.java b/src/main/java/com/vmware/vim25/ApplyProfile.java
index 1b13c6e..aa130a9 100644
--- a/src/main/java/com/vmware/vim25/ApplyProfile.java
+++ b/src/main/java/com/vmware/vim25/ApplyProfile.java
@@ -41,17 +41,17 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
public class ApplyProfile extends DynamicData {
- private Boolean copyEnableStatus;
private boolean enabled;
- private Boolean favorite;
- private Boolean hidden;
private ProfilePolicy[] policy;
private String profileTypeName;
private String profileVersion;
private ProfileApplyProfileProperty[] property;
- private Boolean toBeDeleted;
+ private Boolean favorite;
private Boolean toBeMerged;
private Boolean toReplaceWith;
+ private Boolean toBeDeleted;
+ private Boolean copyEnableStatus;
+ private Boolean hidden;
public Boolean getCopyEnableStatus() {
return copyEnableStatus;
diff --git a/src/main/java/com/vmware/vim25/ClusterComputeResourceDVSSetting.java b/src/main/java/com/vmware/vim25/ClusterComputeResourceDVSSetting.java
index bc654b4..9085930 100644
--- a/src/main/java/com/vmware/vim25/ClusterComputeResourceDVSSetting.java
+++ b/src/main/java/com/vmware/vim25/ClusterComputeResourceDVSSetting.java
@@ -11,9 +11,9 @@
*/
public class ClusterComputeResourceDVSSetting extends DynamicData {
- private ClusterComputeResourceDVSSettingDVPortgroupToServiceMapping[] dvPortgroupSetting;
private ManagedObjectReference dvSwitch;
private String[] pnicDevices;
+ private ClusterComputeResourceDVSSettingDVPortgroupToServiceMapping[] dvPortgroupSetting;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/ClusterComputeResourceDvsProfile.java b/src/main/java/com/vmware/vim25/ClusterComputeResourceDvsProfile.java
index 92a1aee..266ad74 100644
--- a/src/main/java/com/vmware/vim25/ClusterComputeResourceDvsProfile.java
+++ b/src/main/java/com/vmware/vim25/ClusterComputeResourceDvsProfile.java
@@ -11,10 +11,10 @@
*/
public class ClusterComputeResourceDvsProfile extends DynamicData {
- private ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping[] dvPortgroupMapping;
private String dvsName;
private ManagedObjectReference dvSwitch;
private String[] pnicDevices;
+ private ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping[] dvPortgroupMapping;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping.java b/src/main/java/com/vmware/vim25/ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping.java
index a535d9d..e00acb5 100644
--- a/src/main/java/com/vmware/vim25/ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping.java
+++ b/src/main/java/com/vmware/vim25/ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping.java
@@ -6,8 +6,8 @@
*/
public class ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping extends DynamicData {
- private ManagedObjectReference dvPortgroup;
private DVPortgroupConfigSpec dvPortgroupSpec;
+ private ManagedObjectReference dvPortgroup;
private String service;
@Override
diff --git a/src/main/java/com/vmware/vim25/ClusterComputeResourceHCIConfigSpec.java b/src/main/java/com/vmware/vim25/ClusterComputeResourceHCIConfigSpec.java
index d956907..edf9d8c 100644
--- a/src/main/java/com/vmware/vim25/ClusterComputeResourceHCIConfigSpec.java
+++ b/src/main/java/com/vmware/vim25/ClusterComputeResourceHCIConfigSpec.java
@@ -12,8 +12,8 @@ public class ClusterComputeResourceHCIConfigSpec extends DynamicData {
private ClusterComputeResourceDvsProfile[] dvsProf;
private ClusterComputeResourceHostConfigurationProfile hostConfigProfile;
- private ClusterComputeResourceVCProfile vcProf;
private SDDCBase vSanConfigSpec;
+ private ClusterComputeResourceVCProfile vcProf;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/ClusterConfigSpecEx.java b/src/main/java/com/vmware/vim25/ClusterConfigSpecEx.java
index e0a4f71..9bc378f 100644
--- a/src/main/java/com/vmware/vim25/ClusterConfigSpecEx.java
+++ b/src/main/java/com/vmware/vim25/ClusterConfigSpecEx.java
@@ -45,19 +45,19 @@ public class ClusterConfigSpecEx extends ComputeResourceConfigSpec {
private ClusterDasConfigInfo dasConfig;
private ClusterDasVmConfigSpec[] dasVmConfigSpec;
- private ClusterDpmConfigInfo dpmConfig;
- private ClusterDpmHostConfigSpec[] dpmHostConfigSpec;
private ClusterDrsConfigInfo drsConfig;
private ClusterDrsVmConfigSpec[] drsVmConfigSpec;
- private ClusterGroupSpec[] groupSpec;
- private ClusterInfraUpdateHaConfigInfo infraUpdateHaConfig;
- private Boolean inHciWorkflow;
- private ClusterOrchestrationInfo orchestration;
- private ClusterProactiveDrsConfigInfo proactiveDrsConfig;
private ClusterRuleSpec[] rulesSpec;
+ private ClusterOrchestrationInfo orchestration;
private ClusterVmOrchestrationSpec[] vmOrchestrationSpec;
+ private ClusterDpmConfigInfo dpmConfig;
+ private ClusterDpmHostConfigSpec[] dpmHostConfigSpec;
private VsanClusterConfigInfo vsanConfig;
private VsanHostConfigInfo[] vsanHostConfigSpec;
+ private ClusterGroupSpec[] groupSpec;
+ private ClusterInfraUpdateHaConfigInfo infraUpdateHaConfig;
+ private ClusterProactiveDrsConfigInfo proactiveDrsConfig;
+ private Boolean inHciWorkflow;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/ConfigTarget.java b/src/main/java/com/vmware/vim25/ConfigTarget.java
index 16a46dc..895b4ff 100644
--- a/src/main/java/com/vmware/vim25/ConfigTarget.java
+++ b/src/main/java/com/vmware/vim25/ConfigTarget.java
@@ -41,33 +41,33 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
public class ConfigTarget extends DynamicData {
- private Boolean autoVmotion;
- private Long availablePersistentMemoryReservationMB;
- private VirtualMachineCdromInfo[] cdRom;
+ private int numCpus;
+ private int numCpuCores;
+ private int numNumaNodes;
+ private Boolean smcPresent;
private VirtualMachineDatastoreInfo[] datastore;
+ private VirtualMachineNetworkInfo[] network;
+ private OpaqueNetworkTargetInfo[] opaqueNetwork;
private DistributedVirtualPortgroupInfo[] distributedVirtualPortgroup;
private DistributedVirtualSwitchInfo[] distributedVirtualSwitch;
+ private VirtualMachineCdromInfo[] cdRom;
+ private VirtualMachineSerialInfo[] serial;
+ private VirtualMachineParallelInfo[] parallel;
+ private VirtualMachineSoundInfo[] sound;
+ private VirtualMachineUsbInfo[] usb;
private VirtualMachineFloppyInfo[] floppy;
- private VirtualMachineIdeDiskDeviceInfo[] ideDisk;
private VirtualMachineLegacyNetworkSwitchInfo[] legacyNetworkInfo;
+ private VirtualMachineScsiPassthroughInfo[] scsiPassthrough;
+ private VirtualMachineScsiDiskDeviceInfo[] scsiDisk;
+ private VirtualMachineIdeDiskDeviceInfo[] ideDisk;
private int maxMemMBOptimalPerf;
- private VirtualMachineNetworkInfo[] network;
- private int numCpuCores;
- private int numCpus;
- private int numNumaNodes;
- private OpaqueNetworkTargetInfo[] opaqueNetwork;
- private VirtualMachineParallelInfo[] parallel;
- private VirtualMachinePciPassthroughInfo[] pciPassthrough;
private ResourcePoolRuntimeInfo resourcePool;
- private VirtualMachineScsiDiskDeviceInfo[] scsiDisk;
- private VirtualMachineScsiPassthroughInfo[] scsiPassthrough;
- private VirtualMachineSerialInfo[] serial;
- private VirtualMachinePciSharedGpuPassthroughInfo[] sharedGpuPassthroughTypes;
- private Boolean smcPresent;
- private VirtualMachineSoundInfo[] sound;
+ private Boolean autoVmotion;
+ private VirtualMachinePciPassthroughInfo[] pciPassthrough;
private VirtualMachineSriovInfo[] sriov;
- private VirtualMachineUsbInfo[] usb;
private VirtualMachineVFlashModuleInfo[] vFlashModule;
+ private VirtualMachinePciSharedGpuPassthroughInfo[] sharedGpuPassthroughTypes;
+ private Long availablePersistentMemoryReservationMB;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/DVSConfigSpec.java b/src/main/java/com/vmware/vim25/DVSConfigSpec.java
index 07e3f24..694cee8 100644
--- a/src/main/java/com/vmware/vim25/DVSConfigSpec.java
+++ b/src/main/java/com/vmware/vim25/DVSConfigSpec.java
@@ -43,23 +43,23 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
public class DVSConfigSpec extends DynamicData {
private String configVersion;
- private DVSContactInfo contact;
+ private String name;
+ private Integer numStandalonePorts;
+ private Integer maxPorts;
+ private DVSUplinkPortPolicy uplinkPortPolicy;
+ private ManagedObjectReference[] uplinkPortgroup;
private DVPortSetting defaultPortConfig;
- private Integer defaultProxySwitchMaxNumPorts;
- private String description;
- private String extensionKey;
private DistributedVirtualSwitchHostMemberConfigSpec[] host;
+ private String extensionKey;
+ private String description;
+ private DVSPolicy policy;
+ private DistributedVirtualSwitchKeyedOpaqueBlob[] vendorSpecificConfig;
+ private DVSContactInfo contact;
+ private String switchIpAddress;
+ private Integer defaultProxySwitchMaxNumPorts;
private DvsHostInfrastructureTrafficResource[] infrastructureTrafficResourceConfig;
- private Integer maxPorts;
- private String name;
private DvsHostInfrastructureTrafficResource[] netResourcePoolTrafficResourceConfig;
private String networkResourceControlVersion;
- private Integer numStandalonePorts;
- private DVSPolicy policy;
- private String switchIpAddress;
- private ManagedObjectReference[] uplinkPortgroup;
- private DVSUplinkPortPolicy uplinkPortPolicy;
- private DistributedVirtualSwitchKeyedOpaqueBlob[] vendorSpecificConfig;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/DVSMacLearningPolicy.java b/src/main/java/com/vmware/vim25/DVSMacLearningPolicy.java
index f81764c..7975b67 100644
--- a/src/main/java/com/vmware/vim25/DVSMacLearningPolicy.java
+++ b/src/main/java/com/vmware/vim25/DVSMacLearningPolicy.java
@@ -9,8 +9,8 @@
*/
public class DVSMacLearningPolicy extends InheritablePolicy {
- private Boolean allowUnicastFlooding;
private boolean enabled;
+ private Boolean allowUnicastFlooding;
private Integer limit;
private String limitPolicy;
diff --git a/src/main/java/com/vmware/vim25/DVSMacManagementPolicy.java b/src/main/java/com/vmware/vim25/DVSMacManagementPolicy.java
index c003866..a229cfe 100644
--- a/src/main/java/com/vmware/vim25/DVSMacManagementPolicy.java
+++ b/src/main/java/com/vmware/vim25/DVSMacManagementPolicy.java
@@ -10,8 +10,8 @@
public class DVSMacManagementPolicy extends InheritablePolicy {
private Boolean allowPromiscuous;
- private Boolean forgedTransmits;
private Boolean macChanges;
+ private Boolean forgedTransmits;
private DVSMacLearningPolicy macLearningPolicy;
@Override
diff --git a/src/main/java/com/vmware/vim25/DvsHostInfrastructureTrafficResource.java b/src/main/java/com/vmware/vim25/DvsHostInfrastructureTrafficResource.java
index b76df05..33a1d9e 100644
--- a/src/main/java/com/vmware/vim25/DvsHostInfrastructureTrafficResource.java
+++ b/src/main/java/com/vmware/vim25/DvsHostInfrastructureTrafficResource.java
@@ -1,16 +1,25 @@
package com.vmware.vim25;
/**
- * Created by Stefan Dilk {@literal } on 31.03.2018
+ * This class defines the resource allocation for a host infrastructure traffic class on a physical NIC
*
* @author Stefan Dilk
* @since 6.0
*/
public class DvsHostInfrastructureTrafficResource extends DynamicData {
- public DvsHostInfrastructureTrafficResourceAllocation allocationInfo;
- public String description;
- public String key;
+ private String key;
+ private String description;
+ private DvsHostInfrastructureTrafficResourceAllocation allocationInfo;
+
+ @Override
+ public String toString() {
+ return "DvsHostInfrastructureTrafficResource{" +
+ "key='" + key + '\'' +
+ ", description='" + description + '\'' +
+ ", allocationInfo=" + allocationInfo +
+ "} " + super.toString();
+ }
public DvsHostInfrastructureTrafficResourceAllocation getAllocationInfo() {
return allocationInfo;
diff --git a/src/main/java/com/vmware/vim25/DvsHostInfrastructureTrafficResourceAllocation.java b/src/main/java/com/vmware/vim25/DvsHostInfrastructureTrafficResourceAllocation.java
index 4ea6b2e..a613e8a 100644
--- a/src/main/java/com/vmware/vim25/DvsHostInfrastructureTrafficResourceAllocation.java
+++ b/src/main/java/com/vmware/vim25/DvsHostInfrastructureTrafficResourceAllocation.java
@@ -1,16 +1,25 @@
package com.vmware.vim25;
/**
- * Created by Stefan Dilk {@literal } on 31.03.2018
+ * Resource allocation information for a host infrastructure traffic class.
*
* @author Stefan Dilk
* @since 6.0
*/
public class DvsHostInfrastructureTrafficResourceAllocation extends DynamicData {
- public Long limit;
- public Long reservation;
- public SharesInfo shares;
+ private Long limit;
+ private SharesInfo shares;
+ private Long reservation;
+
+ @Override
+ public String toString() {
+ return "DvsHostInfrastructureTrafficResourceAllocation{" +
+ "limit=" + limit +
+ ", shares=" + shares +
+ ", reservation=" + reservation +
+ "} " + super.toString();
+ }
public long getLimit() {
return limit;
diff --git a/src/main/java/com/vmware/vim25/DynamicData.java b/src/main/java/com/vmware/vim25/DynamicData.java
index 0119674..f388ae7 100644
--- a/src/main/java/com/vmware/vim25/DynamicData.java
+++ b/src/main/java/com/vmware/vim25/DynamicData.java
@@ -29,44 +29,17 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
package com.vmware.vim25;
-import java.util.Arrays;
-
/**
* DynamicData is a builtin object model data object type for manipulating data properties dynamically.
* The primary usage is as a base class for types that may be extended with subtypes in the future,
* where new properties should be sent to old clients as a set of dynamic properties.
*
+ * Currently no properties in WSDL
+ *
* @author Steve Jin (http://www.doublecloud.org)
* @version 5.1
*/
public class DynamicData {
- private String dynamicType;
- private DynamicProperty[] dynamicProperty;
-
- @Override
- public String toString() {
- return "DynamicData{" +
- "dynamicType='" + dynamicType + '\'' +
- ", dynamicProperty=" + Arrays.toString(dynamicProperty) +
- '}';
- }
-
- public String getDynamicType() {
- return dynamicType;
- }
-
- public void setDynamicType(final String dynamicType) {
- this.dynamicType = dynamicType;
- }
-
- public DynamicProperty[] getDynamicProperty() {
- return dynamicProperty;
- }
-
- public void setDynamicProperty(final DynamicProperty[] dynamicProperty) {
- this.dynamicProperty = dynamicProperty;
- }
-
}
diff --git a/src/main/java/com/vmware/vim25/DynamicProperty.java b/src/main/java/com/vmware/vim25/DynamicProperty.java
index 58eb57b..a6aa54e 100644
--- a/src/main/java/com/vmware/vim25/DynamicProperty.java
+++ b/src/main/java/com/vmware/vim25/DynamicProperty.java
@@ -38,8 +38,8 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
public class DynamicProperty {
- public String name;
- public Object val;
+ private String name;
+ private Object val;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/FolderNewHostSpec.java b/src/main/java/com/vmware/vim25/FolderNewHostSpec.java
index 6597a96..7dd8795 100644
--- a/src/main/java/com/vmware/vim25/FolderNewHostSpec.java
+++ b/src/main/java/com/vmware/vim25/FolderNewHostSpec.java
@@ -6,8 +6,8 @@
*/
public class FolderNewHostSpec extends DynamicData {
- private String esxLicense;
private HostConnectSpec hostCnxSpec;
+ private String esxLicense;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/HostBIOSInfo.java b/src/main/java/com/vmware/vim25/HostBIOSInfo.java
index 1c2acd5..91b592b 100644
--- a/src/main/java/com/vmware/vim25/HostBIOSInfo.java
+++ b/src/main/java/com/vmware/vim25/HostBIOSInfo.java
@@ -40,12 +40,12 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
public class HostBIOSInfo extends DynamicData {
private String biosVersion;
- private Integer firmwareMajorRelease;
- private Integer firmwareMinorRelease;
- private Integer majorRelease;
- private Integer minorRelease;
private Calendar releaseDate;
private String vendor;
+ private Integer majorRelease;
+ private Integer minorRelease;
+ private Integer firmwareMajorRelease;
+ private Integer firmwareMinorRelease;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/HostNumaNode.java b/src/main/java/com/vmware/vim25/HostNumaNode.java
index 0b1ea48..51460ce 100644
--- a/src/main/java/com/vmware/vim25/HostNumaNode.java
+++ b/src/main/java/com/vmware/vim25/HostNumaNode.java
@@ -46,11 +46,11 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
@SuppressWarnings("all")
public class HostNumaNode extends DynamicData {
+ private byte typeId;
private short[] cpuID;
private long memoryRangeBegin;
private long memoryRangeLength;
private String[] pciId;
- private byte typeId;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/HostSubSpecification.java b/src/main/java/com/vmware/vim25/HostSubSpecification.java
index 927d728..747a5e2 100644
--- a/src/main/java/com/vmware/vim25/HostSubSpecification.java
+++ b/src/main/java/com/vmware/vim25/HostSubSpecification.java
@@ -21,10 +21,10 @@
*/
public class HostSubSpecification extends DynamicData {
- private byte[] binaryData;
+ private String name;
private Calendar createdTime;
private byte[] data;
- private String name;
+ private byte[] binaryData;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/HostVmfsSpec.java b/src/main/java/com/vmware/vim25/HostVmfsSpec.java
index 5069d56..5422bee 100644
--- a/src/main/java/com/vmware/vim25/HostVmfsSpec.java
+++ b/src/main/java/com/vmware/vim25/HostVmfsSpec.java
@@ -40,15 +40,15 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
@SuppressWarnings("all")
public class HostVmfsSpec extends DynamicData {
- private Integer blockSize;
+ private HostScsiDiskPartition extent;
@Deprecated
private Integer blockSizeMb;
- private HostScsiDiskPartition extent;
private int majorVersion;
- private VmfsUnmapBandwidthSpec unmapBandwidthSpec;
+ private String volumeName;
+ private Integer blockSize;
private Integer unmapGranularity;
private String unmapPriority;
- private String volumeName;
+ private VmfsUnmapBandwidthSpec unmapBandwidthSpec;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/NetworkProfile.java b/src/main/java/com/vmware/vim25/NetworkProfile.java
index cf88d6a..425afb1 100644
--- a/src/main/java/com/vmware/vim25/NetworkProfile.java
+++ b/src/main/java/com/vmware/vim25/NetworkProfile.java
@@ -43,19 +43,19 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
@SuppressWarnings("all")
public class NetworkProfile extends ApplyProfile {
- private IpRouteProfile consoleIpRouteConfig;
- private NetworkProfileDnsConfigProfile dnsConfig;
- private DvsHostVNicProfile[] dvsHostNic;
- private DvsServiceConsoleVNicProfile[] dvsServiceConsoleNic;
- private DvsProfile[] dvswitch;
+ private VirtualSwitchProfile[] vswitch;
+ private VmPortGroupProfile[] vmPortGroup;
private HostPortGroupProfile[] hostPortGroup;
+ private ServiceConsolePortGroupProfile[] serviceConsolePortGroup;
+ private NetworkProfileDnsConfigProfile dnsConfig;
private IpRouteProfile ipRouteConfig;
- private NetStackInstanceProfile[] netStackInstance;
- private NsxHostVNicProfile[] nsxHostNic;
+ private IpRouteProfile consoleIpRouteConfig;
private PhysicalNicProfile[] pnic;
- private ServiceConsolePortGroupProfile[] serviceConsolePortGroup;
- private VmPortGroupProfile[] vmPortGroup;
- private VirtualSwitchProfile[] vswitch;
+ private DvsProfile[] dvswitch;
+ private DvsServiceConsoleVNicProfile[] dvsServiceConsoleNic;
+ private DvsHostVNicProfile[] dvsHostNic;
+ private NsxHostVNicProfile[] nsxHostNic;
+ private NetStackInstanceProfile[] netStackInstance;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/NsxHostVNicProfile.java b/src/main/java/com/vmware/vim25/NsxHostVNicProfile.java
index a12b5bb..9f7a1ad 100644
--- a/src/main/java/com/vmware/vim25/NsxHostVNicProfile.java
+++ b/src/main/java/com/vmware/vim25/NsxHostVNicProfile.java
@@ -10,8 +10,8 @@
*/
public class NsxHostVNicProfile extends ApplyProfile {
- private IpAddressProfile ipConfig;
private String key;
+ private IpAddressProfile ipConfig;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/NvdimmNamespaceCreateSpec.java b/src/main/java/com/vmware/vim25/NvdimmNamespaceCreateSpec.java
index 7fada8d..53ef8c4 100644
--- a/src/main/java/com/vmware/vim25/NvdimmNamespaceCreateSpec.java
+++ b/src/main/java/com/vmware/vim25/NvdimmNamespaceCreateSpec.java
@@ -9,11 +9,11 @@
*/
public class NvdimmNamespaceCreateSpec extends DynamicData {
- private long blockCount;
- private long blockSize;
private String friendlyName;
- private int locationID;
+ private long blockSize;
+ private long blockCount;
private String type;
+ private int locationID;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/NvdimmPMemNamespaceCreateSpec.java b/src/main/java/com/vmware/vim25/NvdimmPMemNamespaceCreateSpec.java
index 6d9ae2a..620612c 100644
--- a/src/main/java/com/vmware/vim25/NvdimmPMemNamespaceCreateSpec.java
+++ b/src/main/java/com/vmware/vim25/NvdimmPMemNamespaceCreateSpec.java
@@ -9,8 +9,8 @@
public class NvdimmPMemNamespaceCreateSpec extends DynamicData {
private String friendlyName;
- private int interleavesetID;
private long size;
+ private int interleavesetID;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/PhysicalNicSpec.java b/src/main/java/com/vmware/vim25/PhysicalNicSpec.java
index 899aaa2..b053f26 100644
--- a/src/main/java/com/vmware/vim25/PhysicalNicSpec.java
+++ b/src/main/java/com/vmware/vim25/PhysicalNicSpec.java
@@ -40,9 +40,9 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
@SuppressWarnings("all")
public class PhysicalNicSpec extends DynamicData {
- private Boolean enableEnhancedNetworkingStack;
private HostIpConfig ip;
private PhysicalNicLinkInfo linkSpeed;
+ private Boolean enableEnhancedNetworkingStack;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/ReplicationConfigSpec.java b/src/main/java/com/vmware/vim25/ReplicationConfigSpec.java
index cb92439..bfe81e0 100644
--- a/src/main/java/com/vmware/vim25/ReplicationConfigSpec.java
+++ b/src/main/java/com/vmware/vim25/ReplicationConfigSpec.java
@@ -15,20 +15,20 @@
*/
public class ReplicationConfigSpec extends DynamicData {
- private String destination;
- private ReplicationInfoDiskSettings[] disk;
- private String encryptionDestination;
- private Integer encryptionPort;
private long generation;
- private Boolean netCompressionEnabled;
- private Boolean netEncryptionEnabled;
- private boolean oppUpdatesEnabled;
- private boolean paused;
+ private String vmReplicationId;
+ private String destination;
private int port;
+ private long rpo;
private boolean quiesceGuestEnabled;
+ private boolean paused;
+ private boolean oppUpdatesEnabled;
+ private Boolean netCompressionEnabled;
+ private Boolean netEncryptionEnabled;
+ private String encryptionDestination;
+ private Integer encryptionPort;
private String remoteCertificateThumbprint;
- private long rpo;
- private String vmReplicationId;
+ private ReplicationInfoDiskSettings[] disk;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/ScsiLun.java b/src/main/java/com/vmware/vim25/ScsiLun.java
index 8ee19e1..96f09a0 100644
--- a/src/main/java/com/vmware/vim25/ScsiLun.java
+++ b/src/main/java/com/vmware/vim25/ScsiLun.java
@@ -61,26 +61,26 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
@SuppressWarnings("all")
public class ScsiLun extends HostDevice {
- private ScsiLunDurableName[] alternateName;
- private String canonicalName;
- private ScsiLunCapabilities capabilities;
+ private String key;
+ private String uuid;
private ScsiLunDescriptor[] descriptor;
+ private String canonicalName;
private String displayName;
- private ScsiLunDurableName durableName;
- private String key;
private String lunType;
+ private String vendor;
private String model;
- private String[] operationalState;
- private Boolean perenniallyReserved;
- private Boolean protocolEndpoint;
- private Integer queueDepth;
private String revision;
private Integer scsiLevel;
private String serialNumber;
+ private ScsiLunDurableName durableName;
+ private ScsiLunDurableName[] alternateName;
private byte[] standardInquiry;
- private String uuid;
- private String vendor;
+ private Integer queueDepth;
+ private String[] operationalState;
+ private ScsiLunCapabilities capabilities;
private String vStorageSupport;
+ private Boolean protocolEndpoint;
+ private Boolean perenniallyReserved;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/VMwareDVSPortSetting.java b/src/main/java/com/vmware/vim25/VMwareDVSPortSetting.java
index c4292e9..54010c5 100644
--- a/src/main/java/com/vmware/vim25/VMwareDVSPortSetting.java
+++ b/src/main/java/com/vmware/vim25/VMwareDVSPortSetting.java
@@ -41,14 +41,14 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
@SuppressWarnings("all")
public class VMwareDVSPortSetting extends DVPortSetting {
- private BoolPolicy ipfixEnabled;
- private VMwareUplinkLacpPolicy lacpPolicy;
- private DVSMacManagementPolicy macManagementPolicy;
+ private VmwareDistributedVirtualSwitchVlanSpec vlan;
private IntPolicy qosTag;
+ private VmwareUplinkPortTeamingPolicy uplinkTeamingPolicy;
private DVSSecurityPolicy securityPolicy;
+ private BoolPolicy ipfixEnabled;
private BoolPolicy txUplink;
- private VmwareUplinkPortTeamingPolicy uplinkTeamingPolicy;
- private VmwareDistributedVirtualSwitchVlanSpec vlan;
+ private VMwareUplinkLacpPolicy lacpPolicy;
+ private DVSMacManagementPolicy macManagementPolicy;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/VMwareDVSPortgroupPolicy.java b/src/main/java/com/vmware/vim25/VMwareDVSPortgroupPolicy.java
index fc8c48d..fbf3fbb 100644
--- a/src/main/java/com/vmware/vim25/VMwareDVSPortgroupPolicy.java
+++ b/src/main/java/com/vmware/vim25/VMwareDVSPortgroupPolicy.java
@@ -40,12 +40,12 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
@SuppressWarnings("all")
public class VMwareDVSPortgroupPolicy extends DVPortgroupPolicy {
- private Boolean ipfixOverrideAllowed;
- private Boolean macManagementOverrideAllowed;
+ private boolean vlanOverrideAllowed;
+ private boolean uplinkTeamingOverrideAllowed;
@Deprecated(since = "6.7.1")
private boolean securityPolicyOverrideAllowed;
- private boolean uplinkTeamingOverrideAllowed;
- private boolean vlanOverrideAllowed;
+ private Boolean ipfixOverrideAllowed;
+ private Boolean macManagementOverrideAllowed;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/VMwareVspanSession.java b/src/main/java/com/vmware/vim25/VMwareVspanSession.java
index 480bc48..58face4 100644
--- a/src/main/java/com/vmware/vim25/VMwareVspanSession.java
+++ b/src/main/java/com/vmware/vim25/VMwareVspanSession.java
@@ -44,24 +44,24 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
@SuppressWarnings("all")
public class VMwareVspanSession extends DynamicData {
+ private String key;
+ private String name;
private String description;
- private VMwareVspanPort destinationPort;
private boolean enabled;
+ private VMwareVspanPort sourcePortTransmitted;
+ private VMwareVspanPort sourcePortReceived;
+ private VMwareVspanPort destinationPort;
private Integer encapsulationVlanId;
+ private boolean stripOriginalVlan;
+ private Integer mirroredPacketLength;
+ private boolean normalTrafficAllowed;
+ private String sessionType;
+ private Integer samplingRate;
private String encapType;
+ private Integer erspanId;
private Integer erspanCOS;
private Boolean erspanGraNanosec;
- private Integer erspanId;
- private String key;
- private Integer mirroredPacketLength;
- private String name;
private String netstack;
- private boolean normalTrafficAllowed;
- private Integer samplingRate;
- private String sessionType;
- private VMwareVspanPort sourcePortReceived;
- private VMwareVspanPort sourcePortTransmitted;
- private boolean stripOriginalVlan;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/VimVasaProvider.java b/src/main/java/com/vmware/vim25/VimVasaProvider.java
index 1d09ed0..2f17574 100644
--- a/src/main/java/com/vmware/vim25/VimVasaProvider.java
+++ b/src/main/java/com/vmware/vim25/VimVasaProvider.java
@@ -9,10 +9,10 @@
*/
public class VimVasaProvider extends DynamicData {
- private String name;
- private String selfSignedCertificate;
private String uid;
private String url;
+ private String name;
+ private String selfSignedCertificate;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/VirtualDeviceConnectInfo.java b/src/main/java/com/vmware/vim25/VirtualDeviceConnectInfo.java
index 49ca8f7..c52a19d 100644
--- a/src/main/java/com/vmware/vim25/VirtualDeviceConnectInfo.java
+++ b/src/main/java/com/vmware/vim25/VirtualDeviceConnectInfo.java
@@ -40,10 +40,10 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
@SuppressWarnings("all")
public class VirtualDeviceConnectInfo extends DynamicData {
- private boolean allowGuestControl;
- private boolean connected;
private String migrateConnect;
private boolean startConnected;
+ private boolean allowGuestControl;
+ private boolean connected;
private String status;
@Override
diff --git a/src/main/java/com/vmware/vim25/VirtualDisk.java b/src/main/java/com/vmware/vim25/VirtualDisk.java
index b45cd5e..30c39a7 100644
--- a/src/main/java/com/vmware/vim25/VirtualDisk.java
+++ b/src/main/java/com/vmware/vim25/VirtualDisk.java
@@ -56,19 +56,19 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
@SuppressWarnings("all")
public class VirtualDisk extends VirtualDevice {
- private Long capacityInBytes;
@Deprecated
private Long capacityInKB;
- @Deprecated
- private String diskObjectId;
- private String[] iofilter;
- private Boolean nativeUnmanagedLinkedClone;
+ private Long capacityInBytes;
@Deprecated
private SharesInfo shares;
@Deprecated
private StorageIOAllocationInfo storageIOAllocation;
- private ID vDiskId;
+ @Deprecated
+ private String diskObjectId;
private VirtualDiskVFlashCacheConfigInfo vFlashCacheConfigInfo;
+ private String[] iofilter;
+ private ID vDiskId;
+ private Boolean nativeUnmanagedLinkedClone;
@Override
public String toString() {
@@ -91,14 +91,7 @@ public Long getCapacityInBytes() {
public void setCapacityInBytes(final Long capacityInBytes) {
this.capacityInBytes = capacityInBytes;
- }
-
- public Long getCapacityInKB() {
- return capacityInKB;
- }
-
- public void setCapacityInKB(final Long capacityInKB) {
- this.capacityInKB = capacityInKB;
+ this.capacityInKB = (capacityInBytes/1024);
}
public String getDiskObjectId() {
diff --git a/src/main/java/com/vmware/vim25/VirtualDiskRuleSpec.java b/src/main/java/com/vmware/vim25/VirtualDiskRuleSpec.java
index 2025f9d..6a0de57 100644
--- a/src/main/java/com/vmware/vim25/VirtualDiskRuleSpec.java
+++ b/src/main/java/com/vmware/vim25/VirtualDiskRuleSpec.java
@@ -11,8 +11,8 @@
*/
public class VirtualDiskRuleSpec extends ClusterRuleInfo {
- private int[] diskId;
private String diskRuleType;
+ private int[] diskId;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/VirtualMachineConfigSpec.java b/src/main/java/com/vmware/vim25/VirtualMachineConfigSpec.java
index b896e8a..5aa630e 100644
--- a/src/main/java/com/vmware/vim25/VirtualMachineConfigSpec.java
+++ b/src/main/java/com/vmware/vim25/VirtualMachineConfigSpec.java
@@ -45,44 +45,12 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
@SuppressWarnings("all")
public class VirtualMachineConfigSpec extends DynamicData {
- private String alternateGuestName;
- private String annotation;
- private VirtualMachineBootOptions bootOptions;
- private Boolean changeTrackingEnabled;
private String changeVersion;
- private VirtualMachineConsolePreferences consolePreferences;
- private VirtualMachineAffinityInfo cpuAffinity;
- private ResourceAllocationInfo cpuAllocation;
- private VirtualMachineCpuIdInfoSpec[] cpuFeatureMask;
- private Boolean cpuHotAddEnabled;
- private Boolean cpuHotRemoveEnabled;
+ private String name;
+ private String version;
private Calendar createDate;
- private CryptoSpec crypto;
- private VirtualDeviceConfigSpec[] deviceChange;
- private OptionValue[] extraConfig;
- private VirtualMachineFileInfo files;
- private String firmware;
- private VirtualMachineFlagInfo flags;
- private FaultToleranceConfigInfo ftInfo;
- private Boolean guestAutoLockEnabled;
- private String guestId;
+ private String uuid;
private String instanceUuid;
- private LatencySensitivity latencySensitivity;
- private String locationId;
- private ManagedByInfo managedBy;
- private Integer maxMksConnections;
- @Deprecated
- private VirtualMachineAffinityInfo memoryAffinity;
- private ResourceAllocationInfo memoryAllocation;
- private Boolean memoryHotAddEnabled;
- private Long memoryMB;
- private Boolean memoryReservationLockedToMax;
- private Boolean messageBusTunnelEnabled;
- private String migrateEncryption;
- private String name;
- private Boolean nestedHVEnabled;
- @Deprecated
- private VirtualMachineNetworkShaperInfo networkShaper;
private Short npivDesiredNodeWwns;
private Short npivDesiredPortWwns;
private Long[] npivNodeWorldWideName;
@@ -91,22 +59,54 @@ public class VirtualMachineConfigSpec extends DynamicData {
private Boolean npivTemporaryDisabled;
private String npivWorldWideNameOp;
private String npivWorldWideNameType;
- private Integer numCoresPerSocket;
- private Integer numCPUs;
+ private String locationId;
+ private String guestId;
+ private String alternateGuestName;
+ private String annotation;
+ private VirtualMachineFileInfo files;
+ private ToolsConfigInfo tools;
+ private VirtualMachineFlagInfo flags;
+ private VirtualMachineConsolePreferences consolePreferences;
private VirtualMachineDefaultPowerOpInfo powerOpInfo;
- private ReplicationConfigSpec repConfig;
- private ScheduledHardwareUpgradeInfo scheduledHardwareUpgradeInfo;
+ private Integer numCPUs;
+ private Integer numCoresPerSocket;
+ private Long memoryMB;
+ private Boolean memoryHotAddEnabled;
+ private Boolean cpuHotAddEnabled;
+ private Boolean cpuHotRemoveEnabled;
+ private Boolean virtualICH7MPresent;
+ private Boolean virtualSMCPresent;
+ private VirtualDeviceConfigSpec[] deviceChange;
+ private ResourceAllocationInfo cpuAllocation;
+ private ResourceAllocationInfo memoryAllocation;
+ private LatencySensitivity latencySensitivity;
+ private VirtualMachineAffinityInfo cpuAffinity;
+ private VirtualMachineAffinityInfo memoryAffinity;
+ @Deprecated
+ private VirtualMachineNetworkShaperInfo networkShaper;
+ private VirtualMachineCpuIdInfoSpec[] cpuFeatureMask;
+ private OptionValue[] extraConfig;
private String swapPlacement;
- private ToolsConfigInfo tools;
- private String uuid;
+ private VirtualMachineBootOptions bootOptions;
private VmConfigSpec vAppConfig;
+ private FaultToleranceConfigInfo ftInfo;
+ private ReplicationConfigSpec repConfig;
private Boolean vAppConfigRemoved;
private Boolean vAssertsEnabled;
- private String version;
- private Boolean virtualICH7MPresent;
- private Boolean virtualSMCPresent;
- private VirtualMachineProfileSpec[] vmProfile;
+ private Boolean changeTrackingEnabled;
+ private String firmware;
+ private Integer maxMksConnections;
+ private Boolean guestAutoLockEnabled;
+ private ManagedByInfo managedBy;
+ @Deprecated
+ private Boolean memoryReservationLockedToMax;
+ private Boolean nestedHVEnabled;
private Boolean vPMCEnabled;
+ private ScheduledHardwareUpgradeInfo scheduledHardwareUpgradeInfo;
+ private VirtualMachineProfileSpec[] vmProfile;
+ private Boolean messageBusTunnelEnabled;
+ private CryptoSpec crypto;
+ private String migrateEncryption;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/VirtualMachineDefinedProfileSpec.java b/src/main/java/com/vmware/vim25/VirtualMachineDefinedProfileSpec.java
index 7951e2b..0cce4b5 100644
--- a/src/main/java/com/vmware/vim25/VirtualMachineDefinedProfileSpec.java
+++ b/src/main/java/com/vmware/vim25/VirtualMachineDefinedProfileSpec.java
@@ -45,10 +45,10 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
@SuppressWarnings("all")
public class VirtualMachineDefinedProfileSpec extends VirtualMachineProfileSpec {
- private VirtualMachineProfileRawData profileData;
private String profileId;
- private KeyValue[] profileParams;
private ReplicationSpec replicationSpec;
+ private VirtualMachineProfileRawData profileData;
+ private KeyValue[] profileParams;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/VirtualMachineFlagInfo.java b/src/main/java/com/vmware/vim25/VirtualMachineFlagInfo.java
index 7a2baf5..4023869 100644
--- a/src/main/java/com/vmware/vim25/VirtualMachineFlagInfo.java
+++ b/src/main/java/com/vmware/vim25/VirtualMachineFlagInfo.java
@@ -40,27 +40,27 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
@SuppressWarnings("all")
public class VirtualMachineFlagInfo extends DynamicData {
- private Boolean cbrcCacheEnabled;
private Boolean disableAcceleration;
- private Boolean diskUuidEnabled;
private Boolean enableLogging;
- private String faultToleranceType;
+ private Boolean useToe;
@Deprecated
- private String htSharing;
+ private Boolean runWithDebugInfo;
private String monitorType;
@Deprecated
- private Boolean recordReplayEnabled;
- @Deprecated
- private Boolean runWithDebugInfo;
+ private String htSharing;
@Deprecated
private Boolean snapshotDisabled;
private Boolean snapshotLocked;
- private String snapshotPowerOffBehavior;
- private Boolean useToe;
- private Boolean vbsEnabled;
- private String virtualExecUsage;
+ private Boolean diskUuidEnabled;
private String virtualMmuUsage;
+ private String virtualExecUsage;
+ private String snapshotPowerOffBehavior;
+ @Deprecated
+ private Boolean recordReplayEnabled;
+ private String faultToleranceType;
+ private Boolean cbrcCacheEnabled;
private Boolean vvtdEnabled;
+ private Boolean vbsEnabled;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/VirtualMachineInstantCloneSpec.java b/src/main/java/com/vmware/vim25/VirtualMachineInstantCloneSpec.java
index c206e1c..d49c3bd 100644
--- a/src/main/java/com/vmware/vim25/VirtualMachineInstantCloneSpec.java
+++ b/src/main/java/com/vmware/vim25/VirtualMachineInstantCloneSpec.java
@@ -11,10 +11,10 @@
*/
public class VirtualMachineInstantCloneSpec extends DynamicData {
- private String biosUuid;
- private OptionValue[] config;
- private VirtualMachineRelocateSpec location;
private String name;
+ private VirtualMachineRelocateSpec location;
+ private OptionValue[] config;
+ private String biosUuid;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/VirtualNVDIMMOption.java b/src/main/java/com/vmware/vim25/VirtualNVDIMMOption.java
index 5cf21bb..df04bce 100644
--- a/src/main/java/com/vmware/vim25/VirtualNVDIMMOption.java
+++ b/src/main/java/com/vmware/vim25/VirtualNVDIMMOption.java
@@ -10,9 +10,9 @@
public class VirtualNVDIMMOption extends VirtualDeviceOption {
private LongOption capacityInMB;
- private long granularityInMB;
private boolean growable;
private boolean hotGrowable;
+ private long granularityInMB;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/VirtualPCIControllerOption.java b/src/main/java/com/vmware/vim25/VirtualPCIControllerOption.java
index 01418ec..d30f7e0 100644
--- a/src/main/java/com/vmware/vim25/VirtualPCIControllerOption.java
+++ b/src/main/java/com/vmware/vim25/VirtualPCIControllerOption.java
@@ -39,18 +39,18 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
@SuppressWarnings("all")
public class VirtualPCIControllerOption extends VirtualControllerOption {
- private IntOption numEthernetCards;
- private IntOption numNVMEControllers;
- private IntOption numParaVirtualSCSIControllers;
- private IntOption numPCIPassthroughDevices;
- private IntOption numSasSCSIControllers;
- private IntOption numSATAControllers;
private IntOption numSCSIControllers;
- private IntOption numSoundCards;
+ private IntOption numEthernetCards;
private IntOption numVideoCards;
- private IntOption numVmciDevices;
+ private IntOption numSoundCards;
private IntOption numVmiRoms;
+ private IntOption numVmciDevices;
+ private IntOption numPCIPassthroughDevices;
+ private IntOption numSasSCSIControllers;
private IntOption numVmxnet3EthernetCards;
+ private IntOption numParaVirtualSCSIControllers;
+ private IntOption numSATAControllers;
+ private IntOption numNVMEControllers;
private IntOption numVmxnet3VrdmaEthernetCards;
@Override
diff --git a/src/main/java/com/vmware/vim25/VirtualTPM.java b/src/main/java/com/vmware/vim25/VirtualTPM.java
index d57ee92..ba7682a 100644
--- a/src/main/java/com/vmware/vim25/VirtualTPM.java
+++ b/src/main/java/com/vmware/vim25/VirtualTPM.java
@@ -9,8 +9,8 @@
*/
public class VirtualTPM extends VirtualDevice {
- private byte[] endorsementKeyCertificate;
private byte[] endorsementKeyCertificateSigningRequest;
+ private byte[] endorsementKeyCertificate;
public byte[] getEndorsementKeyCertificate() {
return endorsementKeyCertificate;
diff --git a/src/main/java/com/vmware/vim25/VmfsConfigOption.java b/src/main/java/com/vmware/vim25/VmfsConfigOption.java
index a2ea9d1..f342b92 100644
--- a/src/main/java/com/vmware/vim25/VmfsConfigOption.java
+++ b/src/main/java/com/vmware/vim25/VmfsConfigOption.java
@@ -10,11 +10,11 @@
public class VmfsConfigOption extends DynamicData {
private int blockSizeOption;
- private LongOption unmapBandwidthDynamicMax;
- private LongOption unmapBandwidthDynamicMin;
+ private int[] unmapGranularityOption;
private LongOption unmapBandwidthFixedValue;
+ private LongOption unmapBandwidthDynamicMin;
+ private LongOption unmapBandwidthDynamicMax;
private Long unmapBandwidthIncrement;
- private int[] unmapGranularityOption;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/VmfsUnmapBandwidthSpec.java b/src/main/java/com/vmware/vim25/VmfsUnmapBandwidthSpec.java
index 39f4797..51b475a 100644
--- a/src/main/java/com/vmware/vim25/VmfsUnmapBandwidthSpec.java
+++ b/src/main/java/com/vmware/vim25/VmfsUnmapBandwidthSpec.java
@@ -9,10 +9,10 @@
*/
public class VmfsUnmapBandwidthSpec extends DynamicData {
- private long dynamicMax;
- private long dynamicMin;
- private long fixedValue;
private String policy;
+ private long fixedValue;
+ private long dynamicMin;
+ private long dynamicMax;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/VslmCloneSpec.java b/src/main/java/com/vmware/vim25/VslmCloneSpec.java
index a3e7dfc..7694da7 100644
--- a/src/main/java/com/vmware/vim25/VslmCloneSpec.java
+++ b/src/main/java/com/vmware/vim25/VslmCloneSpec.java
@@ -11,9 +11,9 @@
*/
public class VslmCloneSpec extends VslmMigrateSpec {
+ private String name;
private Boolean keepAfterDeleteVm;
private KeyValue[] metadata;
- private String name;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/VslmCreateSpec.java b/src/main/java/com/vmware/vim25/VslmCreateSpec.java
index 58b7687..cd92817 100644
--- a/src/main/java/com/vmware/vim25/VslmCreateSpec.java
+++ b/src/main/java/com/vmware/vim25/VslmCreateSpec.java
@@ -11,12 +11,12 @@
*/
public class VslmCreateSpec extends DynamicData {
+ private String name;
+ private Boolean keepAfterDeleteVm;
private VslmCreateSpecBackingSpec backingSpec;
private long capacityInMB;
- private Boolean keepAfterDeleteVm;
- private KeyValue[] metadata;
- private String name;
private VirtualMachineProfileSpec[] profile;
+ private KeyValue[] metadata;
@Override
public String toString() {
diff --git a/src/main/java/com/vmware/vim25/VslmMigrateSpec.java b/src/main/java/com/vmware/vim25/VslmMigrateSpec.java
index a891fd2..c38fb18 100644
--- a/src/main/java/com/vmware/vim25/VslmMigrateSpec.java
+++ b/src/main/java/com/vmware/vim25/VslmMigrateSpec.java
@@ -12,8 +12,8 @@
public class VslmMigrateSpec extends DynamicData {
private VslmCreateSpecBackingSpec backingSpec;
- private Boolean consolidate;
private VirtualMachineProfileSpec[] profile;
+ private Boolean consolidate;
@Override
public String toString() {
diff --git a/src/main/java/org/doublecloud/ws/util/ReflectUtil.java b/src/main/java/org/doublecloud/ws/util/ReflectUtil.java
index 5b64dd9..185891b 100644
--- a/src/main/java/org/doublecloud/ws/util/ReflectUtil.java
+++ b/src/main/java/org/doublecloud/ws/util/ReflectUtil.java
@@ -48,11 +48,6 @@ public class ReflectUtil {
public static List getAllFields(Class> c) {
List listOfFields = new ArrayList<>();
getAllFields(c, listOfFields);
- //LOGGER.debug(listOfFields.stream().map(Field::getName).collect(Collectors.joining(",")));
- //LOGGER.debug("-----------");
- listOfFields.sort(ReflectUtil::compare);
- //LOGGER.debug(listOfFields.stream().map(Field::getName).collect(Collectors.joining(",")));
- //LOGGER.debug("!!!-----------");
return listOfFields;
}
@@ -273,13 +268,4 @@ public static Object parseToObject(final String type, final List values)
}
}
- private static int compare(Field o1, Field o2) {
- if (o1.getName().equals("name") || o1.getName().equals("propSet")) {
- return -1;
- }
- if (o2.getName().equals("name") || o2.getName().equals("propSet")) {
- return 1;
- }
- return 1;
- }
}
diff --git a/vijava.iml b/vijava.iml
index 4012771..7cf8199 100644
--- a/vijava.iml
+++ b/vijava.iml
@@ -5,7 +5,7 @@
-
+