public final class UpgradeCheckFailure
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
UpgradeCheckFailure.Builder
Builder class for
UpgradeCheckFailure . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
ORIGIN_TYPE_COMPONENT |
static java.lang.String |
ORIGIN_TYPE_UPGRADE_UNIT |
static java.lang.String |
RESOLUTION_STATUS_FAILURE |
static java.lang.String |
RESOLUTION_STATUS_RESOLVED |
static java.lang.String |
RESOLUTION_STATUS_RESOLVING |
static java.lang.String |
RESOLUTION_STATUS_UNRESOLVED |
static java.lang.String |
TYPE_FAILURE |
static java.lang.String |
TYPE_WARNING |
Modifier | Constructor and Description |
---|---|
|
UpgradeCheckFailure()
Default constructor.
|
protected |
UpgradeCheckFailure(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
Modifier and Type | Method and Description |
---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static UpgradeCheckFailure |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static UpgradeCheckFailure |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAcked()
Flag which tells if the precheck is acknowledged
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getComponentType()
Component type of the origin of failure
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getGroupName()
Name of the upgrade group of the origin of failure.
|
java.lang.String |
getId()
Precheckid of the pre upgrade check
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
UpgradeCheckFailureMessage |
getMessage() |
java.lang.Boolean |
getNeedsAck()
Flag which identifies if acknowledgement is required for the precheck
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.Boolean |
getNeedsResolve()
Flag which identifies if resolution is required for the precheck
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getOriginId()
Unique id of origin of pre/post-upgrade check failure
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getOriginName()
Name of origin of pre/post-upgrade check failure
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getOriginType()
Possible values are:
ORIGIN_TYPE_COMPONENT ORIGIN_TYPE_UPGRADE_UNIT
Type of origin of pre/post-upgrade check failure
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
java.lang.String |
getResolutionError()
Error occured while resolving precheck
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getResolutionStatus()
Possible values are:
RESOLUTION_STATUS_UNRESOLVED
RESOLUTION_STATUS_RESOLVING
RESOLUTION_STATUS_RESOLVED
RESOLUTION_STATUS_FAILURE
Type of resolution status of precheck
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
java.lang.String |
getType()
Possible values are:
TYPE_FAILURE TYPE_WARNING Type of the
pre/post-upgrade check failure
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
int |
hashCode() |
void |
setAcked(java.lang.Boolean acked)
Flag which tells if the precheck is acknowledged
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setComponentType(java.lang.String componentType)
Component type of the origin of failure
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setGroupName(java.lang.String groupName)
Name of the upgrade group of the origin of failure.
|
void |
setId(java.lang.String id)
Precheckid of the pre upgrade check
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setMessage(UpgradeCheckFailureMessage message) |
void |
setNeedsAck(java.lang.Boolean needsAck)
Flag which identifies if acknowledgement is required for the precheck
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setNeedsResolve(java.lang.Boolean needsResolve)
Flag which identifies if resolution is required for the precheck
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setOriginId(java.lang.String originId)
Unique id of origin of pre/post-upgrade check failure
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setOriginName(java.lang.String originName)
Name of origin of pre/post-upgrade check failure
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setOriginType(java.lang.String originType)
Possible values are:
ORIGIN_TYPE_COMPONENT ORIGIN_TYPE_UPGRADE_UNIT
Type of origin of pre/post-upgrade check failure
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
void |
setResolutionError(java.lang.String resolutionError)
Error occured while resolving precheck
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setResolutionStatus(java.lang.String resolutionStatus)
Possible values are:
RESOLUTION_STATUS_UNRESOLVED
RESOLUTION_STATUS_RESOLVING
RESOLUTION_STATUS_RESOLVED
RESOLUTION_STATUS_FAILURE
Type of resolution status of precheck
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
void |
setType(java.lang.String type)
Possible values are:
TYPE_FAILURE TYPE_WARNING Type of the
pre/post-upgrade check failure
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
java.lang.String |
toString() |
public static final java.lang.String ORIGIN_TYPE_COMPONENT
public static final java.lang.String ORIGIN_TYPE_UPGRADE_UNIT
public static final java.lang.String RESOLUTION_STATUS_UNRESOLVED
public static final java.lang.String RESOLUTION_STATUS_RESOLVING
public static final java.lang.String RESOLUTION_STATUS_RESOLVED
public static final java.lang.String RESOLUTION_STATUS_FAILURE
public static final java.lang.String TYPE_FAILURE
public static final java.lang.String TYPE_WARNING
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public UpgradeCheckFailure()
protected UpgradeCheckFailure(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.Boolean getAcked()
public void setAcked(java.lang.Boolean acked)
acked
- New value for the property.public java.lang.String getComponentType()
public void setComponentType(java.lang.String componentType)
componentType
- New value for the property.public java.lang.String getGroupName()
public void setGroupName(java.lang.String groupName)
groupName
- New value for the property.public java.lang.String getId()
public void setId(java.lang.String id)
id
- New value for the property.public UpgradeCheckFailureMessage getMessage()
public void setMessage(UpgradeCheckFailureMessage message)
message
- New value for the property.public java.lang.Boolean getNeedsAck()
public void setNeedsAck(java.lang.Boolean needsAck)
needsAck
- New value for the property.public java.lang.Boolean getNeedsResolve()
public void setNeedsResolve(java.lang.Boolean needsResolve)
needsResolve
- New value for the property.public java.lang.String getOriginId()
public void setOriginId(java.lang.String originId)
originId
- New value for the property.public java.lang.String getOriginName()
public void setOriginName(java.lang.String originName)
originName
- New value for the property.public java.lang.String getOriginType()
public void setOriginType(java.lang.String originType)
originType
- New value for the property.public java.lang.String getResolutionError()
public void setResolutionError(java.lang.String resolutionError)
resolutionError
- New value for the property.public java.lang.String getResolutionStatus()
public void setResolutionStatus(java.lang.String resolutionStatus)
resolutionStatus
- New value for the property.public java.lang.String getType()
public void setType(java.lang.String type)
type
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public java.lang.String _getCanonicalName()
_getCanonicalName
in interface com.vmware.vapi.bindings.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static UpgradeCheckFailure _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue
- the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructType
public static UpgradeCheckFailure _newInstance2(com.vmware.vapi.data.StructValue structValue)