Class UpdateCollectionRequest
- java.lang.Object
-
- com.intercom.api.resources.unstable.helpcenter.requests.UpdateCollectionRequest
-
public final class UpdateCollectionRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateCollectionRequest._FinalStagestatic classUpdateCollectionRequest.Builderstatic interfaceUpdateCollectionRequest.IdStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateCollectionRequest.IdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.String>getDescription()intgetId()java.util.Optional<java.lang.String>getName()java.util.Optional<java.lang.String>getParentId()java.util.Optional<GroupTranslatedContent>getTranslatedContent()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public int getId()
- Returns:
- The unique identifier for the collection which is given by Intercom.
-
getName
public java.util.Optional<java.lang.String> getName()
- Returns:
- The name of the collection. For multilingual collections, this will be the name of the default language's content.
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
- Returns:
- The description of the collection. For multilingual collections, this will be the description of the default language's content.
-
getTranslatedContent
public java.util.Optional<GroupTranslatedContent> getTranslatedContent()
-
getParentId
public java.util.Optional<java.lang.String> getParentId()
- Returns:
- The id of the parent collection. If
nullthen it will be updated as the first level collection.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static UpdateCollectionRequest.IdStage builder()
-
-