emnify.modules.api.models¶
Classes¶
Create a collection of name/value pairs. |
|
Create a collection of name/value pairs. |
|
Create a collection of name/value pairs. |
|
Create a collection of name/value pairs. |
|
Create a collection of name/value pairs. |
|
Create a collection of name/value pairs. |
|
Create a collection of name/value pairs. |
|
Create a collection of name/value pairs. |
|
Create a collection of name/value pairs. |
|
Create a collection of name/value pairs. |
|
Create a collection of name/value pairs. |
|
Create a collection of name/value pairs. |
|
Module Contents¶
- class emnify.modules.api.models.Authentication¶
Bases:
pydantic.BaseModel
- application_token: str | None = None¶
- username: str | None = None¶
- password: pydantic.SecretStr | None = None¶
- refresh_token: str | None = None¶
- class emnify.modules.api.models.AuthenticationResponse¶
Bases:
pydantic.BaseModel
- auth_token: str | None = None¶
- refresh_token: str | None = None¶
- class emnify.modules.api.models.Auth404Response¶
Bases:
pydantic.BaseModel
- error_code: float | None = None¶
- error_token: str | None = None¶
- message: str | None = None¶
- class emnify.modules.api.models.Field40xResponse¶
Bases:
pydantic.BaseModel
- error_code: int | None = None¶
- error_token: str | None = None¶
- message: str | None = None¶
- class emnify.modules.api.models.ChangeQuota422Response¶
Bases:
pydantic.BaseModel
- message: str | None = None¶
- class emnify.modules.api.models.Status¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- description: str | None = None¶
- class emnify.modules.api.models.Type¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- description: str | None = None¶
- class emnify.modules.api.models.CreateMFAResponse¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- secret_key: str | None = None¶
- otpauth: str | None = None¶
- creation_date: str | None = None¶
- class emnify.modules.api.models.Status1¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- code: float | None = None¶
- class emnify.modules.api.models.ActivateMFAKeyRequest¶
Bases:
pydantic.BaseModel
- class emnify.modules.api.models.Country¶
Bases:
pydantic.BaseModel
- name: str | None = None¶
- country_code: int | None = None¶
- mcc: str | None = None¶
- iso_code: str | None = None¶
- latitude: float | None = None¶
- longitude: float | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.APICallback¶
Bases:
pydantic.BaseModel
- organisation_id: str | None = None¶
- url: str | None = None¶
- created: datetime.datetime | None = None¶
- purpose: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.CallbackSecret¶
Bases:
pydantic.BaseModel
- organisation_id: str | None = None¶
- purpose: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.ApiType¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.DataStreamType¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.DataStream¶
Bases:
pydantic.BaseModel
- last_traffic_log_id: int | None = None¶
- last_event_id: str | None = None¶
- last_dispatched_timestamp: datetime.datetime | None = None¶
- last_result_code: str | None = None¶
- active: int | None = None¶
- running: int | None = None¶
- id: int | None = None¶
- api_callback: str | None = None¶
- data_stream_type: DataStreamType | None = None¶
- class emnify.modules.api.models.DataStreamType1¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.ApiType1¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- id: int | None = None¶
- route: str | None = None¶
- reqParams: str | None = None¶
- fromServer: bool | None = None¶
- parentResource: str | None = None¶
- restangularCollection: bool | None = None¶
- class emnify.modules.api.models.ApiCallback¶
Bases:
pydantic.BaseModel
- organisation_id: str | None = None¶
- url: str | None = None¶
- created: datetime.datetime | None = None¶
- purpose: str | None = None¶
- id: int | None = None¶
- route: str | None = None¶
- reqParams: str | None = None¶
- fromServer: bool | None = None¶
- parentResource: str | None = None¶
- restangularCollection: bool | None = None¶
- class emnify.modules.api.models.CreateDataStream¶
Bases:
pydantic.BaseModel
- stream_historic_data: int | None = None¶
- data_stream_type: DataStreamType1 | None = None¶
- api_callback: ApiCallback | None = None¶
- event_stream: str | None = None¶
- api_username: str | None = None¶
- api_password: str | None = None¶
- api_parameter: str | None = None¶
- class emnify.modules.api.models.TrafficType¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- unit: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.Currency¶
Bases:
pydantic.BaseModel
- code: str | None = None¶
- symbol: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.Data¶
Bases:
pydantic.BaseModel
- sim_id: float | None = None¶
- month: datetime.date | None = None¶
- volume: float | None = None¶
- volume_tx: float | None = None¶
- volume_rx: float | None = None¶
- traffic_type_id: float | None = None¶
- last_updated: datetime.datetime | None = None¶
- cost: float | None = None¶
- currency_id: float | None = None¶
- id: float | None = None¶
- traffic_type: TrafficType | None = None¶
- class emnify.modules.api.models.TrafficType1¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- unit: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.Currency1¶
Bases:
pydantic.BaseModel
- code: str | None = None¶
- symbol: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.Sms¶
Bases:
pydantic.BaseModel
- sim_id: float | None = None¶
- month: datetime.date | None = None¶
- volume: float | None = None¶
- volume_tx: float | None = None¶
- volume_rx: float | None = None¶
- traffic_type_id: float | None = None¶
- last_updated: datetime.datetime | None = None¶
- cost: float | None = None¶
- currency_id: float | None = None¶
- id: float | None = None¶
- traffic_type: TrafficType1 | None = None¶
- class emnify.modules.api.models.LastMonth¶
Bases:
pydantic.BaseModel
- class emnify.modules.api.models.SIMStatsResponseObject¶
Bases:
pydantic.BaseModel
- current_month: Dict[str, Any]¶
- last_hour: Dict[str, Any]¶
- class emnify.modules.api.models.TrafficType2¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- unit: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.Currency2¶
Bases:
pydantic.BaseModel
- code: str | None = None¶
- symbol: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.Sms1¶
Bases:
pydantic.BaseModel
- sim_id: float | None = None¶
- month: datetime.date | None = None¶
- volume: float | None = None¶
- volume_tx: float | None = None¶
- volume_rx: float | None = None¶
- traffic_type_id: float | None = None¶
- last_updated: datetime.datetime | None = None¶
- cost: float | None = None¶
- currency_id: float | None = None¶
- id: float | None = None¶
- traffic_type: TrafficType2 | None = None¶
- class emnify.modules.api.models.StatsResponseObject¶
Bases:
pydantic.BaseModel
- date: str | None = None¶
- data: Dict[str, Any] | None = None¶
- class emnify.modules.api.models.TrafficType3¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- unit: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.Currency3¶
Bases:
pydantic.BaseModel
- code: str | None = None¶
- symbol: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.Data1¶
Bases:
pydantic.BaseModel
- sim_id: float | None = None¶
- month: datetime.date | None = None¶
- volume: float | None = None¶
- volume_tx: float | None = None¶
- volume_rx: float | None = None¶
- traffic_type_id: float | None = None¶
- last_updated: datetime.datetime | None = None¶
- cost: float | None = None¶
- currency_id: float | None = None¶
- id: float | None = None¶
- traffic_type: TrafficType3 | None = None¶
- class emnify.modules.api.models.TrafficType4¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- unit: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.Currency4¶
Bases:
pydantic.BaseModel
- code: str | None = None¶
- symbol: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.Sms2¶
Bases:
pydantic.BaseModel
- sim_id: float | None = None¶
- month: datetime.date | None = None¶
- volume: float | None = None¶
- volume_tx: float | None = None¶
- volume_rx: float | None = None¶
- traffic_type_id: float | None = None¶
- last_updated: datetime.datetime | None = None¶
- cost: float | None = None¶
- currency_id: float | None = None¶
- id: float | None = None¶
- traffic_type: TrafficType4 | None = None¶
- class emnify.modules.api.models.SIMStatsDataObject¶
Bases:
pydantic.BaseModel
- class emnify.modules.api.models.TrafficType5¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- unit: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.Currency5¶
Bases:
pydantic.BaseModel
- code: str | None = None¶
- symbol: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.TrafficStatsObject¶
Bases:
pydantic.BaseModel
- sim_id: float | None = None¶
- month: datetime.date | None = None¶
- volume: float | None = None¶
- volume_tx: float | None = None¶
- volume_rx: float | None = None¶
- traffic_type_id: float | None = None¶
- last_updated: datetime.datetime | None = None¶
- cost: float | None = None¶
- currency_id: float | None = None¶
- id: float | None = None¶
- traffic_type: TrafficType5 | None = None¶
- class emnify.modules.api.models.TrafficTypeObject¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- unit: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.CurrencyObject¶
Bases:
pydantic.BaseModel
- code: str | None = None¶
- symbol: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.TrafficType6¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- unit: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.Data2¶
Bases:
pydantic.BaseModel
- volume: float | None = None¶
- volume_tx: float | None = None¶
- volume_rx: float | None = None¶
- cost: float | None = None¶
- traffic_type: TrafficType6 | None = None¶
- currency: str | None = None¶
- class emnify.modules.api.models.TrafficType7¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- unit: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.Sms3¶
Bases:
pydantic.BaseModel
- volume: float | None = None¶
- volume_tx: float | None = None¶
- volume_rx: float | None = None¶
- cost: float | None = None¶
- traffic_type: TrafficType7 | None = None¶
- currency: str | None = None¶
- class emnify.modules.api.models.StatsObjectItem¶
Bases:
pydantic.BaseModel
- date: StatsObjectItem.date | None = None¶
- class emnify.modules.api.models.StatsObject¶
Bases:
pydantic.BaseModel
- __root__: List[StatsObjectItem]¶
- class emnify.modules.api.models.TrafficType8¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- unit: str | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.VolumeObject¶
Bases:
pydantic.BaseModel
- volume: float | None = None¶
- volume_tx: float | None = None¶
- volume_rx: float | None = None¶
- cost: float | None = None¶
- traffic_type: TrafficType8 | None = None¶
- currency: str | None = None¶
- class emnify.modules.api.models.Country1¶
Bases:
pydantic.BaseModel
- name: str | None = None¶
- country_code: int | None = None¶
- mcc: float | None = None¶
- iso_code: str | None = None¶
- latitude: float | None = None¶
- longitude: float | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.SmppBind¶
Bases:
pydantic.BaseModel
- system_id: str | None = None¶
- smpp_bind_status_id: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.Country2¶
Bases:
pydantic.BaseModel
- name: str | None = None¶
- country_code: int | None = None¶
- mcc: float | None = None¶
- iso_code: str | None = None¶
- latitude: float | None = None¶
- longitude: float | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.Operator¶
Bases:
pydantic.BaseModel
- country_id: str | None = None¶
- name: str | None = None¶
- country_name: str | None = None¶
- id: int | None = None¶
- tapcodes: str | None = None¶
- mncs: str | None = None¶
- class emnify.modules.api.models.MsisdnPool¶
Bases:
pydantic.BaseModel
- resource_provider_id: str | None = None¶
- description: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.GtConfig¶
Bases:
pydantic.BaseModel
- imsi_prefix: str | None = None¶
- calling_party: str | None = None¶
- called_party_tt: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.SccpCalledPartyPrefix¶
Bases:
pydantic.BaseModel
- prefix: str | None = None¶
- tt: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.SmsRoutingData¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- sms_routing_id: str | None = None¶
- msisdn_pool: MsisdnPool | None = None¶
- sccp_called_party_prefix: SccpCalledPartyPrefix | None = None¶
- class emnify.modules.api.models.RatType¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- description: str | None = None¶
- class emnify.modules.api.models.ListofSMSresponse¶
Bases:
pydantic.BaseModel
- submit_date: str | None¶
- delivery_date: str | None¶
- expiry_date: str | None¶
- final_date: str | None¶
- retry_date: str | None = None¶
- last_delivery_attempt: str | None¶
- retry_count: str | None¶
- gsm_map_error: str | None = None¶
- dcs: int | None¶
- pid: int | None¶
- source_address: str | None¶
- endpoint: Dict[str, Any] | None¶
- sim_id: str | None¶
- iccid: str | None¶
- msisdn: str | None¶
- imsi: str | None¶
- msc: str | None¶
- udh: str | None = None¶
- payload: str | None¶
- id: int | None¶
- status: Dict[str, Any] | None¶
- sms_type: Dict[str, Any] | None¶
- source_address_type: Dict[str, Any] | None¶
- class emnify.modules.api.models.SubmitMTSMSrequest¶
Bases:
pydantic.BaseModel
- source_address: str¶
- payload: str¶
- class emnify.modules.api.models.GetdetailsofSMSresponse¶
Bases:
pydantic.BaseModel
- submit_date: str | None = None¶
- delivery_date: str | None = None¶
- expiry_date: str | None = None¶
- final_date: str | None = None¶
- retry_date: str | None = None¶
- last_delivery_attempt: str | None = None¶
- retry_count: str | None = None¶
- gsm_map_error: str | None = None¶
- dcs: int | None = None¶
- pid: int | None = None¶
- source_address: str | None = None¶
- endpoint: Dict[str, Any] | None = None¶
- sim_id: str | None = None¶
- iccid: str | None = None¶
- msisdn: str | None = None¶
- imsi: str | None = None¶
- msc: str | None = None¶
- udh: str | None = None¶
- payload: str | None = None¶
- id: int | None = None¶
- status: Dict[str, Any] | None = None¶
- sms_type: Dict[str, Any] | None = None¶
- source_address_type: Dict[str, Any] | None = None¶
- class emnify.modules.api.models.RetrieveConnectivityInformationresponse¶
Bases:
pydantic.BaseModel
- ussd_info: Dict[str, Any] | None = None¶
- subscriber_info: Dict[str, Any] | None = None¶
- request_timestamp: str | None = None¶
- reply_timestamp: str | None = None¶
- class emnify.modules.api.models.RetrieveOperatorBlacklistresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- name: str | None¶
- country: Dict[str, Any] | None¶
- tapcode: List[Dict[str, Any]] | None¶
- mnc: List[Dict[str, Any]] | None¶
- class emnify.modules.api.models.RetrievePrepaidBalanceresponse¶
Bases:
pydantic.BaseModel
- amount: float | None = None¶
- currency: Dict[str, Any] | None = None¶
- last_updated: str | None = None¶
- expiry_date: str | None = None¶
- class emnify.modules.api.models.UpdatePrepaidBalanceresponse¶
Bases:
pydantic.BaseModel
- amount: int | None = None¶
- currency: Dict[str, Any] | None = None¶
- expiry_date: str | None = None¶
- class emnify.modules.api.models.Description(*args, **kwds)¶
Bases:
enum.Enum
Create a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- EXHAUSTED = 'EXHAUSTED'¶
- ACTIVE = 'ACTIVE'¶
- EXPIRED = 'EXPIRED'¶
- class emnify.modules.api.models.Id(*args, **kwds)¶
Bases:
enum.Enum
Create a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- integer_1 = 1¶
- integer_2 = 2¶
- integer_3 = 3¶
- class emnify.modules.api.models.Status2¶
Bases:
pydantic.BaseModel
- description: Description | None = None¶
- class emnify.modules.api.models.Id1(*args, **kwds)¶
Bases:
enum.Enum
Create a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- integer_1 = 1¶
- integer_2 = 2¶
- class emnify.modules.api.models.Description1(*args, **kwds)¶
Bases:
enum.Enum
Create a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- Throttle = 'Throttle'¶
- Block = 'Block'¶
- class emnify.modules.api.models.ActionOnExhaustion¶
Bases:
pydantic.BaseModel
- description: Description1 | None = None¶
- peak_throughput: int | None = None¶
- class emnify.modules.api.models.EndpointQuota¶
Bases:
pydantic.BaseModel
- last_volume_added: float | None = None¶
- last_status_change_date: constr(regex='^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$') | None = None¶
- auto_refill: int | None = None¶
- threshold_volume: float | None = None¶
- threshold_percentage: float | None = None¶
- volume: float¶
- expiry_date: constr(regex='^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$')¶
- action_on_exhaustion: ActionOnExhaustion¶
- peak_throughput: int | None = None¶
- class emnify.modules.api.models.ThrottleCutoffVolume¶
Bases:
pydantic.BaseModel
- id: float¶
- volume: float | None = None¶
- class emnify.modules.api.models.Id2(*args, **kwds)¶
Bases:
enum.Enum
Create a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- integer_1 = 1¶
- integer_2 = 2¶
- class emnify.modules.api.models.Description2(*args, **kwds)¶
Bases:
enum.Enum
Create a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- Throttle = 'Throttle'¶
- Block = 'Block'¶
- class emnify.modules.api.models.ActionOnExhaustion1¶
Bases:
pydantic.BaseModel
- description: Description2 | None = None¶
- peak_throughput: int | None = None¶
- class emnify.modules.api.models.Description3(*args, **kwds)¶
Bases:
enum.Enum
Create a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- EXHAUSTED = 'EXHAUSTED'¶
- ACTIVE = 'ACTIVE'¶
- EXPIRED = 'EXPIRED'¶
- class emnify.modules.api.models.Id3(*args, **kwds)¶
Bases:
enum.Enum
Create a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- integer_1 = 1¶
- integer_2 = 2¶
- integer_3 = 3¶
- class emnify.modules.api.models.QuotaStatus¶
Bases:
pydantic.BaseModel
- description: Description3 | None = None¶
- class emnify.modules.api.models.SMSQuota¶
Bases:
pydantic.BaseModel
- volume: float¶
- expiry_date: datetime.datetime¶
- last_volume_added: float | None = None¶
- last_status_change_date: datetime.datetime | None = None¶
- auto_refill: bool | None = None¶
- threshold_percentage: float¶
- threshold_volume: float | None = None¶
- status: QuotaStatus¶
- action_on_exhaustion: ActionOnExhaustion1 | None = None¶
- class emnify.modules.api.models.RetrieveEventsresponse¶
Bases:
pydantic.BaseModel
- timestamp: str | None¶
- alert: bool | None¶
- description: str | None¶
- id: int | None¶
- event_type: Dict[str, Any] | None¶
- event_source: Dict[str, Any] | None¶
- event_severity: Dict[str, Any] | None¶
- organisation: Dict[str, Any] | None¶
- endpoint: Dict[str, Any] | None¶
- sim: Dict[str, Any] | None¶
- imsi: Dict[str, Any] | None¶
- class emnify.modules.api.models.StartingaUSSDDialogrequest¶
Bases:
pydantic.BaseModel
- ussd_begin: Dict[str, Any]¶
- class emnify.modules.api.models.StartingaUSSDDialogresponse¶
Bases:
pydantic.BaseModel
- session_id: str | None¶
- class emnify.modules.api.models.RetrieveOrganisationListresponse¶
Bases:
pydantic.BaseModel
- id: int¶
- name: str¶
- class_: Dict[str, Any]¶
- type: Dict[str, Any]¶
- country: Dict[str, Any]¶
- status: Dict[str, Any]¶
- relation: Dict[str, Any]¶
- monthly_cost_limit: int¶
- currency: Dict[str, Any]¶
- created: str¶
- verification_type: Dict[str, Any]¶
- verification: str¶
- class emnify.modules.api.models.CreateanOrganisationrequest¶
Bases:
pydantic.BaseModel
- name: str¶
- class_: Dict[str, Any]¶
- type: Dict[str, Any]¶
- country: Dict[str, Any]¶
- status: Dict[str, Any]¶
- relation: Dict[str, Any]¶
- currency: Dict[str, Any]¶
- verification_type: Dict[str, Any]¶
- verification: str¶
- ext_reference: str¶
- monthly_cost_limit: int¶
- class emnify.modules.api.models.RetrieveaSingleOrganisationresponse¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- name: str | None = None¶
- class_: Dict[str, Any] | None¶
- type: Dict[str, Any] | None = None¶
- country: Dict[str, Any] | None = None¶
- status: Dict[str, Any] | None = None¶
- relation: Dict[str, Any] | None = None¶
- monthly_cost_limit: int | None = None¶
- currency: Dict[str, Any] | None = None¶
- created: str | None = None¶
- verification_type: Dict[str, Any] | None = None¶
- verification: str | None = None¶
- class emnify.modules.api.models.UpdateOrganisationrequest¶
Bases:
pydantic.BaseModel
- name: str¶
- class_: Dict[str, Any]¶
- type: Dict[str, Any]¶
- country: Dict[str, Any]¶
- status: Dict[str, Any]¶
- ext_reference: str¶
- monthly_cost_limit: int¶
- currency: Dict[str, Any]¶
- verification_type: Dict[str, Any]¶
- verification: str¶
- class emnify.modules.api.models.RetrieveOrganisationStatusesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- description: str | None¶
- class emnify.modules.api.models.RetrieveAvailableOrganisationTypesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- description: str | None¶
- class emnify.modules.api.models.RetrieveAvailableOrganisationRelationTypesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- description: str | None¶
- class emnify.modules.api.models.RetrieveAvailableOrganisationVerificationTypesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- description: str | None¶
- class emnify.modules.api.models.RetrieveContactsforanOrganisationresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- organisation: Dict[str, Any] | None¶
- type: Dict[str, Any] | None¶
- name: str | None¶
- title: str | None¶
- department: str | None¶
- street: str | None¶
- zipcode: str | None¶
- city: str | None¶
- country: Dict[str, Any] | None¶
- email: str | None¶
- phone: str | None¶
- mobile: str | None¶
- state: str | None = None¶
- secondary_address: str | None = None¶
- class emnify.modules.api.models.CreateaContactforanOrganisationrequest¶
Bases:
pydantic.BaseModel
- type: Dict[str, Any]¶
- name: str¶
- title: str¶
- department: str¶
- street: str¶
- zipcode: str¶
- city: str¶
- country: Dict[str, Any]¶
- email: str¶
- phone: str¶
- mobile: str¶
- state: str | None = None¶
- secondary_address: str | None = None¶
- class emnify.modules.api.models.RetrieveaSingleContactresponse¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- organisation: Dict[str, Any] | None = None¶
- type: Dict[str, Any] | None = None¶
- name: str | None = None¶
- title: str | None = None¶
- department: str | None = None¶
- street: str | None = None¶
- zipcode: str | None = None¶
- city: str | None = None¶
- country: Dict[str, Any] | None = None¶
- email: str | None = None¶
- phone: str | None = None¶
- mobile: str | None = None¶
- state: str | None = None¶
- secondary_address: str | None = None¶
- class emnify.modules.api.models.UpdateaSingleContactresponse¶
Bases:
pydantic.BaseModel
- type: Dict[str, Any] | None = None¶
- name: str | None = None¶
- title: str | None = None¶
- department: str | None = None¶
- street: str | None = None¶
- zipcode: str | None = None¶
- city: str | None = None¶
- country: Dict[str, Any] | None = None¶
- email: str | None = None¶
- phone: str | None = None¶
- mobile: str | None = None¶
- class emnify.modules.api.models.Retrievelistofassignedtariffsforanorganisationresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- name: str | None¶
- description: str | None¶
- created: str | None¶
- default_sms_mt_rate: float | None¶
- default_sms_mo_rate: float | None¶
- sim_issued_rate: float | None¶
- sim_activated_rate: float | None¶
- sim_suspended_rate: float | None¶
- sim_activation_rate: float | None¶
- sim_reactivation_rate: float | None¶
- sim_suspension_rate: float | None¶
- sim_termination_rate: float | None¶
- status: Dict[str, Any] | None¶
- currency: Dict[str, Any] | None¶
- data_blocksize: Dict[str, Any] | None¶
- data_throttle: Dict[str, Any] | None¶
- pdp_context_definition: List[Dict[str, Any]] | None¶
- class emnify.modules.api.models.RetrieveBillingPeriodsresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- description: str | None¶
- class emnify.modules.api.models.RetrieveBillingDataByPeriodResponse¶
Bases:
pydantic.BaseModel
- __root__: Any¶
- class emnify.modules.api.models.RetrieveSIMlistresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- iccid: str | None¶
- production_date: str | None¶
- activation_date: str | None¶
- status: Dict[str, Any] | None¶
- customer_org: Dict[str, Any] | None¶
- issuer_org: Dict[str, Any] | None¶
- endpoint: Dict[str, Any] | None¶
- imsi: str | None¶
- msisdn: str | None¶
- model: Dict[str, Any] | None¶
- reseller_org: Dict[str, Any] | None¶
- class emnify.modules.api.models.SIMResource¶
Bases:
pydantic.BaseModel
- id: int | None¶
- iccid: str | None¶
- production_date: str | None¶
- activation_date: str | None¶
- status: Dict[str, Any] | None¶
- customer_org: Dict[str, Any] | None¶
- issuer_org: Dict[str, Any] | None¶
- endpoint: Dict[str, Any] | None = None¶
- imsi: str | None¶
- msisdn: str | None¶
- model: Dict[str, Any] | None = None¶
- reseller_org: Dict[str, Any] | None = None¶
- class emnify.modules.api.models.UpdateSIMrequest¶
Bases:
pydantic.BaseModel
- issuer_org: Dict[str, Any]¶
- reseller_org: Dict[str, Any]¶
- customer_org: Dict[str, Any]¶
- status: Dict[str, Any]¶
- class emnify.modules.api.models.ListofAllAvailableSIMStatusesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- description: str | None¶
- class emnify.modules.api.models.ListofIMSIsresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- imsi: str | None¶
- import_date: str | None¶
- status: Dict[str, Any] | None¶
- imsi_pool: Dict[str, Any] | None¶
- type: Dict[str, Any] | None¶
- sim: Dict[str, Any] | None¶
- class emnify.modules.api.models.RetrieveIMSIByIDresponse¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- imsi: str | None = None¶
- import_date: str | None = None¶
- status: Dict[str, Any] | None = None¶
- imsi_pool: Dict[str, Any] | None = None¶
- type: Dict[str, Any] | None = None¶
- sim: Dict[str, Any] | None = None¶
- class emnify.modules.api.models.UpdateIMSIrequest¶
Bases:
pydantic.BaseModel
- status: Dict[str, Any]¶
- class emnify.modules.api.models.ListofallavailableIMSIstatusesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- description: str | None¶
- class emnify.modules.api.models.ListofTariffsresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- name: str | None¶
- description: str | None¶
- created: str | None¶
- default_sms_mt_rate: float | None¶
- default_sms_mo_rate: float | None¶
- sim_issued_rate: float | None¶
- sim_activated_rate: float | None¶
- sim_suspended_rate: float | None¶
- sim_activation_rate: float | None¶
- sim_reactivation_rate: float | None¶
- sim_suspension_rate: float | None¶
- sim_termination_rate: float | None¶
- used_count: int | None¶
- assigned_count: int | None¶
- status: Dict[str, Any] | None¶
- currency: Dict[str, Any] | None¶
- data_blocksize: Dict[str, Any] | None¶
- data_throttle: Dict[str, Any] | None¶
- pdp_context_definition: List[Dict[str, Any]] | None¶
- class emnify.modules.api.models.CreateTariffrequest¶
Bases:
pydantic.BaseModel
- name: str¶
- description: str | None = None¶
- default_sms_mt_rate: float | None = None¶
- default_sms_mo_rate: float | None = None¶
- sim_issued_rate: float | None = None¶
- sim_activated_rate: float | None = None¶
- sim_suspended_rate: float | None = None¶
- sim_activation_rate: float | None = None¶
- sim_reactivation_rate: float | None = None¶
- sim_suspension_rate: float | None = None¶
- sim_termination_rate: float | None = None¶
- currency: Dict[str, Any] | None = None¶
- data_blocksize: Dict[str, Any] | None = None¶
- data_throttle: Dict[str, Any] | None = None¶
- class emnify.modules.api.models.TariffCategory¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- name: str¶
- used_by: int | None = None¶
- class emnify.modules.api.models.RetrieveTariffresponse¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- name: str | None = None¶
- description: str | None = None¶
- created: str | None = None¶
- default_sms_mt_rate: float | None = None¶
- default_sms_mo_rate: float | None = None¶
- sim_issued_rate: float | None = None¶
- sim_activated_rate: float | None = None¶
- sim_suspended_rate: float | None = None¶
- sim_activation_rate: float | None = None¶
- sim_reactivation_rate: float | None = None¶
- sim_suspension_rate: float | None = None¶
- sim_termination_rate: float | None = None¶
- used_count: int | None = None¶
- assigned_count: int | None = None¶
- status: Dict[str, Any] | None = None¶
- currency: Dict[str, Any] | None = None¶
- data_blocksize: Dict[str, Any] | None = None¶
- data_throttle: Dict[str, Any] | None = None¶
- pdp_context_definition: List[Dict[str, Any]] | None¶
- public: bool | None = None¶
- tariff_category: TariffCategory | None¶
- class emnify.modules.api.models.PatchTariffrequest¶
Bases:
pydantic.BaseModel
- name: str | None = None¶
- description: str | None = None¶
- default_sms_mt_rate: float | None = None¶
- default_sms_mo_rate: float | None = None¶
- sim_issued_rate: float | None = None¶
- sim_activated_rate: float | None = None¶
- sim_suspended_rate: float | None = None¶
- sim_activation_rate: float | None = None¶
- sim_reactivation_rate: float | None = None¶
- sim_suspension_rate: float | None = None¶
- sim_termination_rate: float | None = None¶
- status: Dict[str, Any] | None = None¶
- currency: Dict[str, Any] | None = None¶
- data_blocksize: Dict[str, Any] | None = None¶
- data_throttle: Dict[str, Any] | None = None¶
- class emnify.modules.api.models.ListofavailableTariffstatusesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- description: str | None¶
- class emnify.modules.api.models.ListofRatezonesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- name: str | None¶
- status: Dict[str, Any] | None¶
- valid_from: str | None¶
- valid_until: str | None = None¶
- coverage: List[Dict[str, Any]] | None¶
- rate: List[Dict[str, Any]] | None¶
- class emnify.modules.api.models.AddRatezonetoTariffrequest¶
Bases:
pydantic.BaseModel
- name: str¶
- valid_from: str¶
- valid_until: str¶
- class emnify.modules.api.models.PatchRatezonerequest¶
Bases:
pydantic.BaseModel
- name: str¶
- status: Dict[str, Any]¶
- valid_from: str¶
- valid_until: str¶
- class emnify.modules.api.models.Listofavailableratezonestatusesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- description: str | None¶
- class emnify.modules.api.models.AddRatetoaRatezonerequest¶
Bases:
pydantic.BaseModel
- rate: float¶
- volume: int¶
- currency: Dict[str, Any]¶
- service: Dict[str, Any]¶
- valid_from: str¶
- valid_until: str¶
- class emnify.modules.api.models.UpdateRateofaRatezonerequest¶
Bases:
pydantic.BaseModel
- valid_from: str¶
- valid_until: str¶
- class emnify.modules.api.models.ListofTariffProfilesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- name: str | None¶
- description: str | None¶
- used_count: int | None¶
- tariff: Dict[str, Any] | None¶
- class emnify.modules.api.models.CreateTariffProfilerequest¶
Bases:
pydantic.BaseModel
- name: str¶
- description: str¶
- tariff: Dict[str, Any]¶
- class emnify.modules.api.models.RetrieveTariffProfileresponse¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- name: str | None = None¶
- description: str | None = None¶
- used_count: int | None = None¶
- tariff: Dict[str, Any] | None = None¶
- ratezone: List[Dict[str, Any]] | None¶
- class emnify.modules.api.models.PatchTariffProfilerequest¶
Bases:
pydantic.BaseModel
- name: str¶
- description: str¶
- tariff: Dict[str, Any]¶
- class emnify.modules.api.models.RetrieveCoverageresponse¶
Bases:
pydantic.BaseModel
- country: Dict[str, Any] | None¶
- redundancy_count: int | None¶
- class emnify.modules.api.models.Retrievesingleselectionsresponse¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- tariff_plan: Dict[str, Any] | None = None¶
- status: Dict[str, Any] | None = None¶
- start_date: str | None = None¶
- expiry_date: str | None = None¶
- selection_date: str | None = None¶
- payment: List[Dict[str, Any]] | None¶
- class emnify.modules.api.models.RetrieveServiceProfileListresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- name: str | None¶
- description: str | None¶
- used_count: str | None¶
- allowed_3g: bool | None¶
- allowed_4g: bool | None¶
- allowed_nb_iot: bool | None¶
- apply_sms_quota: bool | None¶
- apply_data_quota: bool | None¶
- class emnify.modules.api.models.CreateaServiceProfilerequest¶
Bases:
pydantic.BaseModel
- name: str | None = None¶
- description: str | None = None¶
- allowed_3g: bool | None = None¶
- allowed_4g: bool | None = None¶
- allowed_nb_iot: bool | None = None¶
- apply_sms_quota: bool | None = None¶
- apply_data_quota: bool | None = None¶
- retail: bool | None = None¶
- sms_p2p_int: bool | None = None¶
- sms_p2p_ext: bool | None = None¶
- prepaid: bool | None = None¶
- nipdp: bool | None = None¶
- api_callback: Dict[str, Any] | None = None¶
- api_secret: Dict[str, Any] | None = None¶
- moc_callback: Dict[str, Any] | None = None¶
- esme_interface_type: Dict[str, Any] | None = None¶
- breakout_region: Dict[str, Any] | None = None¶
- dns: Dict[str, Any] | None = None¶
- class emnify.modules.api.models.RetrieveaSingleServiceProfileresponse¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- name: str | None = None¶
- description: str | None = None¶
- allowed_3g: bool | None = None¶
- allowed_4g: bool | None = None¶
- allowed_nb_iot: bool | None = None¶
- apply_sms_quota: bool | None = None¶
- apply_data_quota: bool | None = None¶
- retail: bool | None = None¶
- sms_p2p_int: bool | None = None¶
- sms_p2p_ext: bool | None = None¶
- prepaid: bool | None = None¶
- nipdp: bool | None = None¶
- used_count: int | None = None¶
- api_callback: Dict[str, Any] | None = None¶
- api_secret: Dict[str, Any] | None = None¶
- moc_callback: Dict[str, Any] | None = None¶
- esme_interface_type: Dict[str, Any] | None = None¶
- breakout_region: Dict[str, Any] | None = None¶
- service: List[Dict[str, Any]] | None¶
- class emnify.modules.api.models.UpdateServiceProfilerequest¶
Bases:
pydantic.BaseModel
- name: str | None = None¶
- description: str | None = None¶
- allowed_3g: bool | None = None¶
- allowed_4g: bool | None = None¶
- allowed_nb_iot: bool | None = None¶
- apply_sms_quota: bool | None = None¶
- apply_data_quota: bool | None = None¶
- retail: bool | None = None¶
- sms_p2p_int: bool | None = None¶
- sms_p2p_ext: bool | None = None¶
- prepaid: bool | None = None¶
- nipdp: bool | None = None¶
- api_callback: Dict[str, Any] | None = None¶
- api_secret: Dict[str, Any] | None = None¶
- moc_callback: Dict[str, Any] | None = None¶
- esme_interface_type: Dict[str, Any] | None = None¶
- breakout_region: Dict[str, Any] | None = None¶
- dns: Dict[str, Any] | None = None¶
- class emnify.modules.api.models.RetrieveAvailableServicesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- description: str | None¶
- teleservice_code: int | None¶
- used_with_vlr: bool | None¶
- used_with_sgsn: bool | None¶
- traffic_type: Dict[str, Any] | None¶
- class emnify.modules.api.models.RetrieveavailableTrafficLimitsresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- service: Dict[str, Any] | None¶
- volume: int | None¶
- period: Dict[str, Any] | None¶
- class emnify.modules.api.models.CreateTrafficLimitrequest¶
Bases:
pydantic.BaseModel
- service: List[Dict[str, Any]]¶
- volume: int¶
- period: Dict[str, Any]¶
- class emnify.modules.api.models.Period¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- time_units: int | None = None¶
- unit: str | None¶
- class emnify.modules.api.models.ServiceTrafficLimitsResponseItem¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- volume: int | None = None¶
- class emnify.modules.api.models.ServiceTrafficLimitsResponse¶
Bases:
pydantic.BaseModel
- __root__: List[ServiceTrafficLimitsResponseItem]¶
- class emnify.modules.api.models.RetrieveDNSlistresponseItem¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- primary: str | None = None¶
- secondary: str | None = None¶
- ip_address_version: int | None = None¶
- class emnify.modules.api.models.RetrieveDNSlistresponse¶
Bases:
pydantic.BaseModel
- __root__: List[RetrieveDNSlistresponseItem]¶
- class emnify.modules.api.models.CreateaDNSentryrequest¶
Bases:
pydantic.BaseModel
- primary: str¶
- secondary: str¶
- ip_address_version: int¶
- class emnify.modules.api.models.Status3¶
Bases:
pydantic.BaseModel
- id: float | None¶
- description: str | None¶
- class emnify.modules.api.models.Organisation¶
Bases:
pydantic.BaseModel
- id: float | None¶
- name: str | None¶
- class emnify.modules.api.models.User¶
Bases:
pydantic.BaseModel
- id: int | None¶
- username: str | None¶
- name: str | None¶
- created: str | None¶
- organisation: Organisation | None = None¶
- class emnify.modules.api.models.CreateUserrequest¶
Bases:
pydantic.BaseModel
- username: str¶
- name: str¶
- organisation: Dict[str, Any]¶
- roles: List[Dict[str, Any]]¶
- class emnify.modules.api.models.RetrievetheUserresponse¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- username: str | None = None¶
- name: str | None = None¶
- created: str | None = None¶
- status: Dict[str, Any] | None = None¶
- organisation: Dict[str, Any] | None = None¶
- roles: List[Dict[str, Any]] | None¶
- mfa: List[Dict[str, Any]] | None¶
- class emnify.modules.api.models.UpdateUserrequest¶
Bases:
pydantic.BaseModel
- username: str¶
- name: str¶
- status: Dict[str, Any]¶
- class emnify.modules.api.models.RetrieveUserByUsernameresponse¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- username: str | None = None¶
- name: str | None = None¶
- created: str | None = None¶
- status: Dict[str, Any] | None = None¶
- organisation: Dict[str, Any] | None = None¶
- class emnify.modules.api.models.RetrieveAvailableUserStatusesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- description: str | None¶
- class emnify.modules.api.models.EventType¶
Bases:
pydantic.BaseModel
- id: float | None¶
- description: str | None¶
- class emnify.modules.api.models.EventSource¶
Bases:
pydantic.BaseModel
- id: float | None¶
- description: str | None¶
- class emnify.modules.api.models.EventSeverity¶
Bases:
pydantic.BaseModel
- id: float | None¶
- description: str | None¶
- class emnify.modules.api.models.Organisation1¶
Bases:
pydantic.BaseModel
- id: float | None¶
- name: str | None¶
- class emnify.modules.api.models.User1¶
Bases:
pydantic.BaseModel
- id: float | None¶
- username: str | None¶
- name: str | None¶
- class emnify.modules.api.models.Event¶
Bases:
pydantic.BaseModel
- id: int | None¶
- alert: bool | None = None¶
- description: str | None¶
- timestamp: str | None¶
- event_source: EventSource | None = None¶
- event_severity: EventSeverity | None = None¶
- organisation: Organisation1 | None = None¶
- class emnify.modules.api.models.RetrieveEventsresponse4¶
Bases:
pydantic.BaseModel
- id: int¶
- alert: bool¶
- description: str¶
- timestamp: str¶
- event_type: Dict[str, Any]¶
- event_source: Dict[str, Any]¶
- event_severity: Dict[str, Any]¶
- organisation: Dict[str, Any]¶
- user: Dict[str, Any]¶
- class emnify.modules.api.models.AccountActivationrequest¶
Bases:
pydantic.BaseModel
- activationKey: str¶
- password: str¶
- class emnify.modules.api.models.ReSendActivationMailrequest¶
Bases:
pydantic.BaseModel
- username: str¶
- g_recaptcha_response: str¶
- class emnify.modules.api.models.Id4(*args, **kwds)¶
Bases:
enum.Enum
Create a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- number_0 = 0¶
- number_1 = 1¶
- class emnify.modules.api.models.CoverageUpdateVPLMNStatusPatch¶
Bases:
pydantic.BaseModel
- class emnify.modules.api.models.ChangePasswordrequest¶
Bases:
pydantic.BaseModel
- old_password: str¶
- new_password: str¶
- class emnify.modules.api.models.ChangePassword422response¶
Bases:
pydantic.BaseModel
- error_code: int | None = None¶
- error_token: str | None = None¶
- message: str | None = None¶
- errors: List[Dict[str, Any]] | None¶
- class emnify.modules.api.models.RetrieveownIPAddressSpacesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- ip_address_space: str | None¶
- ip_address_version: int | None¶
- used_count: int | None¶
- available_count: int | None¶
- class emnify.modules.api.models.RetrieveAvailableAddressSpacesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- ip_address_space: str | None¶
- ip_address_version: int | None¶
- class emnify.modules.api.models.RetrieveEventsresponse5¶
Bases:
pydantic.BaseModel
- id: int¶
- alert: bool¶
- description: str¶
- timestamp: str¶
- event_type: Dict[str, Any]¶
- event_source: Dict[str, Any]¶
- event_severity: Dict[str, Any]¶
- organisation: Dict[str, Any]¶
- user: Dict[str, Any] | None¶
- endpoint: Dict[str, Any] | None¶
- sim: Dict[str, Any] | None¶
- imsi: Dict[str, Any] | None¶
- detail: Dict[str, Any] | None¶
- class emnify.modules.api.models.RetrieveEventTypesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- description: str | None¶
- class emnify.modules.api.models.RetrieveAvailableCountriesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- name: str | None¶
- country_code: str | None¶
- mcc: str | None¶
- iso_code: str | None¶
- class emnify.modules.api.models.RetrieveAvailableCurrenciesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- code: str | None¶
- symbol: str | None¶
- class emnify.modules.api.models.RetrieveAvailableDataBlocksizesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- octets: str | None¶
- description: str | None¶
- class emnify.modules.api.models.RetrieveAvailableDataThrottlesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- octets: str | None¶
- description: str | None¶
- class emnify.modules.api.models.RetrieveAvailableOperatorsresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- name: str | None¶
- country: Dict[str, Any] | None¶
- tapcode: List[Dict[str, Any]] | None¶
- mnc: List[Dict[str, Any]] | None¶
- class emnify.modules.api.models.RetrieveAvailableBreakoutRegionsresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- name: str | None¶
- ip_address: str | None¶
- class emnify.modules.api.models.TariffPlanStatusesGetResponse¶
Bases:
pydantic.BaseModel
- __root__: Any¶
- class emnify.modules.api.models.TariffPlanConfigGetResponse¶
Bases:
pydantic.BaseModel
- __root__: Any¶
- class emnify.modules.api.models.RetrieveAvailableESMEInterfaceTypesresponse¶
Bases:
pydantic.BaseModel
- id: int¶
- description: str¶
- class emnify.modules.api.models.PDPContextDefinitionsGetResponse¶
Bases:
pydantic.BaseModel
- class emnify.modules.api.models.Organisation2¶
Bases:
pydantic.BaseModel
- name: str | None = None¶
- organisation_type_id: str | None = None¶
- country_id: str | None = None¶
- organisation_status_id: str | None = None¶
- ext_reference: str | None = None¶
- monthly_cost_limit: str | None = None¶
- currency_id: int | None = None¶
- organisation_class_id: int | None = None¶
- created: datetime.datetime | None = None¶
- verification_type_id: str | None = None¶
- verification: str | None = None¶
- brand_id: str | None = None¶
- default_sms_routing_id: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.PDPContextDefinitionsCreateUpdate¶
Bases:
pydantic.BaseModel
- apn: str | None = None¶
- organisation: Organisation2 | None = None¶
- auto_assign: float | None = None¶
- qos_subscribed: str | None = None¶
- ext_qos_subscribed: str | None = None¶
- ext2_qos_subscribed: str | None = None¶
- ext3_qos_subscribed: str | None = None¶
- ext4_qos_subscribed: str | None = None¶
- class emnify.modules.api.models.PDPContextDefinitionsCreateResponse¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- class emnify.modules.api.models.QoSDefinitionCreateRequest¶
Bases:
pydantic.BaseModel
- max_bandwidth_dl: conint(ge=0, le=4294967295) | None = None¶
- max_bandwidth_ul: conint(ge=0, le=4294967295) | None = None¶
- class emnify.modules.api.models.RatType2¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- description: str | None = None¶
- class emnify.modules.api.models.QoSDefinitionGetResponse¶
Bases:
pydantic.BaseModel
- max_bandwidth_dl: int | None = None¶
- max_bandwidth_ul: int | None = None¶
- class emnify.modules.api.models.QoSDefinitionPatchRequest¶
Bases:
pydantic.BaseModel
- max_bandwidth_dl: conint(ge=0, le=4294967295) | None = None¶
- max_bandwidth_ul: conint(ge=0, le=4294967295) | None = None¶
- class emnify.modules.api.models.IOTCreate¶
Bases:
pydantic.BaseModel
- mnc: int | None = None¶
- mcc: int | None = None¶
- network_coverage: NetworkCoverage | None¶
- traffic_type: TrafficType9 | None¶
- rate: float | None = None¶
- volume: int | None = None¶
- blocksize: int | None = None¶
- valid_from: datetime.datetime | None = None¶
- class emnify.modules.api.models.LocalDate¶
Bases:
pydantic.BaseModel
- __root__: constr(regex='^\\d{4}-\\d{2}-\\d{2}$')¶
- class emnify.modules.api.models.LocalDateTime¶
Bases:
pydantic.BaseModel
- __root__: constr(regex='^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\{2}$')¶
- class emnify.modules.api.models.Currency7¶
Bases:
pydantic.BaseModel
- code: str | None = None¶
- symbol: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.GtConfig1¶
Bases:
pydantic.BaseModel
- imsi_prefix: str | None = None¶
- calling_party: str | None = None¶
- called_party_tt: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.MsisdnPool1¶
Bases:
pydantic.BaseModel
- resource_provider_id: str | None = None¶
- description: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.Country3¶
Bases:
pydantic.BaseModel
- name: str | None = None¶
- country_code: int | None = None¶
- mcc: float | None = None¶
- iso_code: str | None = None¶
- latitude: float | None = None¶
- longitude: float | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.Operator1¶
Bases:
pydantic.BaseModel
- country_id: str | None = None¶
- name: str | None = None¶
- country_name: str | None = None¶
- id: int | None = None¶
- tapcodes: str | None = None¶
- mncs: str | None = None¶
- class emnify.modules.api.models.Organisation3¶
Bases:
pydantic.BaseModel
- name: str | None = None¶
- organisation_type_id: str | None = None¶
- country_id: str | None = None¶
- organisation_status_id: str | None = None¶
- ext_reference: str | None = None¶
- monthly_cost_limit: str | None = None¶
- currency_id: int | None = None¶
- organisation_class_id: int | None = None¶
- created: datetime.datetime | None = None¶
- verification_type_id: str | None = None¶
- verification: str | None = None¶
- brand_id: str | None = None¶
- default_sms_routing_id: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.OrgPrepaidBalance¶
Bases:
pydantic.BaseModel
- amount: float | None = None¶
- external_payment_identifier: str | None = None¶
- payment_option: PaymentOption | None = None¶
- class emnify.modules.api.models.SmppBind1¶
Bases:
pydantic.BaseModel
- system_id: str | None = None¶
- smpp_bind_status_id: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.SmsRoutingListItem¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- description: str | None = None¶
- organisation: Dict[str, Any] | None = None¶
- class emnify.modules.api.models.SmsRoutingList1¶
Bases:
pydantic.BaseModel
- name: str | None = None¶
- organisation_type_id: str | None = None¶
- country_id: str | None = None¶
- organisation_status_id: str | None = None¶
- ext_reference: str | None = None¶
- monthly_cost_limit: str | None = None¶
- currency_id: int | None = None¶
- organisation_class_id: int | None = None¶
- created: datetime.datetime | None = None¶
- verification_type_id: str | None = None¶
- verification: str | None = None¶
- brand_id: str | None = None¶
- default_sms_routing_id: str | None = None¶
- id: int | None¶
- class emnify.modules.api.models.SmsRoutingList¶
Bases:
pydantic.BaseModel
- __root__: List[SmsRoutingListItem] | SmsRoutingList1¶
- class emnify.modules.api.models.Organisation4¶
Bases:
pydantic.BaseModel
- name: str | None = None¶
- organisation_type_id: str | None = None¶
- country_id: str | None = None¶
- organisation_status_id: str | None = None¶
- ext_reference: str | None = None¶
- monthly_cost_limit: str | None = None¶
- currency_id: int | None = None¶
- organisation_class_id: int | None = None¶
- created: datetime.datetime | None = None¶
- verification_type_id: str | None = None¶
- verification: str | None = None¶
- brand_id: str | None = None¶
- default_sms_routing_id: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.SmsRoutingEntry¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- description: str | None = None¶
- organisation: Organisation4 | None = None¶
- class emnify.modules.api.models.SccpCalledPartyPrefix1¶
Bases:
pydantic.BaseModel
- prefix: str | None = None¶
- tt: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.Country4¶
Bases:
pydantic.BaseModel
- name: str | None = None¶
- country_code: int | None = None¶
- mcc: float | None = None¶
- iso_code: str | None = None¶
- latitude: float | None = None¶
- longitude: float | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.SmppBind2¶
Bases:
pydantic.BaseModel
- system_id: str | None = None¶
- smpp_bind_status_id: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.Country5¶
Bases:
pydantic.BaseModel
- name: str | None = None¶
- country_code: int | None = None¶
- mcc: float | None = None¶
- iso_code: str | None = None¶
- latitude: float | None = None¶
- longitude: float | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.Operator2¶
Bases:
pydantic.BaseModel
- country_id: str | None = None¶
- name: str | None = None¶
- country_name: str | None = None¶
- id: int | None = None¶
- tapcodes: str | None = None¶
- mncs: str | None = None¶
- class emnify.modules.api.models.MsisdnPool2¶
Bases:
pydantic.BaseModel
- resource_provider_id: str | None = None¶
- description: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.GtConfig2¶
Bases:
pydantic.BaseModel
- imsi_prefix: str | None = None¶
- calling_party: str | None = None¶
- called_party_tt: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.SccpCalledPartyPrefix2¶
Bases:
pydantic.BaseModel
- prefix: str | None = None¶
- tt: str | None = None¶
- id: int | None = None¶
- class emnify.modules.api.models.SmsRoutingDataCreateUpdateRequest¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- sms_routing_id: str | None = None¶
- msisdn_pool: MsisdnPool2 | None = None¶
- sccp_called_party_prefix: SccpCalledPartyPrefix2 | None = None¶
- class emnify.modules.api.models.GetEntryPoints¶
Bases:
pydantic.BaseModel
- method: str¶
- uri: str¶
- description: str¶
- class emnify.modules.api.models.OperatorPostRequest¶
Bases:
pydantic.BaseModel
- name: str¶
- country: Dict[str, Any] | None = None¶
- id: float | None = None¶
- class emnify.modules.api.models.CreateMFAKeyresponse¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- status: Dict[str, Any] | None = None¶
- type: Dict[str, Any] | None = None¶
- secret_key: str | None = None¶
- otpauth: str | None = None¶
- creation_date: str | None = None¶
- class emnify.modules.api.models.ActivateMFAKeyrequest¶
Bases:
pydantic.BaseModel
- status: Dict[str, Any]¶
- code: str¶
- class emnify.modules.api.models.MFAKeyStatusLookupresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- description: str | None¶
- class emnify.modules.api.models.MFAKeyTypeLookupresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- description: str | None¶
- class emnify.modules.api.models.Listoftrusteddevicesresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- operating_system: str | None¶
- browser: str | None¶
- activation_date: str | None¶
- class emnify.modules.api.models.ListofApplicationTokensresponse¶
Bases:
pydantic.BaseModel
- id: int | None¶
- description: str | None¶
- created: str | None¶
- status: Dict[str, Any] | None¶
- expiry_date: str | None¶
- ip: str | None¶
- creator: Dict[str, Any] | None¶
- class emnify.modules.api.models.CreateApplicationTokenrequest¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- expiry_date: str | None = None¶
- ip: str | None = None¶
- class emnify.modules.api.models.CreateApplicationTokenresponse¶
Bases:
pydantic.BaseModel
- application_token: str | None = None¶
- class emnify.modules.api.models.ApplicationToken¶
Bases:
pydantic.BaseModel
- description: str | None = None¶
- status: Dict[str, Any] | None = None¶
- class emnify.modules.api.models.EndpointStatus¶
Bases:
pydantic.BaseModel
- id: int¶
- description: str | None = None¶
- class emnify.modules.api.models.ServiceProfile¶
Bases:
pydantic.BaseModel
- id: int¶
- name: str | None = None¶
- class emnify.modules.api.models.TariffProfile¶
Bases:
pydantic.BaseModel
- id: int¶
- name: str | None = None¶
- class emnify.modules.api.models.Sim¶
Bases:
pydantic.BaseModel
- id: int¶
- iccid: str | None = None¶
- msisdn: str | None = None¶
- imsi: str | None = None¶
- class emnify.modules.api.models.Status5¶
Bases:
pydantic.BaseModel
- id: int¶
- description: str | None = None¶
- class emnify.modules.api.models.ServiceProfile1¶
Bases:
pydantic.BaseModel
- id: int¶
- name: str | None = None¶
- class emnify.modules.api.models.TariffProfile1¶
Bases:
pydantic.BaseModel
- id: int¶
- name: str | None = None¶
- class emnify.modules.api.models.Sim1¶
Bases:
pydantic.BaseModel
- id: int¶
- iccid: str | None = None¶
- msisdn: str | None = None¶
- imsi: str | None = None¶
- class emnify.modules.api.models.Endpoint¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- name: str¶
- tags: str | None = None¶
- service_profile: ServiceProfile1¶
- tariff_profile: TariffProfile1¶
- ip_address: str | None = None¶
- ip_address_space: IpAddressSpace1 | None¶
- imei: str | None = None¶
- imei_lock: bool | None = None¶
- created: datetime.datetime | None = None¶
- last_updated: datetime.datetime | None = None¶
- class emnify.modules.api.models.RetrieveSingleEndpointresponse¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- name: str | None = None¶
- tags: str | None = None¶
- created: str | None = None¶
- last_updated: str | None = None¶
- status: Dict[str, Any] | None = None¶
- service_profile: Dict[str, Any] | None = None¶
- tariff_profile: Dict[str, Any] | None = None¶
- sim: Dict[str, Any] | None = None¶
- imei: str | None = None¶
- imei_lock: bool | None = None¶
- ip_address: str | None = None¶
- ip_address_space: Dict[str, Any] | None = None¶
- runtime_data: Dict[str, Any] | None = None¶
- class emnify.modules.api.models.UpdateEndpointrequest¶
Bases:
pydantic.BaseModel
- tags: str¶
- status: Dict[str, Any]¶
- service_profile: Dict[str, Any]¶
- tariff_profile: Dict[str, Any]¶
- ip_address: str¶
- ip_address_space: Dict[str, Any]¶
- sim: Dict[str, Any]¶
- imei: str¶
- imei_lock: bool¶
- class emnify.modules.api.models.RetrieveEndpointConnectivityStatusresponse¶
Bases:
pydantic.BaseModel
- status: Dict[str, Any] | None = None¶
- location: Dict[str, Any] | None = None¶
- pdp_context: Dict[str, Any] | None = None¶
- services: List[str] | None¶
- class emnify.modules.api.models.GetEndpointLocationByIdResponse¶
Bases:
pydantic.BaseModel
- gcid_cache_id: str | None = None¶
- gcid: str | None = None¶
- create_date: str | None = None¶
- lat: str | None = None¶
- lng: str | None = None¶
- accuracy: str | None = None¶
- class emnify.modules.api.models.RetrieveEndpointStatisticsresponse¶
Bases:
pydantic.BaseModel
- last_month: Dict[str, Any] | None = None¶
- current_month: Dict[str, Any] | None = None¶
- last_hour: Dict[str, Any] | None = None¶
- class emnify.modules.api.models.Status6¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- description: str | None = None¶
- class emnify.modules.api.models.Type2¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- description: str | None = None¶
- class emnify.modules.api.models.CloudConnectAttachment¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- name: str | None = None¶
- description: str | None = None¶
- user_id: int | None = None¶
- creation_date: str | None¶
- accept_attachment_expiry_date: str | None¶
- termination_date: str | None = None¶
- aws_transit_gateway_attachment_id: str | None = None¶
- aws_vpn_connection_id: str | None¶
- region: str | None¶
- class emnify.modules.api.models.Status7¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- description: str | None = None¶
- class emnify.modules.api.models.Type3¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- description: str | None = None¶
- class emnify.modules.api.models.GetCloudConnectAttachmentsResponseItem¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- name: str | None = None¶
- description: str | None = None¶
- user_id: int | None = None¶
- creation_date: str | None¶
- accept_attachment_expiry_date: str | None¶
- termination_date: str | None = None¶
- aws_transit_gateway_attachment_id: str | None = None¶
- aws_vpn_connection_id: str | None¶
- region: str | None¶
- class emnify.modules.api.models.GetCloudConnectAttachmentsResponse¶
Bases:
pydantic.BaseModel
- __root__: List[GetCloudConnectAttachmentsResponseItem]¶
- class emnify.modules.api.models.CloudConnectBreakoutType¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- description: str | None = None¶
- class emnify.modules.api.models.GetCloudConnectBreakoutTypesResponseItem¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- description: str | None = None¶
- class emnify.modules.api.models.GetCloudConnectBreakoutTypesResponse¶
Bases:
pydantic.BaseModel
- __root__: List[GetCloudConnectBreakoutTypesResponseItem]¶
- class emnify.modules.api.models.Status8¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- description: str | None = None¶
- class emnify.modules.api.models.Metrics¶
Bases:
pydantic.BaseModel
- tunnel_state: str | None = None¶
- bytes_in: Dict[str, float] | None = None¶
- bytes_out: Dict[str, float] | None = None¶
- class emnify.modules.api.models.TunnelInformation¶
Bases:
pydantic.BaseModel
- outside_address: str | None = None¶
- inside_cidr: str | None = None¶
- asn: float | None = None¶
- public_ip: str | None = None¶
- class emnify.modules.api.models.GetCloudConnectAttachmentByIdResponseItem¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- name: str | None = None¶
- description: str | None = None¶
- user_id: int | None = None¶
- creation_date: str | None¶
- accept_attachment_expiry_date: str | None¶
- termination_date: str | None = None¶
- aws_transit_gateway_attachment_id: str | None = None¶
- aws_vpn_connection_id: str | None¶
- tunnel_information: TunnelInformation | None = None¶
- class emnify.modules.api.models.GetCloudConnectAttachmentByIdResponse¶
Bases:
pydantic.BaseModel
- __root__: List[GetCloudConnectAttachmentByIdResponseItem]¶
- class emnify.modules.api.models.Type4(*args, **kwds)¶
Bases:
enum.Enum
Create a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- integer_1 = 1¶
- class emnify.modules.api.models.CreateCloudConnectTGWRequest¶
Bases:
pydantic.BaseModel
- name: str¶
- description: str | None = None¶
- vpc_cidr: List[str]¶
- region: str¶
- aws_account_id: constr(regex='^\\d{12}$')¶
- class emnify.modules.api.models.Type5(*args, **kwds)¶
Bases:
enum.Enum
Create a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- integer_2 = 2¶
- integer_3 = 3¶
- class emnify.modules.api.models.CreateCloudConnectVPNRequest¶
Bases:
pydantic.BaseModel
- name: str¶
- description: str | None = None¶
- region: str | None = None¶
- public_ip: str¶
- psk: str | None¶
- asn: int | None¶
- premise_cidr: List[str]¶
- inside_cidr: List[str] | None¶
- class emnify.modules.api.models.CloudConnectCharge¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- breakout_type_id: int | None = None¶
- amount: float | None = None¶
- class emnify.modules.api.models.ListCloudConnectPricesResponseItem¶
Bases:
pydantic.BaseModel
- id: int | None = None¶
- breakout_type_id: int | None = None¶
- amount: float | None = None¶
- class emnify.modules.api.models.ListCloudConnectPricesResponse¶
Bases:
pydantic.BaseModel
- __root__: List[ListCloudConnectPricesResponseItem]¶
- class emnify.modules.api.models.BreakoutTypeId(*args, **kwds)¶
Bases:
enum.Enum
Create a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- integer_1 = 1¶
- integer_2 = 2¶
- integer_3 = 3¶
- integer_4 = 4¶
- integer_5 = 5¶
- integer_6 = 6¶
- class emnify.modules.api.models.CloudConnectCustomPriceRequest¶
Bases:
pydantic.BaseModel
- breakout_type_id: BreakoutTypeId¶
- amount: float¶
- currency: Currency10 | None = None¶
- class emnify.modules.api.models.Region¶
Bases:
pydantic.BaseModel
- Id: float | None = None¶
- Name: str | None = None¶
- Description: str | None = None¶
- class emnify.modules.api.models.GetCloudConnectTransitGatewaysResponseItem¶
Bases:
pydantic.BaseModel
- id: float | None = None¶
- name: str | None = None¶
- aws_transit_gateway_id: str | None = None¶
- active: bool | None = None¶
- organisation_id: float | None = None¶
- class emnify.modules.api.models.GetCloudConnectTransitGatewaysResponse¶
Bases:
pydantic.BaseModel
- __root__: List[GetCloudConnectTransitGatewaysResponseItem]¶
- class emnify.modules.api.models.CreateCloudConnectTransitGatewaysRequest¶
Bases:
pydantic.BaseModel
- name: str | None = None¶
- region: str | None = None¶
- aws_transit_gateway_id: str | None = None¶
- active: bool | None = None¶
- organisation_id: float | None = None¶
- class emnify.modules.api.models.UpdateCloudConnectTransitGatewayByIdRequest¶
Bases:
pydantic.BaseModel
- active: bool | None = None¶
- class emnify.modules.api.models.GetCloudConnectBreakoutTypeWhitelistResponseItem¶
Bases:
pydantic.BaseModel
- organisation_id: float | None = None¶
- breakout_type_id: float | None = None¶
- organisation_name: str | None = None¶
- class emnify.modules.api.models.GetCloudConnectBreakoutTypeWhitelistResponse¶
Bases:
pydantic.BaseModel
- __root__: List[GetCloudConnectBreakoutTypeWhitelistResponseItem]¶