Access and set Capture properties
masterThe Capture object provides getter and setter methods for all its fields.
Getter Patterns
For most fields, there are two types of getters:
Get<FieldName>(): Returns the field value if non-nil, or the zero value otherwise.Get<FieldName>Ok(): Returns a tuple containing a pointer to the field value and a boolean indicating if the value was actually set.
Setter Patterns
Set<FieldName>(v): Sets the field to the provided value.- For
NullableStringormaptypes, you can also use:Set<FieldName>Nil(bool): Sets the value to an explicitnil.Unset<FieldName>(): Ensures no value is present, not even an explicitnil.