Package com.datadog.api.client.v2.model
Class FleetDeploymentHostPackage
java.lang.Object
com.datadog.api.client.v2.model.FleetDeploymentHostPackage
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FleetDeploymentHostPackage
extends Object
Package version information for a host, showing the initial version before deployment, the target
version to deploy, and the current version on the host.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncurrentVersion(String currentVersion) booleanReturn true if this FleetDeploymentHostPackage object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The current version of the package on the host.The initial version of the package on the host before the deployment started.The name of the package.The target version that the deployment is attempting to install.inthashCode()initialVersion(String initialVersion) packageName(String packageName) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCurrentVersion(String currentVersion) voidsetInitialVersion(String initialVersion) voidsetPackageName(String packageName) voidsetTargetVersion(String targetVersion) targetVersion(String targetVersion) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CURRENT_VERSION
- See Also:
-
JSON_PROPERTY_INITIAL_VERSION
- See Also:
-
JSON_PROPERTY_PACKAGE_NAME
- See Also:
-
JSON_PROPERTY_TARGET_VERSION
- See Also:
-
-
Constructor Details
-
FleetDeploymentHostPackage
public FleetDeploymentHostPackage()
-
-
Method Details
-
currentVersion
-
getCurrentVersion
The current version of the package on the host.- Returns:
- currentVersion
-
setCurrentVersion
-
initialVersion
-
getInitialVersion
The initial version of the package on the host before the deployment started.- Returns:
- initialVersion
-
setInitialVersion
-
packageName
-
getPackageName
The name of the package.- Returns:
- packageName
-
setPackageName
-
targetVersion
-
getTargetVersion
The target version that the deployment is attempting to install.- Returns:
- targetVersion
-
setTargetVersion
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- FleetDeploymentHostPackage
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this FleetDeploymentHostPackage object is equal to o. -
hashCode
public int hashCode() -
toString
-