Class ApproximateLocation
To refine search results based on geography, you can specify an approximate user location using any of the following:
city
andregion
are free-text strings, like "Minneapolis" and "Minnesota".country
is a two-letter ISO country code, like "US".timezone
is an IANA timezone string, like "America/Chicago".
Inherited Members
Namespace: Oci.GenerativeaiinferenceService.Models
Assembly: OCI.DotNetSDK.Generativeaiinference.dll
Syntax
public class ApproximateLocation
Properties
City
Declaration
[JsonProperty(PropertyName = "city")]
public string City { get; set; }
Property Value
Type | Description |
---|---|
string | Approximate city name, like "Minneapolis". |
Country
Declaration
[JsonProperty(PropertyName = "country")]
public string Country { get; set; }
Property Value
Type | Description |
---|---|
string | Two-letter ISO country code. |
Region
Declaration
[JsonProperty(PropertyName = "region")]
public string Region { get; set; }
Property Value
Type | Description |
---|---|
string | Approximate region or state, like "Minnesota". |
Timezone
Declaration
[JsonProperty(PropertyName = "timezone")]
public string Timezone { get; set; }
Property Value
Type | Description |
---|---|
string | IANA timezone string. |