omitempty for offset and limimt.

This commit is contained in:
Kalle Carlbark 2019-09-11 11:19:36 +02:00
parent 764ebce42b
commit f174476cdc
No known key found for this signature in database
GPG key ID: 3FC0C93C5A5A0670

View file

@ -84,8 +84,8 @@ type Dcim_Interfaces_List struct {
}
type InterfaceFilter struct {
Offset int64 `schema:"offset"`
Limit int64 `schema:"limit"`
Offset int64 `schema:"offset,omitempty"`
Limit int64 `schema:"limit,omitempty"`
//User specific filters
Id string `schema:"id,omitempty"`