diff --git a/client/app_usage.go b/client/app_usage.go index db452f9..8e1abbb 100644 --- a/client/app_usage.go +++ b/client/app_usage.go @@ -13,6 +13,9 @@ type AppUsageClient commonClient // AppUsageListOptions list filters type AppUsageListOptions struct { *ListOptions + + AfterGUID string `qs:"after_guid"` + GUIDs Filter `qs:"guids"` } // NewAppUsageOptions creates new options to pass to list diff --git a/client/package.go b/client/package.go index 94b74d4..5743d1a 100644 --- a/client/package.go +++ b/client/package.go @@ -15,9 +15,12 @@ type PackageClient commonClient type PackageListOptions struct { *ListOptions - GUIDs Filter `qs:"guids"` // list of package guids to filter by - States Filter `qs:"states"` // list of package states to filter by - Types Filter `qs:"types"` // list of package types to filter by, docker or bits + GUIDs Filter `qs:"guids"` // list of package guids to filter by + States Filter `qs:"states"` // list of package states to filter by + Types Filter `qs:"types"` // list of package types to filter by, docker or bits + AppGUIDs Filter `qs:"app_guids"` // list of app guids to filter by + SpaceGUIDs Filter `qs:"space_guids"` // list of space guids to filter by + OrganizationGUIDs Filter `qs:"organization_guids"` // list of organization guids to filter by } // NewPackageListOptions creates new options to pass to list diff --git a/client/process.go b/client/process.go index 3e38ec5..72bd94f 100644 --- a/client/process.go +++ b/client/process.go @@ -16,7 +16,6 @@ type ProcessListOptions struct { GUIDs Filter `qs:"guids"` Types Filter `qs:"types"` - Names Filter `qs:"names"` AppGUIDs Filter `qs:"app_guids"` SpaceGUIDs Filter `qs:"space_guids"` OrganizationGUIDs Filter `qs:"organization_guids"` diff --git a/client/stack.go b/client/stack.go index 2baf94d..1671f6d 100644 --- a/client/stack.go +++ b/client/stack.go @@ -14,7 +14,8 @@ type StackClient commonClient type StackListOptions struct { *ListOptions - Names Filter `qs:"names"` // list of stack names to filter by + Names Filter `qs:"names"` // list of stack names to filter by + Default *bool `qs:"default"` } // NewStackListOptions creates new options to pass to list diff --git a/client/task.go b/client/task.go index 28e84e1..150f376 100644 --- a/client/task.go +++ b/client/task.go @@ -17,6 +17,7 @@ type TaskListOptions struct { GUIDs Filter `qs:"guids"` Names Filter `qs:"names"` States Filter `qs:"states"` + AppGUIDs Filter `qs:"app_guids"` SpaceGUIDs Filter `qs:"space_guids"` OrganizationGUIDs Filter `qs:"organization_guids"` }