コード例 #1
0
    def __init__(self,
                 scope=None,
                 activity=None,
                 entity=None,
                 local_vars_configuration=None):  # noqa: E501
        """ActionId - a model defined in OpenAPI"
        
        :param scope:  (required)
        :type scope: str
        :param activity:  (required)
        :type activity: str
        :param entity:  (required)
        :type entity: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._scope = None
        self._activity = None
        self._entity = None
        self.discriminator = None

        self.scope = scope
        self.activity = activity
        self.entity = entity
コード例 #2
0
    def __init__(self, description=None, action=None, limited_set=None, links=None, local_vars_configuration=None):  # noqa: E501
        """AccessControlledAction - a model defined in OpenAPI"
        
        :param description:  (required)
        :type description: str
        :param action:  (required)
        :type action: lusid_drive.ActionId
        :param limited_set: 
        :type limited_set: list[lusid_drive.IdSelectorDefinition]
        :param links: 
        :type links: list[lusid_drive.Link]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._description = None
        self._action = None
        self._limited_set = None
        self._links = None
        self.discriminator = None

        self.description = description
        self.action = action
        self.limited_set = limited_set
        self.links = links
コード例 #3
0
    def __init__(self,
                 identifier=None,
                 actions=None,
                 name=None,
                 description=None,
                 local_vars_configuration=None):  # noqa: E501
        """IdSelectorDefinition - a model defined in OpenAPI"
        
        :param identifier:  (required)
        :type identifier: dict(str, str)
        :param actions:  (required)
        :type actions: list[lusid_drive.ActionId]
        :param name: 
        :type name: str
        :param description: 
        :type description: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._identifier = None
        self._actions = None
        self._name = None
        self._description = None
        self.discriminator = None

        self.identifier = identifier
        self.actions = actions
        self.name = name
        self.description = description
コード例 #4
0
    def __init__(self,
                 relation=None,
                 href=None,
                 description=None,
                 method=None,
                 local_vars_configuration=None):  # noqa: E501
        """Link - a model defined in OpenAPI"
        
        :param relation:  (required)
        :type relation: str
        :param href:  (required)
        :type href: str
        :param description: 
        :type description: str
        :param method:  (required)
        :type method: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._relation = None
        self._href = None
        self._description = None
        self._method = None
        self.discriminator = None

        self.relation = relation
        self.href = href
        self.description = description
        self.method = method
コード例 #5
0
    def __init__(self, index=None, name=None, display_name=None, description=None, required=None, links=None, local_vars_configuration=None):  # noqa: E501
        """IdentifierPartSchema - a model defined in OpenAPI"
        
        :param index:  (required)
        :type index: int
        :param name:  (required)
        :type name: str
        :param display_name:  (required)
        :type display_name: str
        :param description:  (required)
        :type description: str
        :param required:  (required)
        :type required: bool
        :param links: 
        :type links: list[lusid_drive.Link]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._index = None
        self._name = None
        self._display_name = None
        self._description = None
        self._required = None
        self._links = None
        self.discriminator = None

        self.index = index
        self.name = name
        self.display_name = display_name
        self.description = description
        self.required = required
        self.links = links
コード例 #6
0
    def __init__(self,
                 name=None,
                 error_details=None,
                 code=None,
                 type=None,
                 title=None,
                 status=None,
                 detail=None,
                 instance=None,
                 extensions=None,
                 local_vars_configuration=None):  # noqa: E501
        """LusidProblemDetails - a model defined in OpenAPI"
        
        :param name:  (required)
        :type name: str
        :param error_details: 
        :type error_details: list[dict(str, str)]
        :param code:  (required)
        :type code: int
        :param type: 
        :type type: str
        :param title: 
        :type title: str
        :param status: 
        :type status: int
        :param detail: 
        :type detail: str
        :param instance: 
        :type instance: str
        :param extensions: 
        :type extensions: dict(str, object)

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._error_details = None
        self._code = None
        self._type = None
        self._title = None
        self._status = None
        self._detail = None
        self._instance = None
        self._extensions = None
        self.discriminator = None

        self.name = name
        self.error_details = error_details
        self.code = code
        self.type = type
        self.title = title
        self.status = status
        self.detail = detail
        self.instance = instance
        self.extensions = extensions
コード例 #7
0
    def __init__(self, configuration=None, header_name=None, header_value=None,
                 cookie=None, pool_threads=1):
        if configuration is None:
            configuration = Configuration()
        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/0.1.185/python'
