ThumbnailUrl 类
- java.
lang. Object - com.
microsoft. bot. schema. ThumbnailUrl
- com.
public class ThumbnailUrl
缩略图 URL。
构造函数摘要
| 构造函数 | 说明 |
|---|---|
| ThumbnailUrl() |
创建新的缩略图 |
| ThumbnailUrl(String withUrl) |
创建新的缩略图 |
方法摘要
| 修饰符和类型 | 方法和描述 |
|---|---|
| java.lang.String |
getAlt()
获取替换值。 |
| java.lang.String |
getUrl()
获取 URL 值。 |
| void |
setAlt(String withAlt)
设置替换值。 |
| void |
setUrl(String withUrl)
设置 URL 值。 |
方法继承自 java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
构造函数详细信息
ThumbnailUrl
public ThumbnailUrl()
创建新的 ThumbnailUrl。
ThumbnailUrl
public ThumbnailUrl(String withUrl)
创建新的 ThumbnailUrl。
参数:
withUrl
- 要设置的 URL 值。
方法详细信息
getAlt
public String getAlt()
获取替换值。
返回:
alt 值
getUrl
public String getUrl()
获取 URL 值。
返回:
URL 值
setAlt
public void setAlt(String withAlt)
设置替换值。
参数:
withAlt
- 要设置的替换值
setUrl
public void setUrl(String withUrl)
设置 URL 值。
参数:
withUrl
- 要设置的 URL 值