Operator - Go SDK
Operator - Go SDK
Operator type definition
Operator - Go SDK
The Go SDK and docs are currently in beta. Report issues on GitHub.
1 import ( 2 "github.com/OpenRouterTeam/go-sdk/models/components" 3 ) 4 5 value := components.OperatorEquals 6 7 // Open enum: custom values can be created with a direct type cast 8 custom := components.Operator("custom_value")
| Name | Value |
|---|---|
OperatorEquals | equals |
OperatorNotEquals | not_equals |
OperatorContains | contains |
OperatorNotContains | not_contains |
OperatorRegex | regex |
OperatorStartsWith | starts_with |
OperatorEndsWith | ends_with |
OperatorGt | gt |
OperatorLt | lt |
OperatorGte | gte |
OperatorLte | lte |
OperatorExists | exists |
OperatorNotExists | not_exists |