ruạṛ
a ���f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS ) �SpanSnapshotz/ Definition of a span snapshot object. c K sZ dddddddd�| _ ddd d ddd d�| _d| _d| _d| _d| _d| _d| _d| _dS )a- Initializes a new SpanSnapshot object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param key: The value to assign to the key property of this SpanSnapshot. :type key: str :param span_name: The value to assign to the span_name property of this SpanSnapshot. :type span_name: str :param time_started: The value to assign to the time_started property of this SpanSnapshot. :type time_started: datetime :param time_ended: The value to assign to the time_ended property of this SpanSnapshot. :type time_ended: datetime :param span_snapshot_details: The value to assign to the span_snapshot_details property of this SpanSnapshot. :type span_snapshot_details: list[oci.apm_traces.models.SnapshotDetail] :param thread_snapshots: The value to assign to the thread_snapshots property of this SpanSnapshot. :type thread_snapshots: list[oci.apm_traces.models.ThreadSnapshot] :param children: The value to assign to the children property of this SpanSnapshot. :type children: list[oci.apm_traces.models.SpanSnapshot] �strZdatetimezlist[SnapshotDetail]zlist[ThreadSnapshot]zlist[SpanSnapshot])�key� span_name�time_started� time_ended�span_snapshot_details�thread_snapshots�childrenr ZspanNameZtimeStartedZ timeEndedZspanSnapshotDetailsZthreadSnapshotsr N) Z swagger_typesZ attribute_map�_key� _span_name� _time_started�_time_ended�_span_snapshot_details�_thread_snapshots� _children)�self�kwargs� r �G/usr/lib/python3.9/site-packages/oci/apm_traces/models/span_snapshot.py�__init__ s. #�� zSpanSnapshot.__init__c C s | j S )z� **[Required]** Gets the key of this SpanSnapshot. Unique identifier (spanId) for the trace span. :return: The key of this SpanSnapshot. :rtype: str �r �r r r r r P s zSpanSnapshot.keyc C s || _ dS )z� Sets the key of this SpanSnapshot. Unique identifier (spanId) for the trace span. :param key: The key of this SpanSnapshot. :type: str Nr )r r r r r r \ s c C s | j S )z� Gets the span_name of this SpanSnapshot. Span name associated with the trace. :return: The span_name of this SpanSnapshot. :rtype: str �r r r r r r h s zSpanSnapshot.span_namec C s || _ dS )z� Sets the span_name of this SpanSnapshot. Span name associated with the trace. :param span_name: The span_name of this SpanSnapshot. :type: str Nr )r r r r r r t s c C s | j S )z� **[Required]** Gets the time_started of this SpanSnapshot. Start time of the span. :return: The time_started of this SpanSnapshot. :rtype: datetime �r r r r r r � s zSpanSnapshot.time_startedc C s || _ dS )z� Sets the time_started of this SpanSnapshot. Start time of the span. :param time_started: The time_started of this SpanSnapshot. :type: datetime Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the time_ended of this SpanSnapshot. End time of the span. :return: The time_ended of this SpanSnapshot. :rtype: datetime �r r r r r r � s zSpanSnapshot.time_endedc C s || _ dS )z� Sets the time_ended of this SpanSnapshot. End time of the span. :param time_ended: The time_ended of this SpanSnapshot. :type: datetime Nr )r r r r r r � s c C s | j S )z� Gets the span_snapshot_details of this SpanSnapshot. Span snapshots properties. :return: The span_snapshot_details of this SpanSnapshot. :rtype: list[oci.apm_traces.models.SnapshotDetail] �r r r r r r � s z"SpanSnapshot.span_snapshot_detailsc C s || _ dS )z� Sets the span_snapshot_details of this SpanSnapshot. Span snapshots properties. :param span_snapshot_details: The span_snapshot_details of this SpanSnapshot. :type: list[oci.apm_traces.models.SnapshotDetail] Nr )r r r r r r � s c C s | j S )z� Gets the thread_snapshots of this SpanSnapshot. Thread snapshots. :return: The thread_snapshots of this SpanSnapshot. :rtype: list[oci.apm_traces.models.ThreadSnapshot] �r r r r r r � s zSpanSnapshot.thread_snapshotsc C s || _ dS )z� Sets the thread_snapshots of this SpanSnapshot. Thread snapshots. :param thread_snapshots: The thread_snapshots of this SpanSnapshot. :type: list[oci.apm_traces.models.ThreadSnapshot] Nr! )r r r r r r � s c C s | j S )z� Gets the children of this SpanSnapshot. An array of child span snapshots. :return: The children of this SpanSnapshot. :rtype: list[oci.apm_traces.models.SpanSnapshot] �r r r r r r � s zSpanSnapshot.childrenc C s || _ dS )z� Sets the children of this SpanSnapshot. An array of child span snapshots. :param children: The children of this SpanSnapshot. :type: list[oci.apm_traces.models.SpanSnapshot] Nr"