GoogleCloudMemcacheV1MaintenancePolicy.fromJson constructor

GoogleCloudMemcacheV1MaintenancePolicy.fromJson(
  1. Map json_
)

Implementation

GoogleCloudMemcacheV1MaintenancePolicy.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        weeklyMaintenanceWindow: json_.containsKey('weeklyMaintenanceWindow')
            ? (json_['weeklyMaintenanceWindow'] as core.List)
                .map((value) => WeeklyMaintenanceWindow.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );