func (c *CredentialGraphClient) Post(ctx context.Context, t *CredentialGraph) (*CredentialGraphV2, error) {
	req, err := c.client.NewRequest("POST", "/credentialgraph", nil, t)
	if err != nil {
		log.Printf("Error building http request: %s", err)
		return nil, err
	}

	resp := CredentialGraphV2{}
	_, err = c.client.Do(ctx, req, &resp)
	if err != nil {
		log.Printf("Failed to create credential graph: %s", err)
		return nil, err
	}

	return &resp, nil
}
// Post creates a new CredentialGraph on the registry.
//
// The CredentialGraph includes the keyring, it's members, and credentials.
Post creates a new CredentialGraph on the registry.

The CredentialGraph includes the keyring, it's members, and credentials.
// Post creates a new CredentialGraph on the registry . // // The CredentialGraph includes the keyring it ' s members and credentials .
func (c *CredentialGraphClient) Post(ctx context.Context, t *CredentialGraph) (*CredentialGraphV2, error) {
	req, err := c.client.NewRequest("POST", "/credentialgraph", nil, t)
	if err != nil {
		log.Printf("Error building http request: %s", err)
		return nil, err
	}
	resp := CredentialGraphV2{}
	_, err = c.client.Do(ctx, req, &resp)
	if err != nil {
		log.Printf("Failed to create credential graph: %s", err)
		return nil, err
	}
	return &resp, nil
}
func ( c * CredentialGraphClient ) Post ( ctx context . Context , t * CredentialGraph ) ( * CredentialGraphV2 , error ) { req , err := c . client . NewRequest ( " " , " " , nil , t ) if err != nil { log . Printf ( " " , err ) return nil , err } resp := CredentialGraphV2 { } _ , err = c . client . Do ( ctx , req , & resp ) if err != nil { log . Printf ( " " , err ) return nil , err } return & resp , nil }
Post creates a new CredentialGraph on the registry.
Post creates a new CredentialGraph on the registry .