o
    ɶdc                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s~   e Zd ZdZdd Zedd Zejdd Zedd Zejd	d Zed
d Z	e	jdd Z	dd Z
dd Zdd ZdS )ApplicationDependencyzK
    An Application Dependency resource creates a Vulnerability Audit.
    c                 K   s2   dddd| _ dddd| _d| _d| _d| _dS )a  
        Initializes a new ApplicationDependency object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param gav:
            The value to assign to the gav property of this ApplicationDependency.
        :type gav: str

        :param node_id:
            The value to assign to the node_id property of this ApplicationDependency.
        :type node_id: str

        :param application_dependency_node_ids:
            The value to assign to the application_dependency_node_ids property of this ApplicationDependency.
        :type application_dependency_node_ids: list[str]

        strz	list[str])gavnode_idapplication_dependency_node_idsr   ZnodeIdZapplicationDependencyNodeIdsN)Zswagger_typesZattribute_map_gav_node_id _application_dependency_node_ids)selfkwargs r   Iusr/lib/python3.10/site-packages/oci/adm/models/application_dependency.py__init__   s   
zApplicationDependency.__init__c                 C      | j S )a  
        **[Required]** Gets the gav of this ApplicationDependency.
        Group Artifact Version (GAV) identifier (Group:Artifact:Version), e.g. org.graalvm.nativeimage:svm:21.1.0.


        :return: The gav of this ApplicationDependency.
        :rtype: str
        r   r   r   r   r   r   4      
zApplicationDependency.gavc                 C   
   || _ dS )a   
        Sets the gav of this ApplicationDependency.
        Group Artifact Version (GAV) identifier (Group:Artifact:Version), e.g. org.graalvm.nativeimage:svm:21.1.0.


        :param gav: The gav of this ApplicationDependency.
        :type: str
        Nr   )r   r   r   r   r   r   @      

c                 C   r   )a>  
        **[Required]** Gets the node_id of this ApplicationDependency.
        Unique identifier of an Application Dependency, for example nodeId1.
        The nodeId can be generated by assigning a unique id to each application dependency
        in the tree of application dependencies.
        Every node, even those who share the same GAV, should have a different nodeId.
        The preferred way of constructing a nodeId is to assign incremental integers
        during a breadth first or depth first search.
        A nodeId can be reused only it refers to the same subtree of application dependencies.
        (This is not equivalent to referring to the same GAV, that is,
        a GAV can have multiple transitive dependencies.)


        :return: The node_id of this ApplicationDependency.
        :rtype: str
        r   r   r   r   r   r	   L   s   zApplicationDependency.node_idc                 C   r   )a5  
        Sets the node_id of this ApplicationDependency.
        Unique identifier of an Application Dependency, for example nodeId1.
        The nodeId can be generated by assigning a unique id to each application dependency
        in the tree of application dependencies.
        Every node, even those who share the same GAV, should have a different nodeId.
        The preferred way of constructing a nodeId is to assign incremental integers
        during a breadth first or depth first search.
        A nodeId can be reused only it refers to the same subtree of application dependencies.
        (This is not equivalent to referring to the same GAV, that is,
        a GAV can have multiple transitive dependencies.)


        :param node_id: The node_id of this ApplicationDependency.
        :type: str
        Nr   )r   r	   r   r   r   r	   `   s   
c                 C   r   )a?  
        Gets the application_dependency_node_ids of this ApplicationDependency.
        List of Application Dependencies on which this Application Dependency depends, each identified by its nodeId.


        :return: The application_dependency_node_ids of this ApplicationDependency.
        :rtype: list[str]
        r   r   r   r   r   r
   t   r   z5ApplicationDependency.application_dependency_node_idsc                 C   r   )a]  
        Sets the application_dependency_node_ids of this ApplicationDependency.
        List of Application Dependencies on which this Application Dependency depends, each identified by its nodeId.


        :param application_dependency_node_ids: The application_dependency_node_ids of this ApplicationDependency.
        :type: list[str]
        Nr   )r   r
   r   r   r   r
      r   c                 C   s   t | S N)r   r   r   r   r   __repr__   s   zApplicationDependency.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zApplicationDependency.__eq__c                 C   s
   | |k S r   r   r   r   r   r   __ne__   s   
zApplicationDependency.__ne__N)__name__
__module____qualname____doc__r   propertyr   setterr	   r
   r   r    r!   r   r   r   r   r      s$    "





r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   