syntax = "proto3"; package bet.beteran.c2se.member_game_setting; import "protobuf/rpc.proto"; import "protobuf/pagination.proto"; import "models/member_game_setting.proto"; message CreateMemberGameSettingRequest { string member_id = 1; bool can_bet_casino = 2; bool can_bet_slot = 3; bool can_bet_powerball = 4; bool can_bet_powerladder = 5; bool can_bet_eos = 6; bool can_bet_bogglepowerball = 7; } message CreateMemberGameSettingResponse { message Result { bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 1; } optional bet.protobuf.rpc.Error error = 1; optional Result result = 2; } message ListMemberGameSettingsRequest { message Search { optional string member_id = 1; } optional bet.protobuf.pagination.Pagination pagination = 1; repeated bet.protobuf.pagination.Sort sorts = 2; optional Search search = 3; } message ListMemberGameSettingsResponse { message Result { uint64 total_count = 1; repeated bet.beteran.member_game_setting.MemberGameSetting member_game_settings = 2; } optional bet.protobuf.rpc.Error error = 1; optional Result result = 2; } message GetMemberGameSettingRequest { string id = 1; } message GetMemberGameSettingResponse { message Result { bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 1; } optional bet.protobuf.rpc.Error error = 1; optional Result result = 2; } message UpdateMemberGameSettingRequest { string id = 1; bool can_bet_casino = 2; bool can_bet_slot = 3; bool can_bet_powerball = 4; bool can_bet_powerladder = 5; bool can_bet_eos = 6; bool can_bet_bogglepowerball = 7; } message UpdateMemberGameSettingResponse { message Result { bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 1; } optional bet.protobuf.rpc.Error error = 1; optional Result result = 2; } message DeleteMemberGameSettingRequest { string id = 1; } message DeleteMemberGameSettingResponse { message Result { } optional bet.protobuf.rpc.Error error = 1; optional Result result = 2; }