ConsumerAction interface
定義取用者動作的數據合約。
屬性
| allow |
取得或設定旗標,指出建立或編輯訂用帳戶時是否可以覆寫資源版本。 |
| consumer |
取得或設定這個動作所屬取用者的標識碼。 |
| description | 取得或設定此動作的當地語系化描述。 |
| id | 取得或設定此動作的識別碼。 |
| input |
取得或設定此動作的輸入描述元。 |
| name | 取得或設定此動作的當地語系化名稱。 |
| supported |
取得或設定此動作支援的事件標識碼。 |
| supported |
取得或設定此動作支援的資源版本。 |
| url | 此資源的 URL |
屬性詳細資料
allowResourceVersionOverride
取得或設定旗標,指出建立或編輯訂用帳戶時是否可以覆寫資源版本。
allowResourceVersionOverride: boolean
屬性值
boolean
consumerId
取得或設定這個動作所屬取用者的標識碼。
consumerId: string
屬性值
string
description
取得或設定此動作的當地語系化描述。
description: string
屬性值
string
id
取得或設定此動作的識別碼。
id: string
屬性值
string
inputDescriptors
name
取得或設定此動作的當地語系化名稱。
name: string
屬性值
string
supportedEventTypes
取得或設定此動作支援的事件標識碼。
supportedEventTypes: string[]
屬性值
string[]
supportedResourceVersions
取得或設定此動作支援的資源版本。
supportedResourceVersions: {[key: string]: string[]}
屬性值
{[key: string]: string[]}
url
此資源的 URL
url: string
屬性值
string