ApiDeployment.fromJson constructor

ApiDeployment.fromJson(
  1. Map json_
)

Implementation

ApiDeployment.fromJson(core.Map json_)
    : this(
        accessGuidance: json_.containsKey('accessGuidance')
            ? json_['accessGuidance'] as core.String
            : null,
        annotations: json_.containsKey('annotations')
            ? (json_['annotations'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        apiSpecRevision: json_.containsKey('apiSpecRevision')
            ? json_['apiSpecRevision'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        endpointUri: json_.containsKey('endpointUri')
            ? json_['endpointUri'] as core.String
            : null,
        externalChannelUri: json_.containsKey('externalChannelUri')
            ? json_['externalChannelUri'] as core.String
            : null,
        intendedAudience: json_.containsKey('intendedAudience')
            ? json_['intendedAudience'] as core.String
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        revisionCreateTime: json_.containsKey('revisionCreateTime')
            ? json_['revisionCreateTime'] as core.String
            : null,
        revisionId: json_.containsKey('revisionId')
            ? json_['revisionId'] as core.String
            : null,
        revisionUpdateTime: json_.containsKey('revisionUpdateTime')
            ? json_['revisionUpdateTime'] as core.String
            : null,
      );