@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class Patch extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The patch object contains the audit summary information and the definition of the patch.
Note: Objects should always be created or deserialized using the Patch.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the Patch.Builder
, which maintain a
set of all explicitly set fields called Patch.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
Patch.Builder |
static class |
Patch.PatchStatus
Status of the patch applied or being applied on the application
|
static class |
Patch.PatchType
The type of the patch applied or being applied on the application.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
Patch(String key,
String modelType,
String modelVersion,
String name,
String description,
Integer objectVersion,
Integer objectStatus,
String identifier,
Date timePatched,
Map<String,String> errorMessages,
Integer applicationVersion,
Patch.PatchType patchType,
Patch.PatchStatus patchStatus,
List<PatchObjectMetadata> dependentObjectMetadata,
List<PatchObjectMetadata> patchObjectMetadata,
ParentReference parentRef,
ObjectMetadata metadata,
Map<String,String> keyMap)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Patch.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getApplicationVersion()
The application version of the patch.
|
List<PatchObjectMetadata> |
getDependentObjectMetadata()
List of dependent objects in this patch.
|
String |
getDescription()
Detailed description for the object.
|
Map<String,String> |
getErrorMessages()
The errors encountered while applying the patch, if any.
|
String |
getIdentifier()
Value can only contain upper case letters, underscore, and numbers.
|
String |
getKey()
The object key.
|
Map<String,String> |
getKeyMap()
A key map.
|
ObjectMetadata |
getMetadata() |
String |
getModelType()
The object type.
|
String |
getModelVersion()
The object’s model version.
|
String |
getName()
Free form text without any restriction on permitted characters.
|
Integer |
getObjectStatus()
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
Integer |
getObjectVersion()
The version of the object that is used to track changes in the object instance.
|
ParentReference |
getParentRef() |
List<PatchObjectMetadata> |
getPatchObjectMetadata()
List of objects that are published or unpublished in this patch.
|
Patch.PatchStatus |
getPatchStatus()
Status of the patch applied or being applied on the application
|
Patch.PatchType |
getPatchType()
The type of the patch applied or being applied on the application.
|
Date |
getTimePatched()
The date and time the patch was applied, in the timestamp format defined by
RFC3339.
|
int |
hashCode() |
Patch.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"key","modelType","modelVersion","name","description","objectVersion","objectStatus","identifier","timePatched","errorMessages","applicationVersion","patchType","patchStatus","dependentObjectMetadata","patchObjectMetadata","parentRef","metadata","keyMap"}) public Patch(String key, String modelType, String modelVersion, String name, String description, Integer objectVersion, Integer objectStatus, String identifier, Date timePatched, Map<String,String> errorMessages, Integer applicationVersion, Patch.PatchType patchType, Patch.PatchStatus patchStatus, List<PatchObjectMetadata> dependentObjectMetadata, List<PatchObjectMetadata> patchObjectMetadata, ParentReference parentRef, ObjectMetadata metadata, Map<String,String> keyMap)
public static Patch.Builder builder()
Create a new builder.
public Patch.Builder toBuilder()
public String getKey()
The object key.
public String getModelType()
The object type.
public String getModelVersion()
The object’s model version.
public String getName()
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
public String getDescription()
Detailed description for the object.
public Integer getObjectVersion()
The version of the object that is used to track changes in the object instance.
public Integer getObjectStatus()
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
public String getIdentifier()
Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
public Date getTimePatched()
The date and time the patch was applied, in the timestamp format defined by RFC3339.
public Map<String,String> getErrorMessages()
The errors encountered while applying the patch, if any.
public Integer getApplicationVersion()
The application version of the patch.
public Patch.PatchType getPatchType()
The type of the patch applied or being applied on the application.
public Patch.PatchStatus getPatchStatus()
Status of the patch applied or being applied on the application
public List<PatchObjectMetadata> getDependentObjectMetadata()
List of dependent objects in this patch.
public List<PatchObjectMetadata> getPatchObjectMetadata()
List of objects that are published or unpublished in this patch.
public ParentReference getParentRef()
public ObjectMetadata getMetadata()
public Map<String,String> getKeyMap()
A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.