Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions hubspot/marketing/events/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
# flake8: noqa

"""
Marketing Events
Marketing Marketing Events

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
Basepom for all HubSpot Projects # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand All @@ -17,13 +17,13 @@
__version__ = "1.0.0"

# import apis into sdk package
from hubspot.marketing.events.api.add_event_attendees_api import AddEventAttendeesApi
from hubspot.marketing.events.api.basic_api import BasicApi
from hubspot.marketing.events.api.batch_api import BatchApi
from hubspot.marketing.events.api.change_property_api import ChangePropertyApi
from hubspot.marketing.events.api.event_attendees_api import EventAttendeesApi
from hubspot.marketing.events.api.event_status_api import EventStatusApi
from hubspot.marketing.events.api.identifiers_api import IdentifiersApi
from hubspot.marketing.events.api.list_associations_api import ListAssociationsApi
from hubspot.marketing.events.api.retrieve_participant_state_api import RetrieveParticipantStateApi
from hubspot.marketing.events.api.participant_state_api import ParticipantStateApi
from hubspot.marketing.events.api.settings_api import SettingsApi
from hubspot.marketing.events.api.subscriber_state_changes_api import SubscriberStateChangesApi

Expand Down
6 changes: 3 additions & 3 deletions hubspot/marketing/events/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
# flake8: noqa

# import apis into api package
from hubspot.marketing.events.api.add_event_attendees_api import AddEventAttendeesApi
from hubspot.marketing.events.api.basic_api import BasicApi
from hubspot.marketing.events.api.batch_api import BatchApi
from hubspot.marketing.events.api.change_property_api import ChangePropertyApi
from hubspot.marketing.events.api.event_attendees_api import EventAttendeesApi
from hubspot.marketing.events.api.event_status_api import EventStatusApi
from hubspot.marketing.events.api.identifiers_api import IdentifiersApi
from hubspot.marketing.events.api.list_associations_api import ListAssociationsApi
from hubspot.marketing.events.api.retrieve_participant_state_api import RetrieveParticipantStateApi
from hubspot.marketing.events.api.participant_state_api import ParticipantStateApi
from hubspot.marketing.events.api.settings_api import SettingsApi
from hubspot.marketing.events.api.subscriber_state_changes_api import SubscriberStateChangesApi
8 changes: 4 additions & 4 deletions hubspot/marketing/events/api/basic_api.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# coding: utf-8

"""
Marketing Events
Marketing Marketing Events

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
Basepom for all HubSpot Projects # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand Down
8 changes: 4 additions & 4 deletions hubspot/marketing/events/api/batch_api.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# coding: utf-8

"""
Marketing Events
Marketing Marketing Events

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
Basepom for all HubSpot Projects # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# coding: utf-8

"""
Marketing Events
Marketing Marketing Events

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
Basepom for all HubSpot Projects # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand All @@ -21,7 +21,7 @@
from hubspot.marketing.events.exceptions import ApiTypeError, ApiValueError # noqa: F401


class AddEventAttendeesApi(object):
class EventAttendeesApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# coding: utf-8

"""
Marketing Events
Marketing Marketing Events

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
Basepom for all HubSpot Projects # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand All @@ -21,7 +21,7 @@
from hubspot.marketing.events.exceptions import ApiTypeError, ApiValueError # noqa: F401


class ChangePropertyApi(object):
class EventStatusApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech

Expand Down
8 changes: 4 additions & 4 deletions hubspot/marketing/events/api/identifiers_api.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# coding: utf-8

"""
Marketing Events
Marketing Marketing Events

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
Basepom for all HubSpot Projects # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand Down
68 changes: 34 additions & 34 deletions hubspot/marketing/events/api/list_associations_api.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# coding: utf-8

"""
Marketing Events
Marketing Marketing Events

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
Basepom for all HubSpot Projects # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand Down Expand Up @@ -172,20 +172,20 @@ def associate_by_external_account_and_event_ids_with_http_info(self, external_ac
_request_auth=local_var_params.get("_request_auth"),
)

def associate_by_marketing_event_id(self, marketing_event_id, list_id, **kwargs): # noqa: E501
def associate_by_marketing_event_id(self, list_id, marketing_event_id, **kwargs): # noqa: E501
"""Associate a list with a marketing event # noqa: E501

