Exemple #1
0
    def __init__(self, access_key=None, secret_key=None, session_token=None, region=None, bucket_name=None, service_url=None, upload_location=None, expiration_date=None, local_vars_configuration=None):  # noqa: E501
        """ObjectStorageCredentialsResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._access_key = None
        self._secret_key = None
        self._session_token = None
        self._region = None
        self._bucket_name = None
        self._service_url = None
        self._upload_location = None
        self._expiration_date = None
        self.discriminator = None

        if access_key is not None:
            self.access_key = access_key
        if secret_key is not None:
            self.secret_key = secret_key
        if session_token is not None:
            self.session_token = session_token
        if region is not None:
            self.region = region
        if bucket_name is not None:
            self.bucket_name = bucket_name
        if service_url is not None:
            self.service_url = service_url
        if upload_location is not None:
            self.upload_location = upload_location
        if expiration_date is not None:
            self.expiration_date = expiration_date
    def __init__(self, id=None, parent_folder_urn=None, operation_type=None, operation_parameters=None, progress_status=None, time_created=None, created_by=None, time_modified=None, time_completed=None, local_vars_configuration=None):  # noqa: E501
        """JobResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._parent_folder_urn = None
        self._operation_type = None
        self._operation_parameters = None
        self._progress_status = None
        self._time_created = None
        self._created_by = None
        self._time_modified = None
        self._time_completed = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if parent_folder_urn is not None:
            self.parent_folder_urn = parent_folder_urn
        if operation_type is not None:
            self.operation_type = operation_type
        if operation_parameters is not None:
            self.operation_parameters = operation_parameters
        if progress_status is not None:
            self.progress_status = progress_status
        if time_created is not None:
            self.time_created = time_created
        if created_by is not None:
            self.created_by = created_by
        if time_modified is not None:
            self.time_modified = time_modified
        if time_completed is not None:
            self.time_completed = time_completed
Exemple #3
0
    def __init__(self,
                 name=None,
                 volume_id=None,
                 folder_path=None,
                 type=None,
                 volume_name=None,
                 local_vars_configuration=None):  # noqa: E501
        """CreateFileRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._volume_id = None
        self._folder_path = None
        self._type = None
        self._volume_name = None
        self.discriminator = None

        self.name = name
        if volume_id is not None:
            self.volume_id = volume_id
        if folder_path is not None:
            self.folder_path = folder_path
        if type is not None:
            self.type = type
        if volume_name is not None:
            self.volume_name = volume_name
    def __init__(self, items=None, item_count=None, first_page_token=None, next_page_token=None, prev_page_token=None, last_page_token=None, total_item_count=None, total_page_count=None, local_vars_configuration=None):  # noqa: E501
        """VolumeListResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._items = None
        self._item_count = None
        self._first_page_token = None
        self._next_page_token = None
        self._prev_page_token = None
        self._last_page_token = None
        self._total_item_count = None
        self._total_page_count = None
        self.discriminator = None

        if items is not None:
            self.items = items
        if item_count is not None:
            self.item_count = item_count
        if first_page_token is not None:
            self.first_page_token = first_page_token
        if next_page_token is not None:
            self.next_page_token = next_page_token
        if prev_page_token is not None:
            self.prev_page_token = prev_page_token
        if last_page_token is not None:
            self.last_page_token = last_page_token
        if total_item_count is not None:
            self.total_item_count = total_item_count
        if total_page_count is not None:
            self.total_page_count = total_page_count
    def __init__(self, id=None, name=None, tenant_id=None, sub_tenant_id=None, urn=None, root_folder_id=None, root_key_prefix=None, volume_configuration_name=None, inherited_acl=None, time_created=None, created_by=None, time_modified=None, modified_by=None, job_status=None, metadata=None, import_session_id=None, object_store_access=None, local_vars_configuration=None):  # noqa: E501
        """CreateVolumeResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._tenant_id = None
        self._sub_tenant_id = None
        self._urn = None
        self._root_folder_id = None
        self._root_key_prefix = None
        self._volume_configuration_name = None
        self._inherited_acl = None
        self._time_created = None
        self._created_by = None
        self._time_modified = None
        self._modified_by = None
        self._job_status = None
        self._metadata = None
        self._import_session_id = None
        self._object_store_access = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if tenant_id is not None:
            self.tenant_id = tenant_id
        if sub_tenant_id is not None:
            self.sub_tenant_id = sub_tenant_id
        if urn is not None:
            self.urn = urn
        if root_folder_id is not None:
            self.root_folder_id = root_folder_id
        if root_key_prefix is not None:
            self.root_key_prefix = root_key_prefix
        if volume_configuration_name is not None:
            self.volume_configuration_name = volume_configuration_name
        if inherited_acl is not None:
            self.inherited_acl = inherited_acl
        if time_created is not None:
            self.time_created = time_created
        if created_by is not None:
            self.created_by = created_by
        if time_modified is not None:
            self.time_modified = time_modified
        if modified_by is not None:
            self.modified_by = modified_by
        if job_status is not None:
            self.job_status = job_status
        if metadata is not None:
            self.metadata = metadata
        if import_session_id is not None:
            self.import_session_id = import_session_id
        if object_store_access is not None:
            self.object_store_access = object_store_access
    def __init__(self, type=None, local_vars_configuration=None):  # noqa: E501
        """UpdateFileRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._type = None
        self.discriminator = None

        if type is not None:
            self.type = type
