Class ExternalPage
- java.lang.Object
-
- com.intercom.api.resources.aicontent.types.ExternalPage
-
public final class ExternalPage extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExternalPage._FinalStagestatic interfaceExternalPage.AiAgentAvailabilityStagestatic interfaceExternalPage.AiCopilotAvailabilityStagestatic classExternalPage.Builderstatic interfaceExternalPage.CreatedAtStagestatic interfaceExternalPage.ExternalIdStagestatic interfaceExternalPage.HtmlStagestatic interfaceExternalPage.IdStagestatic interfaceExternalPage.LastIngestedAtStagestatic interfaceExternalPage.SourceIdStagestatic interfaceExternalPage.TitleStagestatic interfaceExternalPage.UpdatedAtStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExternalPage.IdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()booleangetAiAgentAvailability()booleangetAiCopilotAvailability()intgetCreatedAt()java.lang.StringgetExternalId()java.util.Optional<java.lang.Boolean>getFinAvailability()java.lang.StringgetHtml()java.lang.StringgetId()intgetLastIngestedAt()java.lang.StringgetLocale()intgetSourceId()java.lang.StringgetTitle()java.lang.StringgetType()intgetUpdatedAt()java.util.Optional<java.lang.String>getUrl()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.lang.String getType()
- Returns:
- Always external_page
-
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.util.Optional<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.
-
getAiAgentAvailability
public boolean getAiAgentAvailability()
- Returns:
- Whether the external page should be used to answer questions by AI Agent.
-
getAiCopilotAvailability
public boolean getAiCopilotAvailability()
- Returns:
- Whether the external page should be used to answer questions by AI Copilot.
-
getFinAvailability
public java.util.Optional<java.lang.Boolean> getFinAvailability()
- Returns:
- Deprecated. Use ai_agent_availability and ai_copilot_availability instead.
-
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.lang.String getExternalId()
- Returns:
- The identifier for the external page which was given by the source. Must be unique for the source.
-
getCreatedAt
public int getCreatedAt()
- Returns:
- The time when the external page was created.
-
getUpdatedAt
public int getUpdatedAt()
- Returns:
- The time when the external page was last updated.
-
getLastIngestedAt
public int getLastIngestedAt()
- Returns:
- The time when the external page was last ingested.
-
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 ExternalPage.IdStage builder()
-
-