/**
 * 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 { IoArgoprojWorkflowV1alpha1OSSLifecycleRule } from '../models/IoArgoprojWorkflowV1alpha1OSSLifecycleRule';
import { IoK8sApiCoreV1SecretKeySelector } from '../models/IoK8sApiCoreV1SecretKeySelector';
import { HttpFile } from '../http/http';

/**
* OSSArtifact is the location of an Alibaba Cloud OSS artifact
*/
export class IoArgoprojWorkflowV1alpha1OSSArtifact {
    '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;
    /**
    * Key is the path in the bucket where the artifact resides
    */
    'key': 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 readonly discriminator: string | undefined = undefined;

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

    static getAttributeTypeMap() {
        return IoArgoprojWorkflowV1alpha1OSSArtifact.attributeTypeMap;
    }

    public constructor() {
    }
}

