toJson method
Implementation
Map<String, dynamic> toJson() {
final accessPolicies = this.accessPolicies;
final domainEndpointOptions = this.domainEndpointOptions;
final domainId = this.domainId;
final domainName = this.domainName;
final elasticsearchVersion = this.elasticsearchVersion;
final encryptionAtRestOptions = this.encryptionAtRestOptions;
final endpoint = this.endpoint;
final endpoints = this.endpoints;
final nodeToNodeEncryptionOptions = this.nodeToNodeEncryptionOptions;
final vPCOptions = this.vPCOptions;
return {
if (accessPolicies != null) 'AccessPolicies': accessPolicies,
if (domainEndpointOptions != null)
'DomainEndpointOptions': domainEndpointOptions,
if (domainId != null) 'DomainId': domainId,
if (domainName != null) 'DomainName': domainName,
if (elasticsearchVersion != null)
'ElasticsearchVersion': elasticsearchVersion,
if (encryptionAtRestOptions != null)
'EncryptionAtRestOptions': encryptionAtRestOptions,
if (endpoint != null) 'Endpoint': endpoint,
if (endpoints != null) 'Endpoints': endpoints,
if (nodeToNodeEncryptionOptions != null)
'NodeToNodeEncryptionOptions': nodeToNodeEncryptionOptions,
if (vPCOptions != null) 'VPCOptions': vPCOptions,
};
}