File size: 376 Bytes
83a59ca
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package requests

// PhoneAPIKeyStoreRequest is the payload for storing a phone API key
type PhoneAPIKeyStoreRequest struct {
	request
	Name string `json:"name" example:"My Phone API Key"`
}

// Sanitize sets defaults to MessageReceive
func (input *PhoneAPIKeyStoreRequest) Sanitize() PhoneAPIKeyStoreRequest {
	input.Name = input.sanitizeAddress(input.Name)
	return *input
}