UNPKG
apim-developer-portal4
Version:
latest (4.0.0)
4.0.0
API management developer portal
apim-developer-portal4
/
src
/
models
/
tag.ts
11 lines
(9 loc)
•
249 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
TagContract
}
from
"../contracts/tag"
;
export
class
Tag
{
public
id
:
string
;
public
name
:
string
;
constructor
(
contract
:
TagContract
) {
this
.
id
= contract.
id
;
this
.
name
= contract.
properties
.
displayName
; } }