#[non_exhaustive]pub struct GetDeploymentInputBuilder { /* private fields */ }Expand description
A builder for GetDeploymentInput.
Implementations§
source§impl GetDeploymentInputBuilder
impl GetDeploymentInputBuilder
sourcepub fn rest_api_id(self, input: impl Into<String>) -> Self
pub fn rest_api_id(self, input: impl Into<String>) -> Self
The string identifier of the associated RestApi.
This field is required.sourcepub fn set_rest_api_id(self, input: Option<String>) -> Self
pub fn set_rest_api_id(self, input: Option<String>) -> Self
The string identifier of the associated RestApi.
sourcepub fn get_rest_api_id(&self) -> &Option<String>
pub fn get_rest_api_id(&self) -> &Option<String>
The string identifier of the associated RestApi.
sourcepub fn deployment_id(self, input: impl Into<String>) -> Self
pub fn deployment_id(self, input: impl Into<String>) -> Self
The identifier of the Deployment resource to get information about.
This field is required.sourcepub fn set_deployment_id(self, input: Option<String>) -> Self
pub fn set_deployment_id(self, input: Option<String>) -> Self
The identifier of the Deployment resource to get information about.
sourcepub fn get_deployment_id(&self) -> &Option<String>
pub fn get_deployment_id(&self) -> &Option<String>
The identifier of the Deployment resource to get information about.
sourcepub fn embed(self, input: impl Into<String>) -> Self
pub fn embed(self, input: impl Into<String>) -> Self
Appends an item to embed.
To override the contents of this collection use set_embed.
A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this embed parameter value is a list of comma-separated strings, as in GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the "apisummary" string. For example, GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary.
sourcepub fn set_embed(self, input: Option<Vec<String>>) -> Self
pub fn set_embed(self, input: Option<Vec<String>>) -> Self
A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this embed parameter value is a list of comma-separated strings, as in GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the "apisummary" string. For example, GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary.
sourcepub fn get_embed(&self) -> &Option<Vec<String>>
pub fn get_embed(&self) -> &Option<Vec<String>>
A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this embed parameter value is a list of comma-separated strings, as in GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the "apisummary" string. For example, GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary.
sourcepub fn build(self) -> Result<GetDeploymentInput, BuildError>
pub fn build(self) -> Result<GetDeploymentInput, BuildError>
Consumes the builder and constructs a GetDeploymentInput.
source§impl GetDeploymentInputBuilder
impl GetDeploymentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetDeploymentOutput, SdkError<GetDeploymentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetDeploymentOutput, SdkError<GetDeploymentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetDeploymentInputBuilder
impl Clone for GetDeploymentInputBuilder
source§fn clone(&self) -> GetDeploymentInputBuilder
fn clone(&self) -> GetDeploymentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetDeploymentInputBuilder
impl Debug for GetDeploymentInputBuilder
source§impl Default for GetDeploymentInputBuilder
impl Default for GetDeploymentInputBuilder
source§fn default() -> GetDeploymentInputBuilder
fn default() -> GetDeploymentInputBuilder
source§impl PartialEq for GetDeploymentInputBuilder
impl PartialEq for GetDeploymentInputBuilder
source§fn eq(&self, other: &GetDeploymentInputBuilder) -> bool
fn eq(&self, other: &GetDeploymentInputBuilder) -> bool
self and other values to be equal, and is used
by ==.