func (p *ProjectsClient) Create(ctx context.Context, org *identity.ID, name string) (*ProjectResult, error) {
	project := projectCreateRequest{}
	project.Body.OrgID = org
	project.Body.Name = name

	req, _, err := p.client.NewRequest("POST", "/projects", nil, &project, true)
	if err != nil {
		return nil, err
	}

	res := ProjectResult{}
	_, err = p.client.Do(ctx, req, &res, nil, nil)
	return &res, err
}
// Create creates a new project with the given name within the given org
Create creates a new project with the given name within the given org
// Create creates a new project with the given name within the given org
func (p *ProjectsClient) Create(ctx context.Context, org *identity.ID, name string) (*ProjectResult, error) {
	project := projectCreateRequest{}
	project.Body.OrgID = org
	project.Body.Name = name
	req, _, err := p.client.NewRequest("POST", "/projects", nil, &project, true)
	if err != nil {
		return nil, err
	}
	res := ProjectResult{}
	_, err = p.client.Do(ctx, req, &res, nil, nil)
	return &res, err
}
func ( p * ProjectsClient ) Create ( ctx context . Context , org * identity . ID , name string ) ( * ProjectResult , error ) { project := projectCreateRequest { } project . Body . OrgID = org project . Body . Name = name req , _ , err := p . client . NewRequest ( " " , " " , nil , & project , true ) if err != nil { return nil , err } res := ProjectResult { } _ , err = p . client . Do ( ctx , req , & res , nil , nil ) return & res , err }
Create creates a new project with the given name within the given org
Create creates a new project with the given name within the given org