/**
 * Argo Workflows API
 * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/
 *
 * OpenAPI spec version: VERSION
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { IoArgoprojEventsV1alpha1StorageGridFilter } from '../models/IoArgoprojEventsV1alpha1StorageGridFilter';
import { IoArgoprojEventsV1alpha1WebhookContext } from '../models/IoArgoprojEventsV1alpha1WebhookContext';
import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector';
import { HttpFile } from '../http/http';

export class IoArgoprojEventsV1alpha1StorageGridEventSource {
    /**
    * APIURL is the url of the storagegrid api.
    */
    'apiURL'?: string;
    'authToken'?: IoK8sApiCoreV1SecretKeySelector;
    /**
    * Name of the bucket to register notifications for.
    */
    'bucket'?: string;
    'events'?: Array<string>;
    'filter'?: IoArgoprojEventsV1alpha1StorageGridFilter;
    'metadata'?: { [key: string]: string; };
    'region'?: string;
    'topicArn'?: string;
    'webhook'?: IoArgoprojEventsV1alpha1WebhookContext;

    static readonly discriminator: string | undefined = undefined;

    static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
        {
            "name": "apiURL",
            "baseName": "apiURL",
            "type": "string",
            "format": ""
        },
        {
            "name": "authToken",
            "baseName": "authToken",
            "type": "IoK8sApiCoreV1SecretKeySelector",
            "format": ""
        },
        {
            "name": "bucket",
            "baseName": "bucket",
            "type": "string",
            "format": ""
        },
        {
            "name": "events",
            "baseName": "events",
            "type": "Array<string>",
            "format": ""
        },
        {
            "name": "filter",
            "baseName": "filter",
            "type": "IoArgoprojEventsV1alpha1StorageGridFilter",
            "format": ""
        },
        {
            "name": "metadata",
            "baseName": "metadata",
            "type": "{ [key: string]: string; }",
            "format": ""
        },
        {
            "name": "region",
            "baseName": "region",
            "type": "string",
            "format": ""
        },
        {
            "name": "topicArn",
            "baseName": "topicArn",
            "type": "string",
            "format": ""
        },
        {
            "name": "webhook",
            "baseName": "webhook",
            "type": "IoArgoprojEventsV1alpha1WebhookContext",
            "format": ""
        }    ];

    static getAttributeTypeMap() {
        return IoArgoprojEventsV1alpha1StorageGridEventSource.attributeTypeMap;
    }

    public constructor() {
    }
}

