use conjure_http::endpoint;
/// Deprecated alias for DatasetMetadataService.
#[conjure_http::conjure_client(name = "DeprecatedDatasetMetadataService")]
pub trait DeprecatedDatasetMetadataService<
    #[response_body]
    I: Iterator<
            Item = Result<conjure_http::private::Bytes, conjure_http::private::Error>,
        >,
> {
    /// Resolves metadata for the dataset.
    #[endpoint(
        method = POST,
        path = "/dataframe/metadata/v1/metadata",
        name = "getDatasetMetadata",
        accept = conjure_http::client::StdResponseDeserializer
    )]
    fn get_dataset_metadata(
        &self,
        #[auth]
        auth_: &conjure_object::BearerToken,
        #[body(serializer = conjure_http::client::StdRequestSerializer)]
        request: &super::super::super::super::super::objects::scout::dataset::api::GetDatasetMetadataRequest,
    ) -> Result<
        super::super::super::super::super::objects::scout::dataset::api::DatasetMetadata,
        conjure_http::private::Error,
    >;
    /// Batched form of `getDatasetMetadata`.
    #[endpoint(
        method = POST,
        path = "/dataframe/metadata/v1/metadata/batch",
        name = "batchGetDatasetMetadata",
        accept = conjure_http::client::StdResponseDeserializer
    )]
    fn batch_get_dataset_metadata(
        &self,
        #[auth]
        auth_: &conjure_object::BearerToken,
        #[body(serializer = conjure_http::client::StdRequestSerializer)]
        request: &super::super::super::super::super::objects::scout::dataset::api::BatchGetDatasetMetadataRequest,
    ) -> Result<
        super::super::super::super::super::objects::scout::dataset::api::BatchDatasetMetadata,
        conjure_http::private::Error,
    >;
}
/// Deprecated alias for DatasetMetadataService.
#[conjure_http::conjure_client(name = "DeprecatedDatasetMetadataService")]
pub trait AsyncDeprecatedDatasetMetadataService<
    #[response_body]
    I: conjure_http::private::Stream<
            Item = Result<conjure_http::private::Bytes, conjure_http::private::Error>,
        >,
> {
    /// Resolves metadata for the dataset.
    #[endpoint(
        method = POST,
        path = "/dataframe/metadata/v1/metadata",
        name = "getDatasetMetadata",
        accept = conjure_http::client::StdResponseDeserializer
    )]
    async fn get_dataset_metadata(
        &self,
        #[auth]
        auth_: &conjure_object::BearerToken,
        #[body(serializer = conjure_http::client::StdRequestSerializer)]
        request: &super::super::super::super::super::objects::scout::dataset::api::GetDatasetMetadataRequest,
    ) -> Result<
        super::super::super::super::super::objects::scout::dataset::api::DatasetMetadata,
        conjure_http::private::Error,
    >;
    /// Batched form of `getDatasetMetadata`.
    #[endpoint(
        method = POST,
        path = "/dataframe/metadata/v1/metadata/batch",
        name = "batchGetDatasetMetadata",
        accept = conjure_http::client::StdResponseDeserializer
    )]
    async fn batch_get_dataset_metadata(
        &self,
        #[auth]
        auth_: &conjure_object::BearerToken,
        #[body(serializer = conjure_http::client::StdRequestSerializer)]
        request: &super::super::super::super::super::objects::scout::dataset::api::BatchGetDatasetMetadataRequest,
    ) -> Result<
        super::super::super::super::super::objects::scout::dataset::api::BatchDatasetMetadata,
        conjure_http::private::Error,
    >;
}
/// Deprecated alias for DatasetMetadataService.
#[conjure_http::conjure_client(name = "DeprecatedDatasetMetadataService", local)]
pub trait LocalAsyncDeprecatedDatasetMetadataService<
    #[response_body]
    I: conjure_http::private::Stream<
            Item = Result<conjure_http::private::Bytes, conjure_http::private::Error>,
        >,
> {
    /// Resolves metadata for the dataset.
    #[endpoint(
        method = POST,
        path = "/dataframe/metadata/v1/metadata",
        name = "getDatasetMetadata",
        accept = conjure_http::client::StdResponseDeserializer
    )]
    async fn get_dataset_metadata(
        &self,
        #[auth]
        auth_: &conjure_object::BearerToken,
        #[body(serializer = conjure_http::client::StdRequestSerializer)]
        request: &super::super::super::super::super::objects::scout::dataset::api::GetDatasetMetadataRequest,
    ) -> Result<
        super::super::super::super::super::objects::scout::dataset::api::DatasetMetadata,
        conjure_http::private::Error,
    >;
    /// Batched form of `getDatasetMetadata`.
    #[endpoint(
        method = POST,
        path = "/dataframe/metadata/v1/metadata/batch",
        name = "batchGetDatasetMetadata",
        accept = conjure_http::client::StdResponseDeserializer
    )]
    async fn batch_get_dataset_metadata(
        &self,
        #[auth]
        auth_: &conjure_object::BearerToken,
        #[body(serializer = conjure_http::client::StdRequestSerializer)]
        request: &super::super::super::super::super::objects::scout::dataset::api::BatchGetDatasetMetadataRequest,
    ) -> Result<
        super::super::super::super::super::objects::scout::dataset::api::BatchDatasetMetadata,
        conjure_http::private::Error,
    >;
}