Associates a list with a marketing event by marketing event id and ILS list id # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.associate_by_marketing_event_id(marketing_event_id, list_id, async_req=True)
>>> thread = api.associate_by_marketing_event_id(list_id, marketing_event_id, async_req=True)
>>> result = thread.get()

:param marketing_event_id: The internal id of the marketing event in HubSpot. (required)
:type marketing_event_id: str
:param list_id: The ILS ID of the list. (required)
:type list_id: str
:param marketing_event_id: The internal id of the marketing event in HubSpot. (required)
:type marketing_event_id: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
Expand All @@ -202,22 +202,22 @@ def associate_by_marketing_event_id(self, marketing_event_id, list_id, **kwargs)
:rtype: None
"""
kwargs["_return_http_data_only"] = True
return self.associate_by_marketing_event_id_with_http_info(marketing_event_id, list_id, **kwargs) # noqa: E501
return self.associate_by_marketing_event_id_with_http_info(list_id, marketing_event_id, **kwargs) # noqa: E501

def associate_by_marketing_event_id_with_http_info(self, marketing_event_id, list_id, **kwargs): # noqa: E501
def associate_by_marketing_event_id_with_http_info(self, list_id, marketing_event_id, **kwargs): # noqa: E501
"""Associate a list with a marketing event # noqa: E501

Associates a list with a marketing event by marketing event id and ILS list id # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.associate_by_marketing_event_id_with_http_info(marketing_event_id, list_id, async_req=True)
>>> thread = api.associate_by_marketing_event_id_with_http_info(list_id, marketing_event_id, async_req=True)
>>> result = thread.get()

