code: func (s *SyntheticsDevice) GetUserAgentOk() (string, bool) {
  	if s == nil || s.UserAgent == nil {
  		return "", false
  	}
  	return *s.UserAgent, true
  }
docs: // GetUserAgentOk returns a tuple with the UserAgent field if it's non-nil, zero value otherwise
  // and a boolean to check if the value has been set.