// @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 { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from './ioArgoprojWorkflowV1alpha1OSSLifecycleRule';
import { IoK8sApiCoreV1SecretKeySelector } from './ioK8sApiCoreV1SecretKeySelector';

/**
* OSSArtifactRepository defines the controller configuration for an OSS artifact repository
*/
export class IoArgoprojWorkflowV1alpha1OSSArtifactRepository {
    'accessKeySecret'?: IoK8sApiCoreV1SecretKeySelector;
    /**
    * Bucket is the name of the bucket
    */
    'bucket'?: string;
    /**
    * CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn\'t exist
    */
    'createBucketIfNotPresent'?: boolean;
    /**
    * Endpoint is the hostname of the bucket endpoint
    */
    'endpoint'?: string;
    /**
    * KeyFormat is defines the format of how to store keys. Can reference workflow variables
    */
    'keyFormat'?: string;
    'lifecycleRule'?: IoArgoprojWorkflowV1alpha1OSSLifecycleRule;
    'secretKeySecret'?: IoK8sApiCoreV1SecretKeySelector;
    /**
    * SecurityToken is the user\'s temporary security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm
    */
    'securityToken'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "accessKeySecret",
            "baseName": "accessKeySecret",
            "type": "IoK8sApiCoreV1SecretKeySelector"
        },
        {
            "name": "bucket",
            "baseName": "bucket",
            "type": "string"
        },
        {
            "name": "createBucketIfNotPresent",
            "baseName": "createBucketIfNotPresent",
            "type": "boolean"
        },
        {
            "name": "endpoint",
            "baseName": "endpoint",
            "type": "string"
        },
        {
            "name": "keyFormat",
            "baseName": "keyFormat",
            "type": "string"
        },
        {
            "name": "lifecycleRule",
            "baseName": "lifecycleRule",
            "type": "IoArgoprojWorkflowV1alpha1OSSLifecycleRule"
        },
        {
            "name": "secretKeySecret",
            "baseName": "secretKeySecret",
            "type": "IoK8sApiCoreV1SecretKeySelector"
        },
        {
            "name": "securityToken",
            "baseName": "securityToken",
            "type": "string"
        }    ];

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

