func (a *Client) ResourceGroupsCreateOrUpdate(params *ResourceGroupsCreateOrUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*ResourceGroupsCreateOrUpdateOK, *ResourceGroupsCreateOrUpdateCreated, error) {
    // TODO: Validate the params before sending
    if params == nil {
        params = NewResourceGroupsCreateOrUpdateParams()
    }