Name | Type | Description | Notes |
---|---|---|---|
ApiKey | string | api_key is a Datadog API key. | |
Site | DatadogSiteType |
func NewEnableDatadogMetricExportRequest(apiKey string, site DatadogSiteType, ) *EnableDatadogMetricExportRequest
NewEnableDatadogMetricExportRequest instantiates a new EnableDatadogMetricExportRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEnableDatadogMetricExportRequestWithDefaults() *EnableDatadogMetricExportRequest
NewEnableDatadogMetricExportRequestWithDefaults instantiates a new EnableDatadogMetricExportRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (o *EnableDatadogMetricExportRequest) GetApiKey() string
GetApiKey returns the ApiKey field if non-nil, zero value otherwise.
func (o *EnableDatadogMetricExportRequest) SetApiKey(v string)
SetApiKey sets ApiKey field to given value.
func (o *EnableDatadogMetricExportRequest) GetSite() DatadogSiteType
GetSite returns the Site field if non-nil, zero value otherwise.
func (o *EnableDatadogMetricExportRequest) SetSite(v DatadogSiteType)
SetSite sets Site field to given value.