func (item *Item) ToURL() string {
	return toURL(item.endpoint, item.modifiers)
}
ToURL gets endpoint with modificators raw URL
package api
import (
	"bytes"
	"encoding/json"
	"fmt"
	"strings"
	"time"
	"github.com/koltyakov/gosip"
)
type Item struct {
	client    *gosip.SPClient
	config    *RequestConfig
	endpoint  string
	modifiers *ODataMods
}
type GenericItemInfo struct {
	ID            int       `json:"Id"`
	Title         string    `json:"Title"`
	ContentTypeID string    `json:"ContentTypeId"`
	Attachments   bool      `json:"Attachments"`
	AuthorID      int       `json:"AuthorId"`
	EditorID      int       `json:"EditorId"`
	Created       time.Time `json:"Created"`
	Modified      time.Time `json:"Modified"`
}
type ItemResp []byte
type ListItemAllFieldsResp []byte
func NewItem(client *gosip.SPClient, endpoint string, config *RequestConfig) *Item {
	return &Item{
		client:    client,
		endpoint:  endpoint,
		config:    config,
		modifiers: NewODataMods(),
	}
}