()
| 313 | } |
| 314 | |
| 315 | func (u *VectorStoreFileBatchNewParamsAttributeUnion) asAny() any { |
| 316 | if !param.IsOmitted(u.OfString) { |
| 317 | return &u.OfString.Value |
| 318 | } else if !param.IsOmitted(u.OfFloat) { |
| 319 | return &u.OfFloat.Value |
| 320 | } else if !param.IsOmitted(u.OfBool) { |
| 321 | return &u.OfBool.Value |
| 322 | } |
| 323 | return nil |
| 324 | } |
| 325 | |
| 326 | // The property FileID is required. |
| 327 | type VectorStoreFileBatchNewParamsFile struct { |
nothing calls this directly
no test coverage detected