#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SendReportInfoReq {
#[prost(int64, tag = "1")]
pub room_id: i64,
#[prost(string, tag = "2")]
pub report_tag: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub report_reason: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub pic_url: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub play_stream: ::prost::alloc::string::String,
}
impl ::prost::Name for SendReportInfoReq {
const NAME: &'static str = "SendReportInfoReq";
const PACKAGE: &'static str = "bilibili.live.xroom_extend.api.v1";
fn full_name() -> ::prost::alloc::string::String {
"bilibili.live.xroom_extend.api.v1.SendReportInfoReq".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/bilibili.live.xroom_extend.api.v1.SendReportInfoReq".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SendReportInfoResp {
#[prost(enumeration = "ReportStatus", tag = "1")]
pub report_status: i32,
#[prost(string, tag = "2")]
pub toast: ::prost::alloc::string::String,
}
impl ::prost::Name for SendReportInfoResp {
const NAME: &'static str = "SendReportInfoResp";
const PACKAGE: &'static str = "bilibili.live.xroom_extend.api.v1";
fn full_name() -> ::prost::alloc::string::String {
"bilibili.live.xroom_extend.api.v1.SendReportInfoResp".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/bilibili.live.xroom_extend.api.v1.SendReportInfoResp".into()
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum ReportStatus {
ReportException = 0,
ReportSuccess = 1,
}
impl ReportStatus {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::ReportException => "REPORT_EXCEPTION",
Self::ReportSuccess => "REPORT_SUCCESS",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"REPORT_EXCEPTION" => Some(Self::ReportException),
"REPORT_SUCCESS" => Some(Self::ReportSuccess),
_ => None,
}
}
}