/// <summary> /// creates a new <see cref="OwnersApi"/> /// </summary> /// <param name="rest">rest access to hubspot</param> public OwnersApi(HubSpotRestClient rest) { this.rest = rest; }
internal BlogPostApi(HubSpotRestClient rest, ModelRegistry model) { _rest = rest; _model = model; }
/// <summary> /// creates a new <see cref="CompanyApi"/> /// </summary> /// <param name="rest">rest client</param> /// <param name="registry">access to entity models</param> internal CompanyApi(HubSpotRestClient rest, ModelRegistry registry) { this.rest = rest; this.registry = registry; }
/// <summary> /// creates a new <see cref="ContactApi"/> /// </summary> /// <param name="rest">rest client to call api</param> /// <param name="models">model registry used to access entity models</param> internal ContactApi(HubSpotOptions options, HubSpotRestClient rest, ModelRegistry models) { _options = options; this.rest = rest; this.models = models; }
internal PipelinesApi(HubSpotRestClient rest) { this.rest = rest; }
/// <summary> /// creates a new <see cref="TicketsApi"/> /// </summary> /// <param name="restclient">rest client used to access hubspot endpoints</param> /// <param name="models">entity model registry</param> internal TicketsApi(HubSpotRestClient restclient, ModelRegistry models) { this.restclient = restclient; this.models = models; }
/// <summary> /// creates a new <see cref="AssociationApi"/> /// </summary> /// <param name="rest">access to rest api</param> internal AssociationApi(HubSpotRestClient rest) { this.rest = rest; }