AppProfile.fromJson constructor

AppProfile.fromJson(
  1. Map json_
)

Implementation

AppProfile.fromJson(core.Map json_)
    : this(
        dataBoostIsolationReadOnly:
            json_.containsKey('dataBoostIsolationReadOnly')
                ? DataBoostIsolationReadOnly.fromJson(
                    json_['dataBoostIsolationReadOnly']
                        as core.Map<core.String, core.dynamic>)
                : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        multiClusterRoutingUseAny:
            json_.containsKey('multiClusterRoutingUseAny')
                ? MultiClusterRoutingUseAny.fromJson(
                    json_['multiClusterRoutingUseAny']
                        as core.Map<core.String, core.dynamic>)
                : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        priority: json_.containsKey('priority')
            ? json_['priority'] as core.String
            : null,
        singleClusterRouting: json_.containsKey('singleClusterRouting')
            ? SingleClusterRouting.fromJson(json_['singleClusterRouting']
                as core.Map<core.String, core.dynamic>)
            : null,
        standardIsolation: json_.containsKey('standardIsolation')
            ? StandardIsolation.fromJson(json_['standardIsolation']
                as core.Map<core.String, core.dynamic>)
            : null,
      );