// @ts-nocheck
/**
 * 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/
 *
 * The version of the OpenAPI document: 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 { RequestFile } from './models';
import { IoArgoprojEventsV1alpha1BitbucketServerRepository } from './ioArgoprojEventsV1alpha1BitbucketServerRepository';
import { IoArgoprojEventsV1alpha1EventSourceFilter } from './ioArgoprojEventsV1alpha1EventSourceFilter';
import { IoArgoprojEventsV1alpha1WebhookContext } from './ioArgoprojEventsV1alpha1WebhookContext';
import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector';

export class IoArgoprojEventsV1alpha1BitbucketServerEventSource {
    'accessToken'?: IoK8sApiCoreV1SecretKeySelector;
    'bitbucketserverBaseURL'?: string;
    'deleteHookOnFinish'?: boolean;
    'events'?: Array<string>;
    'filter'?: IoArgoprojEventsV1alpha1EventSourceFilter;
    'metadata'?: { [key: string]: string; };
    'projectKey'?: string;
    'repositories'?: Array<IoArgoprojEventsV1alpha1BitbucketServerRepository>;
    'repositorySlug'?: string;
    'webhook'?: IoArgoprojEventsV1alpha1WebhookContext;
    'webhookSecret'?: IoK8sApiCoreV1SecretKeySelector;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "accessToken",
            "baseName": "accessToken",
            "type": "IoK8sApiCoreV1SecretKeySelector"
        },
        {
            "name": "bitbucketserverBaseURL",
            "baseName": "bitbucketserverBaseURL",
            "type": "string"
        },
        {
            "name": "deleteHookOnFinish",
            "baseName": "deleteHookOnFinish",
            "type": "boolean"
        },
        {
            "name": "events",
            "baseName": "events",
            "type": "Array<string>"
        },
        {
            "name": "filter",
            "baseName": "filter",
            "type": "IoArgoprojEventsV1alpha1EventSourceFilter"
        },
        {
            "name": "metadata",
            "baseName": "metadata",
            "type": "{ [key: string]: string; }"
        },
        {
            "name": "projectKey",
            "baseName": "projectKey",
            "type": "string"
        },
        {
            "name": "repositories",
            "baseName": "repositories",
            "type": "Array<IoArgoprojEventsV1alpha1BitbucketServerRepository>"
        },
        {
            "name": "repositorySlug",
            "baseName": "repositorySlug",
            "type": "string"
        },
        {
            "name": "webhook",
            "baseName": "webhook",
            "type": "IoArgoprojEventsV1alpha1WebhookContext"
        },
        {
            "name": "webhookSecret",
            "baseName": "webhookSecret",
            "type": "IoK8sApiCoreV1SecretKeySelector"
        }    ];

    static getAttributeTypeMap() {
        return IoArgoprojEventsV1alpha1BitbucketServerEventSource.attributeTypeMap;
    }
}

