Class UpdateExternalPageRequest
- java.lang.Object
-
- com.intercom.api.resources.unstable.aicontent.requests.UpdateExternalPageRequest
-
public final class UpdateExternalPageRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateExternalPageRequest._FinalStagestatic classUpdateExternalPageRequest.Builderstatic interfaceUpdateExternalPageRequest.HtmlStagestatic interfaceUpdateExternalPageRequest.IdStagestatic interfaceUpdateExternalPageRequest.SourceIdStagestatic interfaceUpdateExternalPageRequest.TitleStagestatic interfaceUpdateExternalPageRequest.UrlStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateExternalPageRequest.IdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.String>getExternalId()java.util.Optional<java.lang.Boolean>getFinAvailability()java.lang.StringgetHtml()java.lang.StringgetId()java.lang.StringgetLocale()intgetSourceId()java.lang.StringgetTitle()java.lang.StringgetUrl()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- The unique identifier for the external page which is given by Intercom.
-
getTitle
public java.lang.String getTitle()
- Returns:
- The title of the external page.
-
getHtml
public java.lang.String getHtml()
- Returns:
- The body of the external page in HTML.
-
getUrl
public java.lang.String getUrl()
- Returns:
- The URL of the external page. This will be used by Fin to link end users to the page it based its answer on.
-
getFinAvailability
public java.util.Optional<java.lang.Boolean> getFinAvailability()
- Returns:
- Whether the external page should be used to answer questions by Fin.
-
getLocale
public java.lang.String getLocale()
- Returns:
- Always en
-
getSourceId
public int getSourceId()
- Returns:
- The unique identifier for the source of the external page which was given by Intercom. Every external page must be associated with a Content Import Source which represents the place it comes from and from which it inherits a default audience (configured in the UI). For a new source, make a POST request to the Content Import Source endpoint and an ID for the source will be returned in the response.
-
getExternalId
public java.util.Optional<java.lang.String> getExternalId()
- Returns:
- The identifier for the external page which was given by the source. Must be unique for the source.
-
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 UpdateExternalPageRequest.IdStage builder()
-
-