otcextensions.sdk.smn.v2.sms¶
The SMN Sms Class¶
The Sms
class inherits from
Resource
.
- class otcextensions.sdk.smn.v2.sms.Sms(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters:
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of
self._connection
in Resource code should protect itself with a check for None.
- base_path: str = '/notifications/sms'¶
The base part of the URI for this resource.
- allow_create = True¶
Allow create operation for this resource.
- message_id¶
Message ID, which is unique
- request_id¶
Request ID, which is unique.
- endpoint¶
Phone number. The phone number must be preceded by a plus sign (+) and a country code.
- message¶
SMS message content.