Exemple #7
0
    def __init__(self, acl=None, local_vars_configuration=None):  # noqa: E501
        """FolderUpdateRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._acl = None
        self.discriminator = None

        if acl is not None:
            self.acl = acl
    def __init__(self, name=None, object_store_settings=None, local_vars_configuration=None):  # noqa: E501
        """CreateVolumeConfigurationRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._object_store_settings = None
        self.discriminator = None

        self.name = name
        self.object_store_settings = object_store_settings
Exemple #9
0
    def __init__(self,
                 expected_session_file_count=None,
                 local_vars_configuration=None):  # noqa: E501
        """CompleteSessionRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._expected_session_file_count = None
        self.discriminator = None

        self.expected_session_file_count = expected_session_file_count
Exemple #10
0
    def __init__(self,
                 storage_tier=None,
                 local_vars_configuration=None):  # noqa: E501
        """FileArchiveRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._storage_tier = None
        self.discriminator = None

        self.storage_tier = storage_tier
Exemple #11
0
    def __init__(self,
                 restore_speed=None,
                 local_vars_configuration=None):  # noqa: E501
        """FolderUnarchiveRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._restore_speed = None
        self.discriminator = None

        self.restore_speed = restore_speed
    def __init__(self, target_parent_folder_id=None, destination_folder_name=None, local_vars_configuration=None):  # noqa: E501
        """FolderCopyRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._target_parent_folder_id = None
        self._destination_folder_name = None
        self.discriminator = None

        self.target_parent_folder_id = target_parent_folder_id
        if destination_folder_name is not None:
            self.destination_folder_name = destination_folder_name
Exemple #13
0
    def __init__(self,
                 folder_copy=None,
                 local_vars_configuration=None):  # noqa: E501
        """JobOperationParameters - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._folder_copy = None
        self.discriminator = None

        if folder_copy is not None:
            self.folder_copy = folder_copy
    def __init__(self, session_id=None, aws_s3_temporary_upload_credentials=None, local_vars_configuration=None):  # noqa: E501
        """ObjectStoreAccess - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._session_id = None
        self._aws_s3_temporary_upload_credentials = None
        self.discriminator = None

        if session_id is not None:
            self.session_id = session_id
        if aws_s3_temporary_upload_credentials is not None:
            self.aws_s3_temporary_upload_credentials = aws_s3_temporary_upload_credentials
    def __init__(self,
                 aws_s3=None,
                 secret_name=None,
                 local_vars_configuration=None):  # noqa: E501
        """ObjectStoreSettings - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._aws_s3 = None
        self._secret_name = None
        self.discriminator = None

        self.aws_s3 = aws_s3
        self.secret_name = secret_name
    def __init__(self, source_folder_urn=None, target_folder_urn=None, destination_folder_name=None, local_vars_configuration=None):  # noqa: E501
        """FolderCopyOperationParameters - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._source_folder_urn = None
        self._target_folder_urn = None
        self._destination_folder_name = None
        self.discriminator = None

        if source_folder_urn is not None:
            self.source_folder_urn = source_folder_urn
        if target_folder_urn is not None:
            self.target_folder_urn = target_folder_urn
        if destination_folder_name is not None:
            self.destination_folder_name = destination_folder_name
