toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'annotations': ?annotations,
    'binaryAuthorizations': ?(() { final guardedValue = binaryAuthorizations; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetWorkerPoolBinaryAuthorization, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
    'client': ?client,
    'clientVersion': ?clientVersion,
    'conditions': ?(() { final guardedValue = conditions; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetWorkerPoolCondition, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
    'createTime': ?createTime,
    'creator': ?creator,
    'customAudiences': ?customAudiences,
    'deleteTime': ?deleteTime,
    'deletionPolicy': ?deletionPolicy,
    'deletionProtection': ?deletionProtection,
    'description': ?description,
    'effectiveAnnotations': ?effectiveAnnotations,
    'effectiveLabels': ?effectiveLabels,
    'etag': ?etag,
    'expireTime': ?expireTime,
    'generation': ?generation,
    'id': ?id,
    'instanceSplitStatuses': ?(() { final guardedValue = instanceSplitStatuses; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetWorkerPoolInstanceSplitStatus, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
    'instanceSplits': ?(() { final guardedValue = instanceSplits; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetWorkerPoolInstanceSplit, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
    'labels': ?labels,
    'lastModifier': ?lastModifier,
    'latestCreatedRevision': ?latestCreatedRevision,
    'latestReadyRevision': ?latestReadyRevision,
    'launchStage': ?launchStage,
    'location': ?location,
    'name': ?name,
    'observedGeneration': ?observedGeneration,
    'project': ?project,
    'pulumiLabels': ?pulumiLabels,
    'reconciling': ?reconciling,
    'scalings': ?(() { final guardedValue = scalings; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetWorkerPoolScaling, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
    'templates': ?(() { final guardedValue = templates; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetWorkerPoolTemplate, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
    'terminalConditions': ?(() { final guardedValue = terminalConditions; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetWorkerPoolTerminalCondition, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
    'uid': ?uid,
    'updateTime': ?updateTime,
  };
}