ConfigManagementConfigSync.fromJson constructor

ConfigManagementConfigSync.fromJson(
  1. Map json_
)

Implementation

ConfigManagementConfigSync.fromJson(core.Map json_)
    : this(
        allowVerticalScale: json_.containsKey('allowVerticalScale')
            ? json_['allowVerticalScale'] as core.bool
            : null,
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        git: json_.containsKey('git')
            ? ConfigManagementGitConfig.fromJson(
                json_['git'] as core.Map<core.String, core.dynamic>)
            : null,
        metricsGcpServiceAccountEmail:
            json_.containsKey('metricsGcpServiceAccountEmail')
                ? json_['metricsGcpServiceAccountEmail'] as core.String
                : null,
        oci: json_.containsKey('oci')
            ? ConfigManagementOciConfig.fromJson(
                json_['oci'] as core.Map<core.String, core.dynamic>)
            : null,
        preventDrift: json_.containsKey('preventDrift')
            ? json_['preventDrift'] as core.bool
            : null,
        sourceFormat: json_.containsKey('sourceFormat')
            ? json_['sourceFormat'] as core.String
            : null,
      );