Connection interface
網路連線。
屬性
| destination | 關聯性的目的地資源。 |
| end |
關聯性結束時間。 |
| failure |
指定只有成功、失敗或混合了此資源所代表的兩個連線。 可能的值包括:'ok'、'failed'、'mixed' |
| id | 資源標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| kind | 多型歧視性 |
| name | 資源名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| server |
建立此連線的伺服器埠參考。 |
| source | 關聯性的來源資源。 |
| start |
關聯性開始時間。 |
| type | 資源類型。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
屬性詳細資料
destination
endTime
關聯性結束時間。
endTime?: Date
屬性值
Date
failureState
指定只有成功、失敗或混合了此資源所代表的兩個連線。 可能的值包括:'ok'、'failed'、'mixed'
failureState?: ConnectionFailureState
屬性值
id
資源標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。
id?: string
屬性值
string
kind
多型歧視性
kind: "rel:connection"
屬性值
"rel:connection"
name
資源名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。
name?: string
屬性值
string
serverPort
source
startTime
關聯性開始時間。
startTime?: Date
屬性值
Date
type
資源類型。 注意:這個屬性不會串行化。 它只能由伺服器填入。
type?: string
屬性值
string