Beispiel #1
0
    def __init__(self,
                 type=None,
                 actions=None,
                 name=None,
                 description=None,
                 filter_expression=None,
                 delivery_target=None,
                 local_vars_configuration=None):  # noqa: E501
        """CreateSubscriptionRequest - 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._actions = None
        self._name = None
        self._description = None
        self._filter_expression = None
        self._delivery_target = None
        self.discriminator = None

        self.type = type
        if actions is not None:
            self.actions = actions
        self.name = name
        if description is not None:
            self.description = description
        if filter_expression is not None:
            self.filter_expression = filter_expression
        self.delivery_target = delivery_target
    def __init__(self, queue_url=None, local_vars_configuration=None):  # noqa: E501
        """DeliveryTargetAwsSqsQueue - 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._queue_url = None
        self.discriminator = None

        self.queue_url = queue_url
Beispiel #3
0
    def __init__(self,
                 topic_arn=None,
                 local_vars_configuration=None):  # noqa: E501
        """DeliveryTargetAwsSnsTopic - 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._topic_arn = None
        self.discriminator = None

        self.topic_arn = topic_arn
Beispiel #4
0
    def __init__(self, id=None, version=None, name=None, input=None, local_vars_configuration=None):  # noqa: E501
        """DeliveryTargetWorkflowRunLaunch - 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._version = None
        self._name = None
        self._input = None
        self.discriminator = None

        self.id = id
        self.version = version
        self.name = name
        if input is not None:
            self.input = input
Beispiel #5
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
Beispiel #6
0
    def __init__(self,
                 aws_sns_topic=None,
                 aws_sqs_queue=None,
                 workflow_run_launch=None,
                 local_vars_configuration=None):  # noqa: E501
        """DeliveryTarget - 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_sns_topic = None
        self._aws_sqs_queue = None
        self._workflow_run_launch = None
        self.discriminator = None

        if aws_sns_topic is not None:
            self.aws_sns_topic = aws_sns_topic
        if aws_sqs_queue is not None:
            self.aws_sqs_queue = aws_sqs_queue
        if workflow_run_launch is not None:
            self.workflow_run_launch = workflow_run_launch
Beispiel #7
0
    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, sorted_by=None, sort_direction=None, local_vars_configuration=None):  # noqa: E501
        """SubscriptionList - 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._sorted_by = None
        self._sort_direction = 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
        if sorted_by is not None:
            self.sorted_by = sorted_by
        if sort_direction is not None:
            self.sort_direction = sort_direction
Beispiel #8
0
    def __init__(self,
                 id=None,
                 urn=None,
                 type=None,
                 actions=None,
                 filter_expression=None,
                 name=None,
                 description=None,
                 delivery_target=None,
                 match_identities=None,
                 acl=None,
                 tenant_id=None,
                 created_by_user_id=None,
                 time_created=None,
                 deleted_by_user_id=None,
                 time_deleted=None,
                 is_deleted=None,
                 local_vars_configuration=None):  # noqa: E501
        """Subscription - 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._urn = None
        self._type = None
        self._actions = None
        self._filter_expression = None
        self._name = None
        self._description = None
        self._delivery_target = None
        self._match_identities = None
        self._acl = None
        self._tenant_id = None
        self._created_by_user_id = None
        self._time_created = None
        self._deleted_by_user_id = None
        self._time_deleted = None
        self._is_deleted = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if urn is not None:
            self.urn = urn
        if type is not None:
            self.type = type
        if actions is not None:
            self.actions = actions
        if filter_expression is not None:
            self.filter_expression = filter_expression
        if name is not None:
            self.name = name
        if description is not None:
            self.description = description
        if delivery_target is not None:
            self.delivery_target = delivery_target
        if match_identities is not None:
            self.match_identities = match_identities
        if acl is not None:
            self.acl = acl
        if tenant_id is not None:
            self.tenant_id = tenant_id
        if created_by_user_id is not None:
            self.created_by_user_id = created_by_user_id
        if time_created is not None:
            self.time_created = time_created
        if deleted_by_user_id is not None:
            self.deleted_by_user_id = deleted_by_user_id
        if time_deleted is not None:
            self.time_deleted = time_deleted
        if is_deleted is not None:
            self.is_deleted = is_deleted
 def __init__(self, local_vars_configuration=None):  # noqa: E501
     """SubscriptionListSortFields - 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