ListServerTlsPoliciesResponse.fromJson constructor

ListServerTlsPoliciesResponse.fromJson(
  1. Map _json
)

Implementation

ListServerTlsPoliciesResponse.fromJson(core.Map _json)
    : this(
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
        serverTlsPolicies: _json.containsKey('serverTlsPolicies')
            ? (_json['serverTlsPolicies'] as core.List)
                .map<ServerTlsPolicy>((value) => ServerTlsPolicy.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );