omitempty for offset and limimt.
This commit is contained in:
parent
764ebce42b
commit
f174476cdc
1 changed files with 2 additions and 2 deletions
|
@ -84,8 +84,8 @@ type Dcim_Interfaces_List struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type InterfaceFilter struct {
|
type InterfaceFilter struct {
|
||||||
Offset int64 `schema:"offset"`
|
Offset int64 `schema:"offset,omitempty"`
|
||||||
Limit int64 `schema:"limit"`
|
Limit int64 `schema:"limit,omitempty"`
|
||||||
|
|
||||||
//User specific filters
|
//User specific filters
|
||||||
Id string `schema:"id,omitempty"`
|
Id string `schema:"id,omitempty"`
|
||||||
|
|
Loading…
Reference in a new issue