Package com.oracle.bmc.cims.model
Class UpdateContactItemDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cims.model.UpdateItemDetails
-
- com.oracle.bmc.cims.model.UpdateContactItemDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181231") public final class UpdateContactItemDetails extends UpdateItemDetails
Details for updating the support request activity.
Note: Objects should always be created or deserialized using theUpdateContactItemDetails.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 theUpdateContactItemDetails.Builder
, which maintain a set of all explicitly set fields calledUpdateContactItemDetails.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 class
UpdateContactItemDetails.ActivityType
The type of activity occurring.static class
UpdateContactItemDetails.Builder
-
Constructor Summary
Constructors Constructor Description UpdateContactItemDetails(String contact, UpdateContactItemDetails.ActivityType activityType)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateContactItemDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
UpdateContactItemDetails.ActivityType
getActivityType()
The type of activity occurring.String
getContact()
Email id of the additional contact to be added to the support request.int
hashCode()
UpdateContactItemDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
UpdateContactItemDetails
@Deprecated public UpdateContactItemDetails(String contact, UpdateContactItemDetails.ActivityType activityType)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateContactItemDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpdateContactItemDetails.Builder toBuilder()
-
getContact
public String getContact()
Email id of the additional contact to be added to the support request.- Returns:
- the value
-
getActivityType
public UpdateContactItemDetails.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:
toString
in classUpdateItemDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classUpdateItemDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classUpdateItemDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classUpdateItemDetails
-
-