Exemple #17
0
    def __init__(self,
                 configuration=None,
                 header_name=None,
                 header_value=None,
                 cookie=None,
                 pool_threads=1):
        if configuration is None:
            configuration = Configuration.get_default_copy()
        self.configuration = configuration
        self.pool_threads = pool_threads

        self.rest_client = rest.RESTClientObject(configuration)
        self.default_headers = {}
        if header_name is not None:
            self.default_headers[header_name] = header_value
        self.cookie = cookie
        # Set default User-Agent.
        self.user_agent = 'OpenAPI-Generator/1.0.0/python'
        self.client_side_validation = configuration.client_side_validation
    def __init__(self,
                 name=None,
                 volume_configuration_name=None,
                 root_key_prefix=None,
                 local_vars_configuration=None):  # noqa: E501
        """CreateVolumeRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._volume_configuration_name = None
        self._root_key_prefix = None
        self.discriminator = None

        self.name = name
        if volume_configuration_name is not None:
            self.volume_configuration_name = volume_configuration_name
        if root_key_prefix is not None:
            self.root_key_prefix = root_key_prefix
    def __init__(self,
                 access_key_id=None,
                 secret_access_key=None,
                 session_token=None,
                 region=None,
                 bucket_name=None,
                 key_prefix=None,
                 expiration_date=None,
                 service_url=None,
                 local_vars_configuration=None):  # noqa: E501
        """AwsS3TemporaryUploadCredentials - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._access_key_id = None
        self._secret_access_key = None
        self._session_token = None
        self._region = None
        self._bucket_name = None
        self._key_prefix = None
        self._expiration_date = None
        self._service_url = None
        self.discriminator = None

        if access_key_id is not None:
            self.access_key_id = access_key_id
        if secret_access_key is not None:
            self.secret_access_key = secret_access_key
        if session_token is not None:
            self.session_token = session_token
        if region is not None:
            self.region = region
        if bucket_name is not None:
            self.bucket_name = bucket_name
        if key_prefix is not None:
            self.key_prefix = key_prefix
        if expiration_date is not None:
            self.expiration_date = expiration_date
        if service_url is not None:
            self.service_url = service_url
Exemple #20
0
    def __init__(self,
                 code=None,
                 message=None,
                 details=None,
                 local_vars_configuration=None):  # noqa: E501
        """ErrorResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._code = None
        self._message = None
        self._details = None
        self.discriminator = None

        if code is not None:
            self.code = code
        if message is not None:
            self.message = message
        if details is not None:
            self.details = details
    def __init__(self,
                 id=None,
                 folder_urn=None,
                 status=None,
                 time_created=None,
                 time_credentials_expire=None,
                 time_closed=None,
                 time_completed=None,
                 local_vars_configuration=None):  # noqa: E501
        """SessionResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._folder_urn = None
        self._status = None
        self._time_created = None
        self._time_credentials_expire = None
        self._time_closed = None
        self._time_completed = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if folder_urn is not None:
            self.folder_urn = folder_urn
        if status is not None:
            self.status = status
        if time_created is not None:
            self.time_created = time_created
        if time_credentials_expire is not None:
            self.time_credentials_expire = time_credentials_expire
        if time_closed is not None:
            self.time_closed = time_closed
        if time_completed is not None:
            self.time_completed = time_completed
 def __init__(self, local_vars_configuration=None):  # noqa: E501
     """VolumeSettingStatus - a model defined in OpenAPI"""  # noqa: E501
     if local_vars_configuration is None:
         local_vars_configuration = Configuration()
     self.local_vars_configuration = local_vars_configuration
     self.discriminator = None
    def __init__(self,
                 name=None,
                 tenant_id=None,
                 sub_tenant_id=None,
                 urn=None,
                 online_status=None,
                 error_code=None,
                 error_message=None,
                 time_of_last_error=None,
                 time_created=None,
                 created_by=None,
                 time_modified=None,
                 modified_by=None,
                 object_store_settings=None,
                 local_vars_configuration=None):  # noqa: E501
        """VolumeConfigurationResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._tenant_id = None
        self._sub_tenant_id = None
        self._urn = None
        self._online_status = None
        self._error_code = None
        self._error_message = None
        self._time_of_last_error = None
        self._time_created = None
        self._created_by = None
        self._time_modified = None
        self._modified_by = None
        self._object_store_settings = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if tenant_id is not None:
            self.tenant_id = tenant_id
        if sub_tenant_id is not None:
            self.sub_tenant_id = sub_tenant_id
        if urn is not None:
            self.urn = urn
        if online_status is not None:
            self.online_status = online_status
        if error_code is not None:
            self.error_code = error_code
        if error_message is not None:
            self.error_message = error_message
        if time_of_last_error is not None:
            self.time_of_last_error = time_of_last_error
        if time_created is not None:
            self.time_created = time_created
        if created_by is not None:
            self.created_by = created_by
        if time_modified is not None:
            self.time_modified = time_modified
        if modified_by is not None:
            self.modified_by = modified_by
        if object_store_settings is not None:
            self.object_store_settings = object_store_settings
    def __init__(self, id=None, name=None, volume_id=None, volume_name=None, volume_configuration_name=None, type=None, tenant_id=None, sub_tenant_id=None, path=None, time_created=None, created_by=None, time_modified=None, modified_by=None, inherited_acl=None, urn=None, size_in_bytes=None, metadata=None, is_uploaded=None, archive_status=None, time_archived=None, storage_tier=None, e_tag=None, object_store_access=None, local_vars_configuration=None):  # noqa: E501
        """FileWriteableResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._volume_id = None
        self._volume_name = None
        self._volume_configuration_name = None
        self._type = None
        self._tenant_id = None
        self._sub_tenant_id = None
        self._path = None
        self._time_created = None
        self._created_by = None
        self._time_modified = None
        self._modified_by = None
        self._inherited_acl = None
        self._urn = None
        self._size_in_bytes = None
        self._metadata = None
        self._is_uploaded = None
        self._archive_status = None
        self._time_archived = None
        self._storage_tier = None
        self._e_tag = None
        self._object_store_access = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if volume_id is not None:
            self.volume_id = volume_id
        if volume_name is not None:
            self.volume_name = volume_name
        if volume_configuration_name is not None:
            self.volume_configuration_name = volume_configuration_name
        if type is not None:
            self.type = type
        if tenant_id is not None:
            self.tenant_id = tenant_id
        if sub_tenant_id is not None:
            self.sub_tenant_id = sub_tenant_id
        if path is not None:
            self.path = path
        if time_created is not None:
            self.time_created = time_created
        if created_by is not None:
            self.created_by = created_by
        if time_modified is not None:
            self.time_modified = time_modified
        if modified_by is not None:
            self.modified_by = modified_by
        if inherited_acl is not None:
            self.inherited_acl = inherited_acl
        if urn is not None:
            self.urn = urn
        if size_in_bytes is not None:
            self.size_in_bytes = size_in_bytes
        if metadata is not None:
            self.metadata = metadata
        if is_uploaded is not None:
            self.is_uploaded = is_uploaded
        if archive_status is not None:
            self.archive_status = archive_status
        if time_archived is not None:
            self.time_archived = time_archived
        if storage_tier is not None:
            self.storage_tier = storage_tier
        if e_tag is not None:
            self.e_tag = e_tag
        if object_store_access is not None:
            self.object_store_access = object_store_access
 def __init__(self, local_vars_configuration=None):  # noqa: E501
     """FolderArchiveStorageTier - a model defined in OpenAPI"""  # noqa: E501
     if local_vars_configuration is None:
         local_vars_configuration = Configuration()
     self.local_vars_configuration = local_vars_configuration
     self.discriminator = None
