o
    ëÉ¶dË#  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   s  e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejd	d„ ƒZed
d„ ƒZ	e	jdd„ ƒZ	edd„ ƒZ
e
jdd„ ƒZ
edd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZdd „ Zd!d"„ Zd#d$„ Zd%S )&ÚInvoicingAddressz
    Address.
    c              
   K   sn   ddddddddddœ	| _ dddd	d
dddddœ	| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
dS )aI  
        Initializes a new InvoicingAddress object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param location:
            The value to assign to the location property of this InvoicingAddress.
        :type location: oci.onesubscription.models.InvoicingLocation

        :param name:
            The value to assign to the name property of this InvoicingAddress.
        :type name: str

        :param phone:
            The value to assign to the phone property of this InvoicingAddress.
        :type phone: str

        :param is_bill_to:
            The value to assign to the is_bill_to property of this InvoicingAddress.
        :type is_bill_to: bool

        :param is_ship_to:
            The value to assign to the is_ship_to property of this InvoicingAddress.
        :type is_ship_to: bool

        :param bill_site_use_id:
            The value to assign to the bill_site_use_id property of this InvoicingAddress.
        :type bill_site_use_id: int

        :param service2_site_use_id:
            The value to assign to the service2_site_use_id property of this InvoicingAddress.
        :type service2_site_use_id: int

        :param tca_cust_acct_site_id:
            The value to assign to the tca_cust_acct_site_id property of this InvoicingAddress.
        :type tca_cust_acct_site_id: int

        :param tca_party_site_number:
            The value to assign to the tca_party_site_number property of this InvoicingAddress.
        :type tca_party_site_number: str

        ZInvoicingLocationÚstrÚboolÚint)	ÚlocationÚnameÚphoneÚ
is_bill_toÚ
is_ship_toÚbill_site_use_idÚservice2_site_use_idÚtca_cust_acct_site_idÚtca_party_site_numberr
   r   r   ZisBillToZisShipToZbillSiteUseIdZservice2SiteUseIdZtcaCustAcctSiteIdZtcaPartySiteNumberN)Zswagger_typesZattribute_mapÚ	_locationÚ_nameÚ_phoneÚ_is_bill_toÚ_is_ship_toÚ_bill_site_use_idÚ_service2_site_use_idÚ_tca_cust_acct_site_idÚ_tca_party_site_number)ÚselfÚkwargs© r   úPusr/lib/python3.10/site-packages/oci/onesubscription/models/invoicing_address.pyÚ__init__   s:   +÷÷
zInvoicingAddress.__init__c                 C   ó   | j S )z³
        Gets the location of this InvoicingAddress.

        :return: The location of this InvoicingAddress.
        :rtype: oci.onesubscription.models.InvoicingLocation
        ©r   ©r   r   r   r   r
   ^   s   zInvoicingAddress.locationc                 C   ó
   || _ dS )zº
        Sets the location of this InvoicingAddress.

        :param location: The location of this InvoicingAddress.
        :type: oci.onesubscription.models.InvoicingLocation
        Nr"   )r   r
   r   r   r   r
   h   s   
c                 C   r!   )z¤
        Gets the name of this InvoicingAddress.
        Address name identifier.


        :return: The name of this InvoicingAddress.
        :rtype: str
        ©r   r#   r   r   r   r   r   ó   
zInvoicingAddress.namec                 C   r$   )z§
        Sets the name of this InvoicingAddress.
        Address name identifier.


        :param name: The name of this InvoicingAddress.
        :type: str
        Nr%   )r   r   r   r   r   r   ~   ó   

