TableColoredBackgroundCellOptions🔗
Colored background cell options
Definition🔗
type TableColoredBackgroundCellOptions struct {
Type string `json:"type"`
Mode *common.TableCellBackgroundDisplayMode `json:"mode,omitempty"`
ApplyToRow *bool `json:"applyToRow,omitempty"`
WrapText *bool `json:"wrapText,omitempty"`
}
Methods🔗
UnmarshalJSONStrict🔗
UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode TableColoredBackgroundCellOptions
from JSON.
Note: the unmarshalling done by this function is strict. It will fail over required fields being absent from the input, fields having an incorrect type, unexpected fields being present, …
func (tableColoredBackgroundCellOptions *TableColoredBackgroundCellOptions) UnmarshalJSONStrict(raw []byte) error
Equals🔗
Equals tests the equality of two TableColoredBackgroundCellOptions
objects.
func (tableColoredBackgroundCellOptions *TableColoredBackgroundCellOptions) Equals(other TableColoredBackgroundCellOptions) bool
Validate🔗
Validate checks all the validation constraints that may be defined on TableColoredBackgroundCellOptions
fields for violations and returns them.