update model
This commit is contained in:
		
							parent
							
								
									b1202dc4e3
								
							
						
					
					
						commit
						4c5d75dda6
					
				
							
								
								
									
										7
									
								
								model.go
								
								
								
								
							
							
						
						
									
										7
									
								
								model.go
								
								
								
								
							| 
						 | 
					@ -14,8 +14,8 @@ type PushRequest struct {
 | 
				
			||||||
	Body     string   `json:"body"`
 | 
						Body     string   `json:"body"`
 | 
				
			||||||
	Data     string   `json:"data"`
 | 
						Data     string   `json:"data"`
 | 
				
			||||||
	Users    []string `json:"users"`
 | 
						Users    []string `json:"users"`
 | 
				
			||||||
	Label    string   `json:"label"`
 | 
						Label    string   `json:"label,omitempty"`
 | 
				
			||||||
	Category string   `json:"category"`
 | 
						Category string   `json:"category,omitempty"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// PushResponse ...
 | 
					// PushResponse ...
 | 
				
			||||||
| 
						 | 
					@ -72,7 +72,6 @@ type ListNotificationResponse struct {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Read ...
 | 
					// Read ...
 | 
				
			||||||
type Read struct {
 | 
					type Read struct {
 | 
				
			||||||
	APIKey string `json:"apiKey"`
 | 
					 | 
				
			||||||
	ID string `json:"id"`
 | 
						ID string `json:"id"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -89,7 +88,7 @@ type read struct {
 | 
				
			||||||
// CountUnread ...
 | 
					// CountUnread ...
 | 
				
			||||||
type CountUnread struct {
 | 
					type CountUnread struct {
 | 
				
			||||||
	User     string `json:"user"`
 | 
						User     string `json:"user"`
 | 
				
			||||||
	Category string `json:"category"`
 | 
						Category string `json:"category,omitempty"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// CountUnreadResponse ...
 | 
					// CountUnreadResponse ...
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue