code: func (g *GPGKey) GetPrimaryKeyID() int64 {
  	if g == nil || g.PrimaryKeyID == nil {
  		return 0
  	}
  	return *g.PrimaryKeyID
  }
docs: // GetPrimaryKeyID returns the PrimaryKeyID field if it's non-nil, zero value otherwise.