Exemple #26
0
 def __init__(self, local_vars_configuration=None):  # noqa: E501
     """JobOperationType - a model defined in OpenAPI"""  # noqa: E501
     if local_vars_configuration is None:
         local_vars_configuration = Configuration()
     self.local_vars_configuration = local_vars_configuration
     self.discriminator = None
    def __init__(self,
                 id=None,
                 name=None,
                 volume_id=None,
                 volume_name=None,
                 tenant_id=None,
                 sub_tenant_id=None,
                 urn=None,
                 path=None,
                 acl=None,
                 inherited_acl=None,
                 time_created=None,
                 created_by=None,
                 time_modified=None,
                 modified_by=None,
                 metadata=None,
                 job_status=None,
                 archive_job_storage_tier=None,
                 local_vars_configuration=None):  # noqa: E501
        """FolderResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._volume_id = None
        self._volume_name = None
        self._tenant_id = None
        self._sub_tenant_id = None
        self._urn = None
        self._path = None
        self._acl = None
        self._inherited_acl = None
        self._time_created = None
        self._created_by = None
        self._time_modified = None
        self._modified_by = None
        self._metadata = None
        self._job_status = None
        self._archive_job_storage_tier = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if volume_id is not None:
            self.volume_id = volume_id
        if volume_name is not None:
            self.volume_name = volume_name
        if tenant_id is not None:
            self.tenant_id = tenant_id
        if sub_tenant_id is not None:
            self.sub_tenant_id = sub_tenant_id
        if urn is not None:
            self.urn = urn
        if path is not None:
            self.path = path
        if acl is not None:
            self.acl = acl
        if inherited_acl is not None:
            self.inherited_acl = inherited_acl
        if time_created is not None:
            self.time_created = time_created
        if created_by is not None:
            self.created_by = created_by
        if time_modified is not None:
            self.time_modified = time_modified
        if modified_by is not None:
            self.modified_by = modified_by
        if metadata is not None:
            self.metadata = metadata
        if job_status is not None:
            self.job_status = job_status
        if archive_job_storage_tier is not None:
            self.archive_job_storage_tier = archive_job_storage_tier