mirror of
https://github.com/LukeHagar/plexterraform.git
synced 2025-12-09 20:47:45 +00:00
32 lines
1.1 KiB
Go
32 lines
1.1 KiB
Go
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
package reflect
|
|
|
|
const (
|
|
SourceTypeState = iota
|
|
SourceTypePlan
|
|
)
|
|
|
|
// Options provides configuration settings for how the reflection behavior
|
|
// works, letting callers tweak different behaviors based on their needs.
|
|
type Options struct {
|
|
// UnhandledNullAsEmpty controls whether null values should be
|
|
// translated into empty values without provider interaction, or if
|
|
// they must be explicitly handled.
|
|
UnhandledNullAsEmpty bool
|
|
|
|
// UnhandledUnknownAsEmpty controls whether null values should be
|
|
// translated into empty values without provider interaction, or if
|
|
// they must be explicitly handled.
|
|
UnhandledUnknownAsEmpty bool
|
|
|
|
// AllowRoundingNumbers silently rounds numbers that don't fit
|
|
// perfectly in the types they're being stored in, rather than
|
|
// returning errors. Numbers will always be rounded towards 0.
|
|
AllowRoundingNumbers bool
|
|
// SourceType informs the reflection system what the source is
|
|
// such that it can make decisions based on the tfPlanOnly annotation
|
|
// The default is SourceTypeState
|
|
SourceType int
|
|
}
|