ContactPoint🔗
EmbeddedContactPoint is the contact point type that is used
by grafanas embedded alertmanager implementation.
Definition🔗
class ContactPoint implements \JsonSerializable
{
public ?bool $disableResolveMessage;
/**
* Name is used as grouping key in the UI. Contact points with the
* same name will be grouped in the UI.
*/
public ?string $name;
public ?string $provenance;
/**
* @var mixed
*/
public $settings;
public \Grafana\Foundation\Alerting\ContactPointType $type;
/**
* UID is the unique identifier of the contact point. The UID can be
* set by the user.
*/
public ?string $uid;
}
Methods🔗
fromArray🔗
Builds this object from an array.
This function is meant to be used with the return value of json_decode($json, true)
.
jsonSerialize🔗
Returns the data representing this object, preparing it for JSON serialization with json_encode()
.