GoogleCloudApigeeV1AppGroupAppKey.fromJson constructor

GoogleCloudApigeeV1AppGroupAppKey.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1AppGroupAppKey.fromJson(core.Map json_)
    : this(
        apiProducts: json_.containsKey('apiProducts')
            ? (json_['apiProducts'] as core.List)
                .map((value) =>
                    GoogleCloudApigeeV1APIProductAssociation.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        attributes: json_.containsKey('attributes')
            ? (json_['attributes'] as core.List)
                .map((value) => GoogleCloudApigeeV1Attribute.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        consumerKey: json_.containsKey('consumerKey')
            ? json_['consumerKey'] as core.String
            : null,
        consumerSecret: json_.containsKey('consumerSecret')
            ? json_['consumerSecret'] as core.String
            : null,
        expiresAt: json_.containsKey('expiresAt')
            ? json_['expiresAt'] as core.String
            : null,
        expiresInSeconds: json_.containsKey('expiresInSeconds')
            ? json_['expiresInSeconds'] as core.String
            : null,
        issuedAt: json_.containsKey('issuedAt')
            ? json_['issuedAt'] as core.String
            : null,
        scopes: json_.containsKey('scopes')
            ? (json_['scopes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
      );