toJson method
Implementation
Map<String, dynamic> toJson() {
final recommendationProviderRoleArn = this.recommendationProviderRoleArn;
final recommendationProviderUri = this.recommendationProviderUri;
final attributes = this.attributes;
final description = this.description;
final name = this.name;
final recommendationProviderIdType = this.recommendationProviderIdType;
final recommendationTransformerUri = this.recommendationTransformerUri;
final recommendationsDisplayName = this.recommendationsDisplayName;
final recommendationsPerMessage = this.recommendationsPerMessage;
return {
'RecommendationProviderRoleArn': recommendationProviderRoleArn,
'RecommendationProviderUri': recommendationProviderUri,
if (attributes != null) 'Attributes': attributes,
if (description != null) 'Description': description,
if (name != null) 'Name': name,
if (recommendationProviderIdType != null)
'RecommendationProviderIdType': recommendationProviderIdType,
if (recommendationTransformerUri != null)
'RecommendationTransformerUri': recommendationTransformerUri,
if (recommendationsDisplayName != null)
'RecommendationsDisplayName': recommendationsDisplayName,
if (recommendationsPerMessage != null)
'RecommendationsPerMessage': recommendationsPerMessage,
};
}