Package com.oracle.bmc.cims.model
Class UpdateActivityItemDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cims.model.UpdateItemDetails
-
- com.oracle.bmc.cims.model.UpdateActivityItemDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181231") public final class UpdateActivityItemDetails extends UpdateItemDetailsDetails for updating the support request activity.
Note: Objects should always be created or deserialized using theUpdateActivityItemDetails.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 theUpdateActivityItemDetails.Builder, which maintain a set of all explicitly set fields calledUpdateActivityItemDetails.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateActivityItemDetails.ActivityTypeThe type of activity occurring.static classUpdateActivityItemDetails.Builder
-
Constructor Summary
Constructors Constructor Description UpdateActivityItemDetails(String comments, UpdateActivityItemDetails.ActivityType activityType)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateActivityItemDetails.Builderbuilder()Create a new builder.booleanequals(Object o)UpdateActivityItemDetails.ActivityTypegetActivityType()The type of activity occurring.StringgetComments()Comments updated at the time that the activity occurs.inthashCode()UpdateActivityItemDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
UpdateActivityItemDetails
@Deprecated public UpdateActivityItemDetails(String comments, UpdateActivityItemDetails.ActivityType activityType)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateActivityItemDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpdateActivityItemDetails.Builder toBuilder()
-
getComments
public String getComments()
Comments updated at the time that the activity occurs.- Returns:
- the value
-
getActivityType
public UpdateActivityItemDetails.ActivityType getActivityType()
The type of activity occurring.NOTES is the activity associated to attachments. PROBLEM_DESCRIPTION is the activity associated to customer problem description. UPDATE is the activity associated to adding comments. CLOSE is the activity associated to closing the support request. REOPEN is the activity associated to reopening the support request. ADD_CONTACT is the activity associated to adding additional contact to the support request.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classUpdateItemDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classUpdateItemDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classUpdateItemDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classUpdateItemDetails
-
-