Update optional parameters to optional structs in Data wrappers
Description
Docs changes clarification
None
Activity
Show:
Done
Details
Details
Assignee
Nicole Jung
Nicole JungTeam
SDK
Priority
Fix versions
Parent
Docs site change needed?
No
Reporter
Julie Krasnick
Julie KrasnickPagerDuty
PagerDuty Incident
PagerDuty

PagerDuty Incident
Created November 22, 2024 at 2:42 PM
Updated December 10, 2024 at 11:39 PM
Resolved December 10, 2024 at 11:39 PM
When the Data API wrappers in the Go SDK were originally created, none of the parameters were made optional. However, some of them are optional and we need to update this. The following functions actually do have parameters that are optional, so we should put all of these optional parameters into an optional struct and pass that in as a parameter.
TabularDataByFilter
BinaryDataByFilter
DeleteBinaryDataByFilter
AddTagsToBinaryDataByFilter
RemoveTagsFromBinaryDataByFilter
TagsByFilter
BoundingBoxLabelsByFilter
UpdateBoundingBox
ConfigureDatabaseUser
For example:
TabularDataByFilter
has the following optional parameters:Filter
,Limit
,Sort_order
,Last
so we should do the following: