eventTypes instead. */ protected function getEventTypes(): \Twilio\Rest\Events\V1\EventTypeList { echo "eventTypes is deprecated. Use v1->eventTypes instead."; return $this->v1->eventTypes; } /** * @deprecated Use v1->eventTypes(\$type) instead. * @param string $type A string that uniquely identifies this Event Type. */ protected function contextEventTypes(string $type): \Twilio\Rest\Events\V1\EventTypeContext { echo "eventTypes(\$type) is deprecated. Use v1->eventTypes(\$type) instead."; return $this->v1->eventTypes($type); } /** * @deprecated Use v1->schemas instead. */ protected function getSchemas(): \Twilio\Rest\Events\V1\SchemaList { echo "schemas is deprecated. Use v1->schemas instead."; return $this->v1->schemas; } /** * @deprecated Use v1->schemas(\$id) instead. * @param string $id The unique identifier of the schema. */ protected function contextSchemas(string $id): \Twilio\Rest\Events\V1\SchemaContext { echo "schemas(\$id) is deprecated. Use v1->schemas(\$id) instead."; return $this->v1->schemas($id); } /** * @deprecated Use v1->sinks instead. */ protected function getSinks(): \Twilio\Rest\Events\V1\SinkList { echo "sinks is deprecated. Use v1->sinks instead."; return $this->v1->sinks; } /** * @deprecated Use v1->sinks(\$sid) instead * @param string $sid A string that uniquely identifies this Sink. */ protected function contextSinks(string $sid): \Twilio\Rest\Events\V1\SinkContext { echo "sinks(\$sid) is deprecated. Use v1->sinks(\$sid) instead."; return $this->v1->sinks($sid); } /** * @deprecated Use v1->subscriptions instead. */ protected function getSubscriptions(): \Twilio\Rest\Events\V1\SubscriptionList { echo "subscriptions is deprecated. Use v1->subscriptions instead."; return $this->v1->subscriptions; } /** * @deprecated Use v1->subscriptions(\$sid) instead. * @param string $sid A string that uniquely identifies this Subscription. */ protected function contextSubscriptions(string $sid): \Twilio\Rest\Events\V1\SubscriptionContext { echo "subscriptions(\$sid) is deprecated. Use v1->subscriptions(\$sid) instead."; return $this->v1->subscriptions($sid); } }