ResourcePolicyGroupPlacementPolicy.fromJson constructor

ResourcePolicyGroupPlacementPolicy.fromJson(
  1. Map json_
)

Implementation

ResourcePolicyGroupPlacementPolicy.fromJson(core.Map json_)
    : this(
        availabilityDomainCount: json_.containsKey('availabilityDomainCount')
            ? json_['availabilityDomainCount'] as core.int
            : null,
        collocation: json_.containsKey('collocation')
            ? json_['collocation'] as core.String
            : null,
        vmCount: json_.containsKey('vmCount')
            ? json_['vmCount'] as core.int
            : null,
      );