// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_start_device_authorization_input_input(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::operation::start_device_authorization::StartDeviceAuthorizationInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    if let Some(var_1) = &input.client_id {
        object.key("clientId").string(var_1.as_str());
    }
    if let Some(var_2) = &input.client_secret {
        object.key("clientSecret").string(var_2.as_str());
    }
    if let Some(var_3) = &input.start_url {
        object.key("startUrl").string(var_3.as_str());
    }
    Ok(())
}
