use conjure_http::endpoint;
/// Deprecated alias for DatasetMetadataService.
#[conjure_http::conjure_endpoints(
    name = "DeprecatedDatasetMetadataService",
    use_legacy_error_serialization
)]
pub trait DeprecatedDatasetMetadataService {
    /// Resolves metadata for the dataset.
    #[endpoint(
        method = POST,
        path = "/dataframe/metadata/v1/metadata",
        name = "getDatasetMetadata",
        produces = conjure_http::server::StdResponseSerializer
    )]
    fn get_dataset_metadata(
        &self,
        #[auth]
        auth_: conjure_object::BearerToken,
        #[body(deserializer = conjure_http::server::StdRequestDeserializer)]
        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",
        produces = conjure_http::server::StdResponseSerializer
    )]
    fn batch_get_dataset_metadata(
        &self,
        #[auth]
        auth_: conjure_object::BearerToken,
        #[body(deserializer = conjure_http::server::StdRequestDeserializer)]
        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_endpoints(
    name = "DeprecatedDatasetMetadataService",
    use_legacy_error_serialization
)]
pub trait AsyncDeprecatedDatasetMetadataService {
    /// Resolves metadata for the dataset.
    #[endpoint(
        method = POST,
        path = "/dataframe/metadata/v1/metadata",
        name = "getDatasetMetadata",
        produces = conjure_http::server::StdResponseSerializer
    )]
    async fn get_dataset_metadata(
        &self,
        #[auth]
        auth_: conjure_object::BearerToken,
        #[body(deserializer = conjure_http::server::StdRequestDeserializer)]
        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",
        produces = conjure_http::server::StdResponseSerializer
    )]
    async fn batch_get_dataset_metadata(
        &self,
        #[auth]
        auth_: conjure_object::BearerToken,
        #[body(deserializer = conjure_http::server::StdRequestDeserializer)]
        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_endpoints(
    name = "DeprecatedDatasetMetadataService",
    use_legacy_error_serialization,
    local
)]
pub trait LocalAsyncDeprecatedDatasetMetadataService {
    /// Resolves metadata for the dataset.
    #[endpoint(
        method = POST,
        path = "/dataframe/metadata/v1/metadata",
        name = "getDatasetMetadata",
        produces = conjure_http::server::StdResponseSerializer
    )]
    async fn get_dataset_metadata(
        &self,
        #[auth]
        auth_: conjure_object::BearerToken,
        #[body(deserializer = conjure_http::server::StdRequestDeserializer)]
        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",
        produces = conjure_http::server::StdResponseSerializer
    )]
    async fn batch_get_dataset_metadata(
        &self,
        #[auth]
        auth_: conjure_object::BearerToken,
        #[body(deserializer = conjure_http::server::StdRequestDeserializer)]
        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,
    >;
}
