Skip to content

Commit 4668703

Browse files
committed
Initial commit of auto-generated Emnify API, using their swagger definition
0 parents  commit 4668703

File tree

277 files changed

+16620
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

277 files changed

+16620
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/target/
2+
**/*.rs.bk
3+
Cargo.lock

Cargo.toml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[package]
2+
name = "emnify"
3+
version = "1.0.0"
4+
authors = ["OpenAPI Generator team and contributors"]
5+
edition = "2018"
6+
7+
[dependencies]
8+
serde = "^1.0"
9+
serde_derive = "^1.0"
10+
serde_json = "^1.0"
11+
url = "2.2"
12+
[dependencies.reqwest]
13+
version = "^0.11"
14+
default-features = false
15+
features = ["json"]
16+
17+
[dev-dependencies]

README.md

+287
Large diffs are not rendered by default.

docs/AccountActivationrequest.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AccountActivationrequest
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**activation_key** | **String** | |
8+
**password** | **String** | |
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/ActionOnExhaustion.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# ActionOnExhaustion
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | **f32** | |
8+
**description** | Option<[**crate::models::OneOfstring**](oneOf<string>.md)> | | [optional]
9+
**peak_throughput** | **f32** | |
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+

docs/ActivateMfaKeyRequest.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ActivateMfaKeyRequest
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**status** | Option<[**crate::models::ApiV1UserMfaKeyIdStatus**](_api_v1_user_mfa__key_id__status.md)> | | [optional]
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+

docs/ApiV1DataStreamApiCallback.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# ApiV1DataStreamApiCallback
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**organisation_id** | Option<**String**> | | [optional]
8+
**url** | Option<**String**> | | [optional]
9+
**created** | Option<**String**> | | [optional]
10+
**purpose** | Option<**String**> | | [optional]
11+
**id** | Option<**i32**> | | [optional]
12+
**route** | Option<**String**> | | [optional]
13+
**req_params** | Option<**String**> | | [optional]
14+
**from_server** | Option<**bool**> | | [optional]
15+
**parent_resource** | Option<**String**> | | [optional]
16+
**restangular_collection** | Option<**bool**> | | [optional]
17+
18+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
19+
20+

docs/ApiV1DataStreamApiType.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ApiV1DataStreamApiType
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**description** | Option<**String**> | | [optional]
8+
**id** | Option<**i32**> | | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/ApiV1DataStreamApiType1.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ApiV1DataStreamApiType1
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**description** | Option<**String**> | | [optional]
8+
**id** | Option<**i32**> | | [optional]
9+
**route** | Option<**String**> | | [optional]
10+
**req_params** | Option<**String**> | | [optional]
11+
**from_server** | Option<**bool**> | | [optional]
12+
**parent_resource** | Option<**String**> | | [optional]
13+
**restangular_collection** | Option<**bool**> | | [optional]
14+
15+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
16+
17+

docs/ApiV1EndpointSim.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ApiV1EndpointSim
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | Option<**i32**> | | [optional]
8+
**activate** | Option<**bool**> | | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/ApiV1EndpointStatus.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ApiV1EndpointStatus
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | Option<**i32**> | | [optional]
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+

docs/ApiV1EventEventSeverity.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ApiV1EventEventSeverity
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | Option<**f32**> | | [optional]
8+
**description** | Option<**String**> | | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/ApiV1EventEventSource.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ApiV1EventEventSource
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | Option<**f32**> | | [optional]
8+
**description** | Option<**String**> | | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/ApiV1EventEventType.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ApiV1EventEventType
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | Option<**f32**> | | [optional]
8+
**description** | Option<**String**> | | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/ApiV1EventOrganisation.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ApiV1EventOrganisation
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | Option<**f32**> | | [optional]
8+
**name** | Option<**String**> | | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/ApiV1EventUser.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# ApiV1EventUser
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | Option<**f32**> | | [optional]
8+
**username** | Option<**String**> | | [optional]
9+
**name** | Option<**String**> | | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+

docs/ApiV1OperatorCountry.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ApiV1OperatorCountry
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**name** | Option<**String**> | | [optional]
8+
**country_code** | Option<**i32**> | | [optional]
9+
**mcc** | Option<**f32**> | | [optional]
10+
**iso_code** | Option<**String**> | | [optional]
11+
**latitude** | Option<**f32**> | | [optional]
12+
**longitude** | Option<**f32**> | | [optional]
13+
**id** | Option<**i32**> | | [optional]
14+
15+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
16+
17+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# ApiV1OrganisationOrgIdOrMyInclusiveVolumeActiveCurrency
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | Option<**i32**> | | [optional]
8+
**code** | Option<**String**> | | [optional]
9+
**symbol** | Option<**String**> | | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# ApiV1OrganisationOrgIdOrMyInclusiveVolumeActiveTariff
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | Option<**i32**> | | [optional]
8+
**name** | Option<**String**> | | [optional]
9+
**tariff_status_id** | Option<**i32**> | | [optional]
10+
**ratezone** | Option<[**crate::models::ApiV1OrganisationOrgIdOrMyInclusiveVolumeActiveTariffRatezone**](_api_v1_organisation__org_id_or_my__inclusive_volume_active_tariff_ratezone.md)> | | [optional]
11+
12+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13+
14+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# ApiV1OrganisationOrgIdOrMyInclusiveVolumeActiveTariffRatezone
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | Option<**i32**> | | [optional]
8+
**name** | Option<**String**> | | [optional]
9+
**ratezone_status_id** | Option<**i32**> | | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# ApiV1ServiceServiceIdTrafficLimitPeriod
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | Option<**i32**> | | [optional]
8+
**time_units** | Option<**i32**> | | [optional]
9+
**unit** | Option<**String**> | | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+

docs/ApiV1SimSimIdStatsLastMonth.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ApiV1SimSimIdStatsLastMonth
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**data** | Option<[**crate::models::ApiV1SimSimIdStatsLastMonthData**](_api_v1_sim__sim_id__stats_last_month_data.md)> | | [optional]
8+
**sms** | Option<[**crate::models::ApiV1SimSimIdStatsLastMonthData**](_api_v1_sim__sim_id__stats_last_month_data.md)> | | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# ApiV1SimSimIdStatsLastMonthData
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**sim_id** | Option<**f32**> | | [optional]
8+
**month** | Option<[**String**](string.md)> | | [optional]
9+
**volume** | Option<**f32**> | | [optional]
10+
**volume_tx** | Option<**f32**> | | [optional]
11+
**volume_rx** | Option<**f32**> | | [optional]
12+
**traffic_type_id** | Option<**f32**> | | [optional]
13+
**last_updated** | Option<**String**> | | [optional]
14+
**cost** | Option<**f32**> | | [optional]
15+
**currency_id** | Option<**f32**> | | [optional]
16+
**id** | Option<**f32**> | | [optional]
17+
**traffic_type** | Option<[**crate::models::ApiV1SimSimIdStatsLastMonthDataTrafficType**](_api_v1_sim__sim_id__stats_last_month_data_traffic_type.md)> | | [optional]
18+
**currency** | Option<[**crate::models::Currency**](Currency.md)> | | [optional]
19+
20+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
21+
22+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# ApiV1SimSimIdStatsLastMonthDataTrafficType
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**description** | Option<**String**> | | [optional]
8+
**unit** | Option<**String**> | | [optional]
9+
**id** | Option<**f32**> | | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+

docs/ApiV1UserMfaKeyIdStatus.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ApiV1UserMfaKeyIdStatus
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | Option<**f32**> | | [optional]
8+
**code** | Option<**f32**> | | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/ApiV1UserStatus.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ApiV1UserStatus
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | Option<**f32**> | | [optional]
8+
**description** | Option<**String**> | | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/ApplicationToken.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ApplicationToken
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**description** | Option<**String**> | | [optional]
8+
**status** | Option<[**serde_json::Value**](.md)> | | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

0 commit comments

Comments
 (0)