GoogleCloudApigeeV1DeveloperAppKey.fromJson constructor

GoogleCloudApigeeV1DeveloperAppKey.fromJson(
  1. Map json_
)

Implementation

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