/// <summary> /// Creates a new component in an issue tracker. /// You must supply a name value in the form of a string. /// The server creates the id for you and it appears in the return value. /// Public and private issue trackers require the caller to authenticate with an account that has appropriate authorisation. /// </summary> /// <param name="component">The component.</param> /// <returns>The response from the BitBucket API.</returns> public Component PostComponent(Component component) { return(_repositoriesEndPoint.PostComponent(component)); }