-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
github-actions
committed
Feb 19, 2024
1 parent
ac14ed0
commit 2c03865
Showing
14 changed files
with
100 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "fastly-api" | ||
version = "4.3.0" | ||
version = "4.3.1" | ||
authors = ["Fastly <[email protected]>"] | ||
edition = "2021" | ||
description = "Fastly API client" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# CreateResponseObjectRequest | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**name** | Option<**String**> | The name of the response object to create. | | ||
**status** | Option<**String**> | The status code the response will have. Defaults to 200. | | ||
**response** | Option<**String**> | The status text the response will have. Defaults to 'OK'. | | ||
**content** | Option<**String**> | The content the response will deliver. | | ||
**content_type** | Option<**String**> | The MIME type of your response content. | | ||
**request_condition** | Option<**String**> | Condition which, if met, will select this configuration during a request. Optional. | | ||
**cache_condition** | Option<**String**> | Name of the cache condition controlling when this configuration applies. | | ||
|
||
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"G": "4ae2b660", "D": "2452c3f1"} | ||
{"G": "40613202", "D": "01d08f3f"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
* Fastly API | ||
* | ||
* Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/) | ||
* | ||
*/ | ||
|
||
|
||
|
||
|
||
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] | ||
pub struct CreateResponseObjectRequest { | ||
/// The name of the response object to create. | ||
#[serde(rename = "name", skip_serializing_if = "Option::is_none")] | ||
pub name: Option<String>, | ||
/// The status code the response will have. Defaults to 200. | ||
#[serde(rename = "status", skip_serializing_if = "Option::is_none")] | ||
pub status: Option<String>, | ||
/// The status text the response will have. Defaults to 'OK'. | ||
#[serde(rename = "response", skip_serializing_if = "Option::is_none")] | ||
pub response: Option<String>, | ||
/// The content the response will deliver. | ||
#[serde(rename = "content", skip_serializing_if = "Option::is_none")] | ||
pub content: Option<String>, | ||
/// The MIME type of your response content. | ||
#[serde(rename = "content_type", skip_serializing_if = "Option::is_none")] | ||
pub content_type: Option<String>, | ||
/// Condition which, if met, will select this configuration during a request. Optional. | ||
#[serde(rename = "request_condition", skip_serializing_if = "Option::is_none")] | ||
pub request_condition: Option<String>, | ||
/// Name of the cache condition controlling when this configuration applies. | ||
#[serde(rename = "cache_condition", skip_serializing_if = "Option::is_none")] | ||
pub cache_condition: Option<String>, | ||
} | ||
|
||
impl CreateResponseObjectRequest { | ||
pub fn new() -> CreateResponseObjectRequest { | ||
CreateResponseObjectRequest { | ||
name: None, | ||
status: None, | ||
response: None, | ||
content: None, | ||
content_type: None, | ||
request_condition: None, | ||
cache_condition: None, | ||
} | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters