ManagementServer.fromJson constructor
ManagementServer.fromJson(
- Map json_
Implementation
ManagementServer.fromJson(core.Map json_)
: this(
baProxyUri: (json_['baProxyUri'] as core.List?)
?.map((value) => value as core.String)
.toList(),
createTime: json_['createTime'] as core.String?,
description: json_['description'] as core.String?,
etag: json_['etag'] as core.String?,
labels:
(json_['labels'] as core.Map<core.String, core.dynamic>?)?.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
),
managementUri: json_.containsKey('managementUri')
? ManagementURI.fromJson(
json_['managementUri'] as core.Map<core.String, core.dynamic>)
: null,
name: json_['name'] as core.String?,
networks: (json_['networks'] as core.List?)
?.map((value) => NetworkConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
oauth2ClientId: json_['oauth2ClientId'] as core.String?,
satisfiesPzi: json_['satisfiesPzi'] as core.bool?,
satisfiesPzs: json_['satisfiesPzs'] as core.bool?,
state: json_['state'] as core.String?,
type: json_['type'] as core.String?,
updateTime: json_['updateTime'] as core.String?,
workforceIdentityBasedManagementUri:
json_.containsKey('workforceIdentityBasedManagementUri')
? WorkforceIdentityBasedManagementURI.fromJson(
json_['workforceIdentityBasedManagementUri']
as core.Map<core.String, core.dynamic>)
: null,
workforceIdentityBasedOauth2ClientId:
json_.containsKey('workforceIdentityBasedOauth2ClientId')
? WorkforceIdentityBasedOAuth2ClientID.fromJson(
json_['workforceIdentityBasedOauth2ClientId']
as core.Map<core.String, core.dynamic>)
: null,
);