// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_bitbucket_integration_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::types::BitbucketIntegrationInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
{
object.key("installationId").string(input.installation_id.as_str());
}
{
object.key("workspace").string(input.workspace.as_str());
}
{
object.key("code").string(input.code.as_str());
}
{
object.key("state").string(input.state.as_str());
}
Ok(())
}