GeoLocation

class oci.marketplace_publisher.models.GeoLocation(**kwargs)

Bases: object

Support details based on geographic location

Attributes

GEOGRAPHIC_REGION_AFRICA A constant which can be used with the geographic_region property of a GeoLocation.
GEOGRAPHIC_REGION_ASIA_PACIFIC A constant which can be used with the geographic_region property of a GeoLocation.
GEOGRAPHIC_REGION_EUROPE A constant which can be used with the geographic_region property of a GeoLocation.
GEOGRAPHIC_REGION_JAPAN A constant which can be used with the geographic_region property of a GeoLocation.
GEOGRAPHIC_REGION_LATIN_AMERICA A constant which can be used with the geographic_region property of a GeoLocation.
GEOGRAPHIC_REGION_MIDDLE_EAST A constant which can be used with the geographic_region property of a GeoLocation.
GEOGRAPHIC_REGION_NORTH_AMERICA A constant which can be used with the geographic_region property of a GeoLocation.
details [Required] Gets the details of this GeoLocation.
geographic_region [Required] Gets the geographic_region of this GeoLocation.

Methods

__init__(**kwargs) Initializes a new GeoLocation object with values from keyword arguments.
GEOGRAPHIC_REGION_AFRICA = 'AFRICA'

A constant which can be used with the geographic_region property of a GeoLocation. This constant has a value of “AFRICA”

GEOGRAPHIC_REGION_ASIA_PACIFIC = 'ASIA_PACIFIC'

A constant which can be used with the geographic_region property of a GeoLocation. This constant has a value of “ASIA_PACIFIC”

GEOGRAPHIC_REGION_EUROPE = 'EUROPE'

A constant which can be used with the geographic_region property of a GeoLocation. This constant has a value of “EUROPE”

GEOGRAPHIC_REGION_JAPAN = 'JAPAN'

A constant which can be used with the geographic_region property of a GeoLocation. This constant has a value of “JAPAN”

GEOGRAPHIC_REGION_LATIN_AMERICA = 'LATIN_AMERICA'

A constant which can be used with the geographic_region property of a GeoLocation. This constant has a value of “LATIN_AMERICA”

GEOGRAPHIC_REGION_MIDDLE_EAST = 'MIDDLE_EAST'

A constant which can be used with the geographic_region property of a GeoLocation. This constant has a value of “MIDDLE_EAST”

GEOGRAPHIC_REGION_NORTH_AMERICA = 'NORTH_AMERICA'

A constant which can be used with the geographic_region property of a GeoLocation. This constant has a value of “NORTH_AMERICA”

__init__(**kwargs)

Initializes a new GeoLocation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • geographic_region (str) – The value to assign to the geographic_region property of this GeoLocation. Allowed values for this property are: “AFRICA”, “ASIA_PACIFIC”, “EUROPE”, “JAPAN”, “LATIN_AMERICA”, “MIDDLE_EAST”, “NORTH_AMERICA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • details (str) – The value to assign to the details property of this GeoLocation.
details

[Required] Gets the details of this GeoLocation. Support details for specific region

Returns:The details of this GeoLocation.
Return type:str
geographic_region

[Required] Gets the geographic_region of this GeoLocation. Region for geographic location

Allowed values for this property are: “AFRICA”, “ASIA_PACIFIC”, “EUROPE”, “JAPAN”, “LATIN_AMERICA”, “MIDDLE_EAST”, “NORTH_AMERICA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The geographic_region of this GeoLocation.
Return type:str