# This is an automatically generated code sample.
# To make this code sample work in your Oracle Cloud tenancy,
# please replace the values for any parameters whose current values do not fit
# your use case (such as resource IDs, strings containing ‘EXAMPLE’ or ‘unique_id’, and
# boolean, number, and enum parameters with values not fitting your use case).

import oci

# Create a default config using DEFAULT profile in default location
# Refer to
# https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File
# for more info
config = oci.config.from_file()


# Initialize service client with default config file
osp_gateway_client = oci.osp_gateway.AddressServiceClient(config)


# Send the request to service, some parameters are not required, see API
# doc for more info
verify_address_response = osp_gateway_client.verify_address(
    osp_home_region="EXAMPLE-ospHomeRegion-Value",
    compartment_id="ocid1.test.oc1..<unique_ID>EXAMPLE-compartmentId-Value",
    verify_address_details=oci.osp_gateway.models.VerifyAddressDetails(
        address_key="EXAMPLE-addressKey-Value",
        line1="EXAMPLE-line1-Value",
        line2="EXAMPLE-line2-Value",
        line3="EXAMPLE-line3-Value",
        line4="EXAMPLE-line4-Value",
        street_name="EXAMPLE-streetName-Value",
        street_number="EXAMPLE-streetNumber-Value",
        city="EXAMPLE-city-Value",
        county="EXAMPLE-county-Value",
        country="EXAMPLE-country-Value",
        province="EXAMPLE-province-Value",
        postal_code="EXAMPLE-postalCode-Value",
        state="EXAMPLE-state-Value",
        email_address="EXAMPLE-emailAddress-Value",
        company_name="EXAMPLE-companyName-Value",
        first_name="EXAMPLE-firstName-Value",
        middle_name="EXAMPLE-middleName-Value",
        last_name="EXAMPLE-lastName-Value",
        phone_country_code="EXAMPLE-phoneCountryCode-Value",
        phone_number="EXAMPLE-phoneNumber-Value",
        job_title="EXAMPLE-jobTitle-Value",
        department_name="EXAMPLE-departmentName-Value",
        internal_number="EXAMPLE-internalNumber-Value",
        contributor_class="EXAMPLE-contributorClass-Value",
        state_inscription="EXAMPLE-stateInscription-Value",
        municipal_inscription="EXAMPLE-municipalInscription-Value"),
    if_match="EXAMPLE-ifMatch-Value",
    opc_retry_token="EXAMPLE-opcRetryToken-Value",
    opc_request_id="WNQ5TEEYGMVF5AUGHFHD<unique_ID>")

# Get the data from response
print(verify_address_response.data)