:param marketing_event_id: The internal id of the marketing event in HubSpot. (required)
:type marketing_event_id: str
:param list_id: The ILS ID of the list. (required)
:type list_id: str
:param marketing_event_id: The internal id of the marketing event in HubSpot. (required)
:type marketing_event_id: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
Expand All @@ -244,28 +244,28 @@ def associate_by_marketing_event_id_with_http_info(self, marketing_event_id, lis

local_var_params = locals()

all_params = ["marketing_event_id", "list_id"]
all_params = ["list_id", "marketing_event_id"]
all_params.extend(["async_req", "_return_http_data_only", "_preload_content", "_request_timeout", "_request_auth", "_content_type", "_headers"])

for key, val in six.iteritems(local_var_params["kwargs"]):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'" " to method associate_by_marketing_event_id" % key)
local_var_params[key] = val
del local_var_params["kwargs"]
# verify the required parameter 'marketing_event_id' is set
if self.api_client.client_side_validation and local_var_params.get("marketing_event_id") is None: # noqa: E501
raise ApiValueError("Missing the required parameter `marketing_event_id` when calling `associate_by_marketing_event_id`") # noqa: E501
# verify the required parameter 'list_id' is set
if self.api_client.client_side_validation and local_var_params.get("list_id") is None: # noqa: E501
raise ApiValueError("Missing the required parameter `list_id` when calling `associate_by_marketing_event_id`") # noqa: E501
# verify the required parameter 'marketing_event_id' is set
if self.api_client.client_side_validation and local_var_params.get("marketing_event_id") is None: # noqa: E501
raise ApiValueError("Missing the required parameter `marketing_event_id` when calling `associate_by_marketing_event_id`") # noqa: E501

collection_formats = {}

path_params = {}
if "marketing_event_id" in local_var_params:
path_params["marketingEventId"] = local_var_params["marketing_event_id"] # noqa: E501
if "list_id" in local_var_params:
path_params["listId"] = local_var_params["list_id"] # noqa: E501
if "marketing_event_id" in local_var_params:
path_params["marketingEventId"] = local_var_params["marketing_event_id"] # noqa: E501

query_params = []

Expand Down Expand Up @@ -441,20 +441,20 @@ def disassociate_by_external_account_and_event_ids_with_http_info(self, external
_request_auth=local_var_params.get("_request_auth"),
)

def disassociate_by_marketing_event_id(self, marketing_event_id, list_id, **kwargs): # noqa: E501
def disassociate_by_marketing_event_id(self, list_id, marketing_event_id, **kwargs): # noqa: E501
"""Disassociate a list from a marketing event # noqa: E501

Disassociates a list from a marketing event by marketing event id and ILS list id # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.disassociate_by_marketing_event_id(marketing_event_id, list_id, async_req=True)
>>> thread = api.disassociate_by_marketing_event_id(list_id, marketing_event_id, async_req=True)
>>> result = thread.get()

:param marketing_event_id: The internal id of the marketing event in HubSpot. (required)
:type marketing_event_id: str
:param list_id: The ILS ID of the list. (required)
:type list_id: str
:param marketing_event_id: The internal id of the marketing event in HubSpot. (required)
:type marketing_event_id: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
Expand All @@ -471,22 +471,22 @@ def disassociate_by_marketing_event_id(self, marketing_event_id, list_id, **kwar
:rtype: None
"""
kwargs["_return_http_data_only"] = True
return self.disassociate_by_marketing_event_id_with_http_info(marketing_event_id, list_id, **kwargs) # noqa: E501
return self.disassociate_by_marketing_event_id_with_http_info(list_id, marketing_event_id, **kwargs) # noqa: E501

def disassociate_by_marketing_event_id_with_http_info(self, marketing_event_id, list_id, **kwargs): # noqa: E501
def disassociate_by_marketing_event_id_with_http_info(self, list_id, marketing_event_id, **kwargs): # noqa: E501
"""Disassociate a list from a marketing event # noqa: E501

Disassociates a list from a marketing event by marketing event id and ILS list id # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.disassociate_by_marketing_event_id_with_http_info(marketing_event_id, list_id, async_req=True)
>>> thread = api.disassociate_by_marketing_event_id_with_http_info(list_id, marketing_event_id, async_req=True)
>>> result = thread.get()

:param marketing_event_id: The internal id of the marketing event in HubSpot. (required)
:type marketing_event_id: str
:param list_id: The ILS ID of the list. (required)
:type list_id: str
:param marketing_event_id: The internal id of the marketing event in HubSpot. (required)
:type marketing_event_id: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
Expand All @@ -513,28 +513,28 @@ def disassociate_by_marketing_event_id_with_http_info(self, marketing_event_id,

local_var_params = locals()

all_params = ["marketing_event_id", "list_id"]
all_params = ["list_id", "marketing_event_id"]
all_params.extend(["async_req", "_return_http_data_only", "_preload_content", "_request_timeout", "_request_auth", "_content_type", "_headers"])

for key, val in six.iteritems(local_var_params["kwargs"]):
if key not in all_params:
raise ApiTypeError("Got an unexpected keyword argument '%s'" " to method disassociate_by_marketing_event_id" % key)
local_var_params[key] = val
del local_var_params["kwargs"]
# verify the required parameter 'marketing_event_id' is set
if self.api_client.client_side_validation and local_var_params.get("marketing_event_id") is None: # noqa: E501
raise ApiValueError("Missing the required parameter `marketing_event_id` when calling `disassociate_by_marketing_event_id`") # noqa: E501
# verify the required parameter 'list_id' is set
if self.api_client.client_side_validation and local_var_params.get("list_id") is None: # noqa: E501
raise ApiValueError("Missing the required parameter `list_id` when calling `disassociate_by_marketing_event_id`") # noqa: E501
# verify the required parameter 'marketing_event_id' is set
if self.api_client.client_side_validation and local_var_params.get("marketing_event_id") is None: # noqa: E501
raise ApiValueError("Missing the required parameter `marketing_event_id` when calling `disassociate_by_marketing_event_id`") # noqa: E501

collection_formats = {}

path_params = {}
if "marketing_event_id" in local_var_params:
path_params["marketingEventId"] = local_var_params["marketing_event_id"] # noqa: E501
if "list_id" in local_var_params:
path_params["listId"] = local_var_params["list_id"] # noqa: E501
if "marketing_event_id" in local_var_params:
path_params["marketingEventId"] = local_var_params["marketing_event_id"] # noqa: E501

query_params = []

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# coding: utf-8

"""
Marketing Events
Marketing Marketing Events

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
Basepom for all HubSpot Projects # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand All @@ -21,7 +21,7 @@
from hubspot.marketing.events.exceptions import ApiTypeError, ApiValueError # noqa: F401


class RetrieveParticipantStateApi(object):
class ParticipantStateApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech

Expand Down
8 changes: 4 additions & 4 deletions hubspot/marketing/events/api/settings_api.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# coding: utf-8

"""
Marketing Events
Marketing Marketing Events

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
Basepom for all HubSpot Projects # noqa: E501

The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""


Expand Down
Loading