Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 2.7 KB

File metadata and controls

98 lines (53 loc) · 2.7 KB

AlertTarget

Properties

Name Type Description Notes
TargetType AlertTargetType
TargetId string
Service Pointer to ServiceLightResponse [optional]

Methods

NewAlertTarget

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

NewAlertTargetWithDefaults

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

GetTargetType

func (o *AlertTarget) GetTargetType() AlertTargetType

GetTargetType returns the TargetType field if non-nil, zero value otherwise.

GetTargetTypeOk

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.

SetTargetType

func (o *AlertTarget) SetTargetType(v AlertTargetType)

SetTargetType sets TargetType field to given value.

GetTargetId

func (o *AlertTarget) GetTargetId() string

GetTargetId returns the TargetId field if non-nil, zero value otherwise.

GetTargetIdOk

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.

SetTargetId

func (o *AlertTarget) SetTargetId(v string)

SetTargetId sets TargetId field to given value.

GetService

func (o *AlertTarget) GetService() ServiceLightResponse

GetService returns the Service field if non-nil, zero value otherwise.

GetServiceOk

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.

SetService

func (o *AlertTarget) SetService(v ServiceLightResponse)

SetService sets Service field to given value.

HasService

func (o *AlertTarget) HasService() bool

HasService returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]