def create(self, body=values.unset, priority=values.unset, ttl=values.unset,<EOL>title=values.unset, sound=values.unset, action=values.unset,<EOL>data=values.unset, apn=values.unset, gcm=values.unset,<EOL>sms=values.unset, facebook_messenger=values.unset, fcm=values.unset,<EOL>segment=values.unset, alexa=values.unset, to_binding=values.unset,<EOL>identity=values.unset, tag=values.unset):
data = values.of({<EOL>'<STR_LIT>': serialize.map(identity, lambda e: e),<EOL>'<STR_LIT>': serialize.map(tag, lambda e: e),<EOL>'<STR_LIT>': body,<EOL>'<STR_LIT>': priority,<EOL>'<STR_LIT>': ttl,<EOL>'<STR_LIT>': title,<EOL>'<STR_LIT>': sound,<EOL>'<STR_LIT>': action,<EOL>'<STR_LIT>': serialize.object(data),<EOL>'<STR_LIT>': serialize.object(apn),<EOL>'<STR_LIT>': serialize.object(gcm),<EOL>'<STR_LIT>': serialize.object(sms),<EOL>'<STR_LIT>': serialize.object(facebook_messenger),<EOL>'<STR_LIT>': serialize.object(fcm),<EOL>'<STR_LIT>': serialize.map(segment, lambda e: e),<EOL>'<STR_LIT>': serialize.object(alexa),<EOL>'<STR_LIT>': serialize.map(to_binding, lambda e: e),<EOL>})<EOL>payload = self._version.create(<EOL>'<STR_LIT:POST>',<EOL>self._uri,<EOL>data=data,<EOL>)<EOL>return NotificationInstance(self._version, payload, service_sid=self._solution['<STR_LIT>'], )<EOL>
Create a new NotificationInstance

:param unicode body: The notification body text
:param NotificationInstance.Priority priority: The priority of the notification
:param unicode ttl: How long, in seconds, the notification is valid
:param unicode title: The notification title
:param unicode sound: The name of the sound to be played for the notification
:param unicode action: The actions to display for the notification
:param dict data: The custom key-value pairs of the notification's payload
:param dict apn: The APNS-specific payload that overrides corresponding attributes in a generic payload for APNS Bindings
:param dict gcm: The GCM-specific payload that overrides corresponding attributes in generic payload for GCM Bindings
:param dict sms: The SMS-specific payload that overrides corresponding attributes in generic payload for SMS Bindings
:param dict facebook_messenger: Deprecated
:param dict fcm: The FCM-specific payload that overrides corresponding attributes in generic payload for FCM Bindings
:param unicode segment: A Segment to notify
:param dict alexa: Deprecated
:param unicode to_binding: The destination address specified as a JSON string
:param unicode identity: The `identity` value that identifies the new resource's User
:param unicode tag: A tag that selects the Bindings to notify

:returns: Newly created NotificationInstance
:rtype: twilio.rest.notify.v1.service.notification.NotificationInstance