Attachment 類別
- java.
lang. Object - com.
microsoft. bot. schema. Attachment
- com.
public class Attachment
活動內的附件。
建構函式摘要
| 建構函式 | Description | |
|---|---|---|
| Attachment() | ||
方法摘要
| 修飾詞與類型 | 方法與描述 |
|---|---|
| static Attachment |
clone(Attachment attachment)
執行附件的深層複本。 |
| static java.util.List<Attachment> |
cloneList(List<Attachment> attachments)
複製附件清單。 |
| java.lang.Object |
getContent()
取得內容值。 |
| java.lang.String |
getContentType()
取得 [類型] 值 |
| java.lang.String |
getContentUrl()
取得內容 |
| java.lang.String |
getName()
取得名稱值。 |
| java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode> |
getProperties()
溢位屬性。 |
| java.lang.String |
getThumbnailUrl()
取得縮圖 |
| void |
setContent(Object withContent)
設定內容值。 |
| void |
setContentType(String withContentType)
設定 [類型] 值 |
| void |
setContentUrl(String withContentUrl)
設定內容 |
| void |
setName(String withName)
設定名稱值。 |
| void |
setProperties(String key, JsonNode value)
設定溢位屬性。 |
| void |
setThumbnailUrl(String withThumbnailUrl)
設定縮圖 |
方法繼承來源 java.lang.Object
建構函式詳細資料
Attachment
public Attachment()
方法詳細資料
clone
public static Attachment clone(Attachment attachment)
執行附件的深層複本。
參數:
傳回:
cloneList
public static List
複製附件清單。
參數:
傳回:
getContent
public Object getContent()
取得內容值。
傳回:
getContentType
public String getContentType()
取得 contentType 值。
傳回:
getContentUrl
public String getContentUrl()
取得 contentUrl 值。
傳回:
getName
public String getName()
取得名稱值。
傳回:
getProperties
public Map
溢位屬性。 您可以在這裏存取未模型化為 物件中第一類屬性的屬性。 注意:屬性值可以是巢狀的。
傳回:
getThumbnailUrl
public String getThumbnailUrl()
取得 thumbnailUrl 值。
傳回:
setContent
public void setContent(Object withContent)
設定內容值。
參數:
setContentType
public void setContentType(String withContentType)
設定 contentType 值。
參數:
setContentUrl
public void setContentUrl(String withContentUrl)
設定 contentUrl 值。
參數:
setName
public void setName(String withName)
設定名稱值。
參數:
setProperties
public void setProperties(String key, JsonNode value)
設定溢位屬性。
參數:
setThumbnailUrl
public void setThumbnailUrl(String withThumbnailUrl)
設定 thumbnailUrl 值。
參數: