src/bosh-softlayer-cpi/softlayer/vps_service/client/vm/vm_client.go
func (a *Client) FindVmsByStates(params *FindVmsByStatesParams) (*FindVmsByStatesOK, error) {
	// TODO: Validate the params before sending
	if params == nil {
		params = NewFindVmsByStatesParams()
	}

	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "findVmsByStates",
		Method:             "GET",
		PathPattern:        "/vms/findByState",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &FindVmsByStatesReader{formats: a.formats},
		Context:            params.Context,
	})
	if err != nil {
		return nil, err
	}
	return result.(*FindVmsByStatesOK), nil

}
func (a *Client) FindVmsByStates(params *FindVmsByStatesParams) (*FindVmsByStatesOK, error) {
	// TODO: Validate the params before sending
	if params == nil {
		params = NewFindVmsByStatesParams()
	}

	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "findVmsByStates",
		Method:             "GET",
		PathPattern:        "/vms/findByState",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &FindVmsByStatesReader{formats: a.formats},
		Context:            params.Context,
	})
	if err != nil {
		return nil, err
	}
	return result.(*FindVmsByStatesOK), nil

}
/*
FindVmsByStates finds vms by states
*/