code: func (detail ResourceDetail) ListRequest() (ListCommand, error) {
  	if detail.ResourceType == "" {
  		return nil, fmt.Errorf("the resourcetype parameter is required")
  	}
  
  	req := &ListResourceDetails{
  		ResourceType: detail.ResourceType,
  		ResourceID:   detail.ResourceID,
  	}
  
  	return req, nil
  }
docs: // ListRequest builds the ListResourceDetails request