# coding: utf-8

from datetime import date, datetime

from typing import List, Dict, Type

from openapi_server.models.base_model_ import Model
from openapi_server.models.link import Link
from openapi_server import util


class PipelineImpllinks(Model):
    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

    Do not edit the class manually.
    """

    def __init__(self, runs: Link=None, _self: Link=None, queue: Link=None, actions: Link=None, _class: str=None):
        """PipelineImpllinks - a model defined in OpenAPI

        :param runs: The runs of this PipelineImpllinks.
        :param _self: The _self of this PipelineImpllinks.
        :param queue: The queue of this PipelineImpllinks.
        :param actions: The actions of this PipelineImpllinks.
        :param _class: The _class of this PipelineImpllinks.
        """
        self.openapi_types = {
            'runs': Link,
            '_self': Link,
            'queue': Link,
            'actions': Link,
            '_class': str
        }

        self.attribute_map = {
            'runs': 'runs',
            '_self': 'self',
            'queue': 'queue',
            'actions': 'actions',
            '_class': '_class'
        }

        self._runs = runs
        self.__self = _self
        self._queue = queue
        self._actions = actions
        self.__class = _class

    @classmethod
    def from_dict(cls, dikt: dict) -> 'PipelineImpllinks':
        """Returns the dict as a model

        :param dikt: A dict.
        :return: The PipelineImpllinks of this PipelineImpllinks.
        """
        return util.deserialize_model(dikt, cls)

    @property
    def runs(self):
        """Gets the runs of this PipelineImpllinks.


        :return: The runs of this PipelineImpllinks.
        :rtype: Link
        """
        return self._runs

    @runs.setter
    def runs(self, runs):
        """Sets the runs of this PipelineImpllinks.


        :param runs: The runs of this PipelineImpllinks.
        :type runs: Link
        """

        self._runs = runs

    @property
    def _self(self):
        """Gets the _self of this PipelineImpllinks.


        :return: The _self of this PipelineImpllinks.
        :rtype: Link
        """
        return self.__self

    @_self.setter
    def _self(self, _self):
        """Sets the _self of this PipelineImpllinks.


        :param _self: The _self of this PipelineImpllinks.
        :type _self: Link
        """

        self.__self = _self

    @property
    def queue(self):
        """Gets the queue of this PipelineImpllinks.


        :return: The queue of this PipelineImpllinks.
        :rtype: Link
        """
        return self._queue

    @queue.setter
    def queue(self, queue):
        """Sets the queue of this PipelineImpllinks.


        :param queue: The queue of this PipelineImpllinks.
        :type queue: Link
        """

        self._queue = queue

    @property
    def actions(self):
        """Gets the actions of this PipelineImpllinks.


        :return: The actions of this PipelineImpllinks.
        :rtype: Link
        """
        return self._actions

    @actions.setter
    def actions(self, actions):
        """Sets the actions of this PipelineImpllinks.


        :param actions: The actions of this PipelineImpllinks.
        :type actions: Link
        """

        self._actions = actions

    @property
    def _class(self):
        """Gets the _class of this PipelineImpllinks.


        :return: The _class of this PipelineImpllinks.
        :rtype: str
        """
        return self.__class

    @_class.setter
    def _class(self, _class):
        """Sets the _class of this PipelineImpllinks.


        :param _class: The _class of this PipelineImpllinks.
        :type _class: str
        """

        self.__class = _class
