Skip to content

Commit 26e3cf9

Browse files
authored
added object value info struct
1 parent 7b9fb94 commit 26e3cf9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

models.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -981,6 +981,15 @@ type Variable struct {
981981
ValueInfo interface{} `json:"valueInfo,omitempty"`
982982
}
983983

984+
// For serialized variables of type Object, the following properties can be provided:
985+
type ObjectValueInfo struct {
986+
// A string representation of the object's type name.
987+
ObjectTypeName string `json:"objectTypeName,omitempty"`
988+
989+
// The serialization format used to store the variable.
990+
SerializationDataFormat string `json:"serializationDataFormat,omitempty"`
991+
}
992+
984993
func (e *Error) Error() string {
985994
return fmt.Sprintf("type %s, message: %s", e.Type, e.Message)
986995
}

0 commit comments

Comments
 (0)