#[non_exhaustive]pub struct UpdateConnectionOAuthRequestParametersBuilder { /* private fields */ }
Expand description
A builder for UpdateConnectionOAuthRequestParameters
.
Implementations§
source§impl UpdateConnectionOAuthRequestParametersBuilder
impl UpdateConnectionOAuthRequestParametersBuilder
sourcepub fn client_parameters(
self,
input: UpdateConnectionOAuthClientRequestParameters
) -> Self
pub fn client_parameters( self, input: UpdateConnectionOAuthClientRequestParameters ) -> Self
A UpdateConnectionOAuthClientRequestParameters
object that contains the client parameters to use for the connection when OAuth is specified as the authorization type.
sourcepub fn set_client_parameters(
self,
input: Option<UpdateConnectionOAuthClientRequestParameters>
) -> Self
pub fn set_client_parameters( self, input: Option<UpdateConnectionOAuthClientRequestParameters> ) -> Self
A UpdateConnectionOAuthClientRequestParameters
object that contains the client parameters to use for the connection when OAuth is specified as the authorization type.
sourcepub fn get_client_parameters(
&self
) -> &Option<UpdateConnectionOAuthClientRequestParameters>
pub fn get_client_parameters( &self ) -> &Option<UpdateConnectionOAuthClientRequestParameters>
A UpdateConnectionOAuthClientRequestParameters
object that contains the client parameters to use for the connection when OAuth is specified as the authorization type.
The URL to the authorization endpoint when OAuth is specified as the authorization type.
The URL to the authorization endpoint when OAuth is specified as the authorization type.
The URL to the authorization endpoint when OAuth is specified as the authorization type.
sourcepub fn http_method(self, input: ConnectionOAuthHttpMethod) -> Self
pub fn http_method(self, input: ConnectionOAuthHttpMethod) -> Self
The method used to connect to the HTTP endpoint.
sourcepub fn set_http_method(self, input: Option<ConnectionOAuthHttpMethod>) -> Self
pub fn set_http_method(self, input: Option<ConnectionOAuthHttpMethod>) -> Self
The method used to connect to the HTTP endpoint.
sourcepub fn get_http_method(&self) -> &Option<ConnectionOAuthHttpMethod>
pub fn get_http_method(&self) -> &Option<ConnectionOAuthHttpMethod>
The method used to connect to the HTTP endpoint.
sourcepub fn o_auth_http_parameters(self, input: ConnectionHttpParameters) -> Self
pub fn o_auth_http_parameters(self, input: ConnectionHttpParameters) -> Self
The additional HTTP parameters used for the OAuth authorization request.
sourcepub fn set_o_auth_http_parameters(
self,
input: Option<ConnectionHttpParameters>
) -> Self
pub fn set_o_auth_http_parameters( self, input: Option<ConnectionHttpParameters> ) -> Self
The additional HTTP parameters used for the OAuth authorization request.
sourcepub fn get_o_auth_http_parameters(&self) -> &Option<ConnectionHttpParameters>
pub fn get_o_auth_http_parameters(&self) -> &Option<ConnectionHttpParameters>
The additional HTTP parameters used for the OAuth authorization request.
sourcepub fn build(self) -> UpdateConnectionOAuthRequestParameters
pub fn build(self) -> UpdateConnectionOAuthRequestParameters
Consumes the builder and constructs a UpdateConnectionOAuthRequestParameters
.
Trait Implementations§
source§impl Clone for UpdateConnectionOAuthRequestParametersBuilder
impl Clone for UpdateConnectionOAuthRequestParametersBuilder
source§fn clone(&self) -> UpdateConnectionOAuthRequestParametersBuilder
fn clone(&self) -> UpdateConnectionOAuthRequestParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateConnectionOAuthRequestParametersBuilder
impl Default for UpdateConnectionOAuthRequestParametersBuilder
source§fn default() -> UpdateConnectionOAuthRequestParametersBuilder
fn default() -> UpdateConnectionOAuthRequestParametersBuilder
source§impl PartialEq for UpdateConnectionOAuthRequestParametersBuilder
impl PartialEq for UpdateConnectionOAuthRequestParametersBuilder
source§fn eq(&self, other: &UpdateConnectionOAuthRequestParametersBuilder) -> bool
fn eq(&self, other: &UpdateConnectionOAuthRequestParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.