func (contentType *ContentType) Get() (ContentTypeResp, error) {
	client := NewHTTPClient(contentType.client)
	return client.Get(contentType.ToURL(), contentType.config)
}
Get gets content type data object
package api
import (
	"bytes"
	"fmt"
	"github.com/koltyakov/gosip"
)
type ContentType struct {
	client    *gosip.SPClient
	config    *RequestConfig
	endpoint  string
	modifiers *ODataMods
}
type ContentTypeInfo struct {
	Description string `json:"Description"`
	Group       string `json:"Group"`
	Hidden      bool   `json:"Hidden"`
	JSLink      string `json:"JSLink"`
	Name        string `json:"Name"`
	ReadOnly    bool   `json:"Read"`
	SchemaXML   string `json:"SchemaXml"`
	Scope       string `json:"Scope"`
	Sealed      bool   `json:"Sealed"`
	ID          string `json:"StringId"`
}
type ContentTypeResp []byte
func NewContentType(client *gosip.SPClient, endpoint string, config *RequestConfig) *ContentType {
	return &ContentType{
		client:    client,
		endpoint:  endpoint,
		config:    config,
		modifiers: NewODataMods(),
	}
}
func (contentType *ContentType) ToURL() string {
	return toURL(contentType.endpoint, contentType.modifiers)
}