OrgPolicy.fromJson constructor

OrgPolicy.fromJson(
  1. Map json_
)

Implementation

OrgPolicy.fromJson(core.Map json_)
    : this(
        booleanPolicy: json_.containsKey('booleanPolicy')
            ? BooleanPolicy.fromJson(
                json_['booleanPolicy'] as core.Map<core.String, core.dynamic>)
            : null,
        constraint: json_.containsKey('constraint')
            ? json_['constraint'] as core.String
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        listPolicy: json_.containsKey('listPolicy')
            ? ListPolicy.fromJson(
                json_['listPolicy'] as core.Map<core.String, core.dynamic>)
            : null,
        restoreDefault: json_.containsKey('restoreDefault')
            ? RestoreDefault.fromJson(json_['restoreDefault']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.int
            : null,
      );