コード例 #8
0
    def __init__(self,
                 application=None,
                 name=None,
                 description=None,
                 actions=None,
                 identifier_parts=None,
                 links=None,
                 local_vars_configuration=None):  # noqa: E501
        """AccessControlledResource - a model defined in OpenAPI"
        
        :param application: 
        :type application: str
        :param name: 
        :type name: str
        :param description:  (required)
        :type description: str
        :param actions:  (required)
        :type actions: list[lusid_drive.AccessControlledAction]
        :param identifier_parts: 
        :type identifier_parts: list[lusid_drive.IdentifierPartSchema]
        :param links: 
        :type links: list[lusid_drive.Link]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._application = None
        self._name = None
        self._description = None
        self._actions = None
        self._identifier_parts = None
        self._links = None
        self.discriminator = None

        self.application = application
        self.name = name
        self.description = description
        self.actions = actions
        self.identifier_parts = identifier_parts
        self.links = links
コード例 #9
0
    def __init__(self,
                 path=None,
                 name=None,
                 local_vars_configuration=None):  # noqa: E501
        """UpdateFolder - a model defined in OpenAPI"
        
        :param path:  Path of the updated folder (required)
        :type path: str
        :param name:  Name of the updated folder (required)
        :type name: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._path = None
        self._name = None
        self.discriminator = None

        self.path = path
        self.name = name
コード例 #10
0
    def __init__(self,
                 with_path=None,
                 name=None,
                 local_vars_configuration=None):  # noqa: E501
        """SearchBody - a model defined in OpenAPI"
        
        :param with_path:  Optional path field to limit the search to result with a matching (case insensitive) path
        :type with_path: str
        :param name:  Name of the file or folder to be searched (required)
        :type name: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._with_path = None
        self._name = None
        self.discriminator = None

        self.with_path = with_path
        self.name = name
    def __init__(self,
                 values=None,
                 href=None,
                 links=None,
                 next_page=None,
                 previous_page=None,
                 local_vars_configuration=None):  # noqa: E501
        """ResourceListOfAccessControlledResource - a model defined in OpenAPI"
        
        :param values:  (required)
        :type values: list[lusid_drive.AccessControlledResource]
        :param href: 
        :type href: str
        :param links: 
        :type links: list[lusid_drive.Link]
        :param next_page: 
        :type next_page: str
        :param previous_page: 
        :type previous_page: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._values = None
        self._href = None
        self._links = None
        self._next_page = None
        self._previous_page = None
        self.discriminator = None

        self.values = values
        self.href = href
        self.links = links
        self.next_page = next_page
        self.previous_page = previous_page
コード例 #12
0
    def __init__(self,
                 id=None,
                 path=None,
                 name=None,
                 created_by=None,
                 created_on=None,
                 updated_by=None,
                 updated_on=None,
                 type=None,
                 size=None,
                 status=None,
                 status_detail=None,
                 links=None,
                 local_vars_configuration=None):  # noqa: E501
        """StorageObject - a model defined in OpenAPI"
        
        :param id:  File or folder identifier (required)
        :type id: str
        :param path:  Path of the folder or file (required)
        :type path: str
        :param name:  Name of the folder or file (required)
        :type name: str
        :param created_by:  Identifier of the user who created the file or folder (required)
        :type created_by: str
        :param created_on:  Date of file/folder creation (required)
        :type created_on: datetime
        :param updated_by:  Identifier of the last user to modify the file or folder (required)
        :type updated_by: str
        :param updated_on:  Date of file/folder modification (required)
        :type updated_on: datetime
        :param type:  Type of storage object (file or folder) (required)
        :type type: str
        :param size:  Size of the file in bytes
        :type size: int
        :param status:  File status corresponding to virus scan status.  (Active, Available, Checking, MalwareDetected, Failed)
        :type status: str
        :param status_detail:  Detailed description describing any negative terminal state of file
        :type status_detail: str
        :param links: 
        :type links: list[lusid_drive.Link]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._path = None
        self._name = None
        self._created_by = None
        self._created_on = None
        self._updated_by = None
        self._updated_on = None
        self._type = None
        self._size = None
        self._status = None
        self._status_detail = None
        self._links = None
        self.discriminator = None

        self.id = id
        self.path = path
        self.name = name
        self.created_by = created_by
        self.created_on = created_on
        self.updated_by = updated_by
        self.updated_on = updated_on
        self.type = type
        self.size = size
        self.status = status
        self.status_detail = status_detail
        self.links = links