GoogleIdentityAccesscontextmanagerV1EgressFrom.fromJson constructor

GoogleIdentityAccesscontextmanagerV1EgressFrom.fromJson(
  1. Map json_
)

Implementation

GoogleIdentityAccesscontextmanagerV1EgressFrom.fromJson(core.Map json_)
    : this(
        identities: json_.containsKey('identities')
            ? (json_['identities'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        identityType: json_.containsKey('identityType')
            ? json_['identityType'] as core.String
            : null,
        sourceRestriction: json_.containsKey('sourceRestriction')
            ? json_['sourceRestriction'] as core.String
            : null,
        sources: json_.containsKey('sources')
            ? (json_['sources'] as core.List)
                .map((value) =>
                    GoogleIdentityAccesscontextmanagerV1EgressSource.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );