EventSubscription.fromJson constructor
EventSubscription.fromJson(
- Map json_
Implementation
EventSubscription.fromJson(core.Map json_)
: this(
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
destinations: json_.containsKey('destinations')
? EventSubscriptionDestination.fromJson(
json_['destinations'] as core.Map<core.String, core.dynamic>)
: null,
eventTypeId: json_.containsKey('eventTypeId')
? json_['eventTypeId'] as core.String
: null,
jms: json_.containsKey('jms')
? JMS
.fromJson(json_['jms'] as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
status: json_.containsKey('status')
? EventSubscriptionStatus.fromJson(
json_['status'] as core.Map<core.String, core.dynamic>)
: null,
subscriber: json_.containsKey('subscriber')
? json_['subscriber'] as core.String
: null,
subscriberLink: json_.containsKey('subscriberLink')
? json_['subscriberLink'] as core.String
: null,
triggerConfigVariables: json_.containsKey('triggerConfigVariables')
? (json_['triggerConfigVariables'] as core.List)
.map((value) => ConfigVariable.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);