mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-23 15:51:24 +00:00
change to address street
This commit is contained in:
@@ -10,40 +10,40 @@ service Contact {
|
||||
rpc Update(UpdateRequest) returns (UpdateResponse) {}
|
||||
rpc Delete(DeleteRequest) returns (DeleteResponse) {}
|
||||
rpc List(ListRequest) returns (ListResponse) {}
|
||||
// TODO: wait for the search API
|
||||
// TODO: wait for the search API
|
||||
// rpc Search(Request) returns (Response) {}
|
||||
}
|
||||
|
||||
message Phone {
|
||||
// the label of the phone number
|
||||
// the label of the phone number
|
||||
string label = 1;
|
||||
// phone number
|
||||
// phone number
|
||||
string number = 2;
|
||||
}
|
||||
|
||||
message Email {
|
||||
// the label of the email
|
||||
// the label of the email
|
||||
string label = 1;
|
||||
// the email address
|
||||
// the email address
|
||||
string address = 2;
|
||||
}
|
||||
|
||||
message Link {
|
||||
// the label of the link
|
||||
// the label of the link
|
||||
string label = 1;
|
||||
// the url of the contact
|
||||
// the url of the contact
|
||||
string url = 2;
|
||||
}
|
||||
|
||||
message Address {
|
||||
// the label of the address
|
||||
// the label of the address
|
||||
string label = 1;
|
||||
// the address
|
||||
string address = 2;
|
||||
// the street address
|
||||
string street = 2;
|
||||
}
|
||||
|
||||
message SocialMedia {
|
||||
// the label of the social
|
||||
// the label of the social
|
||||
string label = 1;
|
||||
// the username of social media
|
||||
string username = 2;
|
||||
@@ -148,4 +148,4 @@ message ListRequest {
|
||||
|
||||
message ListResponse {
|
||||
repeated ContactInfo contacts = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user