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