Skip to content

Commit

Permalink
Merge pull request #72 from aziontech/generated-sdk
Browse files Browse the repository at this point in the history
Auto-generated SDK
  • Loading branch information
PatrickMenoti authored Dec 6, 2023
2 parents 99f22b0 + 1821fe7 commit b0db9c2
Show file tree
Hide file tree
Showing 13 changed files with 33 additions and 9 deletions.
2 changes: 1 addition & 1 deletion edgeapplications/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.0.1
7.1.0
1 change: 0 additions & 1 deletion edgeapplications/docs/ApplicationPutRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Name | Type | Description | Notes
**minimum_tls_version** | Option<**String**> | | [optional]
**active** | Option<**bool**> | | [optional]
**application_acceleration** | Option<**bool**> | | [optional]
**caching** | Option<**bool**> | | [optional]
**device_detection** | Option<**bool**> | | [optional]
**edge_firewall** | Option<**bool**> | | [optional]
**edge_functions** | Option<**bool**> | | [optional]
Expand Down
1 change: 0 additions & 1 deletion edgeapplications/docs/ApplicationUpdateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Name | Type | Description | Notes
**active** | Option<**bool**> | | [optional]
**debug_rules** | Option<**bool**> | | [optional]
**application_acceleration** | Option<**bool**> | | [optional]
**caching** | Option<**bool**> | | [optional]
**device_detection** | Option<**bool**> | | [optional]
**edge_firewall** | Option<**bool**> | | [optional]
**edge_functions** | Option<**bool**> | | [optional]
Expand Down
2 changes: 2 additions & 0 deletions edgeapplications/docs/CreateOriginsRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Name | Type | Description | Notes
**hmac_region_name** | Option<**String**> | | [optional]
**hmac_access_key** | Option<**String**> | | [optional]
**hmac_secret_key** | Option<**String**> | | [optional]
**bucket** | Option<**String**> | | [optional]
**prefix** | Option<**String**> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 2 additions & 0 deletions edgeapplications/docs/OriginsResultResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Name | Type | Description | Notes
**hmac_region_name** | **String** | |
**hmac_access_key** | **String** | |
**hmac_secret_key** | **String** | |
**bucket** | Option<**String**> | | [optional]
**prefix** | Option<**String**> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 2 additions & 0 deletions edgeapplications/docs/PatchOriginsRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Name | Type | Description | Notes
**hmac_region_name** | Option<**String**> | | [optional]
**hmac_access_key** | Option<**String**> | | [optional]
**hmac_secret_key** | Option<**String**> | | [optional]
**bucket** | Option<**String**> | | [optional]
**prefix** | Option<**String**> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 2 additions & 0 deletions edgeapplications/docs/UpdateOriginsRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Name | Type | Description | Notes
**hmac_region_name** | Option<**String**> | | [optional]
**hmac_access_key** | Option<**String**> | | [optional]
**hmac_secret_key** | Option<**String**> | | [optional]
**bucket** | Option<**String**> | | [optional]
**prefix** | Option<**String**> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
3 changes: 0 additions & 3 deletions edgeapplications/src/models/application_put_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ pub struct ApplicationPutRequest {
pub active: Option<bool>,
#[serde(rename = "application_acceleration", skip_serializing_if = "Option::is_none")]
pub application_acceleration: Option<bool>,
#[serde(rename = "caching", skip_serializing_if = "Option::is_none")]
pub caching: Option<bool>,
#[serde(rename = "device_detection", skip_serializing_if = "Option::is_none")]
pub device_detection: Option<bool>,
#[serde(rename = "edge_firewall", skip_serializing_if = "Option::is_none")]
Expand Down Expand Up @@ -65,7 +63,6 @@ impl ApplicationPutRequest {
minimum_tls_version: None,
active: None,
application_acceleration: None,
caching: None,
device_detection: None,
edge_firewall: None,
edge_functions: None,
Expand Down
3 changes: 0 additions & 3 deletions edgeapplications/src/models/application_update_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ pub struct ApplicationUpdateRequest {
pub debug_rules: Option<bool>,
#[serde(rename = "application_acceleration", skip_serializing_if = "Option::is_none")]
pub application_acceleration: Option<bool>,
#[serde(rename = "caching", skip_serializing_if = "Option::is_none")]
pub caching: Option<bool>,
#[serde(rename = "device_detection", skip_serializing_if = "Option::is_none")]
pub device_detection: Option<bool>,
#[serde(rename = "edge_firewall", skip_serializing_if = "Option::is_none")]
Expand Down Expand Up @@ -62,7 +60,6 @@ impl ApplicationUpdateRequest {
active: None,
debug_rules: None,
application_acceleration: None,
caching: None,
device_detection: None,
edge_firewall: None,
edge_functions: None,
Expand Down
6 changes: 6 additions & 0 deletions edgeapplications/src/models/create_origins_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ pub struct CreateOriginsRequest {
pub hmac_access_key: Option<String>,
#[serde(rename = "hmac_secret_key", skip_serializing_if = "Option::is_none")]
pub hmac_secret_key: Option<String>,
#[serde(rename = "bucket", skip_serializing_if = "Option::is_none")]
pub bucket: Option<String>,
#[serde(rename = "prefix", skip_serializing_if = "Option::is_none")]
pub prefix: Option<String>,
}

impl CreateOriginsRequest {
Expand All @@ -48,6 +52,8 @@ impl CreateOriginsRequest {
hmac_region_name: None,
hmac_access_key: None,
hmac_secret_key: None,
bucket: None,
prefix: None,
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions edgeapplications/src/models/origins_result_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ pub struct OriginsResultResponse {
pub hmac_access_key: String,
#[serde(rename = "hmac_secret_key")]
pub hmac_secret_key: String,
#[serde(rename = "bucket", skip_serializing_if = "Option::is_none")]
pub bucket: Option<String>,
#[serde(rename = "prefix", skip_serializing_if = "Option::is_none")]
pub prefix: Option<String>,
}

impl OriginsResultResponse {
Expand All @@ -66,6 +70,8 @@ impl OriginsResultResponse {
hmac_region_name,
hmac_access_key,
hmac_secret_key,
bucket: None,
prefix: None,
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions edgeapplications/src/models/patch_origins_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ pub struct PatchOriginsRequest {
pub hmac_access_key: Option<String>,
#[serde(rename = "hmac_secret_key", skip_serializing_if = "Option::is_none")]
pub hmac_secret_key: Option<String>,
#[serde(rename = "bucket", skip_serializing_if = "Option::is_none")]
pub bucket: Option<String>,
#[serde(rename = "prefix", skip_serializing_if = "Option::is_none")]
pub prefix: Option<String>,
}

impl PatchOriginsRequest {
Expand All @@ -48,6 +52,8 @@ impl PatchOriginsRequest {
hmac_region_name: None,
hmac_access_key: None,
hmac_secret_key: None,
bucket: None,
prefix: None,
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions edgeapplications/src/models/update_origins_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ pub struct UpdateOriginsRequest {
pub hmac_access_key: Option<String>,
#[serde(rename = "hmac_secret_key", skip_serializing_if = "Option::is_none")]
pub hmac_secret_key: Option<String>,
#[serde(rename = "bucket", skip_serializing_if = "Option::is_none")]
pub bucket: Option<String>,
#[serde(rename = "prefix", skip_serializing_if = "Option::is_none")]
pub prefix: Option<String>,
}

impl UpdateOriginsRequest {
Expand All @@ -48,6 +52,8 @@ impl UpdateOriginsRequest {
hmac_region_name: None,
hmac_access_key: None,
hmac_secret_key: None,
bucket: None,
prefix: None,
}
}
}
Expand Down

0 comments on commit b0db9c2

Please sign in to comment.