| Name | Type | Description | Notes |
|---|---|---|---|
| TargetType | AlertTargetType | ||
| TargetId | string | ||
| Service | Pointer to ServiceLightResponse | [optional] |
func NewAlertTarget(targetType AlertTargetType, targetId string, ) *AlertTarget
NewAlertTarget instantiates a new AlertTarget 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 NewAlertTargetWithDefaults() *AlertTarget
NewAlertTargetWithDefaults instantiates a new AlertTarget 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 *AlertTarget) GetTargetType() AlertTargetType
GetTargetType returns the TargetType field if non-nil, zero value otherwise.
func (o *AlertTarget) GetTargetTypeOk() (*AlertTargetType, bool)
GetTargetTypeOk returns a tuple with the TargetType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlertTarget) SetTargetType(v AlertTargetType)
SetTargetType sets TargetType field to given value.
func (o *AlertTarget) GetTargetId() string
GetTargetId returns the TargetId field if non-nil, zero value otherwise.
func (o *AlertTarget) GetTargetIdOk() (*string, bool)
GetTargetIdOk returns a tuple with the TargetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlertTarget) SetTargetId(v string)
SetTargetId sets TargetId field to given value.
func (o *AlertTarget) GetService() ServiceLightResponse
GetService returns the Service field if non-nil, zero value otherwise.
func (o *AlertTarget) GetServiceOk() (*ServiceLightResponse, bool)
GetServiceOk returns a tuple with the Service field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlertTarget) SetService(v ServiceLightResponse)
SetService sets Service field to given value.
func (o *AlertTarget) HasService() bool
HasService returns a boolean if a field has been set.