GetDeveloperAppKeyResult.fromMap constructor
GetDeveloperAppKeyResult.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetDeveloperAppKeyResult.fromMap(Map<String, dynamic> map) {
return GetDeveloperAppKeyResult(
apiProducts: (map['apiProducts'] as List).cast<dynamic>(),
attributes: pulumi.Input.decodeList<GoogleCloudApigeeV1AttributeResponse>(map['attributes']!, (value) => GoogleCloudApigeeV1AttributeResponse.fromMap((value as Map).cast<String, dynamic>())),
consumerKey: map['consumerKey'] as String,
consumerSecret: map['consumerSecret'] as String,
expiresAt: map['expiresAt'] as String,
expiresInSeconds: map['expiresInSeconds'] as String,
issuedAt: map['issuedAt'] as String,
scopes: (map['scopes'] as List).cast<String>(),
status: map['status'] as String,
);
}