> ## Documentation Index > Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt > Use this file to discover all available pages before exploring further. # ImageGenerationProviderPreferencesIgnore ## Supported Types ### ProviderName ```go theme={null} imageGenerationProviderPreferencesIgnore := components.CreateImageGenerationProviderPreferencesIgnoreProviderName(components.ProviderName{/* values here */}) ``` ### ```go theme={null} imageGenerationProviderPreferencesIgnore := components.CreateImageGenerationProviderPreferencesIgnoreStr(string{/* values here */}) ``` ## Union Discrimination Use the `Type` field to determine which variant is active, then access the corresponding field: ```go theme={null} switch imageGenerationProviderPreferencesIgnore.Type { case components.ImageGenerationProviderPreferencesIgnoreTypeProviderName: // imageGenerationProviderPreferencesIgnore.ProviderName is populated case components.ImageGenerationProviderPreferencesIgnoreTypeStr: // imageGenerationProviderPreferencesIgnore.Str is populated } ```