GoogleDevtoolsCloudbuildV2GitLabConfig.fromJson constructor

GoogleDevtoolsCloudbuildV2GitLabConfig.fromJson(
  1. Map json_
)

Implementation

GoogleDevtoolsCloudbuildV2GitLabConfig.fromJson(core.Map json_)
    : this(
        authorizerCredential: json_.containsKey('authorizerCredential')
            ? UserCredential.fromJson(json_['authorizerCredential']
                as core.Map<core.String, core.dynamic>)
            : null,
        hostUri: json_.containsKey('hostUri')
            ? json_['hostUri'] as core.String
            : null,
        readAuthorizerCredential:
            json_.containsKey('readAuthorizerCredential')
                ? UserCredential.fromJson(json_['readAuthorizerCredential']
                    as core.Map<core.String, core.dynamic>)
                : null,
        serverVersion: json_.containsKey('serverVersion')
            ? json_['serverVersion'] as core.String
            : null,
        serviceDirectoryConfig: json_.containsKey('serviceDirectoryConfig')
            ? GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig.fromJson(
                json_['serviceDirectoryConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        sslCa:
            json_.containsKey('sslCa') ? json_['sslCa'] as core.String : null,
        webhookSecretSecretVersion:
            json_.containsKey('webhookSecretSecretVersion')
                ? json_['webhookSecretSecretVersion'] as core.String
                : null,
      );