Map<String, dynamic> toJson() { final action = this.action; final attribute = this.attribute; return { 'Action': action.toValue(), 'Attribute': attribute, }; }