c                 C   r!   )z”
        Gets the phone of this InvoicingAddress.
        Phone.


        :return: The phone of this InvoicingAddress.
        :rtype: str
        ©r   r#   r   r   r   r   Š   r&   zInvoicingAddress.phonec                 C   r$   )z˜
        Sets the phone of this InvoicingAddress.
        Phone.


        :param phone: The phone of this InvoicingAddress.
        :type: str
        Nr(   )r   r   r   r   r   r   –   r'   c                 C   r!   )zÄ
        Gets the is_bill_to of this InvoicingAddress.
        Identify as the customer's billing address.


        :return: The is_bill_to of this InvoicingAddress.
        :rtype: bool
        ©r   r#   r   r   r   r   ¢   r&   zInvoicingAddress.is_bill_toc                 C   r$   )zÍ
        Sets the is_bill_to of this InvoicingAddress.
        Identify as the customer's billing address.


        :param is_bill_to: The is_bill_to of this InvoicingAddress.
        :type: bool
        Nr)   )r   r   r   r   r   r   ®   r'   c                 C   r!   )zÅ
        Gets the is_ship_to of this InvoicingAddress.
        Identify as the customer's shipping address.


        :return: The is_ship_to of this InvoicingAddress.
        :rtype: bool
        ©r   r#   r   r   r   r   º   r&   zInvoicingAddress.is_ship_toc                 C   r$   )zÎ
        Sets the is_ship_to of this InvoicingAddress.
        Identify as the customer's shipping address.


        :param is_ship_to: The is_ship_to of this InvoicingAddress.
        :type: bool
        Nr*   )r   r   r   r   r   r   Æ   r'   c                 C   r!   )z¸
        Gets the bill_site_use_id of this InvoicingAddress.
        Bill to site use Id.


        :return: The bill_site_use_id of this InvoicingAddress.
        :rtype: int
        ©r   r#   r   r   r   r   Ò   r&   z!InvoicingAddress.bill_site_use_idc                 C   r$   )zÇ
        Sets the bill_site_use_id of this InvoicingAddress.
        Bill to site use Id.


        :param bill_site_use_id: The bill_site_use_id of this InvoicingAddress.
        :type: int
        Nr+   )r   r   r   r   r   r   Þ   r'   c                 C   r!   )zÃ
        Gets the service2_site_use_id of this InvoicingAddress.
        Service to site use Id.


        :return: The service2_site_use_id of this InvoicingAddress.
        :rtype: int
        ©r   r#   r   r   r   r   ê   r&   z%InvoicingAddress.service2_site_use_idc                 C   r$   )zÖ
        Sets the service2_site_use_id of this InvoicingAddress.
        Service to site use Id.


        :param service2_site_use_id: The service2_site_use_id of this InvoicingAddress.
        :type: int
        Nr,   )r   r   r   r   r   r   ö   r'   c                 C   r!   )zË
        Gets the tca_cust_acct_site_id of this InvoicingAddress.
        TCA customer account site Id.


        :return: The tca_cust_acct_site_id of this InvoicingAddress.
        :rtype: int
        ©r   r#   r   r   r   r     r&   z&InvoicingAddress.tca_cust_acct_site_idc                 C   r$   )zß
        Sets the tca_cust_acct_site_id of this InvoicingAddress.
        TCA customer account site Id.


        :param tca_cust_acct_site_id: The tca_cust_acct_site_id of this InvoicingAddress.
        :type: int
        Nr-   )r   r   r   r   r   r     r'   c                 C   r!   )zÀ
        Gets the tca_party_site_number of this InvoicingAddress.
        Party site number.


        :return: The tca_party_site_number of this InvoicingAddress.
        :rtype: str
        ©r   r#   r   r   r   r     r&   z&InvoicingAddress.tca_party_site_numberc                 C   r$   )zÔ
        Sets the tca_party_site_number of this InvoicingAddress.
        Party site number.


        :param tca_party_site_number: The tca_party_site_number of this InvoicingAddress.
        :type: str
        Nr.   )r   r   r   r   r   r   &  r'   c                 C   s   t | ƒS ©N)r   r#   r   r   r   Ú__repr__2  s   zInvoicingAddress.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__5  s   zInvoicingAddress.__eq__c                 C   s
   | |k S r/   r   r2   r   r   r   Ú__ne__;  s   
zInvoicingAddress.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r    Úpropertyr
   Úsetterr   r   r   r   r   r   r   r   r0   r4   r5   r   r   r   r   r      sT    L
	
	















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   