func NewClientbyToken(token string) *Client {

	c := newPBRestClientbyToken(token, "", "", true)
	return &Client{
		token:  c.token,
		client: c,
	}
}
func NewClientbyToken(token string) *Client {

	c := newPBRestClientbyToken(token, "", "", true)
	return &Client{
		token:  c.token,
		client: c,
	}
}
// NewClientbyToken is a constructor for Client object using bearer tokens for
// authentication instead of username, password