deleteNotificationRequest: Build DeleteNotification's request
@link https://docs.qingcloud.com/qingstor/api/bucket/notification/delete_notification.html Documentation URL

@return Request
324101
public function deleteNotificationRequest()
    {
        $operation = array(
            'API' => 'DeleteBucketNotification',
            'Method' => 'DELETE',
            'Uri' => '/<bucket-name>?notification',
            'Headers' => array(
                'Host' => $this->properties['zone'] . '.' . $this->config->host,
            ),
            'Params' => array(
            ),
            'Elements' => array(
            ),
            'Properties' => $this->properties,
            'Body' => null
        );
        $this->deleteNotificationValidate($operation);
        $req = new Request($this->config, $operation);
        return $req;
    }
1250389
public function getNotification()
    {
        if (! $this->notification->isValid()) {
            throw new UnvalidNotificationException($this->notification);
        }

        $this->setDates();

        return $this->notification;
    }
48546
public function deleteAll()
    {
        $responses = array();
        $notifications = self::paginatedList();
        if ($notifications['success']) {
            foreach ($notifications['response']['data'] as $notification) {
                $responses[] = self::delete($notification->uuid);
            }
        } else {
            return array($notifications);
        }
        return $responses;
    }
655156
public function deleteLifecycleRequest()
    {
        $operation = array(
            'API' => 'DeleteBucketLifecycle',
            'Method' => 'DELETE',
            'Uri' => '/<bucket-name>?lifecycle',
            'Headers' => array(
                'Host' => $this->properties['zone'] . '.' . $this->config->host,
            ),
            'Params' => array(
            ),
            'Elements' => array(
            ),
            'Properties' => $this->properties,
            'Body' => null
        );
        $this->deleteLifecycleValidate($operation);
        $req = new Request($this->config, $operation);
        return $req;
    }
171116
public function toMessage()
    {
        $msg = new Message(array(
                $this->requestId,
                $this->action,
            ));

        $msg->append($this->params);

        return $msg;
    }
151518
public function cancel()
    {
        $url = $this->getEntityUrl() . $this->id . '/cancel';

        return $this->request(Requests::POST, $url);
    }
777861
public function build(): SetPressureNotificationsSuppressedRequest
	{
		$instance = new SetPressureNotificationsSuppressedRequest();
		if ($this->suppressed === null) {
			throw new BuilderException('Property [suppressed] is required.');
		}
		$instance->suppressed = $this->suppressed;
		return $instance;
	}
185727
public function delete()
    {
        if (!$this->isXmlHttpRequest()) {
            throw new common_exception_BadRequest('wrong request mode');
        }

        if ($this->hasRequestParameter('uri')) {
            return $this->forward('deleteResource', null, null, (array('id' => tao_helpers_Uri::decode($this->getRequestParameter('uri')))));
        } elseif ($this->hasRequestParameter('classUri')) {
            return $this->forward('deleteClass', null, null, (array('id' => tao_helpers_Uri::decode($this->getRequestParameter('classUri')))));
        } else {
            throw new common_exception_MissingParameter();
        }
    }
644783
public function delete()
    {
        $url = $this->getEntityUrl() . $this->id;
        $r = new Request();

        return $r->request(Requests::DELETE, $url);
    }
44026
public function deleteExternalMirrorRequest()
    {
        $operation = array(
            'API' => 'DeleteBucketExternalMirror',
            'Method' => 'DELETE',
            'Uri' => '/<bucket-name>?mirror',
            'Headers' => array(
                'Host' => $this->properties['zone'] . '.' . $this->config->host,
            ),
            'Params' => array(
            ),
            'Elements' => array(
            ),
            'Properties' => $this->properties,
            'Body' => null
        );
        $this->deleteExternalMirrorValidate($operation);
        $req = new Request($this->config, $operation);
        return $req;
    }
710707
public function deleteDeliveryReceiptNotificationUrl($id, $sender = null)
    {
        return $this->client->executeRequest(
            new SMSDRDeleteCallbackRequest($id, $sender ?: $this->senderNumber)
        );
    }
226744
public function send(Request $request)
    {
        $afterValidate = $request->get('afterValidate');
        $notifications = (array) $request->get('notifications', []);

        if (! $afterValidate) {
            return $this->form->get()->isValid();
        }

        $this->fire($this->findModel($notifications));

        return new JsonResponse(['message' => trans('antares/notifications::messages.widget_notification_added_to_queue')]);
    }
436055
public function delete()
    {
        $req = $this->deleteRequest();
        $retries = $this->config->connection_retries;
        $response = null;
        while (1) {
            try {
                $GLOBALS['logger']->info('Sending QingStor request: delete');
                $response = new Unpacker($this->config->client->send(
                    $req->sign()
                ));
                break;
            } catch (\Exception $e) {
                $GLOBALS['logger']->error($e->getMessage());
                if ($retries > 0) {
                    $retries -= 1;
                } else {
                    throw new \Exception('Network Error');
                }
            }
        }
        return $response;
    }
584638
public static function getAllNotificationsToDisplay()
    {
        $notifications = static::getAllNotifications();

        uasort($notifications, function ($n1, $n2) {
            /** @var Notification $n1 */ /** @var Notification $n2 */
            if ($n1->getPriority() == $n2->getPriority()) {
                return 0;
            }

            return $n1->getPriority() > $n2->getPriority() ? -1 : 1;
        });

        return $notifications;
    }
1349194
public function makeNotification()
    {
        $this->options['name'] = $this->ask('Notification Name (Example: MyNotification)');

        if ($this->confirm('Would you like to create a template for this notification command?')) {
            $this->options['--markdown'] = strtolower($this->options['name']);
        }
    }
144976
def do_notification_delete(mc, args):
    ''''''
    fields = {}
    fields['notification_id'] = args.id
    try:
        mc.notifications.delete(**fields)
    except (osc_exc.ClientException, k_exc.HttpError) as he:
        raise osc_exc.CommandError('%s\n%s' % (he.message, he.details))
    else:
        print('Successfully deleted notification')
906549
public function notify(NotifyRequest $notification): Response
    {
        if ($this->appID !== null) {
            $notification->setApplicationIdentification($this->appID);
        }

        $response = $this->sendRequest($notification);
        return $response;

    }