GetAppGatewayResult.fromMap constructor

GetAppGatewayResult.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetAppGatewayResult.fromMap(Map<String, dynamic> map) {
  return GetAppGatewayResult(
    allocatedConnections: pulumi.Input.decodeList<AllocatedConnectionResponse>(map['allocatedConnections']!, (value) => AllocatedConnectionResponse.fromMap((value as Map).cast<String, dynamic>())),
    createTime: map['createTime'] as String,
    displayName: map['displayName'] as String,
    hostType: map['hostType'] as String,
    labels: (map['labels'] as Map).cast<String, String>(),
    name: map['name'] as String,
    state: map['state'] as String,
    type: map['type'] as String,
    uid: map['uid'] as String,
    updateTime: map['updateTime'] as String,
    uri: map['uri'] as String,
  );
}