ElasticsearchDomainConfig.fromJson constructor

ElasticsearchDomainConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ElasticsearchDomainConfig.fromJson(Map<String, dynamic> json) {
  return ElasticsearchDomainConfig(
    accessPolicies: json['AccessPolicies'] != null
        ? AccessPoliciesStatus.fromJson(
            json['AccessPolicies'] as Map<String, dynamic>)
        : null,
    advancedOptions: json['AdvancedOptions'] != null
        ? AdvancedOptionsStatus.fromJson(
            json['AdvancedOptions'] as Map<String, dynamic>)
        : null,
    advancedSecurityOptions: json['AdvancedSecurityOptions'] != null
        ? AdvancedSecurityOptionsStatus.fromJson(
            json['AdvancedSecurityOptions'] as Map<String, dynamic>)
        : null,
    cognitoOptions: json['CognitoOptions'] != null
        ? CognitoOptionsStatus.fromJson(
            json['CognitoOptions'] as Map<String, dynamic>)
        : null,
    domainEndpointOptions: json['DomainEndpointOptions'] != null
        ? DomainEndpointOptionsStatus.fromJson(
            json['DomainEndpointOptions'] as Map<String, dynamic>)
        : null,
    eBSOptions: json['EBSOptions'] != null
        ? EBSOptionsStatus.fromJson(
            json['EBSOptions'] as Map<String, dynamic>)
        : null,
    elasticsearchClusterConfig: json['ElasticsearchClusterConfig'] != null
        ? ElasticsearchClusterConfigStatus.fromJson(
            json['ElasticsearchClusterConfig'] as Map<String, dynamic>)
        : null,
    elasticsearchVersion: json['ElasticsearchVersion'] != null
        ? ElasticsearchVersionStatus.fromJson(
            json['ElasticsearchVersion'] as Map<String, dynamic>)
        : null,
    encryptionAtRestOptions: json['EncryptionAtRestOptions'] != null
        ? EncryptionAtRestOptionsStatus.fromJson(
            json['EncryptionAtRestOptions'] as Map<String, dynamic>)
        : null,
    logPublishingOptions: json['LogPublishingOptions'] != null
        ? LogPublishingOptionsStatus.fromJson(
            json['LogPublishingOptions'] as Map<String, dynamic>)
        : null,
    nodeToNodeEncryptionOptions: json['NodeToNodeEncryptionOptions'] != null
        ? NodeToNodeEncryptionOptionsStatus.fromJson(
            json['NodeToNodeEncryptionOptions'] as Map<String, dynamic>)
        : null,
    snapshotOptions: json['SnapshotOptions'] != null
        ? SnapshotOptionsStatus.fromJson(
            json['SnapshotOptions'] as Map<String, dynamic>)
        : null,
    vPCOptions: json['VPCOptions'] != null
        ? VPCDerivedInfoStatus.fromJson(
            json['VPCOptions'] as Map<String, dynamic>)
        : null,
  );
}