mundiapi/controllers/subscriptions_controller.py
def update_subscription_start_at(self,
                                     subscription_id,
                                     request,
                                     idempotency_key=None):
        """Does a PATCH request to /subscriptions/{subscription_id}/start-at.

        Updates the start at date from a subscription

        Args:
            subscription_id (string): The subscription id
            request (UpdateSubscriptionStartAtRequest): Request for updating
                the subscription start date
            idempotency_key (string, optional): TODO: type description here.
                Example: 

        Returns:
            GetSubscriptionResponse: Response from the API. 

        Raises:
            APIException: When an error occurs while fetching the data from
                the remote API. This exception includes the HTTP Response
                code, an error message, and the HTTP body that was received in
                the request.

        """

        # Prepare query URL
        _url_path = '/subscriptions/{subscription_id}/start-at'
        _url_path = APIHelper.append_url_with_template_parameters(_url_path, { 
            'subscription_id': subscription_id
        })
        _query_builder = Configuration.base_uri
        _query_builder += _url_path
        _query_url = APIHelper.clean_url(_query_builder)

        # Prepare headers
        _headers = {
            'accept': 'application/json',
            'content-type': 'application/json; charset=utf-8',
            'idempotency-key': idempotency_key
        }

        # Prepare and execute request
        _request = self.http_client.patch(_query_url, headers=_headers, parameters=APIHelper.json_serialize(request))
        BasicAuth.apply(_request)
        _context = self.execute_request(_request)
        self.validate_response(_context)

        # Return appropriate type
        return APIHelper.json_deserialize(_context.response.raw_body, GetSubscriptionResponse.from_dictionary)
Does a PATCH request to /subscriptions/{subscription_id}/start-at.

        Updates the start at date from a subscription

        Args:
            subscription_id (string): The subscription id
            request (UpdateSubscriptionStartAtRequest): Request for updating
                the subscription start date
            idempotency_key (string, optional): TODO: type description here.
                Example: 

        Returns:
            GetSubscriptionResponse: Response from the API. 

        Raises:
            APIException: When an error occurs while fetching the data from
                the remote API. This exception includes the HTTP Response
                code, an error message, and the HTTP body that was received in
                the request.

        
Does a PATCH request to /subscriptions/{subscription_id}/start-at.
Updates the start at date from a subscription
Does a PATCH request to / subscriptions / { subscription_id } / start - at . Updates the start at date from a subscription
def update_subscription_start_at(self,
                                     subscription_id,
                                     request,
                                     idempotency_key=None):
        _url_path = '/subscriptions/{subscription_id}/start-at'
        _url_path = APIHelper.append_url_with_template_parameters(_url_path, { 
            'subscription_id': subscription_id
        })
        _query_builder = Configuration.base_uri
        _query_builder += _url_path
        _query_url = APIHelper.clean_url(_query_builder)
        _headers = {
            'accept': 'application/json',
            'content-type': 'application/json; charset=utf-8',
            'idempotency-key': idempotency_key
        }
        _request = self.http_client.patch(_query_url, headers=_headers, parameters=APIHelper.json_serialize(request))
        BasicAuth.apply(_request)
        _context = self.execute_request(_request)
        self.validate_response(_context)
        return APIHelper.json_deserialize(_context.response.raw_body, GetSubscriptionResponse.from_dictionary)
def update_subscription_start_at ( self , subscription_id , request , idempotency_key = None ) : _url_path = '/subscriptions/{subscription_id}/start-at' _url_path = APIHelper . append_url_with_template_parameters ( _url_path , { 'subscription_id' : subscription_id } ) _query_builder = Configuration . base_uri _query_builder += _url_path _query_url = APIHelper . clean_url ( _query_builder ) _headers = { 'accept' : 'application/json' , 'content-type' : 'application/json; charset=utf-8' , 'idempotency-key' : idempotency_key } _request = self . http_client . patch ( _query_url , headers = _headers , parameters = APIHelper . json_serialize ( request ) ) BasicAuth . apply ( _request ) _context = self . execute_request ( _request ) self . validate_response ( _context ) return APIHelper . json_deserialize ( _context . response . raw_body , GetSubscriptionResponse . from_dictionary )
Does a PATCH request to /subscriptions/{subscription_id}/start-at.
Does a PATCH request to / subscriptions / { subscription_id } / start - at .
"""Does a PATCH request to /subscriptions/{subscription_id}/start-at.

        Updates the start at date from a subscription

        Args:
            subscription_id (string): The subscription id
            request (UpdateSubscriptionStartAtRequest): Request for updating
                the subscription start date
            idempotency_key (string, optional): TODO: type description here.
                Example: 

        Returns:
            GetSubscriptionResponse: Response from the API. 

        Raises:
            APIException: When an error occurs while fetching the data from
                the remote API. This exception includes the HTTP Response
                code, an error message, and the HTTP body that was received in
                the request.

        """ # Prepare query URL
 # Prepare headers
 # Prepare and execute request
 # Return appropriate type

Response from the API.
Response from the API .
GetSubscriptionResponse
When an error occurs while fetching the data from
the remote API. This exception includes the HTTP Response
code, an error message, and the HTTP body that was received in
the request.
When an error occurs while fetching the data from the remote API . This exception includes the HTTP Response code an error message and the HTTP body that was received in the request .
APIException
self
subscription_id
The subscription id
The subscription id
request
Request for updating
the subscription start date
Request for updating the subscription start date
idempotency_key
type description here.
Example.
type description here . Example .