diff --git a/src/c2se/member_class.rs b/src/c2se/member_class.rs index fe20a50..eb68036 100644 --- a/src/c2se/member_class.rs +++ b/src/c2se/member_class.rs @@ -1,116 +1,121 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberClassRequest { - #[prost(string, optional, tag="1")] - pub parent_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, tag="2")] - pub name: ::prost::alloc::string::String, + #[prost(string, optional, tag = "1")] + pub parent_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag = "2")] + pub name: ::prost::alloc::string::String, + #[prost(bool, tag = "3")] + pub show: bool, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberClassResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `CreateMemberClassResponse`. pub mod create_member_class_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_class: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_class: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberClassesRequest { - #[prost(message, optional, tag="1")] - pub pagination: ::core::option::Option, - #[prost(message, repeated, tag="2")] - pub sorts: ::prost::alloc::vec::Vec, - #[prost(message, optional, tag="3")] - pub search: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub pagination: ::core::option::Option, + #[prost(message, repeated, tag = "2")] + pub sorts: ::prost::alloc::vec::Vec, + #[prost(message, optional, tag = "3")] + pub search: ::core::option::Option, } /// Nested message and enum types in `ListMemberClassesRequest`. pub mod list_member_classes_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Search { - #[prost(string, optional, tag="4")] - pub name_like: ::core::option::Option<::prost::alloc::string::String>, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Search { + #[prost(string, optional, tag = "1")] + pub name_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(bool, tag = "2")] + pub show: bool, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberClassesResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `ListMemberClassesResponse`. pub mod list_member_classes_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, repeated, tag="1")] - pub member_classes: ::prost::alloc::vec::Vec, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, repeated, tag = "1")] + pub member_classes: ::prost::alloc::vec::Vec, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberClassRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberClassResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `GetMemberClassResponse`. pub mod get_member_class_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_class: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_class: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberClassRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, optional, tag="2")] - pub parent_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, tag="3")] - pub name: ::prost::alloc::string::String, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, optional, tag = "2")] + pub parent_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag = "3")] + pub name: ::prost::alloc::string::String, + #[prost(bool, tag = "4")] + pub show: bool, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberClassResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `UpdateMemberClassResponse`. pub mod update_member_class_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_class: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_class: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberClassRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberClassResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `DeleteMemberClassResponse`. pub mod delete_member_class_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} } diff --git a/src/c2se/member_level.rs b/src/c2se/member_level.rs index 00685fa..87c1a5a 100644 --- a/src/c2se/member_level.rs +++ b/src/c2se/member_level.rs @@ -1,116 +1,121 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberLevelRequest { - #[prost(string, tag="1")] - pub name: ::prost::alloc::string::String, - #[prost(uint32, tag="2")] - pub sort_order: u32, + #[prost(string, tag = "1")] + pub name: ::prost::alloc::string::String, + #[prost(bool, tag = "2")] + pub show: bool, + #[prost(uint32, tag = "3")] + pub sort_order: u32, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMemberLevelResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `CreateMemberLevelResponse`. pub mod create_member_level_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_level: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_level: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberLevelsRequest { - #[prost(message, optional, tag="1")] - pub pagination: ::core::option::Option, - #[prost(message, repeated, tag="2")] - pub sorts: ::prost::alloc::vec::Vec, - #[prost(message, optional, tag="3")] - pub search: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub pagination: ::core::option::Option, + #[prost(message, repeated, tag = "2")] + pub sorts: ::prost::alloc::vec::Vec, + #[prost(message, optional, tag = "3")] + pub search: ::core::option::Option, } /// Nested message and enum types in `ListMemberLevelsRequest`. pub mod list_member_levels_request { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Search { - #[prost(string, optional, tag="1")] - pub name_like: ::core::option::Option<::prost::alloc::string::String>, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Search { + #[prost(string, optional, tag = "1")] + pub name_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(bool, optional, tag = "2")] + pub show: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMemberLevelsResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `ListMemberLevelsResponse`. pub mod list_member_levels_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, repeated, tag="1")] - pub member_levels: ::prost::alloc::vec::Vec, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, repeated, tag = "1")] + pub member_levels: ::prost::alloc::vec::Vec, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberLevelRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMemberLevelResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `GetMemberLevelResponse`. pub mod get_member_level_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_level: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_level: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberLevelRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub name: ::prost::alloc::string::String, - #[prost(uint32, tag="3")] - pub sort_order: u32, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub name: ::prost::alloc::string::String, + #[prost(bool, tag = "3")] + pub show: bool, + #[prost(uint32, tag = "4")] + pub sort_order: u32, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberLevelResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `UpdateMemberLevelResponse`. pub mod update_member_level_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - #[prost(message, optional, tag="1")] - pub member_level: ::core::option::Option, - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag = "1")] + pub member_level: ::core::option::Option, + } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberLevelRequest { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberLevelResponse { - #[prost(message, optional, tag="1")] - pub error: ::core::option::Option, - #[prost(message, optional, tag="2")] - pub result: ::core::option::Option, + #[prost(message, optional, tag = "1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub result: ::core::option::Option, } /// Nested message and enum types in `DeleteMemberLevelResponse`. pub mod delete_member_level_response { - #[derive(Clone, PartialEq, ::prost::Message)] - pub struct Result { - } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} } diff --git a/src/models/member_class.rs b/src/models/member_class.rs index 388e802..15f1234 100644 --- a/src/models/member_class.rs +++ b/src/models/member_class.rs @@ -1,13 +1,15 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct MemberClass { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, optional, tag="2")] - pub parent_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, tag="3")] - pub name: ::prost::alloc::string::String, - #[prost(uint64, tag="4")] - pub created_at: u64, - #[prost(uint64, tag="5")] - pub updated_at: u64, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, optional, tag = "2")] + pub parent_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag = "3")] + pub name: ::prost::alloc::string::String, + #[prost(bool, tag = "4")] + pub show: bool, + #[prost(uint64, tag = "5")] + pub created_at: u64, + #[prost(uint64, tag = "6")] + pub updated_at: u64, } diff --git a/src/models/member_level.rs b/src/models/member_level.rs index 798f0ad..d3c65e7 100644 --- a/src/models/member_level.rs +++ b/src/models/member_level.rs @@ -1,13 +1,15 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct MemberLevel { - #[prost(string, tag="1")] - pub id: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub name: ::prost::alloc::string::String, - #[prost(uint32, tag="3")] - pub sort_order: u32, - #[prost(uint64, tag="4")] - pub created_at: u64, - #[prost(uint64, tag="5")] - pub updated_at: u64, + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub name: ::prost::alloc::string::String, + #[prost(bool, tag = "3")] + pub show: bool, + #[prost(uint32, tag = "4")] + pub sort_order: u32, + #[prost(uint64, tag = "5")] + pub created_at: u64, + #[prost(uint64, tag = "6")] + pub updated_at: u64, } diff --git a/src/ss/member_class.rs b/src/ss/member_class.rs index 1eab5ae..3a5eaef 100644 --- a/src/ss/member_class.rs +++ b/src/ss/member_class.rs @@ -26,6 +26,8 @@ pub mod create_member_class_request { pub parent_id: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, tag = "2")] pub name: ::prost::alloc::string::String, + #[prost(bool, tag = "3")] + pub show: bool, } } #[derive(Clone, PartialEq, ::prost::Message)] @@ -68,6 +70,8 @@ pub mod list_member_classes_request { pub struct Search { #[prost(string, optional, tag = "1")] pub name_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(bool, optional, tag = "2")] + pub show: ::core::option::Option, } } } @@ -135,6 +139,8 @@ pub mod update_member_class_request { pub parent_id: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, tag = "3")] pub name: ::prost::alloc::string::String, + #[prost(bool, tag = "4")] + pub show: bool, } } #[derive(Clone, PartialEq, ::prost::Message)] diff --git a/src/ss/member_level.rs b/src/ss/member_level.rs index 55c9e8d..d095265 100644 --- a/src/ss/member_level.rs +++ b/src/ss/member_level.rs @@ -23,7 +23,9 @@ pub mod create_member_level_request { pub struct Request { #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, - #[prost(uint32, tag = "2")] + #[prost(bool, tag = "2")] + pub show: bool, + #[prost(uint32, tag = "3")] pub sort_order: u32, } } @@ -67,6 +69,8 @@ pub mod list_member_levels_request { pub struct Search { #[prost(string, optional, tag = "1")] pub name_like: ::core::option::Option<::prost::alloc::string::String>, + #[prost(bool, optional, tag = "2")] + pub show: ::core::option::Option, } } } @@ -132,7 +136,9 @@ pub mod update_member_level_request { pub id: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub name: ::prost::alloc::string::String, - #[prost(uint32, tag = "3")] + #[prost(bool, tag = "3")] + pub show: bool, + #[prost(uint32, tag = "4")] pub sort_order: u32, } }