use conjure_http::endpoint;
/// Dataset metadata lookup. This includes metadata about the data sources
/// reachable from the dataset.
#[conjure_http::conjure_client(name = "DatasetMetadataService")]
pub trait DatasetMetadataService<
    #[response_body]
    I: Iterator<
            Item = Result<conjure_http::private::Bytes, conjure_http::private::Error>,
        >,
> {
    /// Resolves metadata for the dataset.
    #[endpoint(
        method = POST,
        path = "/dataset/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 = "/dataset/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,
    >;
}
/// Dataset metadata lookup. This includes metadata about the data sources
/// reachable from the dataset.
#[conjure_http::conjure_client(name = "DatasetMetadataService")]
pub trait AsyncDatasetMetadataService<
    #[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 = "/dataset/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 = "/dataset/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,
    >;
}
/// Dataset metadata lookup. This includes metadata about the data sources
/// reachable from the dataset.
#[conjure_http::conjure_client(name = "DatasetMetadataService", local)]
pub trait LocalAsyncDatasetMetadataService<
    #[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 = "/dataset/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 = "/dataset/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,
    >;
}
