datadog-accessors.go
func (c *Comment) GetRelatedId() int {
	if c == nil || c.RelatedId == nil {
		return 0
	}
	return *c.RelatedId
}
func (c *Comment) GetRelatedId() int {
	if c == nil || c.RelatedId == nil {
		return 0
	}
	return *c.RelatedId
}
func ( c * Comment ) GetRelatedId ( ) int { if c == nil || c . RelatedId == nil { return 0 } return * c . RelatedId }
// GetRelatedId returns the RelatedId field if non-nil, zero value otherwise.
GetRelatedId returns the RelatedId field if non - nil zero value otherwise .