Total Lines | 12 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | package requests |
||
2 | |||
3 | // PhoneAPIKeyStoreRequest is the payload for storing a phone API key |
||
4 | type PhoneAPIKeyStoreRequest struct { |
||
5 | request |
||
6 | Name string `json:"name" example:"My Phone API Key"` |
||
7 | } |
||
8 | |||
9 | // Sanitize sets defaults to MessageReceive |
||
10 | func (input *PhoneAPIKeyStoreRequest) Sanitize() PhoneAPIKeyStoreRequest { |
||
11 | input.Name = input.sanitizeAddress(input.Name) |
||
12 | return *input |
||
13 | } |
||
14 |